mov edi, ThreadHandle mov eax, CR0_Flags VxDcall VMCPD_Set_CR0_State
Sets the state of the EM (emulate) and MP (math present) coprocessor flags for the given thread. Uses EAX, EDX, EDI, and Flags.