SepGetProcUniqueLuidAndIndexFromAttributeInfo

__int64 __fastcall SepGetProcUniqueLuidAndIndexFromAttributeInfo(__int64 a1, _DWORD *a2, _QWORD *a3){
  int SecurityAttributeAndValues; 
  INT64 v7; 
  UINT8 v8; 
  INT64 v9; 
  UINT8 v10; 
  INT64 result[2]; 
  int v13; 
  wchar_t *v14; 
  _DWORD *v15; 
  SecurityAttributeAndValues = -1073741275;
  if( (SepTokenSingletonAttributesConfig & 3) == 3 )
  {
    memset((INT64)result, 0i64);
    v13 = SepProcUniqueAttributeName;
    v14 = off_140C0EF08;
    result[1] = a1;
    SecurityAttributeAndValues = AuthzBasepQuerySecurityAttributeAndValues((INT64)result, v7, v8);
    if( SecurityAttributeAndValues >= 0 )
    {
      *a2 = *v15;
      SecurityAttributeAndValues = AuthzBasepQuerySecurityAttributeAndValues((INT64)result, v9, v10);
      if( SecurityAttributeAndValues >= 0 )
        *a3 = *(_QWORD *)v15;
    }
  }
  return(unsigned int)SecurityAttributeAndValues;
}

Referenced by:

SepGetProcUniqueLuidAndIndexFromTokenEx
SepValidateAndCopyGlobalEntry