From 00b271f265450850336c8bcfdacc8671dbc8406a Mon Sep 17 00:00:00 2001 From: boris Date: Tue, 1 Jan 2019 20:53:10 +1300 Subject: yah --- csgo-loader/csgo-client/Client.cpp | 10 +- csgo-loader/csgo-client/Client.hpp | 6 +- csgo-loader/csgo-client/Login/RemoteLogin.cpp | 13 +- csgo-loader/csgo-client/Login/RemoteLogin.hpp | 3 + csgo-loader/csgo-client/Networking/TCPClient.cpp | 2 +- .../csgo-client/RemoteCode/RemoteProcess.cpp | 10 +- csgo-loader/csgo-client/Security/Encryption.cpp | 2 +- csgo-loader/csgo-client/Security/Encryption.hpp | 1 + .../csgo-client/Security/RuntimeSecurity.cpp | 72 +- .../csgo-client/Security/RuntimeSecurity.hpp | 6 +- .../csgo-client/Security/SyscallManager.cpp | 5 +- .../csgo-client/Security/SyscallManager.hpp | 5 +- csgo-loader/shared/include/SecureEngineCustomVMs.h | 338 --- .../SecureEngineCustomVMs_BorlandC_inline.h | 402 ---- .../include/SecureEngineCustomVMs_GNU_inline.h | 1694 --------------- .../include/SecureEngineCustomVMs_ICL_inline.h | 1694 --------------- .../include/SecureEngineCustomVMs_LCC_inline.h | 402 ---- .../include/SecureEngineCustomVMs_VC_inline.h | 1694 --------------- csgo-loader/shared/include/ThemidaSDK.h | 2253 -------------------- csgo-loader/shared/include/VMProtectSDK.h | 100 + csgo-loader/shared/lib/SecureEngine.lib | Bin 199752 -> 0 bytes csgo-loader/shared/lib/VMProtectSDK.lib | Bin 0 -> 7372 bytes csgo-loader/to-do list.txt | 13 +- 23 files changed, 183 insertions(+), 8542 deletions(-) delete mode 100644 csgo-loader/shared/include/SecureEngineCustomVMs.h delete mode 100644 csgo-loader/shared/include/SecureEngineCustomVMs_BorlandC_inline.h delete mode 100644 csgo-loader/shared/include/SecureEngineCustomVMs_GNU_inline.h delete mode 100644 csgo-loader/shared/include/SecureEngineCustomVMs_ICL_inline.h delete mode 100644 csgo-loader/shared/include/SecureEngineCustomVMs_LCC_inline.h delete mode 100644 csgo-loader/shared/include/SecureEngineCustomVMs_VC_inline.h delete mode 100644 csgo-loader/shared/include/ThemidaSDK.h create mode 100644 csgo-loader/shared/include/VMProtectSDK.h delete mode 100644 csgo-loader/shared/lib/SecureEngine.lib create mode 100644 csgo-loader/shared/lib/VMProtectSDK.lib diff --git a/csgo-loader/csgo-client/Client.cpp b/csgo-loader/csgo-client/Client.cpp index d752732..10e8012 100644 --- a/csgo-loader/csgo-client/Client.cpp +++ b/csgo-loader/csgo-client/Client.cpp @@ -32,7 +32,7 @@ int __stdcall WinMain(HINSTANCE inst, HINSTANCE prev, char* str, int cmdshow) { - /*WRAP_IF_DEBUG*/(Utils::OpenConsole()); + WRAP_IF_DEBUG(Utils::OpenConsole()); /////////////////////////////////////////////////////////////// @@ -43,7 +43,7 @@ int __stdcall WinMain(HINSTANCE inst, HINSTANCE prev, char* str, int cmdshow) { // Create a window, initialise DirectX context. if(!UserInterface->Start()) - ERROR_ASSERT("[000F:00001C00] Failed to initialize. Please contact an administrator."); + ERROR_ASSERT(STR("[000F:00001C00] Failed to initialize. Please contact an administrator.")); UserInterface->RunUiFrame(); }); WindowThread.detach(); @@ -52,12 +52,12 @@ int __stdcall WinMain(HINSTANCE inst, HINSTANCE prev, char* str, int cmdshow) // Initialize the syscall manager. if(!Syscalls->Start()) - ERROR_ASSERT("[000F:00001B00] Failed to initialize. Please contact an administrator."); + ERROR_ASSERT(STR("[000F:00001B00] Failed to initialize. Please contact an administrator.")); // Initialize the runtime protection system. WRAP_IF_RELEASE( if(!Protection->Start()) - ERROR_ASSERT("[000F:00001A00] Failed to initialize. Please contact an administrator."); + ERROR_ASSERT(STR("[000F:00001A00] Failed to initialize. Please contact an administrator.")); ); // Wait for connection. @@ -67,7 +67,7 @@ int __stdcall WinMain(HINSTANCE inst, HINSTANCE prev, char* str, int cmdshow) Networking::TCPClientPtr Client = std::make_unique(); if(!Client->Start(LOCAL_IP, SERVER_PORT)) - ERROR_ASSERT("[000F:0002A000] Server closed the connection unexpectedly."); + ERROR_ASSERT(STR("[000F:0002A000] Server closed the connection unexpectedly.")); // Allow the user to input their log-in data. UserInterface->m_Data.m_ExecutionState = UserExperience::EXECUTION_LOG_IN; diff --git a/csgo-loader/csgo-client/Client.hpp b/csgo-loader/csgo-client/Client.hpp index 016e3d3..0f89669 100644 --- a/csgo-loader/csgo-client/Client.hpp +++ b/csgo-loader/csgo-client/Client.hpp @@ -33,11 +33,11 @@ namespace Utils // Allow console to access output stream. FILE *file; - freopen_s(&file, "CONOUT$", "w", stdout); + freopen_s(&file, STR("CONOUT$"), STR("w"), stdout); // :^) - SetConsoleTitleA("moneyclient $"); + SetConsoleTitleA(STR("moneyclient $")); - printf("[DEBUG] Hello!\n"); + printf(STR("[DEBUG] Hello!\n")); } } \ No newline at end of file diff --git a/csgo-loader/csgo-client/Login/RemoteLogin.cpp b/csgo-loader/csgo-client/Login/RemoteLogin.cpp index 9362162..6e70f86 100644 --- a/csgo-loader/csgo-client/Login/RemoteLogin.cpp +++ b/csgo-loader/csgo-client/Login/RemoteLogin.cpp @@ -1,5 +1,4 @@ #include -#include // Change this whenever a major client update is made. // NOTE: You must change this on the server as well. @@ -9,6 +8,8 @@ namespace Login { void RemoteLoginTransaction::Start(const char *Username, const char *Password) { + VMProtectBeginUltra("LoginTransactionStart"); + // Initialise the header with the client header. m_Header.m_ClientHeader = CURRENT_CLIENT_HEADER; @@ -29,6 +30,8 @@ namespace Login m_Header.m_IntegrityBit4 = m_Header.m_IntegrityBit1 | m_Header.m_IntegrityBit2 | m_Header.m_IntegrityBit3; + + VMProtectEnd(); } // TODO: Hardware ID check. @@ -45,20 +48,20 @@ namespace Login case RemoteLoginResponse::ACCESS_AUTHORISED: return true; case RemoteLoginResponse::OUTDATED_CLIENT: - INFO_ASSERT("[000A:%08x] Your client is outdated.\nPlease download the latest client at 'moneybot.cc'.", m_Header.m_HardwareId ^ ServerResponse); + INFO_ASSERT(STR("[000A:%08x] Your client is outdated.\nPlease download the latest client at 'moneybot.cc'."), m_Header.m_HardwareId ^ ServerResponse); break; case RemoteLoginResponse::USER_BANNED: - INFO_ASSERT("[000D:%08x] Your account is banned.\nPlease contact 'admin@moneybot.cc' for additional information.", m_Header.m_HardwareId ^ ServerResponse); + INFO_ASSERT(STR("[000D:%08x] Your account is banned.\nPlease contact 'admin@moneybot.cc' for additional information."), m_Header.m_HardwareId ^ ServerResponse); break; case RemoteLoginResponse::INVALID_HARDWARE: UserInterface->m_Data.m_Error = UserExperience::ERROR_INVALID_HWID; break; case RemoteLoginResponse::INVALID_CREDENTIALS: - INFO_ASSERT("[000C:%08x] Your credentials are invalid. Please check your spelling and try again.", m_Header.m_HardwareId ^ ServerResponse); + INFO_ASSERT(STR("[000C:%08x] Your credentials are invalid. Please check your spelling and try again."), m_Header.m_HardwareId ^ ServerResponse); break; case RemoteLoginResponse::INTEGRITY_FAILURE: case RemoteLoginResponse::NO_SUBSCRIPTION: - INFO_ASSERT("[0005:%08x] No active subscription found.", m_Header.m_HardwareId ^ ServerResponse); + INFO_ASSERT(STR("[0005:%08x] No active subscription found."), m_Header.m_HardwareId ^ ServerResponse); break; } diff --git a/csgo-loader/csgo-client/Login/RemoteLogin.hpp b/csgo-loader/csgo-client/Login/RemoteLogin.hpp index 8e819fe..071bb13 100644 --- a/csgo-loader/csgo-client/Login/RemoteLogin.hpp +++ b/csgo-loader/csgo-client/Login/RemoteLogin.hpp @@ -4,6 +4,9 @@ #include #include +#include +#include + using ByteArray = std::vector; namespace Login diff --git a/csgo-loader/csgo-client/Networking/TCPClient.cpp b/csgo-loader/csgo-client/Networking/TCPClient.cpp index 9ac3c3e..0611d89 100644 --- a/csgo-loader/csgo-client/Networking/TCPClient.cpp +++ b/csgo-loader/csgo-client/Networking/TCPClient.cpp @@ -12,7 +12,7 @@ namespace Networking int32_t Result = send(m_Socket, (char *)Bytes.data(), (int)Bytes.size(), 0); if(Result == -1) - INFO_ASSERT("[000F:00002B00] Server closed the connection unexpectedly."); + INFO_ASSERT(STR("[000F:00002B00] Server closed the connection unexpectedly.")); } ByteArray TCPClient::ReceiveRawBytes() diff --git a/csgo-loader/csgo-client/RemoteCode/RemoteProcess.cpp b/csgo-loader/csgo-client/RemoteCode/RemoteProcess.cpp index 571f3cb..abed829 100644 --- a/csgo-loader/csgo-client/RemoteCode/RemoteProcess.cpp +++ b/csgo-loader/csgo-client/RemoteCode/RemoteProcess.cpp @@ -30,7 +30,7 @@ namespace RemoteCode m_Process = OpenProcess(PROCESS_ALL_ACCESS, false, ProcessEntry.th32ProcessID); if(!m_Process) - ERROR_ASSERT("[000G:%08x] There was an error with accessing a process.", GetLastError()); + ERROR_ASSERT(STR("[000G:%08x] There was an error with accessing a process."), GetLastError()); return true; } @@ -47,7 +47,7 @@ namespace RemoteCode NTSTATUS Status = ZwReadVirtualMemory(m_Process, Address, Data, SizeOfData, nullptr); if(NT_ERROR(Status)) - ERROR_ASSERT("[00DF:%08x] There was an error with accessing a process.", Status); + ERROR_ASSERT(STR("[00DF:%08x] There was an error with accessing a process."), Status); } void RemoteProcess::WriteMemoryWrapper_Internal(void *Address, void *Data, size_t SizeOfData) @@ -57,7 +57,7 @@ namespace RemoteCode NTSTATUS Status = ZwWriteVirtualMemory(m_Process, Address, Data, SizeOfData, nullptr); if(NT_ERROR(Status)) - ERROR_ASSERT("[00DF:%08x] There was an error with accessing a process.", Status); + ERROR_ASSERT(STR("[00DF:%08x] There was an error with accessing a process."), Status); } void *RemoteProcess::Allocate(size_t AllocationSize) @@ -76,7 +76,7 @@ namespace RemoteCode ); if(NT_ERROR(Status)) - ERROR_ASSERT("[00DF:%08x] There was an error with accessing a process.", Status); + ERROR_ASSERT(STR("[00DF:%08x] There was an error with accessing a process."), Status); return AllocationAddress; } @@ -98,7 +98,7 @@ namespace RemoteCode if(strstr(ModuleEntry.szModule, ModuleName)) { if(!ModuleEntry.hModule) - ERROR_ASSERT("[00DF:00001C00] An integrity check failed."); + ERROR_ASSERT(STR("[00DF:00001C00] An integrity check failed.")); CloseHandle(Toolhelp); return RemoteModule(ModuleEntry.hModule); diff --git a/csgo-loader/csgo-client/Security/Encryption.cpp b/csgo-loader/csgo-client/Security/Encryption.cpp index d361d1c..6cf2f7f 100644 --- a/csgo-loader/csgo-client/Security/Encryption.cpp +++ b/csgo-loader/csgo-client/Security/Encryption.cpp @@ -569,7 +569,7 @@ namespace Wrapper if(!CryptAcquireContextA(&m_CryptProvider, nullptr, nullptr, PROV_RSA_AES, 0)) { if(!CryptAcquireContextA(&m_CryptProvider, nullptr, nullptr, PROV_RSA_AES, CRYPT_NEWKEYSET)) - INFO_ASSERT("Critical failure\nContact an admin with the following code: %08x", GetLastError()); + INFO_ASSERT(STR("Critical failure\nContact an admin with the following code: %08x"), GetLastError()); } uint8_t RandomBytes[32]; diff --git a/csgo-loader/csgo-client/Security/Encryption.hpp b/csgo-loader/csgo-client/Security/Encryption.hpp index bf1346e..79ae604 100644 --- a/csgo-loader/csgo-client/Security/Encryption.hpp +++ b/csgo-loader/csgo-client/Security/Encryption.hpp @@ -6,6 +6,7 @@ #include #include +#include using ByteArray = std::vector; diff --git a/csgo-loader/csgo-client/Security/RuntimeSecurity.cpp b/csgo-loader/csgo-client/Security/RuntimeSecurity.cpp index 6a5ce20..f7c1cc2 100644 --- a/csgo-loader/csgo-client/Security/RuntimeSecurity.cpp +++ b/csgo-loader/csgo-client/Security/RuntimeSecurity.cpp @@ -30,7 +30,7 @@ namespace Security if(ReturnModule != LoaderModule) { - Protection->SecurityCallback("Malicious activity [Tampering]."); + Protection->SecurityCallback(STR("Malicious activity [Tampering].")); [&](decltype(&OpenProcess) A) { @@ -75,7 +75,7 @@ namespace Security // Let's meme anyone who tries to reverse this. if(ReturnModule != LoaderModule) { - return []() { Protection->SecurityCallback("Malicious activity [Tampering]."); return -1; }(); + return []() { Protection->SecurityCallback(STR("Malicious activity [Tampering].")); return -1; }(); } // Call original function @@ -99,7 +99,7 @@ namespace Security // Let's meme anyone who tries to reverse this. if(ReturnModule != LoaderModule) { - return []() { Protection->SecurityCallback("Malicious activity [Tampering]."); return -1; }(); + return []() { Protection->SecurityCallback(STR("Malicious activity [Tampering].")); return -1; }(); } // Call original function @@ -120,6 +120,8 @@ namespace Security bool RuntimeSecurity::ApplyApiHooks() { + VMProtectBeginMutation("ApplyHooks"); + // Make sure that MinHook is initialized properly. CreateMinHook(); CheckStatus(); @@ -138,6 +140,8 @@ namespace Security SafeCallTo(MH_EnableHook(&send)); return true; + + VMProtectEnd(); } #pragma optimize("", on) @@ -147,17 +151,17 @@ namespace Security HMODULE Module = GetModuleHandleA("ntdll.dll"); if(!Module) - ERROR_ASSERT("[000F:00001A00] Failed to initialize. Please contact an administrator."); + ERROR_ASSERT(STR("[000F:00001A00] Failed to initialize. Please contact an administrator.")); // Grab exports from ntdll.dll - uintptr_t Export_DbgUiRemoteBreakin = (uintptr_t)GetProcAddress(Module, "DbgUiRemoteBreakin"); - uintptr_t Export_DbgBreakPoint = (uintptr_t)GetProcAddress(Module, "DbgBreakPoint"); + uintptr_t Export_DbgUiRemoteBreakin = (uintptr_t)GetProcAddress(Module, STR("DbgUiRemoteBreakin")); + uintptr_t Export_DbgBreakPoint = (uintptr_t)GetProcAddress(Module, STR("DbgBreakPoint")); // Most plugins for OllyDBG / IDA only fix DbgUiRemoteBreakin/DbgBreakPoint, // however, NtContinue is never touched although it is used. // This should prevent any such plugins from effectively attaching the debugger. // NOTE: This does not work on x64dbg for whatever reason.. - uintptr_t Export_NtContinue = (uintptr_t)GetProcAddress(Module, "NtContinue"); + uintptr_t Export_NtContinue = (uintptr_t)GetProcAddress(Module, STR("NtContinue")); // Ensure that the program gets closed if a debugger is attached. uintptr_t Exports[] = { @@ -170,7 +174,7 @@ namespace Security { DWORD OldProtection; if(!VirtualProtect((void *)It, sizeof uintptr_t + 1, PAGE_EXECUTE_READWRITE, &OldProtection)) - ERROR_ASSERT("[000F:00001A00] Failed to initialize. Please contact an administrator."); + ERROR_ASSERT(STR("[000F:00001A00] Failed to initialize. Please contact an administrator.")); // Patch to __asm { jmp oExitProcess; }; *(uint8_t *)It = 0xE9; @@ -182,10 +186,14 @@ namespace Security void RuntimeSecurity::DispatchSecurityThreads() { + VMProtectBeginMutation("DispatchThreads"); + std::thread DebugThread (&RuntimeSecurity::CheckForDebugger, this); DebugThread.detach(); std::thread VMThread (&RuntimeSecurity::CheckForVirtualMachine, this); VMThread.detach(); std::thread DriverThread(&RuntimeSecurity::CheckForDrivers, this); DriverThread.detach(); std::thread TamperThread(&RuntimeSecurity::CheckForTampering, this); TamperThread.detach(); + + VMProtectEnd(); } // The following functions are only called internally. @@ -197,15 +205,21 @@ namespace Security void RuntimeSecurity::CheckForVirtualMachine() { + VMProtectBeginVirtualization("VMThread"); + for(;;) { // Don't put too much stress on the CPU. Sleep(1); } + + VMProtectEnd(); } void RuntimeSecurity::CheckForDebugger() { + VMProtectBeginVirtualization("DebuggerThread"); + for(;;) { // Read the PEB from the TIB. @@ -238,11 +252,11 @@ namespace Security */ using WindowParams = std::pair; static std::vector BlackListedWindows = { - {"ID", "Immunity"}, // Immunity Debugger - {"Qt5QWindowIcon", "x64dbg"}, // x64dbg - {"Qt5QWindowIcon", "x32dbg"}, // x32dbg - {"OLLYDBG", "OllyDbg"}, // OllyDbg - {nullptr, "Progress Telerik Fiddler Web Debugger"}, // Telerik Fiddler + {STR("ID"), STR("Immunity")}, // Immunity Debugger + {STR("Qt5QWindowIcon"), STR("x64dbg")}, // x64dbg + {STR("Qt5QWindowIcon"), STR("x32dbg")}, // x32dbg + {STR("OLLYDBG"), STR("OllyDbg")}, // OllyDbg + {nullptr, STR("Progress Telerik Fiddler Web Debugger")}, // Telerik Fiddler }; for(auto &It : BlackListedWindows) @@ -250,12 +264,14 @@ namespace Security // size_t Index = std::distance(...); if(FindWindowA(It.first, It.second)) - SecurityCallback("Malicious activity [Debugging attempt]."); + SecurityCallback(STR("Malicious activity [Debugging attempt].")); } // Don't put too much stress on the CPU. Sleep(1); } + + VMProtectEnd(); } void RuntimeSecurity::CheckForDrivers() @@ -264,19 +280,19 @@ namespace Security for(;;) { static const char *BlackListedDrivers[] = { - "Sbie", // Sandboxie - "NPF", // WireShark / WinPCAP - "acker", // Process Hacker - "CEDRI" // Cheat Engine - "VBox", // VirtualBox + STR("Sbie"), // Sandboxie + STR("NPF"), // WireShark / WinPCAP + STR("acker"), // Process Hacker + STR("CEDRI"), // Cheat Engine + //STR("VBox") // VirtualBox }; static const char *BlackListReasons[] = { - "Please uninstall Sandboxie.", - "Please uninstall WireShark.", - "Please close Process Hacker.", - "Please close Cheat Engine.", - "Please uninstall VirtualBox." + STR("Please uninstall Sandboxie."), + STR("Please uninstall WireShark."), + STR("Please close Process Hacker."), + STR("Please close Cheat Engine."), + STR("Please uninstall VirtualBox.") }; uint16_t Length = sizeof BlackListedDrivers / sizeof(BlackListedDrivers[0]); @@ -287,7 +303,7 @@ namespace Security if(K32EnumDeviceDrivers(DriverList, sizeof DriverList, &Needed)) { if(Needed > sizeof DriverList) - ERROR_ASSERT("[00DF:00001CFF] A security thread has failed. Contact an administrator."); + ERROR_ASSERT(STR("[00DF:00001CFF] A security thread has failed. Contact an administrator.")); char DriverName[1024]; uint32_t DriverCount = Needed / sizeof DriverList[0]; @@ -375,7 +391,7 @@ namespace Security char ReasonParameter[64]; uint32_t Status = GetLastError(); - sprintf_s(ReasonParameter, "[00DF:%08x] There was an error with accessing a process.", Status); + sprintf_s(ReasonParameter, STR("[00DF:%08x] There was an error with accessing a process."), Status); ERROR_ASSERT(ReasonParameter); } @@ -392,9 +408,9 @@ namespace Security // You can use the reason parameters to debug the security in case // something weird starts going on with it. char Buffer[2048]; - sprintf_s(Buffer, "Security callback was called. Reason parameter: \"%s\"\n", Reason); + sprintf_s(Buffer, STR("Security callback was called. Reason parameter: \"%s\"\n"), Reason); - MessageBoxA(0, Buffer, "Information", MB_ICONINFORMATION | MB_OK); + MessageBoxA(0, Buffer, "", MB_ICONINFORMATION | MB_OK); // The process will straight up die on Release mode. diff --git a/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp b/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp index 9fe5c51..08e6490 100644 --- a/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp +++ b/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp @@ -20,7 +20,7 @@ // Required for the SDK from VMP which offers // virtual machines and string encryption, as // well as debug/VM checks. - +#include // Required for MinHook. #include @@ -35,10 +35,14 @@ // Sick macros, retard. #define WRAP_IF_RELEASE( s ) #define WRAP_IF_DEBUG( s ) { s; } + + #define STR( s ) s #else // Sick macros, retard. #define WRAP_IF_RELEASE( s ) { s; } #define WRAP_IF_DEBUG( s ) + + #define STR( s ) VMProtectDecryptStringA( s ) #endif namespace Security diff --git a/csgo-loader/csgo-client/Security/SyscallManager.cpp b/csgo-loader/csgo-client/Security/SyscallManager.cpp index 871b593..9bb1302 100644 --- a/csgo-loader/csgo-client/Security/SyscallManager.cpp +++ b/csgo-loader/csgo-client/Security/SyscallManager.cpp @@ -1,5 +1,4 @@ #include -#include // Global accessor for SyscallManager. Wrapper::SyscallManagerPtr Syscalls = std::make_unique(); @@ -23,7 +22,7 @@ namespace Wrapper GetSystemDirectoryA(SystemPath, MAX_PATH); // Append 'ntdll.dll' to path. - strcat_s(SystemPath, "\\ntdll.dll"); + strcat_s(SystemPath, STR("\\ntdll.dll")); // Open handle to 'ntdll.dll'. std::ifstream FileHandle(SystemPath, std::ios::in | std::ios::binary); @@ -139,7 +138,7 @@ namespace Wrapper // We've found a syscall. uint8_t *Opcodes = (uint8_t *)(Buffer + FunctionRawOffset); - if(!memcmp(Opcodes, "\x4C\x8B\xD1\xB8", 4)) + if(!memcmp(Opcodes, STR("\x4C\x8B\xD1\xB8"), 4)) { uint32_t SyscallIndex = *(uint32_t *)(Buffer + FunctionRawOffset + 4); diff --git a/csgo-loader/csgo-client/Security/SyscallManager.hpp b/csgo-loader/csgo-client/Security/SyscallManager.hpp index 615b646..df3a077 100644 --- a/csgo-loader/csgo-client/Security/SyscallManager.hpp +++ b/csgo-loader/csgo-client/Security/SyscallManager.hpp @@ -11,6 +11,9 @@ #include +#include +#include + using ByteArray = std::vector; namespace Wrapper @@ -65,7 +68,7 @@ namespace Wrapper uint64_t Syscall = m_Syscalls[Hash].Get(); if(!Syscall) - ERROR_ASSERT("[000F:00001B00] Internal software error. Please contact an administrator."); + ERROR_ASSERT(STR("[000F:00001B00] Internal software error. Please contact an administrator.")); return (T)m_Syscalls[Hash].Get(); } diff --git a/csgo-loader/shared/include/SecureEngineCustomVMs.h b/csgo-loader/shared/include/SecureEngineCustomVMs.h deleted file mode 100644 index fd35011..0000000 --- a/csgo-loader/shared/include/SecureEngineCustomVMs.h +++ /dev/null @@ -1,338 +0,0 @@ -/****************************************************************************** - * Header: SecureEngineCustomVMs.h - * Description: Definitions for Custom VMs in SecureEngine - * - * Author/s: Oreans Technologies - * (c) 2015 Oreans Technologies - * - * --- File generated automatically from Oreans VM Generator (16/6/2015) --- - ******************************************************************************/ - -// *********************************************** -// Definition of macros as function names -// *********************************************** - - #ifdef __cplusplus - extern "C" { - #endif - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000100_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000100_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000103_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000103_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000101_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000101_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000104_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000104_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000102_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000102_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000105_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000105_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000106_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000106_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000107_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000107_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000108_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000108_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000109_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000109_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000110_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000110_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000111_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000111_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000112_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000112_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000113_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000113_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000114_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000114_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000115_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000115_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000116_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000116_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000117_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000117_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000118_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000118_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000119_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000119_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000120_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000120_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000121_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000121_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000122_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000122_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000123_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000123_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000134_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000134_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000135_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000135_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000136_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000136_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000137_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000137_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000138_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000138_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000139_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000139_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000146_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000146_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000147_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000147_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000148_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000148_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000149_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000149_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000150_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000150_End(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000151_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION CustomVM00000151_End(void); - -DLL_IMPORT void STDCALL_CONVENTION Mutate_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION Mutate_End(void); - -DLL_IMPORT void STDCALL_CONVENTION Mutate_Start(void); - -DLL_IMPORT void STDCALL_CONVENTION Mutate_End(void); - -#ifdef __cplusplus -} -#endif - - -// *********************************************** -// x64 definition as function names -// *********************************************** - -#if defined(PLATFORM_X64) && !defined(X64_INSERT_VIA_INLINE) - -#define VM_TIGER_WHITE_START CustomVM00000103_Start(); -#define VM_TIGER_WHITE_END CustomVM00000103_End(); - -#define VM_TIGER_RED_START CustomVM00000104_Start(); -#define VM_TIGER_RED_END CustomVM00000104_End(); - -#define VM_TIGER_BLACK_START CustomVM00000105_Start(); -#define VM_TIGER_BLACK_END CustomVM00000105_End(); - -#define VM_FISH_WHITE_START CustomVM00000107_Start(); -#define VM_FISH_WHITE_END CustomVM00000107_End(); - -#define VM_FISH_RED_START CustomVM00000109_Start(); -#define VM_FISH_RED_END CustomVM00000109_End(); - -#define VM_FISH_BLACK_START CustomVM00000111_Start(); -#define VM_FISH_BLACK_END CustomVM00000111_End(); - -#define VM_PUMA_WHITE_START CustomVM00000113_Start(); -#define VM_PUMA_WHITE_END CustomVM00000113_End(); - -#define VM_PUMA_RED_START CustomVM00000115_Start(); -#define VM_PUMA_RED_END CustomVM00000115_End(); - -#define VM_PUMA_BLACK_START CustomVM00000117_Start(); -#define VM_PUMA_BLACK_END CustomVM00000117_End(); - -#define VM_SHARK_WHITE_START CustomVM00000119_Start(); -#define VM_SHARK_WHITE_END CustomVM00000119_End(); - -#define VM_SHARK_RED_START CustomVM00000121_Start(); -#define VM_SHARK_RED_END CustomVM00000121_End(); - -#define VM_SHARK_BLACK_START CustomVM00000123_Start(); -#define VM_SHARK_BLACK_END CustomVM00000123_End(); - -#define VM_DOLPHIN_WHITE_START CustomVM00000135_Start(); -#define VM_DOLPHIN_WHITE_END CustomVM00000135_End(); - -#define VM_DOLPHIN_RED_START CustomVM00000137_Start(); -#define VM_DOLPHIN_RED_END CustomVM00000137_End(); - -#define VM_DOLPHIN_BLACK_START CustomVM00000139_Start(); -#define VM_DOLPHIN_BLACK_END CustomVM00000139_End(); - -#define VM_EAGLE_WHITE_START CustomVM00000147_Start(); -#define VM_EAGLE_WHITE_END CustomVM00000147_End(); - -#define VM_EAGLE_RED_START CustomVM00000149_Start(); -#define VM_EAGLE_RED_END CustomVM00000149_End(); - -#define VM_EAGLE_BLACK_START CustomVM00000151_Start(); -#define VM_EAGLE_BLACK_END CustomVM00000151_End(); - -#define VM_MUTATE_ONLY_START Mutate_Start(); -#define VM_MUTATE_ONLY_END Mutate_End(); - -#define CUSTOM_VMS_DEFINED - -#endif - - -// *********************************************** -// x32 definition as function names -// *********************************************** - -#if defined(PLATFORM_X32) && !defined(X32_INSERT_VIA_INLINE) - -#define VM_TIGER_WHITE_START CustomVM00000100_Start(); -#define VM_TIGER_WHITE_END CustomVM00000100_End(); - -#define VM_TIGER_RED_START CustomVM00000101_Start(); -#define VM_TIGER_RED_END CustomVM00000101_End(); - -#define VM_TIGER_BLACK_START CustomVM00000102_Start(); -#define VM_TIGER_BLACK_END CustomVM00000102_End(); - -#define VM_FISH_WHITE_START CustomVM00000106_Start(); -#define VM_FISH_WHITE_END CustomVM00000106_End(); - -#define VM_FISH_RED_START CustomVM00000108_Start(); -#define VM_FISH_RED_END CustomVM00000108_End(); - -#define VM_FISH_BLACK_START CustomVM00000110_Start(); -#define VM_FISH_BLACK_END CustomVM00000110_End(); - -#define VM_PUMA_WHITE_START CustomVM00000112_Start(); -#define VM_PUMA_WHITE_END CustomVM00000112_End(); - -#define VM_PUMA_RED_START CustomVM00000114_Start(); -#define VM_PUMA_RED_END CustomVM00000114_End(); - -#define VM_PUMA_BLACK_START CustomVM00000116_Start(); -#define VM_PUMA_BLACK_END CustomVM00000116_End(); - -#define VM_SHARK_WHITE_START CustomVM00000118_Start(); -#define VM_SHARK_WHITE_END CustomVM00000118_End(); - -#define VM_SHARK_RED_START CustomVM00000120_Start(); -#define VM_SHARK_RED_END CustomVM00000120_End(); - -#define VM_SHARK_BLACK_START CustomVM00000122_Start(); -#define VM_SHARK_BLACK_END CustomVM00000122_End(); - -#define VM_DOLPHIN_WHITE_START CustomVM00000134_Start(); -#define VM_DOLPHIN_WHITE_END CustomVM00000134_End(); - -#define VM_DOLPHIN_RED_START CustomVM00000136_Start(); -#define VM_DOLPHIN_RED_END CustomVM00000136_End(); - -#define VM_DOLPHIN_BLACK_START CustomVM00000138_Start(); -#define VM_DOLPHIN_BLACK_END CustomVM00000138_End(); - -#define VM_EAGLE_WHITE_START CustomVM00000146_Start(); -#define VM_EAGLE_WHITE_END CustomVM00000146_End(); - -#define VM_EAGLE_RED_START CustomVM00000148_Start(); -#define VM_EAGLE_RED_END CustomVM00000148_End(); - -#define VM_EAGLE_BLACK_START CustomVM00000150_Start(); -#define VM_EAGLE_BLACK_END CustomVM00000150_End(); - -#define VM_MUTATE_ONLY_START Mutate_Start(); -#define VM_MUTATE_ONLY_END Mutate_End(); - -#define CUSTOM_VMS_DEFINED - -#endif - - -// *********************************************** -// x32/x64 definition as inline assembly -// *********************************************** - -#ifndef CUSTOM_VMS_DEFINED - -#ifdef __BORLANDC__ - #include "SecureEngineCustomVMs_BorlandC_inline.h" -#endif - -#ifdef __GNUC__ - #include "SecureEngineCustomVMs_GNU_inline.h" -#endif - -#ifdef __ICL - #include "SecureEngineCustomVMs_ICL_inline.h" -#endif - -#ifdef __LCC__ - #include "SecureEngineCustomVMs_LCC_inline.h" -#endif - -#if defined(_MSC_VER) || defined(__INTEL_COMPILER) - #include "SecureEngineCustomVMs_VC_inline.h" -#endif - -#endif diff --git a/csgo-loader/shared/include/SecureEngineCustomVMs_BorlandC_inline.h b/csgo-loader/shared/include/SecureEngineCustomVMs_BorlandC_inline.h deleted file mode 100644 index 9ba7f5a..0000000 --- a/csgo-loader/shared/include/SecureEngineCustomVMs_BorlandC_inline.h +++ /dev/null @@ -1,402 +0,0 @@ -/****************************************************************************** - * Header: SecureEngineCustomVMs_BorlandC_inline.h - * Description: Borland C++ inline assembly macros definitions - * - * Author/s: Oreans Technologies - * (c) 2015 Oreans Technologies - * - * --- File generated automatically from Oreans VM Generator (16/6/2015) --- - ******************************************************************************/ - -/*********************************************** - * Definition as inline assembly - ***********************************************/ - -#ifdef PLATFORM_X32 - -#ifndef VM_TIGER_WHITE_START -#define VM_TIGER_WHITE_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x64, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_TIGER_WHITE_END -#define VM_TIGER_WHITE_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xF4, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_TIGER_RED_START -#define VM_TIGER_RED_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x65, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_TIGER_RED_END -#define VM_TIGER_RED_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xF5, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_TIGER_BLACK_START -#define VM_TIGER_BLACK_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x66, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_TIGER_BLACK_END -#define VM_TIGER_BLACK_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xF6, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_FISH_WHITE_START -#define VM_FISH_WHITE_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x6A, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_FISH_WHITE_END -#define VM_FISH_WHITE_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xFA, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_FISH_RED_START -#define VM_FISH_RED_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x6C, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_FISH_RED_END -#define VM_FISH_RED_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xFC, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_FISH_BLACK_START -#define VM_FISH_BLACK_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x6E, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_FISH_BLACK_END -#define VM_FISH_BLACK_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xFE, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_PUMA_WHITE_START -#define VM_PUMA_WHITE_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x70, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_PUMA_WHITE_END -#define VM_PUMA_WHITE_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x00, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_PUMA_RED_START -#define VM_PUMA_RED_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x72, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_PUMA_RED_END -#define VM_PUMA_RED_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x02, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_PUMA_BLACK_START -#define VM_PUMA_BLACK_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x74, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_PUMA_BLACK_END -#define VM_PUMA_BLACK_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x04, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_SHARK_WHITE_START -#define VM_SHARK_WHITE_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x76, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_SHARK_WHITE_END -#define VM_SHARK_WHITE_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x06, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_SHARK_RED_START -#define VM_SHARK_RED_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x78, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_SHARK_RED_END -#define VM_SHARK_RED_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x08, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_SHARK_BLACK_START -#define VM_SHARK_BLACK_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x7A, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_SHARK_BLACK_END -#define VM_SHARK_BLACK_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x0A, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_DOLPHIN_WHITE_START -#define VM_DOLPHIN_WHITE_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x86, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_DOLPHIN_WHITE_END -#define VM_DOLPHIN_WHITE_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x16, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_DOLPHIN_RED_START -#define VM_DOLPHIN_RED_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x88, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_DOLPHIN_RED_END -#define VM_DOLPHIN_RED_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x18, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_DOLPHIN_BLACK_START -#define VM_DOLPHIN_BLACK_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x8A, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_DOLPHIN_BLACK_END -#define VM_DOLPHIN_BLACK_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x1A, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_EAGLE_WHITE_START -#define VM_EAGLE_WHITE_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x92, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_EAGLE_WHITE_END -#define VM_EAGLE_WHITE_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x22, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_EAGLE_RED_START -#define VM_EAGLE_RED_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x94, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_EAGLE_RED_END -#define VM_EAGLE_RED_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x24, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_EAGLE_BLACK_START -#define VM_EAGLE_BLACK_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x96, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_EAGLE_BLACK_END -#define VM_EAGLE_BLACK_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x26, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_MUTATE_ONLY_START -#define VM_MUTATE_ONLY_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x10, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_MUTATE_ONLY_END -#define VM_MUTATE_ONLY_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x11, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#endif - -#ifdef PLATFORM_X64 - -#ifndef VM_TIGER_WHITE_START -#define VM_TIGER_WHITE_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x67, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_TIGER_WHITE_END -#define VM_TIGER_WHITE_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xF7, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_TIGER_RED_START -#define VM_TIGER_RED_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x68, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_TIGER_RED_END -#define VM_TIGER_RED_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xF8, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_TIGER_BLACK_START -#define VM_TIGER_BLACK_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x69, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_TIGER_BLACK_END -#define VM_TIGER_BLACK_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xF9, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_FISH_WHITE_START -#define VM_FISH_WHITE_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x6B, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_FISH_WHITE_END -#define VM_FISH_WHITE_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xFB, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_FISH_RED_START -#define VM_FISH_RED_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x6D, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_FISH_RED_END -#define VM_FISH_RED_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xFD, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_FISH_BLACK_START -#define VM_FISH_BLACK_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x6F, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_FISH_BLACK_END -#define VM_FISH_BLACK_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xFF, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_PUMA_WHITE_START -#define VM_PUMA_WHITE_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x71, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_PUMA_WHITE_END -#define VM_PUMA_WHITE_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x01, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_PUMA_RED_START -#define VM_PUMA_RED_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x73, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_PUMA_RED_END -#define VM_PUMA_RED_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x03, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_PUMA_BLACK_START -#define VM_PUMA_BLACK_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x75, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_PUMA_BLACK_END -#define VM_PUMA_BLACK_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x05, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_SHARK_WHITE_START -#define VM_SHARK_WHITE_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x77, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_SHARK_WHITE_END -#define VM_SHARK_WHITE_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x07, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_SHARK_RED_START -#define VM_SHARK_RED_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x79, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_SHARK_RED_END -#define VM_SHARK_RED_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x09, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_SHARK_BLACK_START -#define VM_SHARK_BLACK_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x7B, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_SHARK_BLACK_END -#define VM_SHARK_BLACK_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x0B, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_DOLPHIN_WHITE_START -#define VM_DOLPHIN_WHITE_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x87, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_DOLPHIN_WHITE_END -#define VM_DOLPHIN_WHITE_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x17, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_DOLPHIN_RED_START -#define VM_DOLPHIN_RED_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x89, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_DOLPHIN_RED_END -#define VM_DOLPHIN_RED_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x19, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_DOLPHIN_BLACK_START -#define VM_DOLPHIN_BLACK_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x8B, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_DOLPHIN_BLACK_END -#define VM_DOLPHIN_BLACK_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x1B, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_EAGLE_WHITE_START -#define VM_EAGLE_WHITE_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x93, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_EAGLE_WHITE_END -#define VM_EAGLE_WHITE_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x23, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_EAGLE_RED_START -#define VM_EAGLE_RED_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x95, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_EAGLE_RED_END -#define VM_EAGLE_RED_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x25, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_EAGLE_BLACK_START -#define VM_EAGLE_BLACK_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x97, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_EAGLE_BLACK_END -#define VM_EAGLE_BLACK_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x27, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_MUTATE_ONLY_START -#define VM_MUTATE_ONLY_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x10, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#ifndef VM_MUTATE_ONLY_END -#define VM_MUTATE_ONLY_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x11, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); -#endif - -#endif - diff --git a/csgo-loader/shared/include/SecureEngineCustomVMs_GNU_inline.h b/csgo-loader/shared/include/SecureEngineCustomVMs_GNU_inline.h deleted file mode 100644 index 68fb50e..0000000 --- a/csgo-loader/shared/include/SecureEngineCustomVMs_GNU_inline.h +++ /dev/null @@ -1,1694 +0,0 @@ -/****************************************************************************** - * Header: SecureEngineCustomVMs_GNU_inline.h - * Description: GNU C inline assembly macros definitions - * - * Author/s: Oreans Technologies - * (c) 2015 Oreans Technologies - * - * --- File generated automatically from Oreans VM Generator (16/6/2015) --- - ******************************************************************************/ - -/*********************************************** - * Definition as inline assembly - ***********************************************/ - -#ifdef PLATFORM_X32 - -#ifndef VM_TIGER_WHITE_START -#define VM_TIGER_WHITE_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x64\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_TIGER_WHITE_END -#define VM_TIGER_WHITE_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0xF4\n"\ - ".byte 0x01\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_TIGER_RED_START -#define VM_TIGER_RED_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x65\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_TIGER_RED_END -#define VM_TIGER_RED_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0xF5\n"\ - ".byte 0x01\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_TIGER_BLACK_START -#define VM_TIGER_BLACK_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x66\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_TIGER_BLACK_END -#define VM_TIGER_BLACK_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0xF6\n"\ - ".byte 0x01\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_FISH_WHITE_START -#define VM_FISH_WHITE_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x6A\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_FISH_WHITE_END -#define VM_FISH_WHITE_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0xFA\n"\ - ".byte 0x01\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_FISH_RED_START -#define VM_FISH_RED_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x6C\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_FISH_RED_END -#define VM_FISH_RED_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0xFC\n"\ - ".byte 0x01\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_FISH_BLACK_START -#define VM_FISH_BLACK_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x6E\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_FISH_BLACK_END -#define VM_FISH_BLACK_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0xFE\n"\ - ".byte 0x01\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_PUMA_WHITE_START -#define VM_PUMA_WHITE_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x70\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_PUMA_WHITE_END -#define VM_PUMA_WHITE_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x00\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_PUMA_RED_START -#define VM_PUMA_RED_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x72\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_PUMA_RED_END -#define VM_PUMA_RED_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x02\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_PUMA_BLACK_START -#define VM_PUMA_BLACK_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x74\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_PUMA_BLACK_END -#define VM_PUMA_BLACK_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x04\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_SHARK_WHITE_START -#define VM_SHARK_WHITE_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x76\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_SHARK_WHITE_END -#define VM_SHARK_WHITE_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x06\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_SHARK_RED_START -#define VM_SHARK_RED_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x78\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_SHARK_RED_END -#define VM_SHARK_RED_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x08\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_SHARK_BLACK_START -#define VM_SHARK_BLACK_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x7A\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_SHARK_BLACK_END -#define VM_SHARK_BLACK_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x0A\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_DOLPHIN_WHITE_START -#define VM_DOLPHIN_WHITE_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x86\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_DOLPHIN_WHITE_END -#define VM_DOLPHIN_WHITE_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x16\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_DOLPHIN_RED_START -#define VM_DOLPHIN_RED_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x88\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_DOLPHIN_RED_END -#define VM_DOLPHIN_RED_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x18\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_DOLPHIN_BLACK_START -#define VM_DOLPHIN_BLACK_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x8A\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_DOLPHIN_BLACK_END -#define VM_DOLPHIN_BLACK_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x1A\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_EAGLE_WHITE_START -#define VM_EAGLE_WHITE_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x92\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_EAGLE_WHITE_END -#define VM_EAGLE_WHITE_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x22\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_EAGLE_RED_START -#define VM_EAGLE_RED_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x94\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_EAGLE_RED_END -#define VM_EAGLE_RED_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x24\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_EAGLE_BLACK_START -#define VM_EAGLE_BLACK_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x96\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_EAGLE_BLACK_END -#define VM_EAGLE_BLACK_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x26\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_MUTATE_ONLY_START -#define VM_MUTATE_ONLY_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x10\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_MUTATE_ONLY_END -#define VM_MUTATE_ONLY_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x11\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#endif - -#ifdef PLATFORM_X64 - -#ifndef VM_TIGER_WHITE_START -#define VM_TIGER_WHITE_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x67\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_TIGER_WHITE_END -#define VM_TIGER_WHITE_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0xF7\n"\ - ".byte 0x01\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_TIGER_RED_START -#define VM_TIGER_RED_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x68\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_TIGER_RED_END -#define VM_TIGER_RED_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0xF8\n"\ - ".byte 0x01\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_TIGER_BLACK_START -#define VM_TIGER_BLACK_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x69\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_TIGER_BLACK_END -#define VM_TIGER_BLACK_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0xF9\n"\ - ".byte 0x01\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_FISH_WHITE_START -#define VM_FISH_WHITE_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x6B\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_FISH_WHITE_END -#define VM_FISH_WHITE_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0xFB\n"\ - ".byte 0x01\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_FISH_RED_START -#define VM_FISH_RED_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x6D\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_FISH_RED_END -#define VM_FISH_RED_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0xFD\n"\ - ".byte 0x01\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_FISH_BLACK_START -#define VM_FISH_BLACK_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x6F\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_FISH_BLACK_END -#define VM_FISH_BLACK_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0xFF\n"\ - ".byte 0x01\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_PUMA_WHITE_START -#define VM_PUMA_WHITE_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x71\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_PUMA_WHITE_END -#define VM_PUMA_WHITE_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x01\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_PUMA_RED_START -#define VM_PUMA_RED_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x73\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_PUMA_RED_END -#define VM_PUMA_RED_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x03\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_PUMA_BLACK_START -#define VM_PUMA_BLACK_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x75\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_PUMA_BLACK_END -#define VM_PUMA_BLACK_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x05\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_SHARK_WHITE_START -#define VM_SHARK_WHITE_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x77\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_SHARK_WHITE_END -#define VM_SHARK_WHITE_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x07\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_SHARK_RED_START -#define VM_SHARK_RED_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x79\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_SHARK_RED_END -#define VM_SHARK_RED_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x09\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_SHARK_BLACK_START -#define VM_SHARK_BLACK_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x7B\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_SHARK_BLACK_END -#define VM_SHARK_BLACK_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x0B\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_DOLPHIN_WHITE_START -#define VM_DOLPHIN_WHITE_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x87\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_DOLPHIN_WHITE_END -#define VM_DOLPHIN_WHITE_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x17\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_DOLPHIN_RED_START -#define VM_DOLPHIN_RED_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x89\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_DOLPHIN_RED_END -#define VM_DOLPHIN_RED_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x19\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_DOLPHIN_BLACK_START -#define VM_DOLPHIN_BLACK_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x8B\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_DOLPHIN_BLACK_END -#define VM_DOLPHIN_BLACK_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x1B\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_EAGLE_WHITE_START -#define VM_EAGLE_WHITE_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x93\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_EAGLE_WHITE_END -#define VM_EAGLE_WHITE_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x23\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_EAGLE_RED_START -#define VM_EAGLE_RED_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x95\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_EAGLE_RED_END -#define VM_EAGLE_RED_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x25\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_EAGLE_BLACK_START -#define VM_EAGLE_BLACK_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x97\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_EAGLE_BLACK_END -#define VM_EAGLE_BLACK_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x27\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_MUTATE_ONLY_START -#define VM_MUTATE_ONLY_START \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x10\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#ifndef VM_MUTATE_ONLY_END -#define VM_MUTATE_ONLY_END \ -__asm__ (".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x11\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"); -#endif - -#endif - diff --git a/csgo-loader/shared/include/SecureEngineCustomVMs_ICL_inline.h b/csgo-loader/shared/include/SecureEngineCustomVMs_ICL_inline.h deleted file mode 100644 index b0cda46..0000000 --- a/csgo-loader/shared/include/SecureEngineCustomVMs_ICL_inline.h +++ /dev/null @@ -1,1694 +0,0 @@ -/****************************************************************************** - * Header: SecureEngineCustomVMs_ICL_inline.h - * Description: ICL inline assembly macros definitions - * - * Author/s: Oreans Technologies - * (c) 2015 Oreans Technologies - * - * --- File generated automatically from Oreans VM Generator (16/6/2015) --- - ******************************************************************************/ - -/*********************************************** - * Definition as inline assembly - ***********************************************/ - -#ifdef PLATFORM_X32 - -#ifndef VM_TIGER_WHITE_START -#define VM_TIGER_WHITE_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x64 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_TIGER_WHITE_END -#define VM_TIGER_WHITE_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0xF4 \ - __asm __emit 0x01 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_TIGER_RED_START -#define VM_TIGER_RED_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x65 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_TIGER_RED_END -#define VM_TIGER_RED_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0xF5 \ - __asm __emit 0x01 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_TIGER_BLACK_START -#define VM_TIGER_BLACK_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x66 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_TIGER_BLACK_END -#define VM_TIGER_BLACK_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0xF6 \ - __asm __emit 0x01 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_FISH_WHITE_START -#define VM_FISH_WHITE_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x6A \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_FISH_WHITE_END -#define VM_FISH_WHITE_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0xFA \ - __asm __emit 0x01 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_FISH_RED_START -#define VM_FISH_RED_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x6C \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_FISH_RED_END -#define VM_FISH_RED_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0xFC \ - __asm __emit 0x01 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_FISH_BLACK_START -#define VM_FISH_BLACK_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x6E \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_FISH_BLACK_END -#define VM_FISH_BLACK_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0xFE \ - __asm __emit 0x01 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_PUMA_WHITE_START -#define VM_PUMA_WHITE_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x70 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_PUMA_WHITE_END -#define VM_PUMA_WHITE_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x00 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_PUMA_RED_START -#define VM_PUMA_RED_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x72 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_PUMA_RED_END -#define VM_PUMA_RED_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x02 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_PUMA_BLACK_START -#define VM_PUMA_BLACK_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x74 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_PUMA_BLACK_END -#define VM_PUMA_BLACK_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x04 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_SHARK_WHITE_START -#define VM_SHARK_WHITE_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x76 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_SHARK_WHITE_END -#define VM_SHARK_WHITE_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x06 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_SHARK_RED_START -#define VM_SHARK_RED_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x78 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_SHARK_RED_END -#define VM_SHARK_RED_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x08 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_SHARK_BLACK_START -#define VM_SHARK_BLACK_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x7A \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_SHARK_BLACK_END -#define VM_SHARK_BLACK_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x0A \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_DOLPHIN_WHITE_START -#define VM_DOLPHIN_WHITE_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x86 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_DOLPHIN_WHITE_END -#define VM_DOLPHIN_WHITE_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x16 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_DOLPHIN_RED_START -#define VM_DOLPHIN_RED_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x88 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_DOLPHIN_RED_END -#define VM_DOLPHIN_RED_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x18 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_DOLPHIN_BLACK_START -#define VM_DOLPHIN_BLACK_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x8A \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_DOLPHIN_BLACK_END -#define VM_DOLPHIN_BLACK_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x1A \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_EAGLE_WHITE_START -#define VM_EAGLE_WHITE_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x92 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_EAGLE_WHITE_END -#define VM_EAGLE_WHITE_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x22 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_EAGLE_RED_START -#define VM_EAGLE_RED_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x94 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_EAGLE_RED_END -#define VM_EAGLE_RED_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x24 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_EAGLE_BLACK_START -#define VM_EAGLE_BLACK_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x96 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_EAGLE_BLACK_END -#define VM_EAGLE_BLACK_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x26 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_MUTATE_ONLY_START -#define VM_MUTATE_ONLY_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x10 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_MUTATE_ONLY_END -#define VM_MUTATE_ONLY_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x11 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#endif - -#ifdef PLATFORM_X64 - -#ifndef VM_TIGER_WHITE_START -#define VM_TIGER_WHITE_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x67 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_TIGER_WHITE_END -#define VM_TIGER_WHITE_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0xF7 \ - __asm __emit 0x01 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_TIGER_RED_START -#define VM_TIGER_RED_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x68 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_TIGER_RED_END -#define VM_TIGER_RED_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0xF8 \ - __asm __emit 0x01 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_TIGER_BLACK_START -#define VM_TIGER_BLACK_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x69 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_TIGER_BLACK_END -#define VM_TIGER_BLACK_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0xF9 \ - __asm __emit 0x01 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_FISH_WHITE_START -#define VM_FISH_WHITE_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x6B \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_FISH_WHITE_END -#define VM_FISH_WHITE_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0xFB \ - __asm __emit 0x01 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_FISH_RED_START -#define VM_FISH_RED_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x6D \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_FISH_RED_END -#define VM_FISH_RED_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0xFD \ - __asm __emit 0x01 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_FISH_BLACK_START -#define VM_FISH_BLACK_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x6F \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_FISH_BLACK_END -#define VM_FISH_BLACK_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0xFF \ - __asm __emit 0x01 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_PUMA_WHITE_START -#define VM_PUMA_WHITE_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x71 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_PUMA_WHITE_END -#define VM_PUMA_WHITE_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x01 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_PUMA_RED_START -#define VM_PUMA_RED_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x73 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_PUMA_RED_END -#define VM_PUMA_RED_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x03 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_PUMA_BLACK_START -#define VM_PUMA_BLACK_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x75 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_PUMA_BLACK_END -#define VM_PUMA_BLACK_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x05 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_SHARK_WHITE_START -#define VM_SHARK_WHITE_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x77 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_SHARK_WHITE_END -#define VM_SHARK_WHITE_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x07 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_SHARK_RED_START -#define VM_SHARK_RED_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x79 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_SHARK_RED_END -#define VM_SHARK_RED_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x09 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_SHARK_BLACK_START -#define VM_SHARK_BLACK_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x7B \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_SHARK_BLACK_END -#define VM_SHARK_BLACK_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x0B \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_DOLPHIN_WHITE_START -#define VM_DOLPHIN_WHITE_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x87 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_DOLPHIN_WHITE_END -#define VM_DOLPHIN_WHITE_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x17 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_DOLPHIN_RED_START -#define VM_DOLPHIN_RED_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x89 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_DOLPHIN_RED_END -#define VM_DOLPHIN_RED_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x19 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_DOLPHIN_BLACK_START -#define VM_DOLPHIN_BLACK_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x8B \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_DOLPHIN_BLACK_END -#define VM_DOLPHIN_BLACK_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x1B \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_EAGLE_WHITE_START -#define VM_EAGLE_WHITE_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x93 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_EAGLE_WHITE_END -#define VM_EAGLE_WHITE_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x23 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_EAGLE_RED_START -#define VM_EAGLE_RED_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x95 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_EAGLE_RED_END -#define VM_EAGLE_RED_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x25 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_EAGLE_BLACK_START -#define VM_EAGLE_BLACK_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x97 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_EAGLE_BLACK_END -#define VM_EAGLE_BLACK_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x27 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_MUTATE_ONLY_START -#define VM_MUTATE_ONLY_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x10 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#ifndef VM_MUTATE_ONLY_END -#define VM_MUTATE_ONLY_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x11 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57\ - __asm __emit 0x4C\ - __asm __emit 0x20 \ - __asm __emit 0x20 -#endif - -#endif - diff --git a/csgo-loader/shared/include/SecureEngineCustomVMs_LCC_inline.h b/csgo-loader/shared/include/SecureEngineCustomVMs_LCC_inline.h deleted file mode 100644 index 1aca4d9..0000000 --- a/csgo-loader/shared/include/SecureEngineCustomVMs_LCC_inline.h +++ /dev/null @@ -1,402 +0,0 @@ -/****************************************************************************** - * Header: SecureEngineCustomVMs_LCC_inline.h - * Description: LCC inline assembly macros definitions - * - * Author/s: Oreans Technologies - * (c) 2015 Oreans Technologies - * - * --- File generated automatically from Oreans VM Generator (16/6/2015) --- - ******************************************************************************/ - -/*********************************************** - * Definition as inline assembly - ***********************************************/ - -#ifdef PLATFORM_X32 - -#ifndef VM_TIGER_WHITE_START -#define VM_TIGER_WHITE_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x64, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_TIGER_WHITE_END -#define VM_TIGER_WHITE_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xF4, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_TIGER_RED_START -#define VM_TIGER_RED_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x65, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_TIGER_RED_END -#define VM_TIGER_RED_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xF5, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_TIGER_BLACK_START -#define VM_TIGER_BLACK_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x66, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_TIGER_BLACK_END -#define VM_TIGER_BLACK_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xF6, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_FISH_WHITE_START -#define VM_FISH_WHITE_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x6A, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_FISH_WHITE_END -#define VM_FISH_WHITE_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xFA, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_FISH_RED_START -#define VM_FISH_RED_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x6C, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_FISH_RED_END -#define VM_FISH_RED_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xFC, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_FISH_BLACK_START -#define VM_FISH_BLACK_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x6E, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_FISH_BLACK_END -#define VM_FISH_BLACK_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xFE, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_PUMA_WHITE_START -#define VM_PUMA_WHITE_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x70, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_PUMA_WHITE_END -#define VM_PUMA_WHITE_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x00, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_PUMA_RED_START -#define VM_PUMA_RED_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x72, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_PUMA_RED_END -#define VM_PUMA_RED_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x02, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_PUMA_BLACK_START -#define VM_PUMA_BLACK_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x74, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_PUMA_BLACK_END -#define VM_PUMA_BLACK_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x04, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_SHARK_WHITE_START -#define VM_SHARK_WHITE_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x76, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_SHARK_WHITE_END -#define VM_SHARK_WHITE_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x06, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_SHARK_RED_START -#define VM_SHARK_RED_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x78, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_SHARK_RED_END -#define VM_SHARK_RED_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x08, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_SHARK_BLACK_START -#define VM_SHARK_BLACK_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x7A, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_SHARK_BLACK_END -#define VM_SHARK_BLACK_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x0A, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_DOLPHIN_WHITE_START -#define VM_DOLPHIN_WHITE_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x86, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_DOLPHIN_WHITE_END -#define VM_DOLPHIN_WHITE_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x16, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_DOLPHIN_RED_START -#define VM_DOLPHIN_RED_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x88, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_DOLPHIN_RED_END -#define VM_DOLPHIN_RED_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x18, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_DOLPHIN_BLACK_START -#define VM_DOLPHIN_BLACK_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x8A, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_DOLPHIN_BLACK_END -#define VM_DOLPHIN_BLACK_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x1A, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_EAGLE_WHITE_START -#define VM_EAGLE_WHITE_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x92, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_EAGLE_WHITE_END -#define VM_EAGLE_WHITE_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x22, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_EAGLE_RED_START -#define VM_EAGLE_RED_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x94, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_EAGLE_RED_END -#define VM_EAGLE_RED_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x24, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_EAGLE_BLACK_START -#define VM_EAGLE_BLACK_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x96, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_EAGLE_BLACK_END -#define VM_EAGLE_BLACK_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x26, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_MUTATE_ONLY_START -#define VM_MUTATE_ONLY_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x10, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_MUTATE_ONLY_END -#define VM_MUTATE_ONLY_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x11, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#endif - -#ifdef PLATFORM_X64 - -#ifndef VM_TIGER_WHITE_START -#define VM_TIGER_WHITE_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x67, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_TIGER_WHITE_END -#define VM_TIGER_WHITE_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xF7, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_TIGER_RED_START -#define VM_TIGER_RED_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x68, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_TIGER_RED_END -#define VM_TIGER_RED_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xF8, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_TIGER_BLACK_START -#define VM_TIGER_BLACK_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x69, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_TIGER_BLACK_END -#define VM_TIGER_BLACK_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xF9, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_FISH_WHITE_START -#define VM_FISH_WHITE_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x6B, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_FISH_WHITE_END -#define VM_FISH_WHITE_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xFB, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_FISH_RED_START -#define VM_FISH_RED_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x6D, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_FISH_RED_END -#define VM_FISH_RED_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xFD, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_FISH_BLACK_START -#define VM_FISH_BLACK_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x6F, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_FISH_BLACK_END -#define VM_FISH_BLACK_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0xFF, 0x01, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_PUMA_WHITE_START -#define VM_PUMA_WHITE_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x71, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_PUMA_WHITE_END -#define VM_PUMA_WHITE_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x01, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_PUMA_RED_START -#define VM_PUMA_RED_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x73, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_PUMA_RED_END -#define VM_PUMA_RED_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x03, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_PUMA_BLACK_START -#define VM_PUMA_BLACK_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x75, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_PUMA_BLACK_END -#define VM_PUMA_BLACK_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x05, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_SHARK_WHITE_START -#define VM_SHARK_WHITE_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x77, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_SHARK_WHITE_END -#define VM_SHARK_WHITE_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x07, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_SHARK_RED_START -#define VM_SHARK_RED_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x79, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_SHARK_RED_END -#define VM_SHARK_RED_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x09, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_SHARK_BLACK_START -#define VM_SHARK_BLACK_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x7B, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_SHARK_BLACK_END -#define VM_SHARK_BLACK_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x0B, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_DOLPHIN_WHITE_START -#define VM_DOLPHIN_WHITE_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x87, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_DOLPHIN_WHITE_END -#define VM_DOLPHIN_WHITE_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x17, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_DOLPHIN_RED_START -#define VM_DOLPHIN_RED_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x89, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_DOLPHIN_RED_END -#define VM_DOLPHIN_RED_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x19, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_DOLPHIN_BLACK_START -#define VM_DOLPHIN_BLACK_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x8B, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_DOLPHIN_BLACK_END -#define VM_DOLPHIN_BLACK_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x1B, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_EAGLE_WHITE_START -#define VM_EAGLE_WHITE_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x93, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_EAGLE_WHITE_END -#define VM_EAGLE_WHITE_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x23, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_EAGLE_RED_START -#define VM_EAGLE_RED_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x95, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_EAGLE_RED_END -#define VM_EAGLE_RED_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x25, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_EAGLE_BLACK_START -#define VM_EAGLE_BLACK_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x97, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_EAGLE_BLACK_END -#define VM_EAGLE_BLACK_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x27, 0x02, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_MUTATE_ONLY_START -#define VM_MUTATE_ONLY_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x10, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#ifndef VM_MUTATE_ONLY_END -#define VM_MUTATE_ONLY_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x11, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); -#endif - -#endif - diff --git a/csgo-loader/shared/include/SecureEngineCustomVMs_VC_inline.h b/csgo-loader/shared/include/SecureEngineCustomVMs_VC_inline.h deleted file mode 100644 index c604bcc..0000000 --- a/csgo-loader/shared/include/SecureEngineCustomVMs_VC_inline.h +++ /dev/null @@ -1,1694 +0,0 @@ -/****************************************************************************** - * Header: SecureEngineCustomVMs_VC_inline.h - * Description: VC inline assembly macros definitions - * - * Author/s: Oreans Technologies - * (c) 2015 Oreans Technologies - * - * --- File generated automatically from Oreans VM Generator (16/6/2015) --- - ******************************************************************************/ - -/*********************************************** - * Definition as inline assembly - ***********************************************/ - -#ifdef PLATFORM_X32 - -#ifndef VM_TIGER_WHITE_START -#define VM_TIGER_WHITE_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x64 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_TIGER_WHITE_END -#define VM_TIGER_WHITE_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0xF4 \ - __asm _emit 0x01 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_TIGER_RED_START -#define VM_TIGER_RED_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x65 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_TIGER_RED_END -#define VM_TIGER_RED_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0xF5 \ - __asm _emit 0x01 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_TIGER_BLACK_START -#define VM_TIGER_BLACK_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x66 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_TIGER_BLACK_END -#define VM_TIGER_BLACK_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0xF6 \ - __asm _emit 0x01 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_FISH_WHITE_START -#define VM_FISH_WHITE_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x6A \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_FISH_WHITE_END -#define VM_FISH_WHITE_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0xFA \ - __asm _emit 0x01 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_FISH_RED_START -#define VM_FISH_RED_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x6C \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_FISH_RED_END -#define VM_FISH_RED_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0xFC \ - __asm _emit 0x01 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_FISH_BLACK_START -#define VM_FISH_BLACK_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x6E \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_FISH_BLACK_END -#define VM_FISH_BLACK_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0xFE \ - __asm _emit 0x01 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_PUMA_WHITE_START -#define VM_PUMA_WHITE_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x70 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_PUMA_WHITE_END -#define VM_PUMA_WHITE_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x00 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_PUMA_RED_START -#define VM_PUMA_RED_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x72 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_PUMA_RED_END -#define VM_PUMA_RED_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x02 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_PUMA_BLACK_START -#define VM_PUMA_BLACK_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x74 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_PUMA_BLACK_END -#define VM_PUMA_BLACK_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x04 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_SHARK_WHITE_START -#define VM_SHARK_WHITE_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x76 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_SHARK_WHITE_END -#define VM_SHARK_WHITE_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x06 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_SHARK_RED_START -#define VM_SHARK_RED_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x78 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_SHARK_RED_END -#define VM_SHARK_RED_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x08 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_SHARK_BLACK_START -#define VM_SHARK_BLACK_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x7A \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_SHARK_BLACK_END -#define VM_SHARK_BLACK_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x0A \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_DOLPHIN_WHITE_START -#define VM_DOLPHIN_WHITE_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x86 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_DOLPHIN_WHITE_END -#define VM_DOLPHIN_WHITE_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x16 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_DOLPHIN_RED_START -#define VM_DOLPHIN_RED_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x88 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_DOLPHIN_RED_END -#define VM_DOLPHIN_RED_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x18 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_DOLPHIN_BLACK_START -#define VM_DOLPHIN_BLACK_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x8A \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_DOLPHIN_BLACK_END -#define VM_DOLPHIN_BLACK_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x1A \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_EAGLE_WHITE_START -#define VM_EAGLE_WHITE_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x92 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_EAGLE_WHITE_END -#define VM_EAGLE_WHITE_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x22 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_EAGLE_RED_START -#define VM_EAGLE_RED_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x94 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_EAGLE_RED_END -#define VM_EAGLE_RED_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x24 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_EAGLE_BLACK_START -#define VM_EAGLE_BLACK_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x96 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_EAGLE_BLACK_END -#define VM_EAGLE_BLACK_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x26 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_MUTATE_ONLY_START -#define VM_MUTATE_ONLY_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x10 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_MUTATE_ONLY_END -#define VM_MUTATE_ONLY_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x11 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#endif - -#ifdef PLATFORM_X64 - -#ifndef VM_TIGER_WHITE_START -#define VM_TIGER_WHITE_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x67 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_TIGER_WHITE_END -#define VM_TIGER_WHITE_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0xF7 \ - __asm _emit 0x01 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_TIGER_RED_START -#define VM_TIGER_RED_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x68 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_TIGER_RED_END -#define VM_TIGER_RED_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0xF8 \ - __asm _emit 0x01 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_TIGER_BLACK_START -#define VM_TIGER_BLACK_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x69 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_TIGER_BLACK_END -#define VM_TIGER_BLACK_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0xF9 \ - __asm _emit 0x01 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_FISH_WHITE_START -#define VM_FISH_WHITE_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x6B \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_FISH_WHITE_END -#define VM_FISH_WHITE_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0xFB \ - __asm _emit 0x01 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_FISH_RED_START -#define VM_FISH_RED_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x6D \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_FISH_RED_END -#define VM_FISH_RED_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0xFD \ - __asm _emit 0x01 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_FISH_BLACK_START -#define VM_FISH_BLACK_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x6F \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_FISH_BLACK_END -#define VM_FISH_BLACK_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0xFF \ - __asm _emit 0x01 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_PUMA_WHITE_START -#define VM_PUMA_WHITE_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x71 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_PUMA_WHITE_END -#define VM_PUMA_WHITE_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x01 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_PUMA_RED_START -#define VM_PUMA_RED_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x73 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_PUMA_RED_END -#define VM_PUMA_RED_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x03 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_PUMA_BLACK_START -#define VM_PUMA_BLACK_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x75 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_PUMA_BLACK_END -#define VM_PUMA_BLACK_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x05 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_SHARK_WHITE_START -#define VM_SHARK_WHITE_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x77 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_SHARK_WHITE_END -#define VM_SHARK_WHITE_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x07 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_SHARK_RED_START -#define VM_SHARK_RED_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x79 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_SHARK_RED_END -#define VM_SHARK_RED_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x09 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_SHARK_BLACK_START -#define VM_SHARK_BLACK_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x7B \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_SHARK_BLACK_END -#define VM_SHARK_BLACK_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x0B \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_DOLPHIN_WHITE_START -#define VM_DOLPHIN_WHITE_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x87 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_DOLPHIN_WHITE_END -#define VM_DOLPHIN_WHITE_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x17 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_DOLPHIN_RED_START -#define VM_DOLPHIN_RED_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x89 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_DOLPHIN_RED_END -#define VM_DOLPHIN_RED_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x19 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_DOLPHIN_BLACK_START -#define VM_DOLPHIN_BLACK_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x8B \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_DOLPHIN_BLACK_END -#define VM_DOLPHIN_BLACK_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x1B \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_EAGLE_WHITE_START -#define VM_EAGLE_WHITE_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x93 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_EAGLE_WHITE_END -#define VM_EAGLE_WHITE_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x23 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_EAGLE_RED_START -#define VM_EAGLE_RED_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x95 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_EAGLE_RED_END -#define VM_EAGLE_RED_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x25 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_EAGLE_BLACK_START -#define VM_EAGLE_BLACK_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x97 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_EAGLE_BLACK_END -#define VM_EAGLE_BLACK_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x27 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_MUTATE_ONLY_START -#define VM_MUTATE_ONLY_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x10 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#ifndef VM_MUTATE_ONLY_END -#define VM_MUTATE_ONLY_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x11 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57\ - __asm _emit 0x4C\ - __asm _emit 0x20 \ - __asm _emit 0x20 -#endif - -#endif - diff --git a/csgo-loader/shared/include/ThemidaSDK.h b/csgo-loader/shared/include/ThemidaSDK.h deleted file mode 100644 index 14bd9d9..0000000 --- a/csgo-loader/shared/include/ThemidaSDK.h +++ /dev/null @@ -1,2253 +0,0 @@ -/****************************************************************************** - Header: SecureEngineSDK.h - Description: SDK header definition for the C/C++ language - - Author/s: Oreans Technologies - (c) 2013 Oreans Technologies -*****************************************************************************/ - -#pragma once - - -// *********************************************** -// Cross Compiler definitions -// *********************************************** - -#ifdef __GNUC__ - #define DLL_IMPORT extern - #define STDCALL_CONVENTION -#else - #define DLL_IMPORT __declspec(dllimport) - #define STDCALL_CONVENTION __stdcall -#endif - - -// *********************************************** -// Specify platform -// *********************************************** - -#ifdef __GNUC__ - - #ifdef __x86_64__ - #define PLATFORM_X64 - #else - #define PLATFORM_X32 - #endif - -#else - - #ifdef _WIN64 - #define PLATFORM_X64 - #else - #define PLATFORM_X32 - #endif - -#endif - - -// *********************************************** -// Defines -// *********************************************** - -#ifdef __GNUC__ - -#define X32_INSERT_VIA_INLINE -#define X64_INSERT_VIA_INLINE - -#else - -#define X32_INSERT_VIA_INLINE -//#define X64_INSERT_VIA_INLINE - -#endif - - -// *********************************************** -// Include files -// *********************************************** - -#include "SecureEngineCustomVMs.h" - -// *********************************************** -// Definition of macros as function names -// *********************************************** - - #ifdef __cplusplus - extern "C" { - #endif - - DLL_IMPORT void STDCALL_CONVENTION VMStart(void); - - DLL_IMPORT void STDCALL_CONVENTION VMEnd(void); - - DLL_IMPORT void STDCALL_CONVENTION CodeReplaceStart(void); - - DLL_IMPORT void STDCALL_CONVENTION CodeReplaceEnd(void); - - DLL_IMPORT void STDCALL_CONVENTION RegisteredStart(void); - - DLL_IMPORT void STDCALL_CONVENTION RegisteredEnd(void); - - DLL_IMPORT void STDCALL_CONVENTION EncodeStart(void); - - DLL_IMPORT void STDCALL_CONVENTION EncodeEnd(void); - - DLL_IMPORT void STDCALL_CONVENTION ClearStart(void); - - DLL_IMPORT void STDCALL_CONVENTION ClearEnd(void); - - DLL_IMPORT void STDCALL_CONVENTION MutateStart(void); - - DLL_IMPORT void STDCALL_CONVENTION MutateEnd(void); - - DLL_IMPORT void STDCALL_CONVENTION StrEncryptStart(void); - - DLL_IMPORT void STDCALL_CONVENTION StrEncryptEnd(void); - - DLL_IMPORT void STDCALL_CONVENTION StrEncryptWStart(void); - - DLL_IMPORT void STDCALL_CONVENTION StrEncryptWEnd(void); - - DLL_IMPORT void STDCALL_CONVENTION UnregisteredStart(void); - - DLL_IMPORT void STDCALL_CONVENTION UnregisteredEnd(void); - - DLL_IMPORT void STDCALL_CONVENTION RegisteredVMStart(void); - - DLL_IMPORT void STDCALL_CONVENTION RegisteredVMEnd(void); - - DLL_IMPORT void STDCALL_CONVENTION UnprotectedStart(void); - - DLL_IMPORT void STDCALL_CONVENTION UnprotectedEnd(void); - - DLL_IMPORT void STDCALL_CONVENTION SECheckProtection(int *user_var, int user_value); - - DLL_IMPORT void STDCALL_CONVENTION SECheckCodeIntegrity(int *user_var, int user_value); - - DLL_IMPORT void STDCALL_CONVENTION SECheckRegistration(int *user_var, int user_value); - - DLL_IMPORT void STDCALL_CONVENTION SECheckVirtualPC(int *user_var, int user_value); - - #ifdef __cplusplus - } - #endif - - -#ifdef PLATFORM_X64 - -// *********************************************** -// SecureEngine x64 macros definitions to keep -// compatibility with old x32 inline macros -// *********************************************** - - #define VM_START VMStart(); - #define VM_END VMEnd(); - #define VM_START_WITHLEVEL(x) VMStart(); - - #define CODEREPLACE_START CodeReplaceStart(); - #define CODEREPLACE_END CodeReplaceEnd(); - - #define REGISTERED_START RegisteredStart(); - #define REGISTERED_END RegisteredEnd(); - - #define ENCODE_START EncodeStart(); - #define ENCODE_END EncodeEnd(); - - #define MUTATE_START MutateStart(); - #define MUTATE_END MutateEnd(); - - #define STR_ENCRYPT_START StrEncryptStart(); - #define STR_ENCRYPT_END StrEncryptEnd(); - - #define STR_ENCRYPTW_START StrEncryptWStart(); - #define STR_ENCRYPTW_END StrEncryptWEnd(); - - #define UNREGISTERED_START UnregisteredStart(); - #define UNREGISTERED_END UnregisteredEnd(); - - #define CLEAR_START ClearStart(); - #define CLEAR_END ClearEnd(); - - #define REGISTEREDVM_START RegisteredVMStart(); - #define REGISTEREDVM_END RegisteredVMEnd(); - - #define UNPROTECTED_START UnprotectedStart(); - #define UNPROTECTED_END UnprotectedEnd(); - - #define CHECK_PROTECTION(var, val) SECheckProtection(&var, val); - #define CHECK_CODE_INTEGRITY(var, val) SECheckCodeIntegrity(&var, val); - #define CHECK_REGISTRATION(var, val) SECheckRegistration(&var, val); - #define CHECK_VIRTUAL_PC(var, val) SECheckVirtualPC(&var, val); - -#else - -// *********************************************** -// SecureEngine x32 inline macros definitions -// *********************************************** - - // Borland macros definitions - - #ifdef __BORLANDC__ - - #define REMOVE_BLOCK_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x00, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - #define REMOVE_BLOCK_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x01, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - - #define CODEREPLACE_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x00, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - #define CODEREPLACE_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x01, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - - #define REGISTERED_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x02, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - #define REGISTERED_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x03, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - - #define ENCODE_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x04, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - #define ENCODE_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x05, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - - #define CLEAR_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x06, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - #define CLEAR_END __emit__ (0xEB, 0x15, 0x57, 0x4C, 0x20, 0x20, 0x07, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20, 0x00, 0x00, \ - 0x00, 0x00, 0x00); - - #define UNREGISTERED_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x08, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - #define UNREGISTERED_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x09, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - - #define VM_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x0C, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - #define VM_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x0D, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - - #define MUTATE_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x10, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - #define MUTATE_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x11, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - - #define STR_ENCRYPT_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x12, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - #define STR_ENCRYPT_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x13, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - - #define STR_ENCRYPTW_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x22, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - #define STR_ENCRYPTW_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x23, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - - #define REGISTEREDVM_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x0E, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - #define REGISTEREDVM_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x0F, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - - #define VM_START_WITHLEVEL(x) __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x0C, 0x00, 0x00, 0x00, \ - 0x00, x, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - - #define UNPROTECTED_START __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - #define UNPROTECTED_END __emit__ (0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x21, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20); - - #define CHECK_PROTECTION(var, val) \ - asm { \ - dw 0x10EB; \ - dd 0x091ab3167; \ - dd 0x08a8b717a; \ - dd 0x0bc117abd; \ - dd 0x0; \ - push val; \ - pop var; \ - dw 0x0CEB; \ - dd 0x0bc117abd; \ - dd 0x08a8b717a; \ - dd 0x091ab3167; \ -} - - #define CHECK_CODE_INTEGRITY(var, val) \ - asm { \ - dw 0x10EB; \ - dd 0x091ab3167; \ - dd 0x08a8b717a; \ - dd 0x0bc117abd; \ - dd 0x1; \ - push val; \ - pop var; \ - dw 0x0CEB; \ - dd 0x0bc117abd; \ - dd 0x08a8b717a; \ - dd 0x091ab3167; \ -} - - #define CHECK_REGISTRATION(var, val) \ - asm { \ - dw 0x10EB; \ - dd 0x091ab3167; \ - dd 0x08a8b717a; \ - dd 0x0bc117abd; \ - dd 0x2; \ - push val; \ - pop var; \ - dw 0x0CEB; \ - dd 0x0bc117abd; \ - dd 0x08a8b717a; \ - dd 0x091ab3167; \ -} - - #define CHECK_VIRTUAL_PC(var, val) \ - asm { \ - dw 0x10EB; \ - dd 0x091ab3167; \ - dd 0x08a8b717a; \ - dd 0x0bc117abd; \ - dd 0x3; \ - push val; \ - pop var; \ - dw 0x0CEB; \ - dd 0x0bc117abd; \ - dd 0x08a8b717a; \ - dd 0x091ab3167; \ -} - -#else -#ifdef __GNUC__ - - // GNUC (MinGW) Compatible compiler macros definitions - - #define NO_OPTIMIZATION __attribute__((optimize("O0"))) - - #define REMOVE_BLOCK_START \ - asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - - #define REMOVE_BLOCK_END \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x01\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - - #define CODEREPLACE_START \ - asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define CODEREPLACE_END \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x01\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - - #define REGISTERED_START \ - asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define REGISTERED_END \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x03\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define ENCODE_START \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x04\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define ENCODE_END \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x05\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define CLEAR_START \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x06\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define CLEAR_END \ -asm ( ".byte 0xEB\n"\ - ".byte 0x15\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x07\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ); - -#define UNREGISTERED_START \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x08\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define UNREGISTERED_END \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x09\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define VM_START \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x0C\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define VM_END \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x0D\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define MUTATE_START \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x10\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define MUTATE_END \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x11\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define STR_ENCRYPT_START \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x12\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define STR_ENCRYPT_END \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x13\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define STR_ENCRYPTW_START \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x22\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define STR_ENCRYPTW_END \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x23\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - - -#define REGISTEREDVM_START \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x0E\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define REGISTEREDVM_END \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x0F\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define VM_START_WITHLEVEL(x) \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x0C\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte $" #x "\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define UNPROTECTED_START \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - - -#define UNPROTECTED_END \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ".byte 0x21\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x57\n"\ - ".byte 0x4C\n"\ - ".byte 0x20\n"\ - ".byte 0x20\n"\ - ); - -#define CHECK_PROTECTION(var, val) \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x67\n"\ - ".byte 0x31\n"\ - ".byte 0xAB\n"\ - ".byte 0x91\n"\ - ".byte 0x7A\n"\ - ".byte 0x71\n"\ - ".byte 0x8B\n"\ - ".byte 0x8A\n"\ - ".byte 0xBD\n"\ - ".byte 0x7A\n"\ - ".byte 0x11\n"\ - ".byte 0xBC\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - "push $" #val "\n"); \ - __asm__ ("pop %0" : "=m" (var):); \ - asm (".byte 0xEB\n"\ - ".byte 0x0C\n"\ - ".byte 0xBD\n"\ - ".byte 0x7A\n"\ - ".byte 0x11\n"\ - ".byte 0xBC\n"\ - ".byte 0x7A\n"\ - ".byte 0x71\n"\ - ".byte 0x8B\n"\ - ".byte 0x8A\n"\ - ".byte 0x67\n"\ - ".byte 0x31\n"\ - ".byte 0xAB\n"\ - ".byte 0x91\n"\ - ); - -#define CHECK_CODE_INTEGRITY(var, val) \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x67\n"\ - ".byte 0x31\n"\ - ".byte 0xAB\n"\ - ".byte 0x91\n"\ - ".byte 0x7A\n"\ - ".byte 0x71\n"\ - ".byte 0x8B\n"\ - ".byte 0x8A\n"\ - ".byte 0xBD\n"\ - ".byte 0x7A\n"\ - ".byte 0x11\n"\ - ".byte 0xBC\n"\ - ".byte 0x01\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - "push $" #val "\n"); \ - __asm__ ("pop %0" : "=m" (var):); \ - asm (".byte 0xEB\n"\ - ".byte 0x0C\n"\ - ".byte 0xBD\n"\ - ".byte 0x7A\n"\ - ".byte 0x11\n"\ - ".byte 0xBC\n"\ - ".byte 0x7A\n"\ - ".byte 0x71\n"\ - ".byte 0x8B\n"\ - ".byte 0x8A\n"\ - ".byte 0x67\n"\ - ".byte 0x31\n"\ - ".byte 0xAB\n"\ - ".byte 0x91\n"\ - ); - -#define CHECK_REGISTRATION(var, val) \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x67\n"\ - ".byte 0x31\n"\ - ".byte 0xAB\n"\ - ".byte 0x91\n"\ - ".byte 0x7A\n"\ - ".byte 0x71\n"\ - ".byte 0x8B\n"\ - ".byte 0x8A\n"\ - ".byte 0xBD\n"\ - ".byte 0x7A\n"\ - ".byte 0x11\n"\ - ".byte 0xBC\n"\ - ".byte 0x02\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - "push $" #val "\n"); \ - __asm__ ("pop %0" : "=m" (var):); \ - asm (".byte 0xEB\n"\ - ".byte 0x0C\n"\ - ".byte 0xBD\n"\ - ".byte 0x7A\n"\ - ".byte 0x11\n"\ - ".byte 0xBC\n"\ - ".byte 0x7A\n"\ - ".byte 0x71\n"\ - ".byte 0x8B\n"\ - ".byte 0x8A\n"\ - ".byte 0x67\n"\ - ".byte 0x31\n"\ - ".byte 0xAB\n"\ - ".byte 0x91\n"\ - ); - -#define CHECK_VIRTUAL_PC(var, val) \ -asm ( ".byte 0xEB\n"\ - ".byte 0x10\n"\ - ".byte 0x67\n"\ - ".byte 0x31\n"\ - ".byte 0xAB\n"\ - ".byte 0x91\n"\ - ".byte 0x7A\n"\ - ".byte 0x71\n"\ - ".byte 0x8B\n"\ - ".byte 0x8A\n"\ - ".byte 0xBD\n"\ - ".byte 0x7A\n"\ - ".byte 0x11\n"\ - ".byte 0xBC\n"\ - ".byte 0x03\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - ".byte 0x00\n"\ - "push $" #val "\n"); \ - __asm__ ("pop %0" : "=m" (var):); \ - asm (".byte 0xEB\n"\ - ".byte 0x0C\n"\ - ".byte 0xBD\n"\ - ".byte 0x7A\n"\ - ".byte 0x11\n"\ - ".byte 0xBC\n"\ - ".byte 0x7A\n"\ - ".byte 0x71\n"\ - ".byte 0x8B\n"\ - ".byte 0x8A\n"\ - ".byte 0x67\n"\ - ".byte 0x31\n"\ - ".byte 0xAB\n"\ - ".byte 0x91\n"\ - ); - -#else -#ifdef __ICL - -// ICL macros definitions - - #define REMOVE_BLOCK_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - #define REMOVE_BLOCK_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x01 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - #define CODEREPLACE_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - #define CODEREPLACE_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x01 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - #define REGISTERED_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x02 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - #define REGISTERED_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x03 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - - #define ENCODE_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x04 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - - #define ENCODE_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x05 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - - #define CLEAR_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x06 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - - #define CLEAR_END \ - __asm __emit 0xEB \ - __asm __emit 0x15 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x07 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 - - #define UNREGISTERED_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x08 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - #define UNREGISTERED_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x09 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - #define VM_START_WITHLEVEL(x) \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x0C \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit x \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - #define VM_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x0C \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - #define VM_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x0D \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - #define MUTATE_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x10 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - #define MUTATE_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x11 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - #define STR_ENCRYPT_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x12 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - #define STR_ENCRYPT_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x13 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - #define STR_ENCRYPTW_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x22 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - #define STR_ENCRYPTW_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x23 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - - #define REGISTEREDVM_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x0E \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - #define REGISTEREDVM_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x0F \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - #define UNPROTECTED_START \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - - #define UNPROTECTED_END \ - __asm __emit 0xEB \ - __asm __emit 0x10 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - __asm __emit 0x21 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x00 \ - __asm __emit 0x57 \ - __asm __emit 0x4C \ - __asm __emit 0x20 \ - __asm __emit 0x20 \ - -#else -#ifdef __LCC__ - -// LCC macros definitions - - #define REMOVE_BLOCK_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x00, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - #define REMOVE_BLOCK_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x01, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - - #define CODEREPLACE_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x00, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - #define CODEREPLACE_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x01, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - - #define REGISTERED_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x02, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - #define REGISTERED_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x03, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - - #define ENCODE_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x04, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - #define ENCODE_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x05, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - - #define CLEAR_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x06, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - - #define CLEAR_END __asm__ (" .byte\t0xEB, 0x15, 0x57, 0x4C, 0x20, 0x20, 0x07, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20, 0x00, 0x00, \ - 0x00, 0x00, 0x00"); - - #define UNREGISTERED_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x08, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - #define UNREGISTERED_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x09, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - - #define VM_START_WITHLEVEL(x) __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x0C, 0x00, 0x00, 0x00, \ - 0x00, "x", 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - - #define VM_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x0C, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - - #define VM_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x0D, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - - #define MUTATE_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x10, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - - #define MUTATE_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x11, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - - #define STR_ENCRYPT_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x12, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - - #define STR_ENCRYPT_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x13, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - - #define STR_ENCRYPT_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x22, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - - #define STR_ENCRYPT_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x23, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - - #define REGISTEREDVM_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x0E, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - - #define REGISTEREDVM_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x0F, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - - #define UNPROTECTED_START __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - - #define UNPROTECTED_END __asm__ (" .byte\t0xEB, 0x10, 0x57, 0x4C, 0x20, 0x20, 0x21, 0x00, 0x00, 0x00, \ - 0x00, 0x00, 0x00, 0x00, 0x57, 0x4C, 0x20, 0x20"); - -#else - - // Visual Studio macros definitions - - #define REMOVE_BLOCK_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define REMOVE_BLOCK_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x01 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define CODEREPLACE_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define CODEREPLACE_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x01 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define REGISTERED_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - -#define REGISTERED_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x03 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define ENCODE_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x04 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define ENCODE_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x05 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define CLEAR_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x06 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define CLEAR_END \ - __asm _emit 0xEB \ - __asm _emit 0x15 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x07 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 - - #define UNREGISTERED_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x08 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - -#define UNREGISTERED_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x09 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define VM_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x0C \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define VM_START_WITHLEVEL(x) \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x0C \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit x \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define VM_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x0D \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define MUTATE_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x10 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define MUTATE_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x11 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define STR_ENCRYPT_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x12 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define STR_ENCRYPT_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x13 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define STR_ENCRYPTW_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x22 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define STR_ENCRYPTW_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x23 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - - #define REGISTEREDVM_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x0E \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define REGISTEREDVM_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x0F \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - - #define UNPROTECTED_START \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define UNPROTECTED_END \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - __asm _emit 0x21 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x57 \ - __asm _emit 0x4C \ - __asm _emit 0x20 \ - __asm _emit 0x20 \ - - #define CHECK_PROTECTION(var, val) \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x67 \ - __asm _emit 0x31 \ - __asm _emit 0xAB \ - __asm _emit 0x91 \ - __asm _emit 0x7A \ - __asm _emit 0x71 \ - __asm _emit 0x8B \ - __asm _emit 0x8A \ - __asm _emit 0xBD \ - __asm _emit 0x7A \ - __asm _emit 0x11 \ - __asm _emit 0xBC \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm push val \ - __asm pop var \ - __asm _emit 0xEB \ - __asm _emit 0x0C \ - __asm _emit 0xBD \ - __asm _emit 0x7A \ - __asm _emit 0x11 \ - __asm _emit 0xBC \ - __asm _emit 0x7A \ - __asm _emit 0x71 \ - __asm _emit 0x8B \ - __asm _emit 0x8A \ - __asm _emit 0x67 \ - __asm _emit 0x31 \ - __asm _emit 0xAB \ - __asm _emit 0x91 \ - - #define CHECK_CODE_INTEGRITY(var, val) \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x67 \ - __asm _emit 0x31 \ - __asm _emit 0xAB \ - __asm _emit 0x91 \ - __asm _emit 0x7A \ - __asm _emit 0x71 \ - __asm _emit 0x8B \ - __asm _emit 0x8A \ - __asm _emit 0xBD \ - __asm _emit 0x7A \ - __asm _emit 0x11 \ - __asm _emit 0xBC \ - __asm _emit 0x01 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm push val \ - __asm pop var \ - __asm _emit 0xEB \ - __asm _emit 0x0C \ - __asm _emit 0xBD \ - __asm _emit 0x7A \ - __asm _emit 0x11 \ - __asm _emit 0xBC \ - __asm _emit 0x7A \ - __asm _emit 0x71 \ - __asm _emit 0x8B \ - __asm _emit 0x8A \ - __asm _emit 0x67 \ - __asm _emit 0x31 \ - __asm _emit 0xAB \ - __asm _emit 0x91 \ - - #define CHECK_REGISTRATION(var, val) \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x67 \ - __asm _emit 0x31 \ - __asm _emit 0xAB \ - __asm _emit 0x91 \ - __asm _emit 0x7A \ - __asm _emit 0x71 \ - __asm _emit 0x8B \ - __asm _emit 0x8A \ - __asm _emit 0xBD \ - __asm _emit 0x7A \ - __asm _emit 0x11 \ - __asm _emit 0xBC \ - __asm _emit 0x02 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm push val \ - __asm pop var \ - __asm _emit 0xEB \ - __asm _emit 0x0C \ - __asm _emit 0xBD \ - __asm _emit 0x7A \ - __asm _emit 0x11 \ - __asm _emit 0xBC \ - __asm _emit 0x7A \ - __asm _emit 0x71 \ - __asm _emit 0x8B \ - __asm _emit 0x8A \ - __asm _emit 0x67 \ - __asm _emit 0x31 \ - __asm _emit 0xAB \ - __asm _emit 0x91 \ - - #define CHECK_VIRTUAL_PC(var, val) \ - __asm _emit 0xEB \ - __asm _emit 0x10 \ - __asm _emit 0x67 \ - __asm _emit 0x31 \ - __asm _emit 0xAB \ - __asm _emit 0x91 \ - __asm _emit 0x7A \ - __asm _emit 0x71 \ - __asm _emit 0x8B \ - __asm _emit 0x8A \ - __asm _emit 0xBD \ - __asm _emit 0x7A \ - __asm _emit 0x11 \ - __asm _emit 0xBC \ - __asm _emit 0x03 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm _emit 0x00 \ - __asm push val \ - __asm pop var \ - __asm _emit 0xEB \ - __asm _emit 0x0C \ - __asm _emit 0xBD \ - __asm _emit 0x7A \ - __asm _emit 0x11 \ - __asm _emit 0xBC \ - __asm _emit 0x7A \ - __asm _emit 0x71 \ - __asm _emit 0x8B \ - __asm _emit 0x8A \ - __asm _emit 0x67 \ - __asm _emit 0x31 \ - __asm _emit 0xAB \ - __asm _emit 0x91 \ - - #endif - #endif -#endif -#endif -#endif diff --git a/csgo-loader/shared/include/VMProtectSDK.h b/csgo-loader/shared/include/VMProtectSDK.h new file mode 100644 index 0000000..b5e7104 --- /dev/null +++ b/csgo-loader/shared/include/VMProtectSDK.h @@ -0,0 +1,100 @@ +#pragma once + +#if defined(__APPLE__) || defined(__unix__) +#define VMP_IMPORT +#define VMP_API +#define VMP_WCHAR unsigned short +#else +#define VMP_IMPORT __declspec(dllimport) +#define VMP_API __stdcall +#define VMP_WCHAR wchar_t + +#pragma comment(lib, "VMProtectSDK.lib") + +#endif // __APPLE__ || __unix__ + +#ifdef __cplusplus +extern "C" { +#endif + +// protection +VMP_IMPORT void VMP_API VMProtectBegin(const char *); +VMP_IMPORT void VMP_API VMProtectBeginVirtualization(const char *); +VMP_IMPORT void VMP_API VMProtectBeginMutation(const char *); +VMP_IMPORT void VMP_API VMProtectBeginUltra(const char *); +VMP_IMPORT void VMP_API VMProtectBeginVirtualizationLockByKey(const char *); +VMP_IMPORT void VMP_API VMProtectBeginUltraLockByKey(const char *); +VMP_IMPORT void VMP_API VMProtectEnd(void); + +// utils +VMP_IMPORT bool VMP_API VMProtectIsProtected(); +VMP_IMPORT bool VMP_API VMProtectIsDebuggerPresent(bool); +VMP_IMPORT bool VMP_API VMProtectIsVirtualMachinePresent(void); +VMP_IMPORT bool VMP_API VMProtectIsValidImageCRC(void); +VMP_IMPORT const char * VMP_API VMProtectDecryptStringA(const char *value); +VMP_IMPORT const VMP_WCHAR * VMP_API VMProtectDecryptStringW(const VMP_WCHAR *value); +VMP_IMPORT bool VMP_API VMProtectFreeString(const void *value); + +// licensing +enum VMProtectSerialStateFlags +{ + SERIAL_STATE_SUCCESS = 0, + SERIAL_STATE_FLAG_CORRUPTED = 0x00000001, + SERIAL_STATE_FLAG_INVALID = 0x00000002, + SERIAL_STATE_FLAG_BLACKLISTED = 0x00000004, + SERIAL_STATE_FLAG_DATE_EXPIRED = 0x00000008, + SERIAL_STATE_FLAG_RUNNING_TIME_OVER = 0x00000010, + SERIAL_STATE_FLAG_BAD_HWID = 0x00000020, + SERIAL_STATE_FLAG_MAX_BUILD_EXPIRED = 0x00000040, +}; + +#pragma pack(push, 1) +typedef struct +{ + unsigned short wYear; + unsigned char bMonth; + unsigned char bDay; +} VMProtectDate; + +typedef struct +{ + int nState; // VMProtectSerialStateFlags + VMP_WCHAR wUserName[256]; // user name + VMP_WCHAR wEMail[256]; // email + VMProtectDate dtExpire; // date of serial number expiration + VMProtectDate dtMaxBuild; // max date of build, that will accept this key + int bRunningTime; // running time in minutes + unsigned char nUserDataLength; // length of user data in bUserData + unsigned char bUserData[255]; // up to 255 bytes of user data +} VMProtectSerialNumberData; +#pragma pack(pop) + +VMP_IMPORT int VMP_API VMProtectSetSerialNumber(const char *serial); +VMP_IMPORT int VMP_API VMProtectGetSerialNumberState(); +VMP_IMPORT bool VMP_API VMProtectGetSerialNumberData(VMProtectSerialNumberData *data, int size); +VMP_IMPORT int VMP_API VMProtectGetCurrentHWID(char *hwid, int size); + +// activation +enum VMProtectActivationFlags +{ + ACTIVATION_OK = 0, + ACTIVATION_SMALL_BUFFER, + ACTIVATION_NO_CONNECTION, + ACTIVATION_BAD_REPLY, + ACTIVATION_BANNED, + ACTIVATION_CORRUPTED, + ACTIVATION_BAD_CODE, + ACTIVATION_ALREADY_USED, + ACTIVATION_SERIAL_UNKNOWN, + ACTIVATION_EXPIRED, + ACTIVATION_NOT_AVAILABLE +}; + +VMP_IMPORT int VMP_API VMProtectActivateLicense(const char *code, char *serial, int size); +VMP_IMPORT int VMP_API VMProtectDeactivateLicense(const char *serial); +VMP_IMPORT int VMP_API VMProtectGetOfflineActivationString(const char *code, char *buf, int size); +VMP_IMPORT int VMP_API VMProtectGetOfflineDeactivationString(const char *serial, char *buf, int size); + +#ifdef __cplusplus +} +#endif diff --git a/csgo-loader/shared/lib/SecureEngine.lib b/csgo-loader/shared/lib/SecureEngine.lib deleted file mode 100644 index 6adc57c..0000000 Binary files a/csgo-loader/shared/lib/SecureEngine.lib and /dev/null differ diff --git a/csgo-loader/shared/lib/VMProtectSDK.lib b/csgo-loader/shared/lib/VMProtectSDK.lib new file mode 100644 index 0000000..0248885 Binary files /dev/null and b/csgo-loader/shared/lib/VMProtectSDK.lib differ diff --git a/csgo-loader/to-do list.txt b/csgo-loader/to-do list.txt index e93062e..b019408 100644 --- a/csgo-loader/to-do list.txt +++ b/csgo-loader/to-do list.txt @@ -1,15 +1,3 @@ -// todo: -// add .text hash checking, DbgUiRemoteBreakIn, DbgBreakPoint hooks -// hook recv/send on server, check if return address is valid -// (also check commonly abused functions for hooks) -// make release mode use themida macros :^) -SecurityWrapper -{ - Start( ) // Dispatch security thread to periodically check for blacklisted processes. - Patch( ) // Bytepatch often abused functions to call ExitProcess directly. - Check( ) // Check if dummy functions have been bytepatched (OpenProcess, WriteProcessMemory, VirtualQuery) -} - // todo: // make shellcode jump out to custom address (pass cheat header to it) // cheat itself will be invoked via TLS callback @@ -107,6 +95,7 @@ The server does not recognize your subscription as valid. This could be due to numerous factors including but not limited to: - not having a subscription. - tampering with the loader. + - having multiple accounts. To trouble-shoot this issue, try changing your password on the forums to force a database update. -- cgit v1.2.3