Function -1 - terminate thread/process
Parameters:
- eax = -1 - function number
Returned value:
- function does not return neither value nor control
Remarks:
- If the process did not create threads obviously, it has only
one thread, which termination results in process termination.
- If the current thread is last in the process, its termination
also results in process terminates.
- This function terminates the current thread. Other thread can be
killed by call to subfunction 2 of function 18.