Function at 0x14003796e
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
jmp 0x140098d70
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
mov eax, 0x1a50
call fcn.140036677
sub rsp, rax
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x504
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1a78]
mov rax, qword [0x1400ce040]
xor rax, rbp
mov qword [rbp + 0x1a00], rax
lea rcx, [0x1400dd114]
call fcn.140038585
lea rdx, str.0.1.7
lea rcx, [rbp + 8]
call fcn.140037090
nop
mov edx, 0x600
lea rcx, [rbp + 0x50]
call fcn.1400382d8
lea rcx, [rbp + 0x12d8]
call fcn.140038549
mov qword [rbp + 0x19c8], rax
mov rax, qword [rbp + 0x19c8]
mov qword [rbp + 0x19d0], rax
mov rax, qword [rbp + 0x19d0]
mov qword [rbp + 0x19d8], rax
lea rdx, str.Measuring_sleep_timers
lea rcx, [rbp + 0x1318]
call fcn.140037090
nop
mov r8, qword [rbp + 0x19d8]
lea rdx, [rbp + 0x1318]
lea rcx, [rbp + 0x50]
call fcn.140037f2c
nop
lea rcx, [rbp + 0x1318]
call fcn.140036695
nop
lea rcx, [rbp + 0x12d8]
call fcn.140036695
mov edx, 0x160
lea rcx, [rbp + 0x670]
call fcn.14003768a
lea rdx, str.help
lea rcx, [rbp + 0x1988]
call fcn.140037144
nop
lea rax, [rbp + 0x19b8]
mov r8, rax
lea rdx, [rbp + 0x1988]
lea rcx, [rbp + 0x1418]
call fcn.14003600a
lea rcx, [rbp + 0x18e0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rbp + 0x18e0]
lea rcx, [rbp + 0x1358]
call fcn.140036ab9
nop
lea rdx, str.display_this_help_menu
lea rcx, [rbp + 0x1448]
call fcn.140037090
nop
lea rdx, str.help
lea rcx, [rbp + 0x1488]
call fcn.140037090
nop
mov dword [rsp + 0x28], 0
lea rax, [rbp + 0x1358]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1448]
lea r8, [rbp + 0x1488]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x670]
call fcn.140037f59
nop
lea rcx, [rbp + 0x1488]
call fcn.140036695
nop
lea rcx, [rbp + 0x1448]
call fcn.140036695
nop
lea rcx, [rbp + 0x1358]
call fcn.140036a78
nop
lea r9, [fcn.140037ff9]
mov r8d, 1
mov edx, 0x30
lea rcx, [rbp + 0x1988]
call fcn.1400368fc
mov edx, 0x170
lea rcx, [rbp + 0x7f0]
call fcn.140038639
mov dword [rbp + 0x14c4], 0
lea rdx, str.samples
lea rcx, [rbp + 0x1938]
call fcn.140037144
nop
lea rax, [rbp + 0x1968]
mov r8, rax
lea rdx, [rbp + 0x1938]
lea rcx, [rbp + 0x15a8]
call fcn.14003600a
lea rcx, [rbp + 0x1910]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rbp + 0x1910]
lea rcx, [rbp + 0x14e8]
call fcn.140036ab9
nop
lea rdx, str.measure_the_Sleep_1__deltas_for_a_specified_amount_of_samples_then_compute_the_maximum__average__minimum_and_stdev_from_the_collected_samples
lea rcx, [rbp + 0x15d8]
call fcn.140037090
nop
lea rdx, [0x1400b72b3]
lea rcx, [rbp + 0x1618]
call fcn.140037090
nop
mov byte [rsp + 0x30], 0
lea rax, [rbp + 0x14c4]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x14e8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x15d8]
lea r8, [rbp + 0x1618]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x7f0]
call fcn.140037838
nop
lea rcx, [rbp + 0x1618]
call fcn.140036695
nop
lea rcx, [rbp + 0x15d8]
call fcn.140036695
nop
lea rcx, [rbp + 0x14e8]
call fcn.140036a78
nop
lea r9, [fcn.140037ff9]
mov r8d, 1
mov edx, 0x30
lea rcx, [rbp + 0x1938]
call fcn.1400368fc
nop
mov r8, qword [rbp + 0x1a38]
mov edx, dword [rbp + 0x1a30]
lea rcx, [rbp + 0x50]
call fcn.140037be4
nop
jmp 0x1400990cf
jmp 0x140099109
jmp 0x140099143
lea rcx, [rbp + 0x7f0]
call fcn.140037801
movzx eax, al
test eax, eax
je 0x1400991bc
lea rcx, [rbp + 0x7f0]
call fcn.14003745f
cmp dword [rax], 2
jge 0x1400991bc
lea rdx, str.__samples_must_be_larger_than_1_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140036401
mov dword [rbp + 0x16f4], 1
lea rcx, [rbp + 0x7f0]
call fcn.140036505
nop
lea rcx, [rbp + 0x670]
call fcn.140036b27
nop
lea rcx, [rbp + 0x50]
call fcn.1400372ca
nop
lea rcx, [rbp + 8]
call fcn.140036695
mov eax, dword [rbp + 0x16f4]
jmp 0x14009997d
mov edx, 0x20
lea rcx, [rbp + 0xa78]
call fcn.1400368c0
lea rcx, [rbp + 0xa78]
call fcn.14003731f
nop
lea rcx, [rbp + 0xa58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0x100
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
test eax, eax
jne 0x140099261
lea rdx, str.SetPriorityClass_failed_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140036401
mov dword [rbp + 0x1714], 1
lea rcx, [rbp + 0xa78]
call fcn.1400363c0
nop
lea rcx, [rbp + 0x7f0]
call fcn.140036505
nop
lea rcx, [rbp + 0x670]
call fcn.140036b27
nop
lea rcx, [rbp + 0x50]
call fcn.1400372ca
nop
lea rcx, [rbp + 8]
call fcn.140036695
mov eax, dword [rbp + 0x1714]
jmp 0x14009997d
mov dword [rbp + 0xab4], 1
jmp 0x14009927b
mov eax, dword [rbp + 0xab4]
inc eax
mov dword [rbp + 0xab4], eax
lea r8, [rbp + 0x9f4]
lea rdx, [rbp + 0x9d4]
lea rcx, [rbp + 0x9b4]
call qword [sym.imp.ntdll.dll_NtQueryTimerResolution]
test eax, eax
je 0x1400992fc
lea rdx, str.NtQueryTimerResolution_failed_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140036401
mov dword [rbp + 0x1734], 1
lea rcx, [rbp + 0xa78]
call fcn.1400363c0
nop
lea rcx, [rbp + 0x7f0]
call fcn.140036505
nop
lea rcx, [rbp + 0x670]
call fcn.140036b27
nop
lea rcx, [rbp + 0x50]
call fcn.1400372ca
nop
lea rcx, [rbp + 8]
call fcn.140036695
mov eax, dword [rbp + 0x1734]
jmp 0x14009997d
lea rcx, [rbp + 0xa18]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0xa38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cvtsi2sd xmm0, qword [rbp + 0xa58]
mov rax, qword [rbp + 0xa18]
mov rcx, qword [rbp + 0xa38]
sub rcx, rax
mov rax, rcx
cvtsi2sd xmm1, rax
divsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rbp + 0xad8], xmm0
movsd xmm0, qword [rbp + 0xad8]
mulsd xmm0, qword [0x1400bafb0]
movsd qword [rbp + 0xaf8], xmm0
movsd xmm0, qword [rbp + 0xaf8]
subsd xmm0, qword [0x1400bafa0]
movsd qword [rbp + 0xb18], xmm0
lea rdx, [0x140037cfc]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov qword [rbp + 0x19c8], rax
mov edx, 4
lea rcx, [rbp + 0x1758]
call fcn.14003625d
mov qword [rbp + 0x19d0], rax
mov rdx, qword [rbp + 0x19d0]
mov rcx, qword [rbp + 0x19c8]
call fcn.140036db6
lea rdx, str.Resolution:
mov rcx, rax
call fcn.140036401
mov qword [rbp + 0x19d8], rax
mov eax, dword [rbp + 0x9f4]
cvtsi2sd xmm0, rax
divsd xmm0, qword [0x1400bafc0]
movsd qword [rbp + 0x19e0], xmm0
movsd xmm1, qword [rbp + 0x19e0]
mov rcx, qword [rbp + 0x19d8]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___double____ptr64]
lea rdx, str.ms__Sleep_1__slept
mov rcx, rax
call fcn.140036401
mov qword [rbp + 0x19e8], rax
movsd xmm1, qword [rbp + 0xaf8]
mov rcx, qword [rbp + 0x19e8]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___double____ptr64]
lea rdx, str.ms__delta:
mov rcx, rax
call fcn.140036401
mov qword [rbp + 0x19f0], rax
movsd xmm0, qword [rbp + 0xb18]
movsd qword [rbp + 0x19f8], xmm0
movsd xmm1, qword [rbp + 0x19f8]
mov rcx, qword [rbp + 0x19f0]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___double____ptr64]
lea rdx, [0x1400b8230]
mov rcx, rax
call fcn.140036401
lea rcx, [rbp + 0x7f0]
call fcn.140037801
movzx eax, al
test eax, eax
je 0x1400994ce
lea rdx, [rbp + 0xb18]
lea rcx, [rbp + 0xa78]
call fcn.140037874
lea rcx, [rbp + 0x7f0]
call fcn.14003745f
mov eax, dword [rax]
cmp dword [rbp + 0xab4], eax
jne 0x1400994c1
jmp 0x1400994de
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400994d9
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14009926d
lea rcx, [rbp + 0x7f0]
call fcn.140037801
movzx eax, al
test eax, eax
je 0x14009993d
lea rax, [rbp + 0x1788]
mov qword [rbp + 0x17b8], rax
lea rdx, [rbp + 0x17d8]
lea rcx, [rbp + 0xa78]
call fcn.14003605a
mov qword [rbp + 0x19c8], rax
mov rdx, qword [rbp + 0x19c8]
mov rcx, qword [rbp + 0x17b8]
call fcn.140037a40
mov qword [rbp + 0x19d0], rax
mov r8, qword [rbp + 0x19d0]
lea rdx, [rbp + 0x1808]
lea rcx, [rbp + 0xa78]
call fcn.1400374b4
lea rcx, [rbp + 0x1808]
call fcn.14003740f
lea rcx, [rbp + 0x17d8]
call fcn.14003740f
lea rax, [rbp + 0x1838]
mov qword [rbp + 0x1868], rax
mov rdx, qword [rbp + 0x1868]
lea rcx, [rbp + 0xa78]
call fcn.1400380da
mov qword [rbp + 0x19c8], rax
mov rax, qword [rbp + 0x19c8]
mov qword [rbp + 0x19d0], rax
lea rax, [rbp + 0x1888]
mov qword [rbp + 0x18b8], rax
mov rdx, qword [rbp + 0x18b8]
lea rcx, [rbp + 0xa78]
call fcn.14003605a
mov qword [rbp + 0x19d8], rax
mov rax, qword [rbp + 0x19d8]
mov qword [rbp + 0x19e0], rax
mov rdx, qword [rbp + 0x19d0]
mov rcx, qword [rbp + 0x19e0]
call fcn.1400380ad
lea rcx, [rbp + 0xa78]
call fcn.1400374cd
mov qword [rbp + 0xb38], rax
xorps xmm0, xmm0
movsd qword [rbp + 0xb58], xmm0
lea rax, [rbp + 0xa78]
mov qword [rbp + 0xb78], rax
mov rcx, qword [rbp + 0xb78]
call fcn.140036ce9
mov qword [rbp + 0xb98], rax
mov rcx, qword [rbp + 0xb78]
call fcn.140037694
mov qword [rbp + 0xbb8], rax
jmp 0x14009964e
mov rax, qword [rbp + 0xb98]
add rax, 8
mov qword [rbp + 0xb98], rax
mov rax, qword [rbp + 0xbb8]
cmp qword [rbp + 0xb98], rax
je 0x14009968b
mov rax, qword [rbp + 0xb98]
movsd xmm0, qword [rax]
movsd qword [rbp + 0xbd8], xmm0
movsd xmm0, qword [rbp + 0xb58]
addsd xmm0, qword [rbp + 0xbd8]
movsd qword [rbp + 0xb58], xmm0
jmp 0x14009963c
mov rax, qword [rbp + 0xb38]
test rax, rax
jl 0x14009969e
cvtsi2sd xmm0, rax
jmp 0x1400996b7
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
movaps xmm0, xmm1
movsd xmm1, qword [rbp + 0xb58]
divsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rbp + 0xbf8], xmm0
xorps xmm0, xmm0
movsd qword [rbp + 0xc18], xmm0
lea rax, [rbp + 0xa78]
mov qword [rbp + 0xc38], rax
mov rcx, qword [rbp + 0xc38]
call fcn.140036ce9
mov qword [rbp + 0xc58], rax
mov rcx, qword [rbp + 0xc38]
call fcn.140037694
mov qword [rbp + 0xc78], rax
jmp 0x140099721
mov rax, qword [rbp + 0xc58]
add rax, 8
mov qword [rbp + 0xc58], rax
mov rax, qword [rbp + 0xc78]
cmp qword [rbp + 0xc58], rax
je 0x140099777
mov rax, qword [rbp + 0xc58]
movsd xmm0, qword [rax]
movsd qword [rbp + 0xc98], xmm0
movsd xmm0, qword [rbp + 0xc98]
subsd xmm0, qword [rbp + 0xbf8]
mov edx, 2
call fcn.140036136
movsd xmm1, qword [rbp + 0xc18]
addsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rbp + 0xc18], xmm0
jmp 0x14009970f
mov rax, qword [rbp + 0xb38]
dec rax
test rax, rax
jl 0x14009978d
cvtsi2sd xmm0, rax
jmp 0x1400997a6
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
movaps xmm0, xmm1
movsd xmm1, qword [rbp + 0xc18]
divsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.140036267
movsd qword [rbp + 0xcb8], xmm0
lea rdx, str._nResults_from
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140036401
mov qword [rbp + 0x19c8], rax
lea rcx, [rbp + 0x7f0]
call fcn.14003745f
mov eax, dword [rax]
dec eax
mov dword [rbp + 0x19d0], eax
mov edx, dword [rbp + 0x19d0]
mov rcx, qword [rbp + 0x19c8]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, str._samples_n
mov rcx, rax
call fcn.140036401
lea rdx, str._nMax:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140036401
mov qword [rbp + 0x19c8], rax
lea rcx, [rbp + 0xa78]
call fcn.140037a27
movsd xmm0, qword [rax]
movsd qword [rbp + 0x19d0], xmm0
movsd xmm1, qword [rbp + 0x19d0]
mov rcx, qword [rbp + 0x19c8]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___double____ptr64]
lea rdx, [0x1400b78a4]
mov rcx, rax
call fcn.140036401
lea rdx, str.Avg:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140036401
mov qword [rbp + 0x19c8], rax
movsd xmm1, qword [rbp + 0xbf8]
mov rcx, qword [rbp + 0x19c8]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___double____ptr64]
lea rdx, [0x1400b78a4]
mov rcx, rax
call fcn.140036401
lea rdx, str.Min:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140036401
mov qword [rbp + 0x19c8], rax
lea rcx, [rbp + 0xa78]
call fcn.1400361f4
movsd xmm0, qword [rax]
movsd qword [rbp + 0x19d0], xmm0
movsd xmm1, qword [rbp + 0x19d0]
mov rcx, qword [rbp + 0x19c8]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___double____ptr64]
lea rdx, [0x1400b78a4]
mov rcx, rax
call fcn.140036401
lea rdx, str.STDEV:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140036401
mov qword [rbp + 0x19c8], rax
movsd xmm1, qword [rbp + 0xcb8]
mov rcx, qword [rbp + 0x19c8]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___double____ptr64]
lea rdx, [0x1400b78a4]
mov rcx, rax
call fcn.140036401
nop
lea rcx, [rbp + 0xa78]
call fcn.1400363c0
nop
lea rcx, [rbp + 0x7f0]
call fcn.140036505
nop
lea rcx, [rbp + 0x670]
call fcn.140036b27
nop
lea rcx, [rbp + 0x50]
call fcn.1400372ca
nop
lea rcx, [rbp + 8]
call fcn.140036695
jmp 0x14009997b
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1400b2700]
call fcn.140037ee1
mov rax, rdi
mov rcx, qword [rbp + 0x1a00]
xor rcx, rbp
call fcn.1400371da
lea rsp, [rbp + 0x1a10]
pop rdi
pop rsi
pop rbp
ret