VfZwAdjustPrivilegesToken
NTSTATUS __stdcall VfZwAdjustPrivilegesToken(
VOID *TokenHandle,
UINT8 DisableAllPrivileges,
_TOKEN_PRIVILEGES *NewState,
UINT64 BufferLength,
_TOKEN_PRIVILEGES *PreviousState,
UINT64 *ReturnLength){
unsigned int v6;
__int64 v10;
UINT64 v11;
VOID *retaddr;
v6 = BufferLength;
if( (unsigned int)ViZwShouldCheck() )
{
ViZwCheckVirtualAddress(v11, retaddr);
ViZwCheckVirtualAddress((UINT64)PreviousState, retaddr);
ViZwCheckVirtualAddress((UINT64)ReturnLength, retaddr);
}
LOBYTE(v10) = DisableAllPrivileges;
return((__int64(__fastcall *)(VOID *, __int64, _TOKEN_PRIVILEGES *, _QWORD, _TOKEN_PRIVILEGES *, UINT64 *))pXdvZwAdjustPrivilegesToken)(
TokenHandle,
v10,
NewState,
v6,
PreviousState,
ReturnLength);
}Referenced by:
No references.