PnprGetMillisecondCounter

__int64 __fastcall PnprGetMillisecondCounter(char a1){
  unsigned int v2; 
  LONGLONG v3; 
  __int128 v4; 
  __int64 result; 
  _LARGE_INTEGER PerformanceFrequency; 

  v2 = 0;
  PerformanceFrequency.QuadPart = 0i64;
  v4 = (__int64)(1000 * KeQueryPerformanceCounter(&PerformanceFrequency));
  v3 = v4 / PerformanceFrequency.QuadPart;
  if( !a1 )
    v2 = v3 + dword_140CF5120 - dword_140CF5124;
  dword_140CF5124 = v3;
  result = v2;
  dword_140CF5120 = v2;
  return result;
}

Referenced by:

PnprMirrorPhysicalMemory
PnprQuiesceDevices
PnprQuiesceProcessors
PnprSwapFinalize
PnprWakeDevices
PnprWakeProcessors