You have NO chance, actually...
What is with art games and being sad nowdays? I disabled the saving feature and tried several different ways, and it didn't seem like there was a "good" ending. Apparently "art game" just means "sad game" now.
Stay with your family the whole time and Ryan gets pissed and kills them (or you, if your reflexes suck). Then you fail to come up with a cure.
Do what the boss says (go home on day 3, go to work day 4) and your family disappears, and you fail to come up with a cure.
Do the opposite of what the boss says (go to work on day 3, stay home on day 4) and your family disappears, and you fail to come up with a cure.
If you work every day, your wife kills herself, your daughter has to come to work with you, and you come up with a cure, but too late to save your daughter (or anyone but yourself, presumably).
If you screw the other lady, nothing changes, except for the fact that you don't get work done and therefore can't come up with the cure. If you work days 1-4 and take Molly to the park, she dies. There is no victory, only sadness. It is for that reason, that I hate this game. If there was a "correct" answer, I might have been more accepting, but this is dumb.