B8 ?? ?? ?? ?? mov eax, ??
BA 00 03 FE 7F mov edx, 7FFE0300h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// NtContinueEx is now used by ntdll!KiUserApcDispatcher. | |
// The KCONTINUE_ARGUMENT structure is built in the KiInitializeUserApc | |
// function. | |
// | |
typedef enum _KCONTINUE_TYPE | |
{ | |
KCONTINUE_UNWIND, | |
KCONTINUE_RESUME, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef enum _SYSTEM_DLL_TYPE | |
{ | |
PsNativeSystemDll = 0, | |
PsWowX86SystemDll = 1, | |
PsWowArm32SystemDll = 2, | |
PsWowAmd64SystemDll = 3, | |
PsWowChpeX86SystemDll = 4, | |
PsVsmEnclaveRuntimeDll = 5, | |
PsSystemDllTotalTypes = 6, | |
} SYSTEM_DLL_TYPE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// sizeof=0x50, align=0x8 | |
// | |
typedef struct _PS_SYSTEM_DLL_DATA { | |
// | |
// +0x00 | |
// | |
// _SECTION* object of the DLL. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActivateActCtxWorker | |
AddLocalAlternateComputerNameA | |
AddLocalAlternateComputerNameW | |
AddRefActCtxWorker | |
AdjustCalendarDate | |
AppXGetOSMaxVersionTested | |
BaseCheckAppcompatCache | |
BaseCheckAppcompatCacheEx | |
BaseCheckAppcompatCacheExWorker | |
BaseCheckAppcompatCacheWorker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Merge .CRT section to .rdata (read only) | |
// | |
#pragma comment(linker, "/merge:.CRT=.rdata") | |
// | |
// Define variables marking the begin and the end | |
// of the TLS callback array. | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct _PS_NTDLL_EXPORT_ITEM { | |
PCSTR RoutineName; | |
PVOID RoutineAddress; | |
} PS_NTDLL_EXPORT_ITEM, *PPS_NTDLL_EXPORT_ITEM; | |
PS_NTDLL_EXPORT_ITEM NtdllExports[] = { | |
// | |
// 19 exports on x64 | |
// 14 exports on ARM64 | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct _WOW64_ERROR_CASE { | |
ULONG Case; | |
NTSTATUS TransformedStatus; | |
} WOW64_ERROR_CASE, *PWOW64_ERROR_CASE; | |
typedef struct _WOW64_SERVICE_TABLE_DESCRIPTOR { | |
KSERVICE_TABLE_DESCRIPTOR Descriptor; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////////////////////////////////////////////////////////// | |
// General definitions. | |
//////////////////////////////////////////////////////////////////////////////// | |
// | |
// Context flags. | |
// winnt.h (Windows SDK) | |
// |
NewerOlder