SmEtwEnableCallback

void __fastcall SmEtwEnableCallback(const _GUID *a1, unsigned int a2, __int64 a3, int a4){
  unsigned int i; 
  VOID *v5; 

  if( a2 <= 1 && (dword_140D234FC = a4 | 0x40, a2 == 1) || a2 == 2 )
  {
    SmKmEtwLogStoreRundown(&EtwRegHandle, (_SMKM_STORE_LIST *)SmGlobals);
    if( SmEtwEnabled(SmEtwKeywordContentsRundown) )
    {
      for( i = 0; i < 0x400; ++i )
      {
        v5 = SmKmStoreReferenceEx((_SMKM_STORE_LIST *)SmGlobals, i);
        if( v5 )
          SMKM_STORE_MGR::SmStoreContentsRundown((__int64)SmGlobals, (__int64)v5);
      }
    }
  }
}

Referenced by:

No references.