Function at 0x14000f370
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140036140]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdi, rcx
mov r14d, dword [rcx + 0x3b4]
shl r14d, 2
lea rax, [rbp - 0x41]
mov qword [rbp - 0x49], rax
lea rdx, [rcx + 0x2f0]
lea rcx, [rbp - 0x41]
call fcn.1400054a0
mov rbx, rax
mov r15, qword [rdi + 0xc8]
mov rcx, qword [rdi + 0xd0]
sub rcx, r15
sar rcx, 3
test rcx, rcx
je 0x14000f90a
mov rcx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14000f3f8
mov rcx, qword [rax]
lea rdx, [0x14002c79c]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
test rax, rax
je 0x14000f47b
movsxd r8, r14d
mov r9, rax
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000f464
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000f45f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000f4f0
mov rcx, r8
call fcn.1400281b4
xor r12d, r12d
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r12b
jmp 0x14000f51c
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000f4b1
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000f4ac
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000f4f0
mov rcx, r8
call fcn.1400281b4
xor r12d, r12d
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r12b
mov r8, qword [rdi + 0xd0]
mov rcx, qword [rdi + 0xc8]
xorps xmm0, xmm0
movd eax, xmm0
cmp dword [0x14002e138], eax
jne 0x14000f4f7
sub r8, rcx
and r8, 0xfffffffffffffff8
xor edx, edx
call sub.VCRUNTIME140.dll_memset
jmp 0x14000f51c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, r8
je 0x14000f51c
movabs rax, 0x3ff0000000000000
nop word [rax + rax]
mov qword [rcx], rax
add rcx, 8
cmp rcx, r8
jne 0x14000f510
mov esi, r12d
cmp dword [rdi + 0x3b4], 0
jbe 0x14000f5a7
mov rbx, r12
movsd xmm6, qword [0x14002e170]
movsd xmm7, qword [0x14002e160]
nop dword [rax + rax]
mov r14, qword [rdi + 0xc8]
mov rax, qword [rdi + 0xd0]
sub rax, r14
sar rax, 3
cmp rax, rbx
jbe 0x14000f916
movaps xmm1, xmm6
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
mulsd xmm0, qword [r14 + rbx*8]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
cvttsd2si edx, xmm0
mov rcx, qword [rdi + 0x170]
mov rax, qword [rdi + 0x178]
sub rax, rcx
sar rax, 1
cmp rax, rbx
jbe 0x14000f910
mov word [rcx + rbx*2], dx
inc esi
inc rbx
cmp esi, dword [rdi + 0x3b4]
jb 0x14000f540
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov qword [rbp + 7], r12
movdqu xmmword [rbp - 0x21], xmm1
mov qword [rbp - 0x11], r12
mov edx, dword [rdi + 0x3ac]
test rdx, rdx
je 0x14000f5d0
lea rcx, [rbp - 9]
call fcn.14001b7f0
mov r8d, dword [rdi + 0x3ac]
mov rdx, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x21]
sub rdx, rcx
sar rdx, 3
cmp r8, rdx
jae 0x14000f5f5
lea rax, [rcx + r8*8]
mov qword [rbp - 0x19], rax
jmp 0x14000f637
jbe 0x14000f637
mov rax, qword [rbp - 0x11]
sub rax, rcx
sar rax, 3
cmp r8, rax
jbe 0x14000f615
mov rdx, r8
lea rcx, [rbp - 0x21]
call fcn.14001b7f0
jmp 0x14000f633
sub r8, rdx
lea r8, [r8*8]
mov rcx, qword [rbp - 0x19]
lea rbx, [rcx + r8]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x19], rbx
mov rcx, qword [rbp - 0x21]
mov eax, dword [rdi + 0x3a8]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm1, qword [rdi + 0x310]
mov r8d, r12d
mov eax, dword [rdi + 0x3ac]
test eax, eax
je 0x14000f75e
mov rcx, r12
movsd xmm2, qword [0x14002e158]
nop dword [rax]
movd xmm0, r8d
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [rdi + 0x360]
mulsd xmm0, qword [rdi + 0x358]
mulsd xmm0, xmm2
mov rax, qword [rbp - 1]
mov rdx, qword [rbp - 9]
sub rax, rdx
sar rax, 3
cmp rax, rcx
jbe 0x14000f904
movsd qword [rdx + rcx*8], xmm0
mov rax, qword [rbp - 1]
mov rdx, qword [rbp - 9]
sub rax, rdx
sar rax, 3
cmp rax, rcx
jbe 0x14000f904
movsd xmm0, qword [rdx + rcx*8]
divsd xmm0, qword [rdi + 0x3a0]
mov rax, qword [rbp - 0x19]
mov rdx, qword [rbp - 0x21]
sub rax, rdx
sar rax, 3
cmp rax, rcx
jbe 0x14000f904
movsd qword [rdx + rcx*8], xmm0
mov rax, qword [rbp - 0x19]
mov rdx, qword [rbp - 0x21]
sub rax, rdx
sar rax, 3
cmp rax, rcx
jbe 0x14000f904
movsd xmm0, qword [rdx + rcx*8]
comisd xmm1, xmm0
jbe 0x14000f712
movaps xmm0, xmm1
movsd qword [rdx + rcx*8], xmm0
movsd xmm0, qword [rdi + 0x3d0]
mulsd xmm0, xmm2
mov rax, qword [rbp - 0x19]
mov rdx, qword [rbp - 0x21]
sub rax, rdx
sar rax, 3
cmp rax, rcx
jbe 0x14000f904
mulsd xmm0, qword [rdx + rcx*8]
movsd qword [rdx + rcx*8], xmm0
inc r8d
inc rcx
mov eax, dword [rdi + 0x3ac]
cmp r8d, eax
jb 0x14000f670
mov rcx, qword [rbp - 0x21]
lea r15, [rdi + 0x188]
mov r8d, eax
shr r8, 8
mov r10, qword [r15 + 8]
mov r9, qword [r15]
mov rdx, r10
sub rdx, r9
sar rdx, 1
cmp r8, rdx
jae 0x14000f78b
lea rax, [r9 + r8*2]
mov qword [r15 + 8], rax
jmp 0x14000f7c5
jbe 0x14000f7c5
mov rax, qword [r15 + 0x10]
sub rax, r9
sar rax, 1
cmp r8, rax
jbe 0x14000f7a9
mov rdx, r8
mov rcx, r15
call fcn.14001b000
jmp 0x14000f7c1
sub r8, rdx
add r8, r8
lea rbx, [r8 + r10]
xor edx, edx
mov rcx, r10
call sub.VCRUNTIME140.dll_memset
mov qword [r15 + 8], rbx
mov rcx, qword [rbp - 0x21]
movzx r14d, r12w
mov esi, r12d
cmp dword [rdi + 0x3ac], 0
jbe 0x14000f840
mov rbx, r12
nop dword [rax + rax]
mov rax, qword [rbp - 0x19]
sub rax, rcx
sar rax, 3
cmp rax, rbx
jbe 0x14000f904
movsd xmm0, qword [rcx + rbx*8]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
cvttsd2si r8d, xmm0
movzx ecx, r14w
mov rdx, qword [r15]
mov rax, qword [r15 + 8]
sub rax, rdx
sar rax, 1
cmp rax, rcx
jbe 0x14000f91c
mov word [rdx + rcx*2], r8w
inc r14w
add esi, 0x100
add rbx, 0x100
mov rcx, qword [rbp - 0x21]
cmp esi, dword [rdi + 0x3ac]
jb 0x14000f7e0
test rcx, rcx
je 0x14000f891
mov rax, qword [rbp - 0x11]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f880
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f880
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400281b4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r12
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14000f8d2
mov rdx, qword [rbp + 7]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f8cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f8cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400281b4
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140027f00
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400055c0
nop
call fcn.1400055c0
nop
call fcn.1400055c0
int3
call fcn.1400055c0
nop
call fcn.1400055c0
int3