PsRevertToSelf

VOID __stdcall PsRevertToSelf(){
  PsImpersonateClient((PETHREAD)KeGetCurrentThread(), 0i64, 0, 0, SecurityImpersonation);
}

Referenced by:

EtwpCreateLogFile