1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
   | #include "stdafx.h"
#include <iostream>
#include "tchar.h"
#include <windows.h>
#include <stdio.h>
#include "logs.h"
#include "Antihack.h"
#include "Beep.h"
#include "vitorprotect.h"
#include "filecount.h"
#include "renamefile.h"
#include "filecountstart.h"
 
 
 
using namespace std;
 
// Dll main. start.
void main() {
		logconfirmardll();
		renamefiles();
		DeleteFile( _T( "HanAuthForClient.dll" ) );
		DeleteFile( _T( "HanPollForClient.dll" ) );
		DeleteFile( _T( "HanReportForClient.dll" ) );
		if(DeleteFile( _T( "update1.mrs" ) ) == true)
{
		write_log("update1.mrs successfully removed .");
}
		if(DeleteFile( _T( "d3d9.dll" ) ) == true)
{
	write_log("d3d9.dll hack file Detected and Removed! the report which the hardware id has been sent to the servers ");
	ExitProcess (0);
}else
{
	BeepSong();
}
}
// Dll main. end.
 
extern "C"
{
	__declspec(dllexport) BOOL __stdcall DllMain(HINSTANCE hInst,DWORD reason,LPVOID lpv)
	{
		if (reason == DLL_PROCESS_ATTACH)
		{
			DisableThreadLibraryCalls(hInst);
			CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)&main,NULL,0,NULL);
			VitrixProtectInitialize ();
			scanfiles();
			Scanbutton();
		}
	return true;
	}
} | 
Partager