include vmm.inc mov eax, Bytes ; number of bytes to pop from stack VMMcall Simulate_Far_Ret_N
Simulates a far return in the current virtual machine. This service pops the top two words (or doublewords) from the stack of the current virtual machine, and places the values in the Client_CS and Client_EIP or Client_IP registers. It then adds the specified value to the Client_ESP or Client_SP register, effectively popping any pushed parameters from the stack. Uses Client_CS, Client_EIP, Client_ESP, Flags.
Bytes
Number of bytes to pop from the stack.
See also Simulate_Far_Call, Simulate_Far_Ret