RtlInitializeExtendedContext
NTSTATUS __fastcall RtlInitializeExtendedContext(INT64 a1, UINT64 a2, _QWORD *a3){
unsigned int v3;
unsigned __int64 v5;
NTSTATUS result;
UINT64 v8;
v3 = a2;
v5 = 0i64;
LODWORD(v8) = 0;
result = RtlpValidateContextFlags((unsigned int)a2, &v8);
if( result >= 0 )
{
if( (v8 & 2) != 0 )
v5 = KUSER_SHARED_DATA.XState.EnabledFeatures | KUSER_SHARED_DATA.XState.EnabledUserVisibleSupervisorFeatures;
return RtlInitializeExtendedContext2(a1, v3, a3, v5);
}
return result;
}Referenced by:
KiRaiseException
KiUnwindUserSspForApcContextCopyBypass
PspDisassociateUmsThreadFromPrimary
PspGetContextThreadInternal
PspInitializeThunkContext
PspSetContextState
PspSetContextThreadInternal
PspWow64GetContextThread
PspWow64SetContextThread