You can get married to your embassy and it will took only 1 month the most to process the documents if both of you are in legal marrying age.

Once you are married no need to get worry even if the date of married is slightly behind than the birthdate of your child.

otherwise get her back to her homeland.... and support her until she gives birth..:-)