AddDecodeGuidToSessions

BOOL __fastcall AddDecodeGuidToSessions(INT64 a1){
  unsigned __int8 v1; 
  bool v3; 
  BOOL result; 
  unsigned int v6; 
  unsigned int *v7; 
  v1 = *(_BYTE *)(a1 + 100);
  v3 = 1;
  do
  {
    result = v1;
    if( !_BitScanForward(&v6, v1) )
      break;
    v1 &= v1 - 1;
    v7 = (unsigned int *)EtwpAcquireLoggerContextByLoggerId(
                           *(_ETW_SILODRIVERSTATE **)(*(_QWORD *)(a1 + 32) + 392i64),
                           *(unsigned __int16 *)(32i64 * v6 + *(_QWORD *)(a1 + 32) + 134),
                           0);
    v3 = EtwpTrackDecodeGuidForSession((INT64)v7, a1);
    EtwpReleaseLoggerContext(v7, 0);
  }
  while( v3 );
  LOBYTE(result) = v3;
  return result;
}

Referenced by:

EtwpSetProviderTraitsCommon