Function at 0x140039910
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb8]
sub rsp, 0x1b8
movaps xmmword [rsp + 0x170], xmm9
mov rax, qword [0x140136100]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r12, qword [rbp + 0x120]
mov rbx, rdx
mov r13, rcx
lea rdx, [0x14011c344]
mov rcx, rbx
mov r14, r9
movaps xmm9, xmm2
call fcn.140016240
mov rdi, rax
test rax, rax
je 0x140039c54
mov rcx, rax
call fcn.1400c7348
mov r15d, eax
cmp eax, 0xffffffff
je 0x140039c4c
xor edx, edx
mov r8d, 2
mov rcx, rdi
call fcn.1400c67e0
test eax, eax
jne 0x140039c4c
mov rcx, rdi
call fcn.1400c7348
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140039c4c
xor r8d, r8d
mov edx, r15d
mov rcx, rdi
call fcn.1400c67e0
test eax, eax
jne 0x140039c4c
cmp rsi, 0xffffffffffffffff
je 0x140039c4c
mov rax, qword [0x1403b61a0]
test rax, rax
je 0x1400399e4
inc dword [rax + 0xf0]
mov rcx, rsi
call fcn.1400cd140
mov r15, rax
test rax, rax
je 0x140039c4c
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call fcn.1400c6410
mov rcx, rdi
cmp rax, rsi
je 0x140039a37
call fcn.1400c1cec
mov rax, qword [0x1403b61a0]
test rax, rax
je 0x140039a2a
dec dword [rax + 0xf0]
mov rcx, r15
call fcn.1400c5ef4
jmp 0x140039c54
movaps xmmword [rsp + 0x1a0], xmm6
movaps xmmword [rsp + 0x190], xmm7
movaps xmmword [rsp + 0x180], xmm8
movaps xmmword [rsp + 0x160], xmm10
call fcn.1400c1cec
test r14, r14
je 0x140039a95
movaps xmm3, xmmword [r14]
movaps xmm4, xmmword [r14 + 0x10]
movaps xmm2, xmmword [r14 + 0x20]
movaps xmm5, xmmword [r14 + 0x30]
movaps xmm6, xmmword [r14 + 0x40]
movaps xmm1, xmmword [r14 + 0x50]
movaps xmm7, xmmword [r14 + 0x60]
movaps xmm8, xmmword [r14 + 0x70]
movsd xmm0, qword [r14 + 0x80]
jmp 0x140039b00
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x40], xmm2
mov qword [rbp - 0x50], rax
mov eax, 0xffff
movsd xmm0, qword [rbp - 0x50]
xorps xmm5, xmm5
movups xmmword [rbp - 0x80], xmm2
mov word [rbp - 0x7c], ax
movups xmmword [rsp + 0x30], xmm2
mov byte [rsp + 0x3c], 1
movaps xmm3, xmmword [rsp + 0x30]
xorps xmm7, xmm7
movups xmmword [rsp + 0x70], xmm2
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x4c], 1
xorps xmm8, xmm8
movaps xmm4, xmmword [rsp + 0x40]
mov dword [rsp + 0x74], 0x7f7fffff
movaps xmm6, xmmword [rsp + 0x70]
mov dword [rbp - 0x80], 0x3f800000
movaps xmm1, xmmword [rbp - 0x80]
movaps xmm10, xmm0
movsd qword [rbp + 0x40], xmm0
movdqa xmm0, xmm1
movaps xmmword [rbp - 0x40], xmm3
psrldq xmm0, 6
mov rdi, rsi
movd eax, xmm0
mov r14, r15
movaps xmmword [rbp - 0x30], xmm4
movaps xmmword [rbp - 0x20], xmm2
movaps xmmword [rbp - 0x10], xmm5
movaps xmmword [rbp], xmm6
movaps xmmword [rbp + 0x10], xmm1
movaps xmmword [rbp + 0x20], xmm7
movaps xmmword [rbp + 0x30], xmm8
test al, al
jne 0x140039bc5
mov r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp byte [rbx + r9], 0
jne 0x140039b50
add r9, rbx
cmp r9, rbx
jbe 0x140039b7b
movzx eax, byte [r9 - 1]
lea rcx, [r9 - 1]
cmp al, 0x2f
je 0x140039b7b
cmp al, 0x5c
je 0x140039b7b
mov r9, rcx
cmp rcx, rbx
ja 0x140039b62
xorps xmm0, xmm0
lea r8, str._s___.0fpx
cvtss2sd xmm0, xmm9
mov edx, 0x28
lea rcx, [rbp + 0x16]
movsd qword [rsp + 0x20], xmm0
call fcn.140015ff0
movaps xmm1, xmmword [rbp + 0x10]
movaps xmm5, xmmword [rbp - 0x10]
movaps xmm2, xmmword [rbp - 0x20]
movaps xmm4, xmmword [rbp - 0x30]
movaps xmm3, xmmword [rbp - 0x40]
movsd xmm10, qword [rbp + 0x40]
movaps xmm8, xmmword [rbp + 0x30]
movaps xmm7, xmmword [rbp + 0x20]
movaps xmm6, xmmword [rbp]
movaps xmmword [rsp + 0x30], xmm3
xorps xmm0, xmm0
comiss xmm9, xmm0
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], edi
movaps xmmword [rsp + 0x70], xmm6
movaps xmm6, xmmword [rsp + 0x1a0]
movaps xmmword [rbp - 0x70], xmm7
movaps xmm7, xmmword [rsp + 0x190]
movaps xmmword [rbp - 0x60], xmm8
movaps xmm8, xmmword [rsp + 0x180]
movsd qword [rbp - 0x50], xmm10
movaps xmm10, xmmword [rsp + 0x160]
movaps xmmword [rsp + 0x40], xmm4
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x60], xmm5
movaps xmmword [rbp - 0x80], xmm1
jbe 0x140039c2c
movss dword [rsp + 0x44], xmm9
mov rax, qword [rsp + 0x68]
lea rdx, [rsp + 0x30]
test r12, r12
mov rcx, r13
cmovne rax, r12
mov qword [rsp + 0x68], rax
call fcn.140039640
jmp 0x140039c56
mov rcx, rdi
call fcn.1400c1cec
xor eax, eax
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400bad30
movaps xmm9, xmmword [rsp + 0x170]
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret