ABI cleanup

Improves some code and removes a bunch of unnecessary code.

Someone should test on Windows.
It doesn't matter - only `rsp_alignment & 0xf` is significant.