Function at 0x1400808f0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rdi, qword [0x1403503d0]
mov qword [rsp + 0x58], r14
movaps xmmword [rsp + 0x30], xmm6
cmp byte [rdi + 0xd3], 0
je 0x140080926
test byte [rdi + 0xc], 2
jne 0x140080926
mov byte [rdi + 0xd3], 0
cmp byte [rdi + 0x2d98], 0
mov r14d, 2
jne 0x140080a3f
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x50], rbp
test rcx, rcx
je 0x140080a33
lea rdx, [0x140280880]
call fcn.14007b8c0
mov rbx, rax
test rax, rax
je 0x140080a33
mov r8d, r14d
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140080a2a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140080a2a
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140080a2a
mov rax, qword [0x1403503d0]
mov rbp, rsi
test rax, rax
je 0x1400809b9
inc dword [rax + 0x3c8]
mov rdx, qword [0x1403503e0]
mov rcx, rbp
call qword [0x140345010]
mov rsi, rax
test rax, rax
je 0x140080a2a
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x140080a17
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1403503d0]
test rax, rax
je 0x140080a05
dec dword [rax + 0x3c8]
mov rdx, qword [0x1403503e0]
mov rcx, rsi
call qword [0x140345018]
jmp 0x140080a33
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, rbp
mov rcx, rsi
call fcn.14007cef0
jmp 0x1400809f3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbp, qword [rsp + 0x50]
mov byte [rdi + 0x2d98], 1
movss xmm0, dword [rdi + 0x2d9c]
xorps xmm6, xmm6
xor esi, esi
comiss xmm0, xmm6
jbe 0x140080a80
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x2d9c], xmm0
jb 0x140080a80
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140080a73
call fcn.140082f40
jmp 0x140080a7a
mov byte [rdi + 0x3b0], 1
mov dword [rdi + 0x2d9c], esi
inc dword [rdi + 0x1990]
movss xmm0, dword [rdi + 0x18]
mov rax, qword [rdi + 0xa0]
mov byte [rdi + 1], 1
mov dword [rdi + 0x2d74], esi
mov dword [rdi + 0x19f0], esi
cvtps2pd xmm0, xmm0
addsd xmm0, qword [rdi + 0x1988]
movsd qword [rdi + 0x1988], xmm0
mov byte [rax], 1
mov rdx, qword [0x1403503d0]
mov rcx, qword [rdx + 0xb0]
test rcx, rcx
jne 0x140080ad9
mov rax, qword [rdx + 0xa0]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
movss xmm0, dword [rdx + 0xa8]
mov rax, qword [rdx + 0x19f8]
mov qword [rdx + 0x18f0], rcx
mulss xmm0, dword [rcx]
mulss xmm0, dword [rcx + 4]
movss dword [rdx + 0x18fc], xmm0
test rax, rax
je 0x140080b1e
movss xmm1, dword [rax + 0x298]
mov rax, qword [0x1403503d0]
mulss xmm1, dword [rax + 0x18fc]
jmp 0x140080b21
xorps xmm1, xmm1
movss dword [rdx + 0x18f8], xmm1
mov rax, qword [rcx + 0x58]
mov qword [rsp + 0x20], rsi
movups xmm2, xmmword [rsp + 0x20]
movsd xmm0, qword [rax + 0x38]
mov qword [rdx + 0x1908], rcx
lea rcx, [rdi + 0x1cc8]
movsd qword [rdx + 0x1900], xmm0
movss dword [rdx + 0x1910], xmm1
movss xmm0, dword [rdi + 0x10]
movss xmm1, dword [rdi + 0x14]
mov eax, dword [rdi + 0x15ec]
shufps xmm2, xmm2, 0xd2
movss xmm2, xmm0
mov dword [rdi + 0x1914], eax
shufps xmm2, xmm2, 0x27
movss xmm2, xmm1
shufps xmm2, xmm2, 0x39
movups xmmword [rdi + 0x1918], xmm2
call fcn.1400898d0
mov rdx, qword [rdi + 0xa0]
lea rcx, [rdi + 0x1cc8]
mov rdx, qword [rdx + 8]
call fcn.14008c0a0
lea rcx, [rdi + 0x1cc8]
call fcn.14008c000
movzx eax, byte [rdi + 0x15e9]
neg al
mov byte [rdi + 0x1c70], sil
mov eax, esi
mov qword [rdi + 0x1c78], rsi
sbb ecx, ecx
mov qword [rdi + 0x1c84], rsi
and ecx, r14d
mov dword [rdi + 0x1c80], esi
cmp byte [rdi + 0x15e8], sil
setne al
or ecx, eax
mov dword [rdi + 0x1cf8], ecx
mov qword [rdi + 0x1c94], rsi
mov qword [rdi + 0x1c8c], rsi
cmp byte [rdi + 0x1d74], sil
je 0x140080c39
mov eax, dword [rdi + 0x1d94]
cmp eax, dword [rdi + 0x1a24]
jne 0x140080c39
mov rcx, qword [0x1403503d0]
cmp dword [rcx + 0x1a24], eax
jne 0x140080c2a
mov dword [rcx + 0x1a2c], eax
cmp dword [rcx + 0x1a28], eax
jne 0x140080c39
mov byte [rcx + 0x1a37], 1
cmp dword [rdi + 0x1a18], esi
jne 0x140080c49
mov dword [rdi + 0x1a1c], esi
jmp 0x140080c5b
mov eax, dword [rdi + 0x1a10]
test eax, eax
je 0x140080c61
cmp dword [rdi + 0x1a24], eax
jne 0x140080c61
mov dword [rdi + 0x1a20], esi
mov eax, dword [rdi + 0x1a10]
test eax, eax
je 0x140080c9b
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1a1c]
movss dword [rdi + 0x1a1c], xmm0
cmp dword [rdi + 0x1a24], eax
je 0x140080c9b
addss xmm1, dword [rdi + 0x1a20]
movss dword [rdi + 0x1a20], xmm1
mov dword [rdi + 0x1a18], eax
mov eax, dword [rdi + 0x1a24]
mov dword [rdi + 0x1a10], esi
mov byte [rdi + 0x1a14], sil
cmp dword [rdi + 0x1a2c], eax
je 0x140080d0b
cmp dword [rdi + 0x1a28], eax
jne 0x140080d0b
test eax, eax
je 0x140080d0b
mov rdx, qword [0x1403503d0]
mov ecx, dword [rdx + 0x1a24]
test ecx, ecx
setne al
mov byte [rdx + 0x1a34], al
test ecx, ecx
je 0x140080cf1
mov dword [rdx + 0x1a30], esi
mov byte [rdx + 0x1a36], sil
mov dword [rdx + 0x1a24], esi
mov dword [rdx + 0x1a3c], esi
mov byte [rdx + 0x1a35], sil
mov qword [rdx + 0x1a48], rsi
mov ecx, dword [rdi + 0x1a24]
test ecx, ecx
je 0x140080d2a
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x1a30]
movss dword [rdi + 0x1a30], xmm0
mov rax, qword [rdi + 0x1a48]
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x1a60]
mov qword [rdi + 0x1a50], rax
movzx eax, byte [rdi + 0x1a36]
mov byte [rdi + 0x1a38], al
mov eax, dword [rdi + 0x2d48]
movss dword [rdi + 0x1a60], xmm0
mov dword [rdi + 0x1a28], ecx
mov dword [rdi + 0x1a2c], esi
mov byte [rdi + 0x1a37], sil
mov byte [rdi + 0x1a34], sil
test eax, eax
je 0x140080d88
cmp ecx, eax
je 0x140080d88
mov dword [rdi + 0x2d48], esi
mov eax, dword [rdi + 0x1de4]
lea rcx, [rdi + 0xca8]
lea rdx, [rdi + 0x4a8]
mov dword [rdi + 0x1de8], eax
mov r8d, 0x800
mov qword [rdi + 0x1de0], 0x7f7fffff
mov byte [rdi + 0x1d75], sil
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x1402809d8]
lea rcx, [rdi + 0x135]
lea rax, [rdi + 0x4ac]
mov r8d, 0x80
nop dword [rax + rax]
cmp byte [rcx - 1], sil
je 0x140080dfc
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x140080df5
movaps xmm0, xmm6
jmp 0x140080dff
addss xmm0, dword [rdi + 0x18]
jmp 0x140080dff
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], sil
je 0x140080e1e
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x140080e17
movaps xmm0, xmm6
jmp 0x140080e21
addss xmm0, dword [rdi + 0x18]
jmp 0x140080e21
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], sil
je 0x140080e41
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x140080e3a
movaps xmm0, xmm6
jmp 0x140080e44
addss xmm0, dword [rdi + 0x18]
jmp 0x140080e44
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], sil
je 0x140080e65
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x140080e5e
movaps xmm0, xmm6
jmp 0x140080e68
addss xmm0, dword [rdi + 0x18]
jmp 0x140080e68
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x140080de0
call fcn.14007e2d0
call fcn.140084f00
movsxd rax, dword [rdi + 0x2fd8]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x2df8]
addss xmm0, dword [rdi + 0x2fdc]
movss dword [rdi + 0x2fdc], xmm0
movss dword [rdi + rax*4 + 0x2df8], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x2fd8]
movss xmm1, dword [rdi + 0x2fdc]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
comiss xmm1, xmm6
mov dword [rdi + 0x2fd8], ecx
jbe 0x140080f03
divss xmm1, dword [0x1402809b4]
movss xmm0, dword [0x14028097c]
divss xmm0, xmm1
jmp 0x140080f0b
movss xmm0, dword [0x1402809cc]
movss dword [rdi + 0x3b4], xmm0
call fcn.140085260
call fcn.1400841b0
mov r8, qword [0x1403503d0]
mov eax, dword [r8 + 0x1aa8]
sub eax, 1
js 0x140080f6b
mov r8, qword [r8 + 0x1ab0]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop dword [rax]
mov rax, qword [r8]
test rax, rax
je 0x140080f61
test dword [rax + 0xc], 0x8000000
jne 0x140080f81
sub r8, 0x30
sub rdx, 1
jns 0x140080f50
cmp qword [rdi + 0x1b80], rsi
je 0x140080fa0
movss xmm0, dword [rdi + 0x1b9c]
comiss xmm0, xmm6
jbe 0x140080fa0
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x140280998]
addss xmm1, dword [rdi + 0x1cc0]
minss xmm1, dword [0x14028097c]
jmp 0x140080fbd
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x1402809a0]
movss xmm1, dword [rdi + 0x1cc0]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1cc0], xmm1
mov dword [rdi + 0x1d70], esi
mov qword [rdi + 0x2fe4], 0xffffffffffffffff
mov dword [rdi + 0x2fe0], 0xffffffff
mov dword [rdi + 0x2d88], 0x3f800000
mov dword [rdi + 0x2d8c], 0x3f800000
call fcn.140085480
cmp dword [rdi + 0x1a24], esi
jne 0x1400810a5
mov rax, qword [rdi + 0x1b40]
test rax, rax
je 0x1400810a5
cmp byte [rax + 0x7a], sil
je 0x1400810a5
test dword [rax + 0xc], 0x40000
jne 0x1400810a5
cmp byte [rdi + 0x130], sil
jne 0x1400810a5
mov rcx, qword [0x1403503d0]
movsxd rax, dword [rcx + 0x3c]
test eax, eax
js 0x1400810a5
movss xmm0, dword [rcx + rax*4 + 0x4a8]
ucomiss xmm0, xmm6
jp 0x140081054
jne 0x140081054
mov al, 1
jmp 0x140081056
xor al, al
test al, al
je 0x1400810a5
cmp dword [rdi + 0x1b48], esi
je 0x14008108d
mov eax, dword [rdi + 0x1ba8]
cmp eax, 0x7fffffff
je 0x14008108d
cmp byte [rdi + 0x131], sil
cmovne r14d, esi
add r14d, eax
mov rax, qword [rdi + 0x1b40]
mov dword [rax + 0x3b4], r14d
jmp 0x1400810a5
movzx eax, byte [rdi + 0x131]
neg al
mov rax, qword [rdi + 0x1b40]
sbb ecx, ecx
mov dword [rax + 0x3b4], ecx
mov r8d, esi
movaps xmm6, xmmword [rsp + 0x30]
mov r14, qword [rsp + 0x58]
mov dword [rdi + 0x1ba8], 0x7fffffff
cmp dword [rdi + 0x19a0], esi
je 0x1400810fb
mov rdx, rsi
nop word [rax + rax]
mov rax, qword [rdi + 0x19a8]
lea rdx, [rdx + 8]
inc r8d
mov rcx, qword [rdx + rax - 8]
movzx eax, byte [rcx + 0x7a]
mov byte [rcx + 0x7b], al
mov byte [rcx + 0x7a], sil
mov byte [rcx + 0x7c], sil
cmp r8d, dword [rdi + 0x19a0]
jne 0x1400810d0
mov rax, qword [rdi + 0x1b40]
test rax, rax
je 0x14008117e
cmp byte [rax + 0x7b], sil
jne 0x14008117e
mov rcx, qword [0x1403503d0]
mov eax, dword [rcx + 0x19b0]
sub eax, 1
js 0x14008117e
movsxd r9, eax
mov rax, qword [rcx + 0x19b8]
lea r10, [rax + r9*8]
nop dword [rax]
mov r8, qword [r10]
test r8, r8
je 0x14008115c
cmp byte [r8 + 0x7b], sil
je 0x14008115c
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x140081168
sub r10, 8
sub r9, 1
jns 0x140081130
jmp 0x14008117e
mov rax, qword [r8 + 0x370]
test rax, rax
cmovne r8, rax
mov rcx, r8
call fcn.14007a690
mov ecx, dword [rdi + 0x19d4]
test ecx, ecx
jns 0x1400811a4
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x19d0]
test eax, eax
cmovg edx, eax
call fcn.140085dd0
mov dword [rdi + 0x19d0], esi
mov r8d, dword [rdi + 0x1abc]
test r8d, r8d
jns 0x1400811d4
mov eax, r8d
lea rcx, [rdi + 0x1ab8]
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.140085e70
mov dword [rdi + 0x1ab8], esi
mov rcx, qword [rdi + 0x1b40]
call fcn.1400782a0
mov rax, qword [0x1403503d0]
lea rcx, str.DebugDefault
xor r8d, r8d
xor edx, edx
mov dword [rax + 0x1af4], 0x43c80000
mov dword [rax + 0x1af8], 0x43c80000
mov dword [rax + 0x1acc], 4
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp fcn.140073ca0