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

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x328
mov r10d, dword [0x1400b3bfc]
xor ebx, ebx
mov edi, dword [0x1400b3bf8]
mov edx, r10d
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
mov esi, ecx
mov ecx, edi
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
mov dword [rsp + 0x370], r10d
call fcn.14000f0f0
mov r14d, dword [0x1400b3c24]
lea ecx, [r10 - 0x2f]
mov edx, 1
dec r14d
shl rdx, cl
mov rbp, rax
xorps xmm6, xmm6
test rdx, rdx
js 0x1400170a6
cvtsi2sd xmm6, rdx
jmp 0x1400170bb
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2sd xmm6, rax
addsd xmm6, xmm6
mov eax, dword [0x1400b3c04]
xorps xmm0, xmm0
mulsd xmm6, qword [0x140025c58]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
cvtsi2sd xmm0, rdi
mov dword [rsp + 0x378], eax
mov dword [0x1400b3c50], 0x100
mov dword [0x1400b3bf8], ebx
divsd xmm6, xmm0
call fcn.140014f20
lea rcx, [0x1400b3a40]
mov dword [0x1400b3bf8], edi
call fcn.14000be70
mov edi, dword [0x1400b3bf8]
xor r8d, r8d
mov rdx, rbp
mov ecx, edi
call fcn.14000eec0
test eax, eax
jne 0x140017134
inc ebx
mov rdx, rbp
mov r8d, ebx
mov ecx, edi
call fcn.14000eec0
test eax, eax
je 0x140017121
mov ecx, dword [0x1400b0490]
mov r15, rbp
mov r13d, ebx
mov edx, 0x100
add r15, r13
inc ecx
mov r9, r15
call fcn.140014f20
mov edx, dword [0x1400b3bf8]
lea rcx, str._n_exponent_u_..._calibrating_r
call fcn.140001020
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
movsd xmm9, qword [0x140025c98]
xorps xmm7, xmm7
cvtsi2sd xmm7, rsi
mov esi, 0x1a
mulsd xmm7, qword [0x140025c88]
cmp dword [0x1400b0488], 0
jne 0x1400171b6
lea rcx, [0x1400b40a0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov dword [0x1400b0488], 1
lea rcx, [rsp + 0x380]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [0x1400b40a0]
lea r8, [0x1400b3a40]
mov rax, qword [rsp + 0x380]
xorps xmm0, xmm0
cqo
movaps xmm2, xmm9
idiv rcx
cvtsi2sd xmm0, rcx
mov r9d, esi
mov rcx, r15
mov rbx, rax
xorps xmm1, xmm1
cvtsi2sd xmm1, rdx
mov edx, dword [0x1400b3bf4]
divsd xmm2, xmm0
imul rdx, r14
mulsd xmm2, xmm1
add rdx, r13
add rdx, rbp
cvttsd2si edi, xmm2
call fcn.140011c10
cmp dword [0x1400b0488], 0
jne 0x14001723d
lea rcx, [0x1400b40a0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov dword [0x1400b0488], 1
lea rcx, [rsp + 0x388]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [0x1400b40a0]
xorps xmm0, xmm0
mov rax, qword [rsp + 0x388]
movaps xmm2, xmm9
cqo
xorps xmm1, xmm1
idiv rcx
cvtsi2sd xmm0, rcx
sub eax, ebx
add r14, r14
cdqe
cvtsi2sd xmm1, rdx
imul rdx, rax, 0xf4240
divsd xmm2, xmm0
movsxd rax, edi
sub rdx, rax
xorps xmm0, xmm0
mulsd xmm2, xmm1
cvttsd2si ecx, xmm2
movsxd rax, ecx
add rdx, rax
js 0x1400172a5
cvtsi2sd xmm0, rdx
jmp 0x1400172ba
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
comisd xmm0, xmm7
jb 0x140017196
mov edx, dword [0x1400b3bf8]
lea rcx, str.exponent_u___lldM_FCs_each_
mov r8, r14
shr r8, 0x14
call fcn.140001020
xorps xmm8, xmm8
test r14, r14
js 0x1400172ed
cvtsi2sd xmm8, r14
jmp 0x140017306
mov rax, r14
mov rcx, r14
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2sd xmm8, rcx
addsd xmm8, xmm8
xorps xmm0, xmm0
test rbp, rbp
js 0x140017315
cvtsi2sd xmm0, rbp
jmp 0x14001732d
mov rax, rbp
mov rcx, rbp
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
movaps xmm12, xmm8
lea rcx, str.k_llu___f_GHz_days__assignment____f_GHz_days__per_test_:
divsd xmm12, xmm0
mov rdx, rbp
movaps xmm2, xmm6
movq r8, xmm6
mulsd xmm12, qword [0x140025c50]
mulsd xmm12, xmm6
movaps xmm3, xmm12
movq r9, xmm3
call fcn.140001020
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
nop dword [rax + rax]
cmp dword [0x1400b0488], 0
jne 0x1400173a0
lea rcx, [0x1400b40a0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov dword [0x1400b0488], 1
lea rcx, [rsp + 0x380]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [0x1400b40a0]
lea r8, [0x1400b3a40]
mov rax, qword [rsp + 0x380]
xorps xmm0, xmm0
cqo
movaps xmm2, xmm9
idiv rcx
cvtsi2sd xmm0, rcx
mov rcx, rbp
mov r9d, esi
add rcx, r13
mov r15, rax
xorps xmm1, xmm1
cvtsi2sd xmm1, rdx
mov edx, dword [0x1400b3bf4]
divsd xmm2, xmm0
imul rdx, r14
mulsd xmm2, xmm1
add rdx, r13
add rdx, rbp
cvttsd2si r12d, xmm2
call fcn.140011c10
cmp dword [0x1400b0488], 0
jne 0x14001742b
lea rcx, [0x1400b40a0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov dword [0x1400b0488], 1
lea rcx, [rsp + 0x388]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [0x1400b40a0]
xorps xmm0, xmm0
mov rax, qword [rsp + 0x388]
movaps xmm2, xmm9
cqo
xorps xmm1, xmm1
idiv rcx
cvtsi2sd xmm0, rcx
mov ecx, 0x2e
mov rdi, rax
cvtsi2sd xmm1, rdx
divsd xmm2, xmm0
mulsd xmm2, xmm1
cvttsd2si ebx, xmm2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putchar]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
sub edi, r15d
lea edx, [rsi - 0x1a]
movsxd rax, edi
xorps xmm0, xmm0
imul rcx, rax, 0xf4240
movsxd rax, r12d
sub rcx, rax
movsxd rax, ebx
add rcx, rax
js 0x1400174b7
cvtsi2sd xmm0, rcx
jmp 0x1400174cc
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mov dword [rsp + 0x20], edx
lea r9, [rsp + 0x78]
lea rdx, [rsp + 0xb0]
mov r8d, esi
call fcn.1400185d0
cmp dword [0x1400b3c64], 0
jne 0x1400174f9
inc esi
cmp esi, 0x28
jb 0x140017380
movsd xmm11, qword [0x140025cb0]
lea r14, [0x14002a150]
add esi, 0xffffffe6
je 0x1400175be
movsd xmm9, qword [0x140025c38]
lea rbx, [rsp + 0x78]
movaps xmm7, xmm12
movaps xmmword [rsp + 0x2d0], xmm10
movsd xmm10, qword [0x140025c28]
lea rdi, [rsp + 0xb0]
mulsd xmm7, xmm11
mov ebp, esi
nop word [rax + rax]
movsd xmm2, qword [rdi]
lea rdx, [r14 + 4]
mov eax, dword [rbx]
movaps xmm0, xmm9
divsd xmm0, xmm2
imul rcx, rax, 0x38
movaps xmm1, xmm8
mulsd xmm2, xmm10
mulsd xmm1, xmm0
movaps xmm6, xmm7
mulsd xmm6, xmm0
add rdx, rcx
mov r9d, dword [rcx + r14 + 0x28]
mov r8d, dword [rcx + r14 + 0x24]
lea rcx, str._n_20s___u__u_:__8.2f_ms____8.2fM_FCs_s____7.2f_GHz_days_day
movsd qword [rsp + 0x30], xmm6
movsd qword [rsp + 0x28], xmm1
movsd qword [rsp + 0x20], xmm2
call fcn.140001020
lea rdi, [rdi + 8]
lea rbx, [rbx + 4]
sub rbp, 1
jne 0x140017550
movaps xmm10, xmmword [rsp + 0x2d0]
jmp 0x1400175c7
movsd xmm6, qword [rsp + 0x378]
mov edx, dword [0x1400b3bf8]
lea rcx, str._n_nResulting_speed_for_M_u:_nbit_min___bit_max__GHz_days_day__kernelname_n
call fcn.140001020
movsd xmm7, qword [rsp + 0x378]
lea r14, [rsp + 0x148]
mov r15d, dword [rsp + 0x370]
lea rcx, str.auto
mov r13d, dword [rsp + 0x370]
mov ebp, 0x14
mov r12d, dword [rsp + 0x378]
movaps xmm9, xmmword [rsp + 0x2e0]
movaps xmm8, xmmword [rsp + 0x2f0]
lea ebx, [rbp - 0xa]
nop dword [rax]
nop word [rax + rax]
xor r8d, r8d
mov dword [r14], 0x14
lea edi, [r8 + 0x14]
test esi, esi
je 0x1400176cd
lea r9, [rsp + 0x78]
nop dword [rax + rax]
cmp dword [0x1400b3c20], 1
lea r10d, [rbx + 1]
mov edx, dword [r9]
mov edi, edx
mov dword [0x1400b3c04], r10d
mov dword [0x1400b3bfc], ebx
jne 0x140017687
lea eax, [rdx - 4]
cmp eax, 0xd
lea ecx, [rdx + 0x16]
cmova ecx, edx
mov edx, ecx
cmp ecx, 0x1a
jl 0x1400176b7
cmp ecx, 0x28
jge 0x1400176b7
movsxd rax, edx
imul rcx, rax, 0x38
lea rax, [0x14002a150]
movups xmm2, xmmword [rcx + rax + 0x20]
movups xmmword [rsp + 0x60], xmm2
psrldq xmm2, 4
movd eax, xmm2
cmp ebx, eax
jb 0x1400176b7
cmp r10d, dword [rsp + 0x68]
jbe 0x140017769
inc r8d
add r9, 4
cmp r8d, esi
jb 0x140017650
mov edi, dword [r14]
lea rcx, str.auto
cmp ebx, r13d
jb 0x1400176d9
cmp ebx, r12d
cmovbe r15d, edi
cmp edi, ebp
je 0x140017716
cmp ebp, 0x14
je 0x140017701
mov eax, ebp
movaps xmm2, xmm7
imul r9, rax, 0x38
movq r8, xmm7
mov edx, ebx
add r9, rcx
lea rcx, str._7u___12.3f____20s_n
call fcn.140001020
mov ebp, edi
cmp edi, 0x14
je 0x140017716
mov edx, ebx
lea rcx, str._7u__
call fcn.140001020
inc ebx
lea rcx, str.auto
add r14, 4
cmp ebx, 0x64
jb 0x140017630
lea r11, [rsp + 0x328]
mov dword [0x1400b3bfc], r13d
movaps xmm6, xmmword [r11 - 0x18]
mov eax, r15d
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
mov dword [0x1400b3c04], r12d
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
movaps xmm7, xmm6
mov dword [r14], edi
movaps xmm6, xmm12
mulsd xmm6, xmm11
divsd xmm6, qword [rsp + r8*8 + 0xb0]
jmp 0x1400176c6