From 81a3987fc17f99d2092018ac266882f4533cc27e Mon Sep 17 00:00:00 2001 From: boris Date: Fri, 28 Dec 2018 21:35:18 +1300 Subject: aaaaaaaaaaaaaaaaaaaaa --- csgo-loader/csgo-client/Security/RuntimeSecurity.hpp | 15 ++++++++------- 1 file changed, 8 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 2ef601d..671f67b 100644 --- a/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp +++ b/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp @@ -60,20 +60,18 @@ namespace Security { protected: // Applies necessary API hooks. - void ApplyApiHooks_Internal(); + bool ApplyApiHooks(); // Patches common debugging functions to crash the program. - void PatchDebugFunctions_Internal(); + void PatchDebugFunctions(); // Dispatches security threads. - void DispatchSecurityThreads_Internal(); + void DispatchSecurityThreads(); // The following functions are used in security threads to run checks. - bool CheckForVirtualMachine_Internal(); + bool CheckForVirtualMachine(); - bool CheckForDebugger_Internal(); - - bool CheckForApiHooks_Internal(); + bool CheckForDebugger(); public: // Initializes the runtime security system. @@ -81,6 +79,9 @@ namespace Security // Retrieves the current Hardware ID for the system. HardwareIdentifier GetHardwareId(); + + // ... + MEMORY_BASIC_INFORMATION QueryMemory(void *Address); }; // Readability -- cgit v1.2.3