PpmInitPolicyConfiguration

VOID __stdcall PpmInitPolicyConfiguration(){
  __int64 *v0; 
  __int64 v1; 
  __int64 v2; 
  UINT8 *v3; 
  PpmAcquireLock(&PpmPerfPolicyLock);
  v0 = &qword_140CFAB60;
  v1 = 53i64;
  do
  {
    v2 = 1i64 << *((_BYTE *)v0 + 4);
    if( (*((_BYTE *)v0 + 5) & 4) != 0 )
      *(_DWORD *)v0 >>= 1;
    v3 = &qword_140C1ECC8;
    do
    {
      *(_QWORD *)v3 |= v2;
      v3 += 2736;
    }
    while( (__int64)v3 < (__int64)qword_140C20228 );
    v0 += 5;
    --v1;
  }
  while( v1 );
  qword_140C20240 = -1i64;
  PpmDefaultProfile[0] = (__int64)PpmInfoDefaultProfileName;
  xmmword_140C1ECAC = (__int128)NullGuid;
  dword_140C1ECBC = 2;
  PpmEnableProfile(PpmDefaultProfile);
  PpmBeginProfileAccumulation((INT64)PpmDefaultProfile, *(INT64 *)&KUSER_SHARED_DATA.InterruptTime.LowPart);
  qsort(&PpmPolicyConfigTable, 0x35ui64, (const WCHAR *)0x28, PpmInfoConfigComparer);
  PpmReleaseLock(&PpmPerfPolicyLock);
}

Referenced by:

PoInitSystem