PiDevCfgPushDriverNodeEntry

INT64 __fastcall PiDevCfgPushDriverNodeEntry(INT64 a1, INT64 a2){
  unsigned int v2; 
  _QWORD *PoolWithTag; 
  _QWORD *v6; 
  v2 = 0;
  PoolWithTag = ExAllocatePoolWithTag(PagedPool, 0x18ui64, 0x63647050ui64);
  if( PoolWithTag )
  {
    PoolWithTag[2] = a2;
    v6 = *(_QWORD **)(a1 + 8);
    if( *v6 != a1 )
      __fastfail(3u);
    *PoolWithTag = a1;
    PoolWithTag[1] = v6;
    *v6 = PoolWithTag;
    *(_QWORD *)(a1 + 8) = PoolWithTag;
  }
  else
  {
    return(unsigned int)-1073741670;
  }
  return v2;
}

Referenced by:

PiDevCfgQueryIncludedDriverConfigurations