SepSDContainsAttributeACE

UINT8 __stdcall SepSDContainsAttributeACE(PVOID pSecurityDescriptor){
  UINT8 v1; 
  __int64 v2; 
  ACL *pAcl; 
  UINT8 v5; 
  UINT8 v6; 
  UINT64 pIndex; 
  v1 = 0;
  pAcl = 0i64;
  v5 = 0;
  LODWORD(pIndex) = 0;
  if( (int)RtlGetSaclSecurityDescriptor(pSecurityDescriptor, &v5, &pAcl, &v6) >= 0 && v5 )
  {
    LODWORD(v2) = RtlFindAceByType(pAcl, 0x12ui64, &pIndex);
    return v2 != 0;
  }
  return v1;
}

Referenced by:

SepAdtOpenObjectAuditAlarm