ExSetTimer

NTSTATUS __fastcall ExSetTimer(INT64 a1, INT64 a2, INT64 a3, INT64 a4){
  void *BugCheckParameter4; 
  void *v9; 
  __int64 v11[3]; 
  INT64 BugCheckParameter3; 

  if( a2 > 0 && (*(_BYTE *)(a1 + 129) & 4) != 0 )
  {
    BugCheckParameter3 = a2;
    KeBugCheckEx(0xC7u, (PVOID)9, (PVOID)2, &BugCheckParameter3, 0i64);
  }
  if( a3 < 0 )
  {
    v11[0] = a3;
    KeBugCheckEx(0xC7u, (PVOID)9, (PVOID)4, v11, 0i64);
  }
  if( a4 && !ExpTimerSetParametersAreValid((_EXT_SET_PARAMETERS_V0 *)a4) )
    KeBugCheckEx(0xC7u, (PVOID)9, (PVOID)1, v9, BugCheckParameter4);
  ExpCheckForFreedEnhancedTimer((_EX_TIMER *)a1);
  return KeSetTimer2(a1, a2, a3, a4);
}

Referenced by:

CmFcpManagerArmFeatureUsageRetryTimer
EnableFlushTimer
EtwpUpdatePeriodicCaptureState
RtlpHpScheduleCompaction
SendCaptureStateNotificationsWorker
WdipTimeoutCheckRoutine
WdtpArmTimer
WdtpTimerCallback