From 7a3b48831bfc9c4aa8c39c1e42d5bf5dd73e43c5 Mon Sep 17 00:00:00 2001 From: boris Date: Tue, 1 Jan 2019 20:31:51 +1300 Subject: whole buncha fixes & switching to vmp --- csgo-loader/csgo-client/Security/RuntimeSecurity.hpp | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'csgo-loader/csgo-client/Security/RuntimeSecurity.hpp') diff --git a/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp b/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp index f74e778..9fe5c51 100644 --- a/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp +++ b/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp @@ -10,13 +10,17 @@ #include #include +// EnumDeviceDrivers +#include + // WinInet #include #pragma comment(lib, "wininet.lib") -// Required for the SDK from Themida which offers multiple -// virtual machines and string encryption, as well as debug/VM checks. -#include +// Required for the SDK from VMP which offers +// virtual machines and string encryption, as +// well as debug/VM checks. + // Required for MinHook. #include @@ -35,9 +39,6 @@ // Sick macros, retard. #define WRAP_IF_RELEASE( s ) { s; } #define WRAP_IF_DEBUG( s ) - - // Link against Themida's SecureEngine. - #pragma comment(lib, "SecureEngine.lib") #endif namespace Security @@ -50,11 +51,14 @@ namespace Security uint16_t m_CpuArchitecture; uint32_t m_CpuCount; - // String-literal - contains list of CPU features. + // Contains list of CPU features. char m_CpuFeatures[64]; // Hash of the hard disk serial identifier. uint32_t m_HardDiskSerialHash; + + // Safe-mode/Test-signing mode status + uint8_t m_SpecialMode[2]; }; // This class implements the runtime security system. -- cgit v1.2.3