HalpTscReportSyncStatus

VOID __stdcall HalpTscReportSyncStatus(){
  unsigned int MaximumRegisteredProcessorCount; 
  unsigned int v1; 
  unsigned int *v2; 
  __int64 v3; 
  unsigned int v4; 
  int v5; 
  char v6; 
  int v7; 
  PVOID v8; 
  _EVENT_DATA_DESCRIPTOR v9; 
  char *v10; 
  int v11; 
  int v12; 
  PVOID *v13; 
  int v14; 
  int v15; 
  int *v16; 
  int v17; 
  int v18; 

  if( qword_140C4A3D8 )
  {
    MaximumRegisteredProcessorCount = HalpQueryMaximumRegisteredProcessorCount();
    v1 = 0;
    if( MaximumRegisteredProcessorCount )
    {
      v2 = (unsigned int *)qword_140C4A3D8;
      v3 = MaximumRegisteredProcessorCount;
      do
      {
        v4 = v1;
        v1 = *v2++;
        if( v1 <= v4 )
          v1 = v4;
        --v3;
      }
      while( v3 );
    }
    if( *(&stru_140C00F40 + 1966) > 5u )
    {
      if( tlgKeywordOn((__int64)&stru_140C00F40 + 7864, 0x400000000000i64) )
      {
        v12 = 0;
        v15 = 0;
        v18 = 0;
        v6 = byte_140C4A424;
        v10 = &v6;
        v8 = qword_140C4A408;
        v13 = &v8;
        v16 = &v7;
        v7 = v5;
        v11 = 1;
        v14 = 8;
        v17 = 4;
        tlgWriteTransfer_EtwWriteTransfer(
          (__int64)&stru_140C00F40 + 7864,
          (unsigned __int8 *)byte_140021953,
          0i64,
          0i64,
          5u,
          &v9);
      }
    }
  }
}

Referenced by:

No references.