EtwpCheckSecurityLoggerAccess

INT64 __fastcall EtwpCheckSecurityLoggerAccess(INT64 a1){
  unsigned __int64 v1; 
  unsigned int v2; 
  __int64 v3; 
  v2 = 0;
  LOBYTE(v1) = *(_BYTE *)(a1 + 2170) - 49;
  if( (unsigned __int8)v1 > 0x31u )
    return(unsigned int)-1073741790;
  v3 = 0x3000100000001i64;
  if( !_bittest64(&v3, v1) )
    return(unsigned int)-1073741790;
  return v2;
}

Referenced by:

EtwpCheckNotificationAccess