include vmm.inc mov eax, Bytes ; number of bytes to pop from stack VMMcall Simulate_Far_Ret_N |
The Simulate_Far_Ret_N service 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 subtracts the Bytes parameter from the Client_ESP or Client_SP register, effectively popping any pushed parameters from the stack.
Bytes
Specifies the number of bytes to pop from the stack.
This service has no return value.
Client_CS, Client_EIP, Client_ESP, Flags