PpmAllocatePerfCheck

__int64 __fastcall PpmAllocatePerfCheck(__int64 a1){
  unsigned int v1; 
  VOID *PoolWithTag; 
  VOID *v4; 
  v1 = 0;
  if( !*(_QWORD *)(a1 + 16) )
  {
    PoolWithTag = ExAllocatePoolWithTag(NonPagedPoolNx, 0x158ui64, 0x704D5050ui64);
    v4 = PoolWithTag;
    if( PoolWithTag )
    {
      memset((INT64)PoolWithTag, 0i64);
      *(_QWORD *)(a1 + 16) = v4;
    }
    else
    {
      return(unsigned int)-1073741670;
    }
  }
  return v1;
}

Referenced by:

PpmCheckInitProcessors
PpmRegisterPerfStates