Client, PBOOLEAN WasEnabled); typedef NTSTATUS(*mNtSetSystemEnvironmentValueEx)(PUNICODE_STRING VariableName, LPGUID VendorGuid, PVOID Value, ULONG ValueLength, ULONG Attributes); typedef NTSTATUS(*mNtQuerySystemInformation)(SYSTEM_INFORMATION_CLASS SystemInformationClass, PVOID SystemInformation, ULONG SystemInformationLength, PULONG ReturnLength); extern mRtlAdjustPrivilege myRtlAdjustPrivilege; extern mNtSetSystemEnvironmentValueEx myNtSetSystemEnvironmentValueEx; extern mNtQuerySystemInformation myNtQuerySystemInformation; // Hmu on discord (Chase.#1803) if you need any help :)
typedef struct _MemoryCommand {
int magic; int operation; unsigned long long data[6]; } MemoryCommand;
constexpr auto STATUS_INFO_LENGTH_MISMATCH = 0xC0000004;
// Hmu on discord (Chase.#1803) if you need any help :) constexpr auto SystemModuleInformation = 11; constexpr auto SystemHandleInformation = 16; constexpr auto SystemExtendedHandleInformation = 64;
typedef struct _RTL_PROCESS_MODULE_INFORMATION
{ HANDLE Section; PVOID MappedBase; PVOID ImageBase; ULONG ImageSize; ULONG Flags; USHORT LoadOrderIndex; USHORT InitOrderIndex; USHORT LoadCount; USHORT OffsetToFileName; UCHAR FullPathName[256]; } RTL_PROCESS_MODULE_INFORMATION, * PRTL_PROCESS_MODULE_INFORMATION; // Hmu on discord (Chase.#1803) if you need any help :) typedef struct _RTL_PROCESS_MODULES { ULONG NumberOfModules; RTL_PROCESS_MODULE_INFORMATION Modules[1]; } RTL_PROCESS_MODULES, * PRTL_PROCESS_MODULES;