You have a 60-day grace period at the end of your OPT in which to settle your affairs before departing the US or straightening out your status. Consult with an attorney to determine whether the errors in your H-1B filing have a chance of being overcome.
Please note that this posting does not constitute legal advice or create any attorney-client relationship with the inquirer. Avvo is a useful forum to obtain general information on legal issues, but is not a substitute for direct, confidential consultation with an attorney in any legal matter.
Actually, administrative appeals from denial of a nonimmigrant visa petition take more like 18 months to two years, so there is scant chance of action on your appeal before 12/6. As my colleague noted, you have a grace period of 60 days after your EAD expires in which to arrange your affairs and leave the country. I would strongly recommend that you consult with an attorney about the particulars of your case before you depart.
This is general information only. It is not intended as a substitute for legal advice, and does not create an attorney-client relationship.