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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbx, qword [0x140069368]
movaps xmmword [rsp + 0x30], xmm6
cmp byte [rbx + 0xd3], 0
je 0x14000648a
test byte [rbx + 0xc], 2
jne 0x14000648a
mov byte [rbx + 0xd3], 0
cmp byte [rbx + 0x2cd0], 0
mov r14d, 2
jne 0x140006597
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140006590
lea rdx, [0x14004cc68]
call fcn.140002f90
mov rdi, rax
test rax, rax
je 0x140006590
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 0x140006587
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140006587
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140006587
mov rax, qword [0x140069368]
mov rbp, rsi
test rax, rax
je 0x140006518
inc dword [rax + 0x3b8]
mov rdx, qword [0x140069360]
mov rcx, rbp
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x140006587
mov r9, rdi
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, rdi
cmp rax, rbp
je 0x140006574
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140069368]
test rax, rax
je 0x140006563
dec dword [rax + 0x3b8]
mov rdx, qword [0x140069360]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x140006590
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, rbp
mov rcx, rsi
call fcn.1400127a0
jmp 0x140006551
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [rbx + 0x2cd0], 1
movss xmm0, dword [rbx + 0x2cd4]
xorps xmm6, xmm6
xor r15d, r15d
comiss xmm0, xmm6
jbe 0x1400065da
subss xmm0, dword [rbx + 0x18]
comiss xmm6, xmm0
movss dword [rbx + 0x2cd4], xmm0
jb 0x1400065da
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400065cc
call fcn.1400129c0
jmp 0x1400065d3
mov byte [rbx + 0x3a0], 1
mov dword [rbx + 0x2cd4], r15d
inc dword [rbx + 0x1928]
movss xmm0, dword [rbx + 0x18]
mov rax, qword [rbx + 0xa0]
mov rdx, qword [0x140069368]
mov byte [rbx + 1], 1
mov dword [rbx + 0x2cac], r15d
mov dword [rbx + 0x1978], r15d
cvtps2pd xmm0, xmm0
addsd xmm0, qword [rbx + 0x1920]
movsd qword [rbx + 0x1920], xmm0
mov byte [rax], 1
mov rcx, qword [rdx + 0xb0]
test rcx, rcx
jne 0x140006635
mov rax, qword [rdx + 0xa0]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
movss xmm0, dword [rdx + 0xa8]
mov rax, qword [rdx + 0x1980]
mov qword [rdx + 0x1888], rcx
mulss xmm0, dword [rcx]
mulss xmm0, dword [rcx + 4]
movss dword [rdx + 0x1894], xmm0
test rax, rax
je 0x14000667a
movss xmm1, dword [rax + 0x2b8]
mov rax, qword [0x140069368]
mulss xmm1, dword [rax + 0x1894]
jmp 0x14000667d
xorps xmm1, xmm1
movss dword [rdx + 0x1890], xmm1
lea rsi, [rbx + 0x1c48]
mov rax, qword [rcx + 0x58]
mov qword [rsp + 0x20], r15
movups xmm2, xmmword [rsp + 0x20]
movsd xmm0, qword [rax + 0x38]
mov qword [rdx + 0x18a0], rcx
mov rcx, rsi
movsd qword [rdx + 0x1898], xmm0
movss dword [rdx + 0x18a8], xmm1
movss xmm0, dword [rbx + 0x10]
movss xmm1, dword [rbx + 0x14]
mov eax, dword [rbx + 0x15d4]
shufps xmm2, xmm2, 0xd2
movss xmm2, xmm0
mov dword [rbx + 0x18ac], eax
shufps xmm2, xmm2, 0x27
movss xmm2, xmm1
shufps xmm2, xmm2, 0x39
movups xmmword [rbx + 0x18b0], xmm2
call fcn.14001b2b0
mov rax, qword [rbx + 0xa0]
mov r8d, dword [rsi + 0x74]
mov rbp, qword [rax + 8]
mov eax, dword [rsi + 0x70]
cmp eax, r8d
jne 0x140006733
lea ecx, [rax + 1]
test r8d, r8d
je 0x14000671b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140006720
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rsi + 0x70]
call fcn.1400135e0
mov eax, dword [rsi + 0x70]
movsxd rcx, eax
mov rax, qword [rsi + 0x78]
mov qword [rax + rcx*8], rbp
mov rcx, rsi
inc dword [rsi + 0x70]
call fcn.14001b810
mov rax, qword [rsi + 0x38]
xor r9d, r9d
mov rcx, rsi
movss xmm1, dword [rax + 0x24]
movss xmm0, dword [rax + 0x20]
movss xmm2, dword [rax + 0x1c]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x18]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.14001b900
movzx eax, byte [rbx + 0x15d1]
mov rdx, qword [0x140069368]
neg al
mov eax, r15d
mov byte [rbx + 0x1bf0], r15b
sbb ecx, ecx
mov qword [rbx + 0x1bf8], r15
and ecx, r14d
mov qword [rbx + 0x1c04], r15
cmp byte [rbx + 0x15d0], r15b
mov dword [rbx + 0x1c00], r15d
setne al
or ecx, eax
mov dword [rbx + 0x1c78], ecx
mov qword [rbx + 0x1c14], r15
mov qword [rbx + 0x1c0c], r15
cmp byte [rbx + 0x1cf4], r15b
je 0x140006804
mov eax, dword [rbx + 0x1d14]
cmp eax, dword [rbx + 0x19a8]
jne 0x140006804
cmp dword [rdx + 0x19a8], eax
jne 0x1400067f5
mov dword [rdx + 0x19b0], eax
cmp dword [rdx + 0x19ac], eax
jne 0x140006804
mov byte [rdx + 0x19bb], 1
cmp dword [rbx + 0x19a0], r15d
jne 0x140006814
mov dword [rbx + 0x19a4], r15d
mov eax, dword [rbx + 0x1998]
movss xmm1, dword [rbx + 0x18]
test eax, eax
je 0x140006836
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x19a4]
movss dword [rbx + 0x19a4], xmm0
mov dword [rbx + 0x19a0], eax
movaps xmm0, xmm1
mov eax, dword [rbx + 0x19a8]
movaps xmm2, xmm1
mov ecx, eax
mov dword [rbx + 0x1998], r15d
mov byte [rbx + 0x199c], r15b
cmp dword [rbx + 0x19b0], eax
je 0x1400068b9
cmp dword [rbx + 0x19ac], eax
jne 0x1400068b9
test eax, eax
je 0x1400068b9
mov ecx, dword [rdx + 0x19a8]
test ecx, ecx
setne al
mov byte [rdx + 0x19b8], al
test ecx, ecx
je 0x14000688f
mov dword [rdx + 0x19b4], r15d
mov byte [rdx + 0x19ba], r15b
mov dword [rdx + 0x19a8], r15d
mov dword [rdx + 0x19c0], r15d
mov byte [rdx + 0x19b9], r15b
mov qword [rdx + 0x19d0], r15
movss xmm2, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x19a8]
movaps xmm0, xmm2
test ecx, ecx
je 0x1400068d3
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x19b4]
movss dword [rbx + 0x19b4], xmm0
movaps xmm0, xmm2
mov rax, qword [rbx + 0x19d0]
addss xmm0, dword [rbx + 0x19e8]
mov qword [rbx + 0x19d8], rax
movzx eax, byte [rbx + 0x19ba]
mov byte [rbx + 0x19bc], al
mov eax, dword [rbx + 0x2c80]
movss dword [rbx + 0x19e8], xmm0
mov dword [rbx + 0x19ac], ecx
mov dword [rbx + 0x19b0], r15d
mov byte [rbx + 0x19bb], r15b
mov byte [rbx + 0x19b8], r15b
test eax, eax
je 0x14000692e
cmp ecx, eax
je 0x14000692e
mov dword [rbx + 0x2c80], r15d
mov eax, dword [rbx + 0x1d64]
lea rcx, [rbx + 0xc98]
lea rdx, [rbx + 0x498]
mov dword [rbx + 0x1d68], eax
mov r8d, 0x800
mov qword [rbx + 0x1d60], 0x7f7fffff
mov byte [rbx + 0x1cf5], r15b
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x14005c2b4]
lea rcx, [rbx + 0x125]
lea rax, [rbx + 0x49c]
mov edx, 0x80
cmp byte [rcx - 1], r15b
je 0x14000699c
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x140006995
movaps xmm0, xmm6
jmp 0x14000699f
addss xmm0, dword [rbx + 0x18]
jmp 0x14000699f
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], r15b
je 0x1400069be
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x1400069b7
movaps xmm0, xmm6
jmp 0x1400069c1
addss xmm0, dword [rbx + 0x18]
jmp 0x1400069c1
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], r15b
je 0x1400069e1
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x1400069da
movaps xmm0, xmm6
jmp 0x1400069e4
addss xmm0, dword [rbx + 0x18]
jmp 0x1400069e4
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], r15b
je 0x140006a05
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x1400069fe
movaps xmm0, xmm6
jmp 0x140006a08
addss xmm0, dword [rbx + 0x18]
jmp 0x140006a08
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub rdx, 1
jne 0x140006980
call fcn.14000f750
call fcn.140005ab0
movsxd rax, dword [rbx + 0x2f10]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x2d30]
addss xmm0, dword [rbx + 0x2f14]
movss dword [rbx + 0x2f14], xmm0
movss dword [rbx + rax*4 + 0x2d30], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x2f10]
movss xmm1, dword [rbx + 0x2f14]
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 [rbx + 0x2f10], ecx
jbe 0x140006aa3
divss xmm1, dword [0x14005c22c]
movss xmm0, dword [0x14005c148]
divss xmm0, xmm1
jmp 0x140006aab
movss xmm0, dword [0x14005c294]
movss dword [rbx + 0x3a4], xmm0
call fcn.1400058a0
call fcn.140006040
mov r10, qword [0x140069368]
movsxd rax, dword [r10 + 0x1a28]
test eax, eax
jle 0x140006b0b
lea rdx, [rax - 1]
mov rax, qword [r10 + 0x1a30]
lea r8, [rdx + rdx*2]
add rax, 8
shl r8, 4
add r8, rax
nop dword [rax]
mov rax, qword [r8]
test rax, rax
je 0x140006b01
test dword [rax + 0xc], 0x8000000
jne 0x140006b21
sub r8, 0x30
sub rdx, 1
jns 0x140006af0
cmp qword [rbx + 0x1b00], r15
je 0x140006b40
movss xmm0, dword [rbx + 0x1b1c]
comiss xmm0, xmm6
jbe 0x140006b40
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x14005c1e0]
addss xmm1, dword [rbx + 0x1c40]
minss xmm1, dword [0x14005c148]
jmp 0x140006b5d
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x14005c1f0]
movss xmm1, dword [rbx + 0x1c40]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1c40], xmm1
mov dword [rbx + 0x1cf0], r15d
mov qword [rbx + 0x2f1c], 0xffffffffffffffff
mov dword [rbx + 0x2f18], 0xffffffff
mov dword [rbx + 0x2cc0], 0x3f800000
mov dword [rbx + 0x2cc4], 0x3f800000
call fcn.140005dd0
cmp dword [rbx + 0x19a8], r15d
jne 0x140006c18
mov r9, qword [rbx + 0x1ac0]
test r9, r9
je 0x140006c18
cmp byte [r9 + 0x7a], r15b
je 0x140006c18
test dword [r9 + 0xc], 0x40000
jne 0x140006c18
cmp byte [rbx + 0x120], r15b
jne 0x140006c18
mov ecx, dword [r10 + 0x3c]
test ecx, ecx
js 0x140006c18
xor edx, edx
call fcn.140007ff0
test al, al
je 0x140006c18
cmp dword [rbx + 0x1ac8], edx
je 0x140006c06
mov eax, dword [rbx + 0x1b28]
cmp eax, 0x7fffffff
je 0x140006c06
cmp byte [rbx + 0x121], dl
cmovne r14d, r15d
add r14d, eax
mov dword [r9 + 0x3d4], r14d
jmp 0x140006c18
movzx eax, byte [rbx + 0x121]
neg al
sbb ecx, ecx
mov dword [r9 + 0x3d4], ecx
mov edx, r15d
mov dword [rbx + 0x1b28], 0x7fffffff
cmp dword [rbx + 0x1938], r15d
je 0x140006c5a
mov r8, r15
mov rax, qword [rbx + 0x1940]
lea r8, [r8 + 8]
inc edx
mov rcx, qword [r8 + rax - 8]
movzx eax, byte [rcx + 0x7a]
mov byte [rcx + 0x7b], al
mov byte [rcx + 0x7a], r15b
mov byte [rcx + 0x7c], r15b
cmp edx, dword [rbx + 0x1938]
jne 0x140006c31
mov rax, qword [rbx + 0x1ac0]
test rax, rax
je 0x140006cc2
cmp byte [rax + 0x7b], r15b
jne 0x140006cc2
mov ecx, dword [r10 + 0x1938]
sub ecx, 1
js 0x140006cc2
mov r8, qword [r10 + 0x1940]
movsxd rax, ecx
lea rdx, [r8 + rax*8]
mov rax, qword [rdx]
test rax, rax
je 0x140006c9d
cmp byte [rax + 0x7b], r15b
je 0x140006c9d
test dword [rax + 0xc], 0x1000000
je 0x140006ca8
sub rdx, 8
sub ecx, 1
jns 0x140006c86
jmp 0x140006cc2
movsxd rax, ecx
mov rcx, qword [r8 + rax*8]
mov rax, qword [rcx + 0x390]
test rax, rax
cmovne rcx, rax
call fcn.14000c980
mov ecx, dword [rbx + 0x195c]
test ecx, ecx
jns 0x140006ce9
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1958]
test eax, eax
cmovg edx, eax
call fcn.1400135e0
mov dword [rbx + 0x1958], r15d
mov ecx, dword [rbx + 0x1a3c]
test ecx, ecx
jns 0x140006d17
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1a38]
test eax, eax
cmovg edx, eax
call fcn.140013ab0
mov dword [rbx + 0x1a38], r15d
mov rcx, qword [rbx + 0x1ac0]
call fcn.14000dd00
mov rax, qword [0x140069368]
lea rcx, str.DebugDefault
xor r8d, r8d
xor edx, edx
mov dword [rax + 0x1a74], 0x43c80000
mov dword [rax + 0x1a78], 0x43c80000
mov dword [rax + 0x1a4c], 4
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rdi
jmp fcn.140009dd0