VRegEnabledInJob

INT64 __fastcall VRegEnabledInJob(UINT64 *a1){
  _EJOB *CurrentSilo; 
  INT64 v3; 
  CurrentSilo = PsGetCurrentSilo();
  v3 = HalSystemVectorDispatchEntry();
  if( CurrentSilo == (_EJOB *)v3 )
    return 0i64;
  while( PsGetPermanentSiloContext(CurrentSilo, (unsigned int)VrpSiloContextSlot, (PVOID *)a1) < 0 )
  {
    CurrentSilo = (_EJOB *)PsGetParentSilo((INT64)CurrentSilo);
    if( CurrentSilo == (_EJOB *)v3 )
      return 0i64;
  }
  return 1i64;
}

Referenced by:

VrpHandleIoctlCreateMultipleNamespaceNodes
VrpHandleIoctlCreateNamespaceNode
VrpIoctlDeviceDispatch
VrpShouldOperateOnCall