You say you broke the stator cover, which means the engine took the brunt after the crash bung bent. The engine mounts are not designed to take a bang and would be the weakest point.
It is possible that the frame is still intact, but before you go removing the engine, unbolt the exhaust pipe at the joint and the passenger foot peg and remove it, remove the down pipe mount to the frame by the right rider footrest, remove the front engine mounting bolt on the left side which is out of position, loosen all the rest of the engine mounting bolts and see if the engine moves back into place. If it does then you can decide to remove the engine and weld the mounts. Get some to help check the frame for is still straight by using the old method of to long straight poles providing the forks are straight.