SmKmEtwLogStoreRundown
VOID __fastcall SmKmEtwLogStoreRundown(UINT64 *EtwRegHandle, INT64 a2){
unsigned int i;
void *v5;
_EVENT_DESCRIPTOR *v6;
void *v7;
EVENT_DESCRIPTOR *v8;
struct _EX_RUNDOWN_REF *v9;
for( i = 0; i < 0x400; ++i )
{
v5 = (void *)SmKmStoreReferenceEx(a2, i);
v7 = v5;
if( v5 )
{
SmKmEtwLogStoreStats(EtwRegHandle, v5, v6);
SmKmEtwLogStoreChange(EtwRegHandle, v7, (EVENT_DESCRIPTOR *)&SmEventStoreRundown, v8);
v9 = (struct _EX_RUNDOWN_REF *)SmKmStoreRefFromStoreIndex(a2, i & 0x3FF);
ExReleaseRundownProtection(v9 + 1);
}
}
}Referenced by:
SmEtwEnableCallback