mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-20 18:36:10 +00:00
34 lines
491 B
C
34 lines
491 B
C
|
#include "Reload.h"
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
BOOLEAN
|
||
|
FixBaseRelocTable (
|
||
|
PVOID NewImageBase,
|
||
|
DWORD ExistImageBase
|
||
|
);
|
||
|
|
||
|
PIMAGE_BASE_RELOCATION
|
||
|
LdrProcessRelocationBlockLongLong(
|
||
|
IN ULONG_PTR VA,
|
||
|
IN ULONG SizeOfBlock,
|
||
|
IN PUSHORT NextOffset,
|
||
|
IN LONGLONG Diff
|
||
|
);
|
||
|
|
||
|
NTSTATUS
|
||
|
NTAPI
|
||
|
RtlImageNtHeaderEx(
|
||
|
ULONG Flags,
|
||
|
PVOID Base,
|
||
|
ULONG64 Size,
|
||
|
OUT PIMAGE_NT_HEADERS * OutHeaders
|
||
|
);
|
||
|
|
||
|
PIMAGE_NT_HEADERS
|
||
|
NTAPI
|
||
|
RtlImageNtHeader(
|
||
|
PVOID Base
|
||
|
);
|