That's pretty good. Almost all of those things are standard C. LDIV and UDIV could easily be eliminated. __except_list is a null asm label (it is FS:[0]).So the main problematic ones are: _xi_a , __acrtused_con, the __fp functions, and _Ccmp
So how to tackle that?