PnpDeviceCompletionRequestCreate

CHAR *__fastcall PnpDeviceCompletionRequestCreate(INT64 a1, INT64 a2){
  int v2; 
  _QWORD *PoolWithTag; 
  v2 = a2;
  PoolWithTag = ExAllocatePoolWithTag(NonPagedPoolNx, 0x48ui64, 0x31706E50ui64);
  if( PoolWithTag )
  {
    PoolWithTag[1] = PoolWithTag;
    *PoolWithTag = PoolWithTag;
    *((_DWORD *)PoolWithTag + 14) = 1;
    *((_DWORD *)PoolWithTag + 9) = 0;
    PoolWithTag[3] = 0i64;
    PoolWithTag[2] = a1;
    *((_DWORD *)PoolWithTag + 8) = v2;
    *((_DWORD *)PoolWithTag + 10) = -1073741595;
    PoolWithTag[6] = 0i64;
    PoolWithTag[8] = PnpEnableWatchdog(2i64, (INT64)PoolWithTag);
  }
  return(CHAR *)PoolWithTag;
}

Referenced by:

PipEnumerateDevice
PnpStartDeviceNode