ZwLoadKeyEx

NTSTATUS __stdcall ZwLoadKeyEx(
        _OBJECT_ATTRIBUTES *TargetKey,
        _OBJECT_ATTRIBUTES *SourceFile,
        UINT64 Flags,
        VOID *TrustClassKey,
        VOID *Event,
        UINT64 DesiredAccess,
        VOID **RootHandle,
        _IO_STATUS_BLOCK *IoStatus){
  NTSTATUS result; 

  _disable();
  __readeflags();
  KiServiceInternal();
  return result;
}

Referenced by:

PiDrvDbLoadHive