It's a simple code against a reverse engineering method, in addition to detecting Cheat Engine through a quick process analysis.
There are more debug methods, however this is the most usual, the only thing that reviews is if the current executable (our binary) contains the open debug port and if it does, it closes the program, in case of not finding a port of moment but is in process, analyze and check if there is the famous "Engine" online.
There are more debug methods, however this is the most usual, the only thing that reviews is if the current executable (our binary) contains the open debug port and if it does, it closes the program, in case of not finding a port of moment but is in process, analyze and check if there is the famous "Engine" online.


