WbAlloc

NTSTATUS __stdcall WbAlloc(_SIZE_T NumberOfBytes){
  VOID ***v1; 
  NTSTATUS v2; 
  VOID ***v3; 
  VOID **PoolWithTag; 

  v2 = 0;
  v3 = v1;
  PoolWithTag = 0i64;
  if( NumberOfBytes )
  {
    PoolWithTag = ExAllocatePoolWithTag(1ui64, (unsigned int)NumberOfBytes, 1112686935i64);
    if( !PoolWithTag )
      return -1073741801;
  }
  if( v3 )
  {
    *v3 = PoolWithTag;
    PoolWithTag = 0i64;
  }
  if( PoolWithTag )
    ExFreePoolWithTag(PoolWithTag, 0x42524157u);
  return v2;
}

Referenced by:

WbAllocateMemoryBlock
WbCreateHeapExecutedBlock
WbCreateWarbirdProcess
WbDispatchOperation
WbHashData
WbInitializeEncryptionSegment
WbProcessModuleUnload
WbProcessStartup
WbReAlloc
WbValidateEncryptionSegmentArguments
sub_1405D1CA0
sub_14064F8DC