IopQueryProcessorInitValues

__int64 __fastcall IopQueryProcessorInitValues(__int64 a1, INT64 a2){
  char v3; 
  __int16 v4; 
  unsigned int v5; 
  __int64 result; 
  MmIsThisAnNtAsSystem(a1, a2);
  v4 = v3 != 0 ? 96 : 32;
  *(_WORD *)(a1 + 6) = v4;
  *(_WORD *)a1 = v4;
  *(_WORD *)(a1 + 4) = v3 != 0 ? 128 : 64;
  *(_WORD *)(a1 + 8) = v3 != 0 ? 256 : 128;
  *(_DWORD *)(a1 + 28) = v3 != 0 ? 0x10000 : 1536;
  *(_WORD *)(a1 + 2) = *(_WORD *)(a1 + 4);
  v5 = *(_DWORD *)(a1 + 28);
  *(_DWORD *)(a1 + 12) = 280;
  *(_DWORD *)(a1 + 28) = v5 / 0x500;
  *(_DWORD *)(a1 + 16) = 72 * IopMediumIrpStackLocations + 208;
  result = (unsigned int)IopLargeIrpStackLocations;
  *(_DWORD *)(a1 + 24) = 184;
  *(_DWORD *)(a1 + 20) = 72 * result + 208;
  return result;
}

Referenced by:

IoEnableIrpCredits
IoInitSystemPreDrivers
IoInitializeProcessor