You might want to consider posting in the "law" section regarding custody of the child once born.
I am not too sure about the legalities when it comes to custody. There are members who can help guide you.
Relationship wise... I can gibe advice, and my advice is for you to leave her alone for now. For now. Her issues with her boyfriend are not your concern, nor problem. She needs to understand that.