Sounds like you're fucked.
In all seriousness, the trick is not to burn yourself trying to change things you have no control over. Maybe that's means letting the company burn.