Function at 0x14001ea00
Capabilities:
Check for time delay via queryperformancecounter
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
movaps xmmword [rsp + 0x40], xmm6
movaps 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 0x14001ed38
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mov rax, qword [rsp + 0x38]
test rax, rax
js 0x14001ed5f
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm0, xmm1
movsd xmm7, qword [0x1400608e0]
movsd xmm6, qword [0x1400608e8]
mulsd xmm0, xmm7
comisd xmm0, xmm6
jae 0x14001eca8
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 0x14001ede0
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mov rax, qword [rsp + 0x38]
test rax, rax
js 0x14001edc0
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm0, xmm1
mulsd xmm0, xmm7
comisd xmm0, xmm6
jae 0x14001ec90
cvttsd2si r12, xmm0
movabs r13, 0x8000000000000000
mov ecx, 0x1c8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001eb30
cvttsd2si rax, xmm0
sub rax, r12
cmp rax, 0x6f854
ja 0x14001eb9f
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 0x14001ec70
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mov rax, qword [rsp + 0x38]
test rax, rax
js 0x14001ec50
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm0, xmm1
mulsd xmm0, xmm7
comisd xmm0, xmm6
jb 0x14001eb20
subsd xmm0, xmm6
cvttsd2si rax, xmm0
xor rax, r13
sub rax, r12
cmp rax, 0x6f854
jbe 0x14001eb30
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 0x14001eda0
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mov rax, qword [rsp + 0x38]
test rax, rax
js 0x14001ed80
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm0, xmm1
mulsd xmm0, xmm7
comisd xmm0, xmm6
jae 0x14001ecc0
cvttsd2si rax, xmm0
sub rax, r14
js 0x14001ecd7
pxor xmm2, xmm2
movsd xmm0, qword [0x1400608f8]
cvtsi2sd xmm2, rax
comisd xmm0, xmm2
ja 0x14001ed02
xor eax, eax
comisd xmm2, xmmword [0x140060900]
ja 0x14001ee00
movaps xmm6, xmmword [rsp + 0x40]
movaps 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 0x14001eb7a
mov rdx, rax
and eax, 1
pxor xmm0, xmm0
shr rdx, 1
or rdx, rax
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
jmp 0x14001eb63
subsd xmm0, xmm6
cvttsd2si r12, xmm0
btc r12, 0x3f
jmp 0x14001eb02
subsd xmm0, xmm6
cvttsd2si r14, xmm0
btc r14, 0x3f
jmp 0x14001eaa1
subsd xmm0, xmm6
cvttsd2si rax, xmm0
btc rax, 0x3f
sub rax, r14
jns 0x14001ec09
mov rdx, rax
and eax, 1
pxor xmm2, xmm2
movsd xmm0, qword [0x1400608f8]
shr rdx, 1
or rdx, rax
cvtsi2sd xmm2, rdx
addsd xmm2, xmm2
comisd xmm0, xmm2
jbe 0x14001ec24
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x19
mov edx, 1
lea rcx, str.timing_error__long_delay_n
mov r9, rax
call sym.fwrite
mov eax, 1
jmp 0x14001ec34
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 0x14001ea71
mov rdx, rax
and eax, 1
pxor xmm1, xmm1
shr rdx, 1
or rdx, rax
cvtsi2sd xmm1, rdx
addsd xmm1, xmm1
jmp 0x14001ea7a
mov rdx, rax
and eax, 1
pxor xmm1, xmm1
shr rdx, 1
or rdx, rax
cvtsi2sd xmm1, rdx
addsd xmm1, xmm1
jmp 0x14001ebe9
mov rdx, rax
and eax, 1
pxor xmm0, xmm0
shr rdx, 1
or rdx, rax
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
jmp 0x14001ebd2
mov rdx, rax
and eax, 1
pxor xmm1, xmm1
shr rdx, 1
or rdx, rax
cvtsi2sd xmm1, rdx
addsd xmm1, xmm1
jmp 0x14001eaeb
mov rdx, rax
and eax, 1
pxor xmm0, xmm0
shr rdx, 1
or rdx, rax
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
jmp 0x14001ead4
mulsd xmm2, qword [0x140060908]
mov ecx, 2
divsd xmm2, qword [0x140060910]
movsd qword [rsp + 0x28], xmm2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___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_1
jmp 0x14001ed27