PpmPerfTelemetryWorker

VOID __stdcall PpmPerfTelemetryWorker(){
  _QWORD *v0; 
  char *v1; 
  unsigned __int64 v2; 
  __int64 v3; 
  unsigned __int64 v4; 
  unsigned __int64 v5; 
  unsigned __int128 v6; 
  int v7; 
  int v8; 
  __int64 v9; 
  _EVENT_DATA_DESCRIPTOR v10; 
  int *v11; 
  __int64 v12; 
  int *v13; 
  __int64 v14; 
  char *v15; 
  __int64 v16; 
  __int64 *v17; 
  __int64 v18; 
  char v19[40]; 

  PpmAcquireLock((_PPM_LOCK *)((char *)&stru_140C23628 + 1048));
  PpmPerfUpdateQosDisableReasons(0i64);
  v0 = &unk_140CFBD80;
  v1 = v19;
  v2 = qword_140CFBD18 - qword_140CFBD20;
  qword_140CFBD20 = qword_140CFBD18;
  v3 = 9i64;
  v4 = v2 / 0x989680;
  v5 = qword_140CFBD28 - qword_140CFBD30;
  qword_140CFBD30 = qword_140CFBD28;
  do
  {
    v6 = (unsigned __int64)(*(v0 - 9) - *v0) * (unsigned __int128)0xD6BF94D5E57A42BDui64;
    *v0 = *(v0 - 9);
    ++v0;
    *(_DWORD *)v1 = *((_QWORD *)&v6 + 1) >> 23;
    v1 += 4;
    --v3;
  }
  while( v3 );
  PpmReleaseLock((INT64 *)&stru_140C23628 + 131);
  if( *(&stru_140C00F40 + 1194) > 5u && tlgKeywordOn((__int64)&stru_140C00F40 + 4776, 0x400000000000i64) )
  {
    v7 = v4;
    v11 = &v7;
    v12 = 4i64;
    v13 = &v8;
    v8 = v5 / 0x989680;
    v15 = v19;
    v14 = 4i64;
    v17 = &v9;
    v16 = 36i64;
    v9 = 0x1000000i64;
    v18 = 8i64;
    tlgWriteTransfer_EtwWriteTransfer(
      (__int64)&stru_140C00F40 + 4776,
      (unsigned __int8 *)&word_140026046,
      0i64,
      0i64,
      6u,
      &v10);
  }
  PopOkayToQueueNextWorkItem((_POP_WORK_ITEM *)((char *)&stru_140C23628 + 3776));
}

Referenced by:

No references.