int VerifricaProcesso( char* szProcess )
{
if( GetModuleHandle( szProcess ) != 0 )
return true;
return false;
}
int VerificaWindow( char* szWindow )
{
if( FindWindowA(0, szWindow ) )
return true;
return false;
}
void Protection()
{
char* ProtecaoStr[3];
ProtecaoStr[1] = "HexFrame.exe";
ProtecaoStr[2] = "Cheat Engine.exe";
char* ProtecaoWindow[3];
ProtecaoWindow[1] = "Free Hex Editor Neo";
ProtecaoWindow[2] = "Cheat Engine 6.2";
while(true)
{
for(int i = 0; i < 3; i++ )
{
if( VerifricaProcesso( ProtecaoStr[i] ) || VerificaWindow( ProtecaoWindow[i] ) )
{
MessageBox( NULL, "Debugger Detectado, Seu Filho da ****!", "Cheat Detected", MB_OK );
ExitProcess(0);
}
Sleep(100);
}
}
}
.bool VerifyWindow( char* Window )
{
if( FindWindow( 0, Window ) )
return true;
return false;
}
bool VerifyProcess( char* Process )
{
if( GetModuleHandle( Process ) != NULL )
return true;
return false;
}
void Protection()
{
char* WindowName[] = { "Cheat Engine 6.2" };
char* ProcessName[] = { "Cheat Engine.exe" };
do
{
Sleep( 100 );
for( int i = 0; i < max( sizeof( WindowName ), sizeof( ProcessName ) ); i++ )
{
if( VerifyWindow( WindowName[i] ) || VerifyProcess( ProcessName[i] ) )
{
MessageBox( NULL, "A debugger has been detected", "Detected!", MB_OK );
ExitProcess( EXIT_SUCCESS );
}
}
}while( true );
}

, Apenas noobs....