SepGetProcUniqueLuidAndIndexFromTokenEx
NTSTATUS __stdcall SepGetProcUniqueLuidAndIndexFromTokenEx(
CHAR a1,
INT64 a2,
_XSTATE_CONFIGURATION *a3,
_XSTATE_CONFIGURATION *a4){
char v4;
NTSTATUS ProcUniqueLuidAndIndexFromAttributeInfo;
_ETHREAD *CurrentThread;
v4 = 0;
ProcUniqueLuidAndIndexFromAttributeInfo = -1073741275;
if( (*(&stru_140CF2E80 + 7296) & 3) == 3 )
{
if( !a1 && KeGetCurrentIrql() < 2u )
{
CurrentThread = (_ETHREAD *)KeGetCurrentThread();
--CurrentThread->Tcb.KernelApcDisable;
v4 = 1;
ExAcquireResourceSharedLite(*(_QWORD *)(a2 + 48), 1);
}
ProcUniqueLuidAndIndexFromAttributeInfo = SepGetProcUniqueLuidAndIndexFromAttributeInfo(
*(_AUTHZBASEP_SECURITY_ATTRIBUTES_INFORMATION **)(a2 + 776),
&a3->EnabledFeatures,
&a4->EnabledFeatures);
if( v4 )
{
ExReleaseResourceLite(*(PERESOURCE *)(a2 + 48));
KeLeaveCriticalRegion();
}
}
return ProcUniqueLuidAndIndexFromAttributeInfo;
}Referenced by:
SeSetSecurityAttributesTokenEx
SepInternalQuerySecurityAttributesTokenEx