My boss hates me. I put 25 years into this company. Nobody talks to me anymore. I think they are trying to get rid of me. Don't walk away from the problem.
Revenge is the best route.
Do as much of the development and documentation work as can get away with. Where systems need to be developed you should design complex procedures involving mounds of paperwork. You will know if you have succeeded when the procedures form a paper column higher than you stand. Wait until your company becomes registered before you start looking for another job. After you have helped your company through registration, you will have no problem getting a better job . . .