1
0
mirror of https://github.com/rbmm/SC synced 2026-06-08 17:03:41 +00:00
Files
rbmm 5d262174b1 ++
2025-02-02 01:53:40 +02:00

17 lines
366 B
C++

#include "stdafx.h"
//#define _PRINT_CPP_NAMES_
#include "../ScEntry/address.h"
void NTAPI OnApc(_In_ ULONG rva, _In_ ULONG v, _In_ PVOID ImageBase)
{
CPP_FUNCTION;
ULONG f = 0;
UNICODE_STRING name;
RtlInitUnicodeString(&name, _YW(L"kdcsvc.dll"));
if (0 <= LdrGetDllHandle(0, &f, &name, &ImageBase))
{
*(ULONG*)RtlOffsetToPointer(ImageBase, rva) = v;
}
}