ViWdInsertSortIrp

VOID __stdcall ViWdInsertSortIrp(_VF_WATCHDOG_IRP *WdIrp){
  __int64 i; 

  for( i = qword_140D49208; (_VF_WATCHDOG_IRP **)i != &VfWdIrpListHead; i = *(_QWORD *)(i + 8) )
  {
    if( *(_DWORD *)(i + 24) <= WdIrp->DueTickCount )
      break;
  }
  WdIrp->ListEntry.Blink = (_LIST_ENTRY *)i;
  WdIrp->ListEntry.Flink = *(_LIST_ENTRY **)i;
  *(_QWORD *)(*(_QWORD *)i + 8i64) = WdIrp;
  *(_QWORD *)i = WdIrp;
  WdIrp->Inserted = 1;
  if( ++ViWdIrpListLength > ViWdIrpListLengthMaximum )
    ViWdIrpListLengthMaximum = ViWdIrpListLength;
}

Referenced by:

ViWdBeforeCancelIrp