RtlHpGlobalsInitialize

VOID *__stdcall RtlHpGlobalsInitialize(){
  VOID *result; 

  RtlpHpHeapGlobals = 0i64;
  qword_140C1DC30 = 0i64;
  xmmword_140C1DC10 = 0i64;
  unk_140C1DC20 = 0i64;
  *(_QWORD *)&RtlpHpHeapGlobals = RtlpHeapGenerateRandomValue64();
  *((_QWORD *)&RtlpHpHeapGlobals + 1) = RtlpHeapGenerateRandomValue64();
  result = &RtlpHeapFailureInfo;
  *(_QWORD *)&xmmword_140C1DC10 = &RtlpHeapFailureInfo;
  return result;
}

Referenced by:

ExpInitSystemPhase0
RtlHpKInitializeHeapManager