PsIumEnableOnDemandDebugWithResponse

INT64 __fastcall PsIumEnableOnDemandDebugWithResponse(VOID *a1, const VOID *a2, UINT64 a3){
  unsigned int v3; 
  NTSTATUS v5; 
  PVOID Object; 
  v3 = a3;
  Object = 0i64;
  v5 = ObReferenceObjectByHandleWithTag(
         a1,
         0x2000u,
         (POBJECT_TYPE)PsProcessType,
         *((_BYTE *)KeGetCurrentThread() + 562),
         0x79517350u,
         &Object,
         0i64);
  if( v5 >= 0 )
  {
    v5 = VslEnableOnDemandDebugWithResponse((INT64)Object, (UINT8 *)a2, v3);
    ObfDereferenceObjectWithTag(Object, 0x79517350ui64);
  }
  return(unsigned int)v5;
}

Referenced by:

NtSetInformationProcess