Just because one commits a crime and then tries to "fix" it does not absolve them from the legal consequences of the initial crime. If your friend has never been in trouble before and if they have charged him/her with embezzlement, then I would suggest they retain a good criminal attorney to assist them in the case. It would be money well-spent.
This answer is offered as a public service for general information only and may not be relied upon as legal advice.
Wit5hout more facts from both the prosecutionand defense side, tough to answer. Defendnat, regardless of real facts, needs a god defense attorney
The above is not intended as legal advice. The response does not constitute the creation of an attorney client relationship as this forum does not provide for a confidential communication.