Function at 0x14001c340
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 [0x140284e68]
movaps xmmword [rsp + 0x30], xmm6
cmp byte [rbx + 0xd3], 0
je 0x14001c37a
test byte [rbx + 0xc], 2
jne 0x14001c37a
mov byte [rbx + 0xd3], 0
cmp byte [rbx + 0x2db8], 0
mov r14d, 2
jne 0x14001c487
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001c480
lea rdx, [0x14005eed0]
call fcn.140019c10
mov rdi, rax
test rax, rax
je 0x14001c480
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 0x14001c477
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14001c477
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 0x14001c477
mov rax, qword [0x140284e68]
mov rbp, rsi
test rax, rax
je 0x14001c408
inc dword [rax + 0x3e0]
mov rdx, qword [0x140284e60]
mov rcx, rbp
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x14001c477
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 0x14001c464
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140284e68]
test rax, rax
je 0x14001c453
dec dword [rax + 0x3e0]
mov rdx, qword [0x140284e60]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x14001c480
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, rbp
mov rcx, rsi
call fcn.140026880
jmp 0x14001c441
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [rbx + 0x2db8], 1
movss xmm0, dword [rbx + 0x2dbc]
xorps xmm6, xmm6
xor r15d, r15d
comiss xmm0, xmm6
jbe 0x14001c4ca
subss xmm0, dword [rbx + 0x18]
comiss xmm6, xmm0
movss dword [rbx + 0x2dbc], xmm0
jb 0x14001c4ca
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001c4bc
call fcn.140026ac0
jmp 0x14001c4c3
mov byte [rbx + 0x3c8], 1
mov dword [rbx + 0x2dbc], r15d
inc dword [rbx + 0x19a8]
movss xmm0, dword [rbx + 0x18]
mov rax, qword [rbx + 0xa0]
mov rdx, qword [0x140284e68]
mov byte [rbx + 1], 1
mov dword [rbx + 0x2d94], r15d
mov dword [rbx + 0x1a10], r15d
cvtps2pd xmm0, xmm0
addsd xmm0, qword [rbx + 0x19a0]
movsd qword [rbx + 0x19a0], xmm0
mov byte [rax], 1
mov rcx, qword [rdx + 0xb0]
test rcx, rcx
jne 0x14001c525
mov rax, qword [rdx + 0xa0]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
movss xmm0, dword [rdx + 0xa8]
mov rax, qword [rdx + 0x1a18]
mov qword [rdx + 0x1908], rcx
mulss xmm0, dword [rcx]
mulss xmm0, dword [rcx + 4]
movss dword [rdx + 0x1914], xmm0
test rax, rax
je 0x14001c56a
movss xmm1, dword [rax + 0x2a0]
mov rax, qword [0x140284e68]
mulss xmm1, dword [rax + 0x1914]
jmp 0x14001c56d
xorps xmm1, xmm1
movss dword [rdx + 0x1910], xmm1
lea rsi, [rbx + 0x1ce8]
mov rax, qword [rcx + 0x58]
mov qword [rsp + 0x20], r15
movups xmm2, xmmword [rsp + 0x20]
movsd xmm0, qword [rax + 0x38]
mov qword [rdx + 0x1920], rcx
mov rcx, rsi
movsd qword [rdx + 0x1918], xmm0
movss dword [rdx + 0x1928], xmm1
movss xmm0, dword [rbx + 0x10]
movss xmm1, dword [rbx + 0x14]
mov eax, dword [rbx + 0x1604]
shufps xmm2, xmm2, 0xd2
movss xmm2, xmm0
mov dword [rbx + 0x192c], eax
shufps xmm2, xmm2, 0x27
movss xmm2, xmm1
shufps xmm2, xmm2, 0x39
movups xmmword [rbx + 0x1930], xmm2
call fcn.14002ef10
mov rax, qword [rbx + 0xa0]
mov r8d, dword [rsi + 0x74]
mov rbp, qword [rax + 8]
mov eax, dword [rsi + 0x70]
cmp eax, r8d
jne 0x14001c623
lea ecx, [rax + 1]
test r8d, r8d
je 0x14001c60b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14001c610
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rsi + 0x70]
call fcn.1400277a0
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.14002f470
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.14002f560
movzx eax, byte [rbx + 0x1601]
mov rdx, qword [0x140284e68]
neg al
mov eax, r15d
mov byte [rbx + 0x1c90], r15b
sbb ecx, ecx
mov qword [rbx + 0x1c98], r15
and ecx, r14d
mov qword [rbx + 0x1ca4], r15
cmp byte [rbx + 0x1600], r15b
mov dword [rbx + 0x1ca0], r15d
setne al
or ecx, eax
mov dword [rbx + 0x1d18], ecx
mov qword [rbx + 0x1cb4], r15
mov qword [rbx + 0x1cac], r15
cmp byte [rbx + 0x1d94], r15b
je 0x14001c6f4
mov eax, dword [rbx + 0x1db4]
cmp eax, dword [rbx + 0x1a44]
jne 0x14001c6f4
cmp dword [rdx + 0x1a44], eax
jne 0x14001c6e5
mov dword [rdx + 0x1a4c], eax
cmp dword [rdx + 0x1a48], eax
jne 0x14001c6f4
mov byte [rdx + 0x1a57], 1
mov eax, dword [rbx + 0x1a30]
cmp dword [rbx + 0x1a38], r15d
jne 0x14001c70c
mov dword [rbx + 0x1a3c], r15d
jmp 0x14001c71a
mov ecx, eax
test eax, eax
je 0x14001c723
cmp dword [rbx + 0x1a44], eax
jne 0x14001c723
mov dword [rbx + 0x1a40], r15d
mov ecx, eax
movss xmm2, dword [rbx + 0x18]
mov eax, dword [rbx + 0x1a44]
test ecx, ecx
je 0x14001c75c
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1a3c]
movss dword [rbx + 0x1a3c], xmm0
cmp eax, ecx
je 0x14001c75c
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1a40]
movss dword [rbx + 0x1a40], xmm0
movaps xmm1, xmm2
mov dword [rbx + 0x1a38], ecx
mov ecx, eax
mov dword [rbx + 0x1a30], r15d
mov byte [rbx + 0x1a34], r15b
cmp dword [rbx + 0x1a4c], eax
je 0x14001c7d3
cmp dword [rbx + 0x1a48], eax
jne 0x14001c7d3
test eax, eax
je 0x14001c7d3
mov ecx, dword [rdx + 0x1a44]
test ecx, ecx
setne al
mov byte [rdx + 0x1a54], al
test ecx, ecx
je 0x14001c7ac
mov dword [rdx + 0x1a50], r15d
mov byte [rdx + 0x1a56], r15b
mov dword [rdx + 0x1a44], r15d
mov dword [rdx + 0x1a5c], r15d
mov byte [rdx + 0x1a55], r15b
mov qword [rdx + 0x1a68], r15
mov ecx, dword [rbx + 0x1a44]
movss xmm1, dword [rbx + 0x18]
test ecx, ecx
je 0x14001c7ea
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1a50]
movss dword [rbx + 0x1a50], xmm0
mov rax, qword [rbx + 0x1a68]
addss xmm1, dword [rbx + 0x1a80]
mov qword [rbx + 0x1a70], rax
movzx eax, byte [rbx + 0x1a56]
mov byte [rbx + 0x1a58], al
mov eax, dword [rbx + 0x2d68]
movss dword [rbx + 0x1a80], xmm1
mov dword [rbx + 0x1a48], ecx
mov dword [rbx + 0x1a4c], r15d
mov byte [rbx + 0x1a57], r15b
mov byte [rbx + 0x1a54], r15b
test eax, eax
je 0x14001c845
cmp ecx, eax
je 0x14001c845
mov dword [rbx + 0x2d68], r15d
mov eax, dword [rbx + 0x1e04]
lea rcx, [rbx + 0xcc0]
lea rdx, [rbx + 0x4c0]
mov dword [rbx + 0x1e08], eax
mov r8d, 0x800
mov qword [rbx + 0x1e00], 0x7f7fffff
mov byte [rbx + 0x1d95], r15b
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x140279478]
lea rcx, [rbx + 0x14d]
lea rax, [rbx + 0x4c4]
mov edx, 0x80
cmp byte [rcx - 1], r15b
je 0x14001c8b3
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x14001c8ac
movaps xmm0, xmm6
jmp 0x14001c8b6
addss xmm0, dword [rbx + 0x18]
jmp 0x14001c8b6
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], r15b
je 0x14001c8d5
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x14001c8ce
movaps xmm0, xmm6
jmp 0x14001c8d8
addss xmm0, dword [rbx + 0x18]
jmp 0x14001c8d8
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], r15b
je 0x14001c8f8
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x14001c8f1
movaps xmm0, xmm6
jmp 0x14001c8fb
addss xmm0, dword [rbx + 0x18]
jmp 0x14001c8fb
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], r15b
je 0x14001c91c
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x14001c915
movaps xmm0, xmm6
jmp 0x14001c91f
addss xmm0, dword [rbx + 0x18]
jmp 0x14001c91f
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub rdx, 1
jne 0x14001c897
call fcn.1400239b0
call fcn.14001b8b0
movsxd rax, dword [rbx + 0x2ff8]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x2e18]
addss xmm0, dword [rbx + 0x2ffc]
movss dword [rbx + 0x2ffc], xmm0
movss dword [rbx + rax*4 + 0x2e18], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x2ff8]
movss xmm1, dword [rbx + 0x2ffc]
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 + 0x2ff8], ecx
jbe 0x14001c9ba
divss xmm1, dword [0x1402793f4]
movss xmm0, dword [0x140279320]
divss xmm0, xmm1
jmp 0x14001c9c2
movss xmm0, dword [0x140279474]
movss dword [rbx + 0x3cc], xmm0
call fcn.14001b6a0
call fcn.14001bea0
mov r10, qword [0x140284e68]
movsxd rax, dword [r10 + 0x1ac8]
test eax, eax
jle 0x14001ca1b
mov r8, qword [r10 + 0x1ad0]
lea rdx, [rax - 1]
lea rcx, [rdx + rdx*2]
add r8, 8
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x14001ca11
test dword [rax + 0xc], 0x8000000
jne 0x14001ca31
sub r8, 0x30
sub rdx, 1
jns 0x14001ca00
cmp qword [rbx + 0x1ba0], r15
je 0x14001ca50
movss xmm0, dword [rbx + 0x1bbc]
comiss xmm0, xmm6
jbe 0x14001ca50
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x140279398]
addss xmm1, dword [rbx + 0x1ce0]
minss xmm1, dword [0x140279320]
jmp 0x14001ca6d
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1402793a4]
movss xmm1, dword [rbx + 0x1ce0]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1ce0], xmm1
mov dword [rbx + 0x1d90], r15d
mov qword [rbx + 0x3004], 0xffffffffffffffff
mov dword [rbx + 0x3000], 0xffffffff
mov dword [rbx + 0x2da8], 0x3f800000
mov dword [rbx + 0x2dac], 0x3f800000
call fcn.14001bc30
cmp dword [rbx + 0x1a44], r15d
jne 0x14001cb28
mov r9, qword [rbx + 0x1b60]
test r9, r9
je 0x14001cb28
cmp byte [r9 + 0x7a], r15b
je 0x14001cb28
test dword [r9 + 0xc], 0x40000
jne 0x14001cb28
cmp byte [rbx + 0x148], r15b
jne 0x14001cb28
mov ecx, dword [r10 + 0x3c]
test ecx, ecx
js 0x14001cb28
xor edx, edx
call fcn.14001daf0
test al, al
je 0x14001cb28
cmp dword [rbx + 0x1b68], edx
je 0x14001cb16
mov eax, dword [rbx + 0x1bc8]
cmp eax, 0x7fffffff
je 0x14001cb16
cmp byte [rbx + 0x149], dl
cmovne r14d, r15d
add r14d, eax
mov dword [r9 + 0x3bc], r14d
jmp 0x14001cb28
movzx eax, byte [rbx + 0x149]
neg al
sbb ecx, ecx
mov dword [r9 + 0x3bc], ecx
mov edx, r15d
mov dword [rbx + 0x1bc8], 0x7fffffff
cmp dword [rbx + 0x19b8], r15d
je 0x14001cb6a
mov r8, r15
mov rax, qword [rbx + 0x19c0]
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 + 0x19b8]
jne 0x14001cb41
mov rax, qword [rbx + 0x1b60]
test rax, rax
je 0x14001cbe4
cmp byte [rax + 0x7b], r15b
jne 0x14001cbe4
movsxd rax, dword [r10 + 0x19c8]
test eax, eax
jle 0x14001cbe4
lea r9, [rax - 1]
mov rax, qword [r10 + 0x19d0]
lea r10, [rax + r9*8]
mov r8, qword [r10]
test r8, r8
je 0x14001cbc2
cmp byte [r8 + 0x7b], r15b
je 0x14001cbc2
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x14001cbce
sub r10, 8
sub r9, 1
jns 0x14001cb96
jmp 0x14001cbe4
mov rax, qword [r8 + 0x378]
test rax, rax
cmovne r8, rax
mov rcx, r8
call fcn.140021c70
mov ecx, dword [rbx + 0x19f4]
test ecx, ecx
jns 0x14001cc0b
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x19f0]
test eax, eax
cmovg edx, eax
call fcn.1400277a0
mov dword [rbx + 0x19f0], r15d
mov ecx, dword [rbx + 0x1adc]
test ecx, ecx
jns 0x14001cc39
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1ad8]
test eax, eax
cmovg edx, eax
call fcn.140027b80
mov dword [rbx + 0x1ad8], r15d
mov rcx, qword [rbx + 0x1b60]
call fcn.140022420
mov rax, qword [0x140284e68]
lea rcx, str.DebugDefault
xor r8d, r8d
xor edx, edx
mov dword [rax + 0x1b14], 0x43c80000
mov dword [rax + 0x1b18], 0x43c80000
mov dword [rax + 0x1aec], 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.14001f200