VfMajorIsNewRequest

NTSTATUS __stdcall VfMajorIsNewRequest(_IO_STACK_LOCATION *IrpLastSp, _IO_STACK_LOCATION *IrpSp){
  __int64 MajorFunction; 
  unsigned int(__fastcall *v5)(_IO_STACK_LOCATION *); 
  NTSTATUS result; 

  if( IrpSp->MajorFunction > 0x1Bu )
    MajorFunction = (IrpSp->MajorFunction != 0xFF) + 28i64;
  else
    MajorFunction = IrpSp->MajorFunction;
  v5 = (unsigned int(__fastcall *)(_IO_STACK_LOCATION *))*((_QWORD *)&unk_140D4B0F8 + 12 * MajorFunction);
  if( v5 && v5(IrpLastSp) )
    return 1;
  result = (int)qword_140D4BB78;
  if( qword_140D4BB78 )
    return qword_140D4BB78(IrpLastSp, IrpSp);
  return result;
}

Referenced by:

IovpCallDriver1
ViGenericVerifyIrpStackDownward