ZwSystemDebugControl

NTSTATUS __stdcall ZwSystemDebugControl(
        _SYSDBG_COMMAND Command,
        VOID *InputBuffer,
        UINT64 InputBufferLength,
        VOID *OutputBuffer,
        UINT64 OutputBufferLength,
        UINT64 *ReturnLength){
  NTSTATUS result; 

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

Referenced by:

NtCreateUserProcess
PspLocateSystemDll