IoInitializeTimer

NTSTATUS __fastcall IoInitializeTimer(VOID ***a1, VOID *a2, VOID *a3){
  VOID **PoolWithTag; 

  PoolWithTag = a1[5];
  if( PoolWithTag )
    goto LABEL_4;
  PoolWithTag = ExAllocatePoolWithTag(0x200ui64, 0x30ui64, 1767141193i64);
  if( PoolWithTag )
  {
    *(VOID **)((char *)PoolWithTag + 2) = 0i64;
    *(VOID **)((char *)PoolWithTag + 10) = 0i64;
    *(_DWORD *)((char *)PoolWithTag + 18) = 0;
    *((_WORD *)PoolWithTag + 11) = 0;
    *(_WORD *)PoolWithTag = 9;
    PoolWithTag[5] = a1;
    a1[5] = PoolWithTag;
LABEL_4:
    PoolWithTag[3] = a2;
    PoolWithTag[4] = a3;
    ExInterlockedInsertTailList((PLIST_ENTRY)&stru_140C452E0 + 130, (PLIST_ENTRY)(PoolWithTag + 1), &IopTimerLock);
    return 0;
  }
  return -1073741670;
}

Referenced by:

No references.