KiSynchronizeSecurityDomainTarget
INT64 __stdcall KiSynchronizeSecurityDomainTarget(){
INT64 result;
struct _KPRCB *CurrentPrcb;
result = (INT64)KeGetCurrentThread();
CurrentPrcb = KeGetCurrentPrcb();
_m_prefetchw((char *)CurrentPrcb + 254);
if( (*((_BYTE *)CurrentPrcb + 254) & 4) != 0 )
{
result = *(_QWORD *)(*(_QWORD *)(result + 184) + 2528i64);
if( result != *((_QWORD *)CurrentPrcb + 30) )
{
result = 2i64;
_InterlockedOr16((volatile signed __int16 *)CurrentPrcb + 127, 2u);
}
}
return result;
}Referenced by:
KeSynchronizeSecurityDomain