ZwUnloadKey

NTSTATUS __stdcall ZwUnloadKey(POBJECT_ATTRIBUTES KeyObjectAttributes){
  NTSTATUS result; 
  _disable();
  __readeflags();
  KiServiceInternal();
  return result;
}

Referenced by:

BiLoadHive
BiUnloadHiveByName
VrpUnloadDifferencingHive