MuiRegAllocArray

PVOID __fastcall MuiRegAllocArray(__int64 a1, unsigned int a2){
  __int64 v2; 
  unsigned __int64 v3; 
  VOID *PoolWithTag; 
  VOID *v5; 
  v2 = 0i64;
  v3 = 2i64 * a2;
  if( v3 <= 0xFFFFFFFF && (_DWORD)v3 )
  {
    PoolWithTag = ExAllocatePoolWithTag(PagedPool, (unsigned int)v3, 0x72746C6Dui64);
    v5 = PoolWithTag;
    if( PoolWithTag )
      memset((INT64)PoolWithTag, 0i64);
    return v5;
  }
  return(PVOID)v2;
}

Referenced by:

RtlpLoadInstallLanguageFallback
RtlpMuiRegConfigMatchesInstalled
RtlpMuiRegGetInstalledLanguageIndexByLangId
RtlpMuiRegLangInfoMatchesSpec
RtlpMuiRegValidateInstalled