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

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
mov rdi, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rbp, [rsp + 0x30]
lea rsi, [rsp + 0x38]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov rcx, rbp
call rdi
mov rbx, qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rcx, rsi
call rbx
mov rax, qword [rsp + 0x30]
test rax, rax
js 0x14001dd20
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mov rax, qword [rsp + 0x38]
test rax, rax
js 0x14001dd47
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm0, xmm1
movsd xmm7, qword [0x14005b630]
movsd xmm6, qword [0x14005b638]
mulsd xmm0, xmm7
comisd xmm0, xmm6
jae 0x14001dc98
cvttsd2si r14, xmm0
mov qword [rsp + 0x30], 0
mov rcx, rbp
mov qword [rsp + 0x38], 0
call rdi
mov rcx, rsi
call rbx
mov rax, qword [rsp + 0x30]
test rax, rax
js 0x14001ddd0
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mov rax, qword [rsp + 0x38]
test rax, rax
js 0x14001ddb0
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm0, xmm1
mulsd xmm0, xmm7
comisd xmm0, xmm6
jae 0x14001dc80
cvttsd2si r12, xmm0
movabs r13, 0x8000000000000000
mov ecx, 0x1c8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001db20
cvttsd2si rax, xmm0
sub rax, r12
cmp rax, 0x6f854
ja 0x14001db8f
mov qword [rsp + 0x30], 0
mov rcx, rbp
mov qword [rsp + 0x38], 0
call rdi
mov rcx, rsi
call rbx
mov rax, qword [rsp + 0x30]
test rax, rax
js 0x14001dc60
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mov rax, qword [rsp + 0x38]
test rax, rax
js 0x14001dc40
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm0, xmm1
mulsd xmm0, xmm7
comisd xmm0, xmm6
jb 0x14001db10
subsd xmm0, xmm6
cvttsd2si rax, xmm0
xor rax, r13
sub rax, r12
cmp rax, 0x6f854
jbe 0x14001db20
mov qword [rsp + 0x30], 0
mov rcx, rbp
mov qword [rsp + 0x38], 0
call rdi
mov rcx, rsi
call rbx
mov rax, qword [rsp + 0x30]
test rax, rax
js 0x14001dd90
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mov rax, qword [rsp + 0x38]
test rax, rax
js 0x14001dd68
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm0, xmm1
mulsd xmm0, xmm7
comisd xmm0, xmm6
jae 0x14001dcb0
cvttsd2si rax, xmm0
sub rax, r14
js 0x14001dcc7
pxor xmm2, xmm2
movsd xmm0, qword [0x14005b648]
cvtsi2sd xmm2, rax
comisd xmm0, xmm2
ja 0x14001dcf2
xor eax, eax
comisd xmm2, xmmword [0x14005b650]
ja 0x14001ddf0
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rdx, rax
and eax, 1
pxor xmm1, xmm1
shr rdx, 1
or rdx, rax
cvtsi2sd xmm1, rdx
addsd xmm1, xmm1
jmp 0x14001db6a
mov rdx, rax
and eax, 1
pxor xmm0, xmm0
shr rdx, 1
or rdx, rax
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
jmp 0x14001db53
subsd xmm0, xmm6
cvttsd2si r12, xmm0
btc r12, 0x3f
jmp 0x14001daf2
subsd xmm0, xmm6
cvttsd2si r14, xmm0
btc r14, 0x3f
jmp 0x14001da91
subsd xmm0, xmm6
cvttsd2si rax, xmm0
btc rax, 0x3f
sub rax, r14
jns 0x14001dbf9
mov rdx, rax
and eax, 1
pxor xmm2, xmm2
movsd xmm0, qword [0x14005b648]
shr rdx, 1
or rdx, rax
cvtsi2sd xmm2, rdx
addsd xmm2, xmm2
comisd xmm0, xmm2
jbe 0x14001dc14
mov ecx, 2
call qword [dbg.__acrt_iob_func]
lea rdx, str.timing_error__long_delay_n
mov rcx, rax
call sym.fprintf_19
mov eax, 1
jmp 0x14001dc24
mov rdx, rax
and eax, 1
pxor xmm0, xmm0
shr rdx, 1
or rdx, rax
mov rax, qword [rsp + 0x38]
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
test rax, rax
jns 0x14001da61
mov rdx, rax
and eax, 1
pxor xmm1, xmm1
shr rdx, 1
or rdx, rax
cvtsi2sd xmm1, rdx
addsd xmm1, xmm1
jmp 0x14001da6a
mov rdx, rax
and eax, 1
pxor xmm1, xmm1
shr rdx, 1
or rdx, rax
cvtsi2sd xmm1, rdx
addsd xmm1, xmm1
jmp 0x14001dbd9
mov rdx, rax
and eax, 1
pxor xmm0, xmm0
shr rdx, 1
or rdx, rax
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
jmp 0x14001dbc2
mov rdx, rax
and eax, 1
pxor xmm1, xmm1
shr rdx, 1
or rdx, rax
cvtsi2sd xmm1, rdx
addsd xmm1, xmm1
jmp 0x14001dadb
mov rdx, rax
and eax, 1
pxor xmm0, xmm0
shr rdx, 1
or rdx, rax
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
jmp 0x14001dac4
mulsd xmm2, qword [0x14005b658]
mov ecx, 2
divsd xmm2, qword [0x14005b660]
movsd qword [rsp + 0x28], xmm2
call qword [dbg.__acrt_iob_func]
mov r8, qword [rsp + 0x28]
lea rdx, str.timing_error__long_delay__5.0f___n
mov rcx, rax
movq xmm2, r8
call sym.fprintf_19
jmp 0x14001dd0c