Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define _CRT_SECURE_NO_WARNINGS
- #include "Utilities.h"
- #include "INJ/ReflectiveLoader.h"
- #include "Offsets.h"
- #include "Interfaces.h"
- #include "Hooks.h"
- #include "RenderManager.h"
- #include "Hacks.h"
- #include "Menu.h"
- #include "AntiAntiAim.h"
- #include "hitmarker.h"
- #include "Dumping.h"
- #include "Useful.h"
- #include "Manager.h"
- #define me 818675177
- #define laptop -220998132
- #define w1nderchild 840253723
- #define hero -1541222219
- #define vane -832987406
- #define kilian 778803006
- #define luc -958192128
- #define fynn -1776678680
- #define tim -89204489
- #define pest -2074414683
- #define paulFreund 1284564604
- #define paulFreund2 -1839304812
- #define jonas 145315558
- #define tobias -52743672
- #define jagu -833537231
- #define jompey -458436596
- #define johannes -1460638528
- #define flow -1338131201
- #define dzrki 1919041727
- #define krait 1649381512
- extern HINSTANCE hAppInstance;
- UCHAR szFileSys[255], szVolNameBuff[255];
- DWORD dwMFL, dwSysFlags;
- DWORD dwSerial;
- LPCTSTR szHD = "C:\\";
- HINSTANCE HThisModule;
- bool DoUnload;
- int attach()
- {
- Offsets::Initialise();
- I::Initialise();
- g_Netvars->GetNetvars();
- NetVar.RetrieveClasses();
- NetvarManager::Instance()->CreateDatabase();
- R::Initialise();
- hitmarker::singleton()->initialize();
- Hacks::SetupHacks();
- Options::SetupMenu();
- Hooks::Initialise();
- SkinChanger();
- ApplyNetVarsHooks();
- NewHooks::load();
- while (DoUnload == false)
- {
- Sleep(1000);
- }
- RemoveNetVarsHooks();
- Hooks::UndoHooks();
- NewHooks::remove();
- Sleep(2000);
- FreeLibraryAndExitThread(HThisModule, 0);
- return 0;
- }
- int detach()
- {
- NewHooks::remove();
- RemoveNetVarsHooks();
- return 1;
- }
- BOOL WINAPI DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpReserved)
- {
- if (dwReason == DLL_PROCESS_ATTACH)
- {
- GetVolumeInformation(szHD, (LPTSTR)szVolNameBuff, 255, &dwSerial, &dwMFL, &dwSysFlags, (LPTSTR)szFileSys, 255);
- if (dwSerial == me ||
- dwSerial == laptop ||
- dwSerial == w1nderchild ||
- dwSerial == hero ||
- dwSerial == vane ||
- dwSerial == kilian ||
- dwSerial == luc||
- dwSerial == fynn||
- dwSerial == tim|| dwSerial == pest|| dwSerial == paulFreund|| dwSerial == paulFreund2|| dwSerial == jonas|| dwSerial == tobias|| dwSerial == jagu|| dwSerial == jompey|| dwSerial == johannes||
- dwSerial == flow|| dwSerial == dzrki|| dwSerial == krait)
- {
- Sleep(100);
- }
- else
- {
- MessageBox(NULL, "HWID doesn't match!", "AVOZ", MB_OK);
- exit(0);
- return TRUE;
- }
- {
- {
- DisableThreadLibraryCalls(hModule);
- CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)attach, NULL, NULL, NULL);
- return TRUE;
- }
- }
- return FALSE;
- }
- else if (dwReason == DLL_PROCESS_DETACH)
- {
- return detach();
- }
- return TRUE;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement