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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x40
mov rdi, qword [0x14036e540]
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r14
cmp byte [rdi + 0xcb], 0
je 0x140025c26
test byte [rdi + 0xc], 2
jne 0x140025c26
mov byte [rdi + 0xcb], 0
cmp byte [rdi + 0x2ed4], 0
mov r14d, 2
jne 0x140025d2d
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x50], rbp
test rcx, rcx
je 0x140025d21
lea rdx, [0x140073204]
call fcn.140022480
mov rbx, rax
test rax, rax
je 0x140025d21
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 0x140025d18
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140025d18
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 0x140025d18
mov rax, qword [0x14036e540]
mov rbp, rsi
test rax, rax
je 0x140025cb5
inc dword [rax + 0x3b8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140025d18
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 0x140025cea
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140025cfb
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, rbp
mov rcx, rsi
call fcn.1400321d0
mov rax, qword [0x14036e540]
test rax, rax
je 0x140025d0d
dec dword [rax + 0x3b8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140025d21
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 + 0x2ed4], 1
movss xmm0, dword [rdi + 0x2ed8]
xorps xmm6, xmm6
xor esi, esi
comiss xmm0, xmm6
jbe 0x140025d6e
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x2ed8], xmm0
jb 0x140025d6e
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140025d61
call fcn.140032440
jmp 0x140025d68
mov byte [rdi + 0x3a0], 1
mov dword [rdi + 0x2ed8], esi
inc dword [rdi + 0x19b8]
movss xmm0, dword [rdi + 0x18]
mov rax, qword [rdi + 0xa8]
mov byte [rdi + 1], 1
mov dword [rdi + 0x2ea8], esi
mov dword [rdi + 0x1a18], esi
cvtps2pd xmm0, xmm0
addsd xmm0, qword [rdi + 0x19b0]
movsd qword [rdi + 0x19b0], xmm0
mov byte [rax], 1
mov rax, qword [0x14036e540]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
jne 0x140025dc7
mov rax, qword [rax + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
call fcn.14002d0e0
mov eax, dword [rdi + 0x160c]
movss xmm2, dword [rdi + 0x10]
movss xmm0, dword [rdi + 0x14]
mov qword [rsp + 0x20], rsi
movups xmm1, xmmword [rsp + 0x20]
mov dword [rdi + 0x1934], eax
mov eax, esi
mov dword [rdi + 0x1948], esi
shufps xmm1, xmm1, 0xd2
movss xmm1, xmm2
shufps xmm1, xmm1, 0x27
movss xmm1, xmm0
shufps xmm1, xmm1, 0x39
movups xmmword [rdi + 0x1938], xmm1
cmp byte [rdi + 0x1608], sil
je 0x140025e27
mov dword [rdi + 0x1948], 1
mov eax, 1
cmp byte [rdi + 0x1609], sil
je 0x140025e39
or eax, r14d
mov dword [rdi + 0x1948], eax
test byte [rdi + 0xc], 8
je 0x140025e48
or eax, 4
mov dword [rdi + 0x1948], eax
lea rcx, [rdi + 0x1d40]
call fcn.14003ac80
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1d40]
mov rdx, qword [rdx + 8]
call fcn.14003b2d0
mov rax, qword [rdi + 0x1d78]
lea rcx, [rdi + 0x1d40]
xor r9d, r9d
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.14003b1a0
lea rcx, [rdi + 0x1de8]
call fcn.14003ac80
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1de8]
mov rdx, qword [rdx + 8]
call fcn.14003b2d0
mov rax, qword [rdi + 0x1e20]
lea rcx, [rdi + 0x1de8]
xor r9d, r9d
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.14003b1a0
mov rdx, qword [0x14036e540]
mov byte [rdi + 0x1ce0], sil
mov qword [rdi + 0x1ce8], rsi
mov qword [rdi + 0x1cf4], rsi
mov dword [rdi + 0x1cf0], esi
mov qword [rdi + 0x1d0c], rsi
mov qword [rdi + 0x1d04], rsi
mov qword [rdi + 0x1cfc], rsi
cmp byte [rdi + 0x1e94], sil
je 0x140025f6d
mov eax, dword [rdi + 0x1eb4]
cmp eax, dword [rdi + 0x1a68]
jne 0x140025f6d
cmp dword [rdx + 0x1a68], eax
jne 0x140025f5e
mov dword [rdx + 0x1a6c], eax
cmp dword [rdx + 0x1a9c], eax
jne 0x140025f6d
mov byte [rdx + 0x1aa0], 1
mov eax, dword [rdi + 0x1a54]
cmp dword [rdi + 0x1a5c], esi
jne 0x140025f83
mov dword [rdi + 0x1a60], esi
jmp 0x140025f91
mov ecx, eax
test eax, eax
je 0x140025f99
cmp dword [rdi + 0x1a68], eax
jne 0x140025f99
mov dword [rdi + 0x1a64], esi
mov ecx, eax
movss xmm2, dword [rdi + 0x18]
mov eax, dword [rdi + 0x1a68]
test ecx, ecx
je 0x140025fd2
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x1a60]
movss dword [rdi + 0x1a60], xmm0
cmp eax, ecx
je 0x140025fd2
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x1a64]
movss dword [rdi + 0x1a64], xmm0
movaps xmm1, xmm2
mov dword [rdi + 0x1a5c], ecx
mov ecx, eax
mov dword [rdi + 0x1a54], esi
mov byte [rdi + 0x1a58], sil
cmp dword [rdi + 0x1a6c], eax
je 0x14002604d
cmp dword [rdi + 0x1a9c], eax
jne 0x14002604d
test eax, eax
je 0x14002604d
mov ecx, dword [rdx + 0x1a68]
test ecx, ecx
setne al
mov byte [rdx + 0x1a74], al
test ecx, ecx
je 0x140026020
mov dword [rdx + 0x1a70], esi
mov word [rdx + 0x1a76], si
mov dword [rdx + 0x1a68], esi
mov qword [rdx + 0x1a7c], rsi
mov byte [rdx + 0x1a75], sil
mov qword [rdx + 0x1a90], rsi
mov byte [rdx + 0x1a78], sil
mov ecx, dword [rdi + 0x1a68]
movss xmm1, dword [rdi + 0x18]
test ecx, ecx
je 0x140026064
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1a70]
movss dword [rdi + 0x1a70], xmm0
mov rax, qword [rdi + 0x1a90]
addss xmm1, dword [rdi + 0x1ab4]
mov qword [rdi + 0x1aa8], rax
movzx eax, byte [rdi + 0x1a77]
mov byte [rdi + 0x1aa1], al
mov eax, dword [rdi + 0x2e80]
movss dword [rdi + 0x1ab4], xmm1
mov dword [rdi + 0x1a9c], ecx
mov dword [rdi + 0x1a6c], esi
mov byte [rdi + 0x1a78], sil
mov byte [rdi + 0x1aa0], sil
mov byte [rdi + 0x1a74], sil
test eax, eax
je 0x1400260c4
cmp ecx, eax
je 0x1400260c4
mov dword [rdi + 0x2e80], esi
mov eax, dword [rdi + 0x1f04]
lea rcx, [rdi + 0xca0]
lea rdx, [rdi + 0x4a0]
mov dword [rdi + 0x1f08], eax
mov r8d, 0x800
mov qword [rdi + 0x1f00], 0x7f7fffff
mov byte [rdi + 0x1e95], sil
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x140074328]
lea rcx, [rdi + 0x145]
lea rax, [rdi + 0x4a4]
mov edx, 0x80
cmp byte [rcx - 1], sil
je 0x140026132
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x14002612b
movaps xmm0, xmm6
jmp 0x140026135
addss xmm0, dword [rdi + 0x18]
jmp 0x140026135
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], sil
je 0x140026154
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x14002614d
movaps xmm0, xmm6
jmp 0x140026157
addss xmm0, dword [rdi + 0x18]
jmp 0x140026157
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], sil
je 0x140026177
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x140026170
movaps xmm0, xmm6
jmp 0x14002617a
addss xmm0, dword [rdi + 0x18]
jmp 0x14002617a
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], sil
je 0x14002619b
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x140026194
movaps xmm0, xmm6
jmp 0x14002619e
addss xmm0, dword [rdi + 0x18]
jmp 0x14002619e
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub rdx, 1
jne 0x140026116
call fcn.14002fc10
call fcn.140024e60
movsxd rax, dword [rdi + 0x312c]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x2f4c]
addss xmm0, dword [rdi + 0x3130]
movss dword [rdi + 0x3130], xmm0
movss dword [rdi + rax*4 + 0x2f4c], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x312c]
movss xmm1, dword [rdi + 0x3130]
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 + 0x312c], ecx
jbe 0x140026239
divss xmm1, dword [0x1400742e8]
movss xmm0, dword [0x140074250]
divss xmm0, xmm1
jmp 0x140026241
movss xmm0, dword [0x14007431c]
movss dword [rdi + 0x3a4], xmm0
call fcn.140025750
call fcn.1400249e0
mov r10, qword [0x14036e540]
movsxd rax, dword [r10 + 0x1b60]
test eax, eax
jle 0x14002629b
mov r8, qword [r10 + 0x1b68]
lea rdx, [rax - 1]
lea rcx, [rdx + rdx*2]
add r8, 8
shl rcx, 4
add r8, rcx
nop
mov rax, qword [r8]
test rax, rax
je 0x140026291
test dword [rax + 0xc], 0x8000000
jne 0x1400262b1
sub r8, 0x30
sub rdx, 1
jns 0x140026280
cmp qword [rdi + 0x1bc8], rsi
je 0x1400262d0
movss xmm0, dword [rdi + 0x1be4]
comiss xmm0, xmm6
jbe 0x1400262d0
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x140074290]
addss xmm1, dword [rdi + 0x1d38]
minss xmm1, dword [0x140074250]
jmp 0x1400262ed
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x1400742a0]
movss xmm1, dword [rdi + 0x1d38]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1d38], xmm1
mov dword [rdi + 0x1e90], esi
mov qword [rdi + 0x3138], 0xffffffffffffffff
mov dword [rdi + 0x3134], 0xffffffff
mov dword [rdi + 0x2ec4], 0x3f800000
mov dword [rdi + 0x2ec8], 0x3f800000
call fcn.140025200
mov r8, qword [rdi + 0x1b80]
test r8, r8
je 0x140026363
cmp byte [r8 + 0x7e], sil
je 0x140026363
test dword [r8 + 0xc], 0x40000
jne 0x140026363
cmp byte [rdi + 0x140], sil
jne 0x140026363
mov ecx, dword [r10 + 0x3c]
test ecx, ecx
js 0x140026363
call fcn.140027b30
test al, al
je 0x140026363
mov al, 1
jmp 0x140026365
xor al, al
mov byte [rdi + 0x1cd8], al
cmp dword [rdi + 0x1a68], esi
jne 0x1400263c5
test al, al
je 0x1400263c5
mov qword [rdi + 0x1cc0], r8
mov dword [rdi + 0x1cd0], 0x7fffffff
cmp dword [rdi + 0x1b88], esi
je 0x1400263b4
mov eax, dword [rdi + 0x1bf0]
cmp eax, 0x7fffffff
je 0x1400263b4
cmp byte [rdi + 0x141], sil
cmovne r14d, esi
add r14d, eax
mov dword [rdi + 0x1cd4], r14d
jmp 0x1400263c5
movzx eax, byte [rdi + 0x141]
neg al
sbb ecx, ecx
mov dword [rdi + 0x1cd4], ecx
mov r8, qword [rdi + 0x1cc0]
mov r14, qword [rsp + 0x60]
mov qword [rdi + 0x1cb8], rsi
mov dword [rdi + 0x1ccc], 0x7fffffff
mov dword [rdi + 0x1cc8], 0x7fffffff
test r8, r8
je 0x14002645f
mov eax, dword [rdi + 0x1cd0]
mov qword [rdi + 0x1cb8], r8
cmp eax, 0x7fffffff
je 0x14002641e
mov ecx, dword [r8 + 0x178]
cmp ecx, 0xffffffff
je 0x14002641e
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1cc8], edx
mov eax, dword [rdi + 0x1cd4]
cmp eax, 0x7fffffff
je 0x140026444
mov ecx, dword [r8 + 0x17c]
cmp ecx, 0xffffffff
je 0x140026444
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1ccc], edx
mov qword [rdi + 0x1cc0], rsi
mov dword [rdi + 0x1cd4], 0x7fffffff
mov dword [rdi + 0x1cd0], 0x7fffffff
mov r8d, esi
mov dword [rdi + 0x1bf0], 0x7fffffff
cmp dword [rdi + 0x19c8], esi
je 0x1400264b5
mov rdx, rsi
nop word [rax + rax]
mov rax, qword [rdi + 0x19d0]
lea rdx, [rdx + 8]
inc r8d
mov rcx, qword [rdx + rax - 8]
movzx eax, byte [rcx + 0x7e]
mov byte [rcx + 0x7f], al
mov word [rcx + 0x88], si
mov byte [rcx + 0x7e], sil
mov byte [rcx + 0x80], sil
cmp r8d, dword [rdi + 0x19c8]
jne 0x140026480
mov rax, qword [rdi + 0x1b80]
test rax, rax
je 0x140026522
cmp byte [rax + 0x7f], sil
jne 0x140026522
movsxd rax, dword [r10 + 0x19d8]
test eax, eax
jle 0x14002651b
lea r9, [rax - 1]
mov rax, qword [r10 + 0x19e0]
lea r10, [rax + r9*8]
mov r8, qword [r10]
test r8, r8
je 0x140026511
cmp byte [r8 + 0x7f], sil
je 0x140026511
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x1400266a5
sub r10, 8
sub r9, 1
jns 0x1400264e1
xor ecx, ecx
call fcn.14002cd00
mov ecx, dword [rdi + 0x19fc]
test ecx, ecx
jns 0x140026548
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x19f8]
test eax, eax
cmovg edx, eax
call fcn.140033160
mov dword [rdi + 0x19f8], esi
mov ecx, dword [rdi + 0x1b74]
test ecx, ecx
jns 0x140026574
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1b70]
test eax, eax
cmovg edx, eax
call fcn.140033490
mov dword [rdi + 0x1b70], esi
xor edx, edx
mov rcx, qword [rdi + 0x1b80]
call fcn.14002e2f0
mov r8, qword [0x14036e540]
cmp byte [r8 + 0x2f44], 0
mov dword [r8 + 0x2f48], esi
mov rsi, qword [rsp + 0x58]
je 0x140026657
mov ebx, dword [r8 + 0x1a5c]
mov dword [r8 + 0x1e90], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x1400265d4
call fcn.140027b30
test al, al
je 0x1400265d4
mov byte [r8 + 0x2f44], 0
movss xmm0, dword [r8 + 0x43c]
ucomiss xmm0, xmm6
jp 0x1400265f7
jne 0x1400265f7
test ebx, ebx
je 0x1400265f7
mov dword [r8 + 0x2f48], ebx
mov byte [r8 + 0x2f44], 0
or dword [r8 + 0x1ab8], 0x40
mov dword [r8 + 0x1b10], 0x3f19999a
call fcn.14002dea0
mov edx, ebx
lea rcx, [0x140073a98]
call fcn.140044230
lea rcx, [0x140073ab0]
call fcn.140044230
mov eax, 0x1620
lea rdx, [0x140073ad0]
test ebx, ebx
mov ecx, 0x1610
cmove ecx, eax
add rcx, qword [0x14036e540]
call fcn.1400442b0
call fcn.14002cc10
mov r8, qword [0x14036e540]
or dword [r8 + 0x1ab8], 2
lea rcx, [0x140073a88]
mov dword [r8 + 0x1ad8], 0x43c80000
xor edx, edx
mov dword [r8 + 0x1adc], 0x43c80000
mov dword [r8 + 0x1ac0], 4
xor r8d, r8d
call fcn.14002a960
mov rbx, qword [rsp + 0x68]
movaps xmm6, xmmword [rsp + 0x30]
mov byte [rdi + 2], 1
add rsp, 0x40
pop rdi
ret
mov rax, qword [r8 + 0x388]
test rax, rax
cmovne r8, rax
mov rcx, r8
jmp 0x14002651d