Function at 0x140001060
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x1780]
mov eax, 0x1880
call fcn.1400015c0
sub rsp, rax
movaps xmmword [rsp + 0x1870], xmm6
movaps xmmword [rsp + 0x1860], xmm8
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x1720], rax
mov ebx, ecx
mov qword [rsp + 0x1890], rdi
mov rdi, rdx
lea rcx, [rbp + 0x728]
xorps xmm0, xmm0
xor edx, edx
mov r8d, 0xff8
movsd qword [rbp + 0x720], xmm0
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x20], 0
mov r8d, 0x7fc
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rdi]
movsd xmm6, qword [0x140003350]
call qword [sym.imp.libbu.dll_bu_setprogname]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.DEPRECATION_WARNING:__This_command_is_scheduled_for_removal.__Please_contact_the_developers_if_you_use_this_command._n_n
call fcn.140001010
mov ecx, 0xf4240
call qword [sym.imp.libbu.dll_bu_snooze]
cmp ebx, 1
jle 0x140001142
mov rcx, qword [rdi + 8]
lea rdx, [0x140003308]
call qword [sym.imp.libbu.dll_bu_strcmp]
test eax, eax
je 0x140001140
mov rcx, qword [rdi + 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm6, xmm0
dec ebx
movaps xmmword [rsp + 0x1840], xmm10
movaps xmm8, xmm6
movaps xmmword [rsp + 0x1830], xmm11
mov rdi, qword [rsp + 0x1890]
unpcklpd xmm8, xmm8
cmp ebx, 1
jg 0x140001517
movsd xmm10, qword [0x140003358]
comisd xmm6, xmm10
movsd xmm11, qword [0x140003348]
jbe 0x140001192
comisd xmm11, xmm6
ja 0x140001517
xor ecx, ecx
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__fileno]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__isatty]
test eax, eax
jne 0x140001517
lea ecx, [rax + 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__fileno]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__isatty]
test eax, eax
jne 0x140001517
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov edx, 8
lea rcx, [rbp + 0x720]
mov r9, rax
mov r8d, 0x200
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rbx, rax
test rax, rax
je 0x1400014d9
movaps xmmword [rsp + 0x1850], xmm9
movaps xmm9, xmm6
subsd xmm9, qword [0x140003350]
nop word [rax + rax]
comisd xmm9, xmm10
jbe 0x140001340
comisd xmm11, xmm9
jbe 0x140001340
xor ecx, ecx
test rbx, rbx
je 0x14000146e
cmp rbx, 8
jb 0x1400012aa
mov rax, rbx
and rax, 0xfffffffffffffff8
nop
movups xmm0, xmmword [rbp + rcx*8 + 0x720]
cvtpd2ps xmm1, xmm0
movups xmm0, xmmword [rbp + rcx*8 + 0x730]
movsd qword [rsp + rcx*4 + 0x20], xmm1
cvtpd2ps xmm1, xmm0
movups xmm0, xmmword [rbp + rcx*8 + 0x740]
movsd qword [rsp + rcx*4 + 0x28], xmm1
cvtpd2ps xmm1, xmm0
movups xmm0, xmmword [rbp + rcx*8 + 0x750]
movsd qword [rsp + rcx*4 + 0x30], xmm1
cvtpd2ps xmm1, xmm0
movsd qword [rsp + rcx*4 + 0x38], xmm1
add rcx, 8
cmp rcx, rax
jb 0x140001250
cmp rcx, rbx
jae 0x14000146e
mov rax, rbx
sub rax, rcx
cmp rax, 4
jb 0x140001320
lea rdx, [rbx - 3]
nop word [rax + rax]
movsd xmm0, qword [rbp + rcx*8 + 0x720]
movsd xmm1, qword [rbp + rcx*8 + 0x728]
cvtpd2ps xmm0, xmm0
cvtpd2ps xmm1, xmm1
movss dword [rsp + rcx*4 + 0x20], xmm0
movsd xmm0, qword [rbp + rcx*8 + 0x730]
movss dword [rsp + rcx*4 + 0x24], xmm1
movsd xmm1, qword [rbp + rcx*8 + 0x738]
cvtpd2ps xmm0, xmm0
cvtpd2ps xmm1, xmm1
movss dword [rsp + rcx*4 + 0x28], xmm0
movss dword [rsp + rcx*4 + 0x2c], xmm1
add rcx, 4
cmp rcx, rdx
jb 0x1400012c0
cmp rcx, rbx
jae 0x14000146e
nop
movsd xmm0, qword [rbp + rcx*8 + 0x720]
cvtpd2ps xmm0, xmm0
movss dword [rsp + rcx*4 + 0x20], xmm0
inc rcx
cmp rcx, rbx
jb 0x140001320
jmp 0x14000146e
xor ecx, ecx
test rbx, rbx
je 0x14000146e
cmp rbx, 8
jb 0x1400013ce
mov rax, rbx
and rax, 0xfffffffffffffff8
nop dword [rax + rax]
movups xmm0, xmmword [rbp + rcx*8 + 0x720]
movups xmm1, xmmword [rbp + rcx*8 + 0x730]
mulpd xmm0, xmm8
mulpd xmm1, xmm8
cvtpd2ps xmm0, xmm0
movsd qword [rsp + rcx*4 + 0x20], xmm0
cvtpd2ps xmm0, xmm1
movups xmm1, xmmword [rbp + rcx*8 + 0x740]
movsd qword [rsp + rcx*4 + 0x28], xmm0
mulpd xmm1, xmm8
cvtpd2ps xmm0, xmm1
movups xmm1, xmmword [rbp + rcx*8 + 0x750]
movsd qword [rsp + rcx*4 + 0x30], xmm0
mulpd xmm1, xmm8
cvtpd2ps xmm0, xmm1
movsd qword [rsp + rcx*4 + 0x38], xmm0
add rcx, 8
cmp rcx, rax
jb 0x140001360
cmp rcx, rbx
jae 0x14000146e
mov rax, rbx
sub rax, rcx
cmp rax, 4
jb 0x140001450
lea rdx, [rbx - 3]
nop
movaps xmm0, xmm6
movaps xmm1, xmm6
mulsd xmm0, qword [rbp + rcx*8 + 0x720]
movaps xmm2, xmm6
mulsd xmm1, qword [rbp + rcx*8 + 0x728]
mulsd xmm2, qword [rbp + rcx*8 + 0x730]
cvtsd2ss xmm0, xmm0
movss dword [rsp + rcx*4 + 0x20], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
movaps xmm1, xmm6
mulsd xmm1, qword [rbp + rcx*8 + 0x738]
movss dword [rsp + rcx*4 + 0x24], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
movss dword [rsp + rcx*4 + 0x28], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
movss dword [rsp + rcx*4 + 0x2c], xmm0
add rcx, 4
cmp rcx, rdx
jb 0x1400013e0
cmp rcx, rbx
jae 0x14000146e
nop
movaps xmm0, xmm6
mulsd xmm0, qword [rbp + rcx*8 + 0x720]
cvtsd2ss xmm0, xmm0
movss dword [rsp + rcx*4 + 0x20], xmm0
inc rcx
cmp rcx, rbx
jb 0x140001450
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rcx, [rsp + 0x20]
mov r9, rax
mov edx, 4
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, rbx
je 0x1400014a1
lea rcx, [0x140003340]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov edx, 8
lea rcx, [rbp + 0x720]
mov r9, rax
mov r8d, 0x200
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rbx, rax
test rax, rax
jne 0x140001220
movaps xmm9, xmmword [rsp + 0x1850]
movaps xmm11, xmmword [rsp + 0x1830]
xor eax, eax
movaps xmm10, xmmword [rsp + 0x1840]
mov rcx, qword [rbp + 0x1720]
xor rcx, rsp
call fcn.140001620
lea r11, [rsp + 0x1880]
mov rbx, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm8, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
lea rdx, str.Usage:_d_f___n__scale____doubles___floats_n
mov ecx, 1
call qword [sym.imp.libbu.dll_bu_exit]
int3