mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-24 12:25:29 +00:00
900263ea6f
n/a
27 lines
661 B
C
27 lines
661 B
C
struct PROCESS_BASIC_INFORMATION {
|
|
PVOID Reserved1;
|
|
DWORD PebBaseAddress;
|
|
PVOID Reserved2[2];
|
|
DWORD UniqueProcessId;
|
|
PVOID Reserved3;
|
|
};
|
|
|
|
typedef NTSTATUS (WINAPI* _NtUnmapViewOfSection)(
|
|
HANDLE ProcessHandle,
|
|
PVOID BaseAddress
|
|
);
|
|
|
|
typedef NTSTATUS (WINAPI* _NtQueryInformationProcess)(
|
|
HANDLE ProcessHandle,
|
|
DWORD ProcessInformationClass,
|
|
PVOID ProcessInformation,
|
|
DWORD ProcessInformationLength,
|
|
PDWORD ReturnLength
|
|
);
|
|
|
|
typedef NTSTATUS (WINAPI* _NtQuerySystemInformation)(
|
|
DWORD SystemInformationClass,
|
|
PVOID SystemInformation,
|
|
ULONG SystemInformationLength,
|
|
PULONG ReturnLength
|
|
); |