VOID __stdcall MiBadMemoryLogger(PVOID Context){
__int64 v2;
int v3;
IoAllocateGenericErrorLogEntry(0x30u);
if( v2 )
{
*(_DWORD *)(v2 + 12) = -1073740023;
*(_DWORD *)(v2 + 16) = *(_DWORD *)Context;
*(_QWORD *)(v2 + 32) = *((_QWORD *)Context + 2);
v3 = *((_DWORD *)Context + 2);
*(_WORD *)(v2 + 2) = 4;
*(_DWORD *)(v2 + 40) = v3;
IoWriteErrorLogEntry((PVOID)v2);
}
_InterlockedDecrement((volatile signed __int32 *)Context + 1);
}