PpmInfoTraceProfileSettings

VOID __stdcall PpmInfoTraceProfileSettings(){
  __int64 *v0; 
  unsigned __int8 i; 
  __int64 *v2; 
  __int64 *v3; 
  __int64 *v4; 
  __int64 v5; 
  unsigned int v6; 
  unsigned int v7; 
  __int64 v8; 
  unsigned __int8 v9; 
  __int64 v10; 
  __int128 v11; 
  v0 = PpmDefaultProfile;
  v11 = 0i64;
  for( i = 0; ; i = v9 + 1 )
  {
    v9 = i;
    v2 = &qword_140CFAB58;
    v3 = v0 + 5;
    v10 = 53i64;
    do
    {
      v4 = v0 + 347;
      v5 = 1i64 << *((_BYTE *)v2 + 12);
      v6 = 0;
      v7 = ((*((_BYTE *)v2 + 13) & 4) != 0) + 1;
      v8 = 0i64;
      v11 = *(_OWORD *)*(v2 - 2);
      do
      {
        if( (v5 & v3[v8]) != 0 )
          PpmEventTraceProfileSetting(
            *((_BYTE *)v0 + 8),
            *(v2 - 3),
            (__int64)&v11,
            v6,
            (__int64)v3 + v6 * *((_DWORD *)v2 + 2) + *v2,
            *((_DWORD *)v2 + 2),
            0,
            1);
        if( (v5 & v4[v8]) != 0 )
          PpmEventTraceProfileSetting(
            *((_BYTE *)v0 + 8),
            *(v2 - 3),
            (__int64)&v11,
            v6,
            (__int64)v4 + v6 * *((_DWORD *)v2 + 2) + *v2,
            *((_DWORD *)v2 + 2),
            1,
            1);
        ++HIBYTE(v11);
        ++v6;
        ++v8;
      }
      while( v6 < v7 );
      v2 += 5;
      --v10;
    }
    while( v10 );
    if( v9 == PpmProfileCount )
      break;
    v0 = (__int64 *)(PpmProfiles + 5552i64 * v9);
  }
}

Referenced by:

PpmEventTraceControlCallback