summaryrefslogtreecommitdiff
path: root/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'csgo-loader/csgo-client/Security/RuntimeSecurity.hpp')
-rw-r--r--csgo-loader/csgo-client/Security/RuntimeSecurity.hpp18
1 files changed, 11 insertions, 7 deletions
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 <windows.h>
#include <winternl.h>
+// EnumDeviceDrivers
+#include <psapi.h>
+
// WinInet
#include <wininet.h>
#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 <ThemidaSDK.h>
+// Required for the SDK from VMP which offers
+// virtual machines and string encryption, as
+// well as debug/VM checks.
+
// Required for MinHook.
#include <MinHook.h>
@@ -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.