SeSecurityModelQueryInformation

__int64 __fastcall SeSecurityModelQueryInformation(_DWORD *a1, size_t a2, _DWORD *a3){
  *a3 = 4;
  memset(a1, 0i64, a2);
  if( (SepIsAdminlessEnforcementModeEnabled() == 1 || SepIsAdminlessAuditModeEnabled()) && SepIsSModeEnabled() == 1 )
    *a1 |= 1u;
  if( SepIsDeviceOwnerProtectionDowngradeAllowed() )
    *a1 |= 2u;
  return 0i64;
}

Referenced by:

ExpQuerySystemInformation