RtlHpKInitializeHeapManager

NTSTATUS __stdcall RtlHpKInitializeHeapManager(){
  NTSTATUS result; 
  _RTL_RUN_ONCE v1; 

  RtlHpGlobalsInitialize();
  v1.Value = 0x500010200i64;
  RtlHpHeapManagerInitialize(ExPoolState, &v1);
  dword_140C57DD0 = (unsigned __int16)KeNumberNodes;
  if( (unsigned __int16)KeNumberNodes > 0x40u )
    dword_140C57DD0 = 64;
  RtlHpHeapManagerStart(ExPoolState, 1, 0xFFFF800000000000ui64, 0x800000000000ui64, 2);
  return result;
}

Referenced by:

ExInitializePoolHeapManagement