This is a great community to have at your side during this time.
Having good friends who are there for the 'all' of you is priceless. It's like a bra. Poor support and the puppies droop. Great support and they're just darn great regardless of what covers them.
Focus on you, your daughter. Improve yourself.. do that stuff you've been meaning to, try one thing you've avoided out of fear. It helps you grow AND helps curtail the fixating on the actions of your spouse of which you have no control.
Finding out your legal rights is a good thing since it helps you know where you stand if your wife proceeds. This is her show, her drama.. no wonder she was upset when you took a leading role.
Her actions are a reflection of the gradual erosion of your marriage. She's a very angry woman now who's medicating herself in the wash of another's emotions. You have no control over how she treats herself.
You do have a choice with what you do for yourself... and your little angel. Keep the positive going and the eye on the prize.