RtlAllocateHeap

VOID *__stdcall RtlAllocateHeap(VOID *HeapHandle, UINT64 Flags, UINT64 Size){
  unsigned int v4; 

  v4 = Flags;
  if( !HeapHandle )
    RtlpLogHeapFailure(heap_failure_null_heap, 0i64, 0i64, 0i64, 0i64);
  if( *((_DWORD *)HeapHandle + 4) == -571548178 )
    return RtlpHpAllocWithExceptionProtection(HeapHandle, Size, v4);
  else
    return RtlpAllocateHeapInternal(HeapHandle, Size, v4);
}

Referenced by:

No references.