mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-24 20:35:25 +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
|
||
|
);
|