Function at 0x14001f430
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
movaps xmmword [rsp + 0x160], xmm10
mov rax, qword [0x14004d028]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r15, qword [rbp + 0x110]
mov rbx, rdx
mov r12, rcx
lea rdx, [0x14003f9a8]
mov rcx, rbx
movaps xmm10, xmm2
call fcn.1400027f0
mov rdi, rax
test rax, rax
je 0x14001f751
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001f748
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14001f748
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 0x14001f748
mov rax, qword [0x14004dfe0]
mov r14, rsi
test rax, rax
je 0x14001f4e4
inc dword [rax + 0x3c8]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14001f748
mov r9, rdi
mov r8, r14
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, r14
je 0x14001f53b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14004dfe0]
test rax, rax
je 0x14001f52d
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14001f751
movaps xmmword [rsp + 0x1a0], xmm6
movaps xmmword [rsp + 0x190], xmm7
movaps xmmword [rsp + 0x180], xmm8
movaps xmmword [rsp + 0x170], xmm9
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
movss xmm0, dword [0x140044220]
xor ecx, ecx
movss xmm1, dword [0x1400440e4]
xorps xmm2, xmm2
xor eax, eax
mov dword [rsp + 0x70], ecx
movups xmmword [rbp - 0x7c], xmm2
mov byte [rsp + 0x78], cl
mov dword [rsp + 0x7c], ecx
movaps xmm3, xmmword [rsp + 0x70]
shufps xmm3, xmm3, 0xe1
movss xmm3, xmm0
mov qword [rbp - 0x5c], rax
movaps xmm0, xmmword [rbp - 0x80]
movss xmm0, xmm1
mov qword [rsp + 0x5c], rcx
movups xmmword [rbp - 0x6c], xmm2
mov qword [rsp + 0x30], rcx
movaps xmm1, xmmword [rbp - 0x70]
movaps xmm8, xmmword [rbp - 0x60]
shufps xmm3, xmm3, 0xe1
movd eax, xmm2
mov dword [rsp + 0x38], ecx
mov byte [rsp + 0x3c], 1
movaps xmm5, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x4c], 1
movaps xmm6, xmmword [rsp + 0x40]
mov byte [rsp + 0x50], cl
mov qword [rsp + 0x54], rcx
movaps xmm7, xmmword [rsp + 0x50]
mov qword [rsp + 0x68], rcx
movaps xmm4, xmmword [rsp + 0x60]
mov qword [rbp - 0x50], rcx
movsd xmm9, qword [rbp - 0x50]
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp - 0x40], xmm5
movaps xmmword [rbp - 0x30], xmm6
movaps xmmword [rbp - 0x20], xmm7
movaps xmmword [rbp - 0x10], xmm4
movaps xmmword [rsp + 0x70], xmm3
movaps xmmword [rbp], xmm3
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp + 0x30], xmm8
movsd qword [rbp + 0x40], xmm9
test al, al
jne 0x14001f6c4
mov r9, 0xffffffffffffffff
nop dword [rax + rax]
inc r9
cmp byte [rbx + r9], cl
jne 0x14001f650
add r9, rbx
cmp r9, rbx
jbe 0x14001f67a
movzx eax, byte [r9 - 1]
lea rcx, [r9 - 1]
cmp al, 0x2f
je 0x14001f67a
cmp al, 0x5c
je 0x14001f67a
mov r9, rcx
cmp rcx, rbx
ja 0x14001f661
xorps xmm0, xmm0
lea r8, str._s___.0fpx
cvtss2sd xmm0, xmm10
mov edx, 0x28
lea rcx, [rbp + 0x14]
movsd qword [rsp + 0x20], xmm0
call fcn.140002610
movaps xmm1, xmmword [rbp + 0x20]
movaps xmm0, xmmword [rbp + 0x10]
movaps xmm3, xmmword [rbp]
movaps xmm4, xmmword [rbp - 0x10]
movaps xmm5, xmmword [rbp - 0x40]
movsd xmm9, qword [rbp + 0x40]
movaps xmm8, xmmword [rbp + 0x30]
movaps xmm7, xmmword [rbp - 0x20]
movaps xmm6, xmmword [rbp - 0x30]
movaps xmmword [rsp + 0x60], xmm4
lea rdx, [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm5
test r15, r15
psrldq xmm4, 8
mov rcx, r12
movq rax, xmm4
movaps xmmword [rsp + 0x40], xmm6
cmovne rax, r15
movss dword [rsp + 0x44], xmm10
mov qword [rsp + 0x68], rax
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [rsp + 0x70], xmm3
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm1
movaps xmmword [rbp - 0x60], xmm8
movsd qword [rbp - 0x50], xmm9
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x38], r14d
call fcn.14001f1b0
movaps xmm9, xmmword [rsp + 0x170]
movaps xmm8, xmmword [rsp + 0x180]
movaps xmm7, xmmword [rsp + 0x190]
movaps xmm6, xmmword [rsp + 0x1a0]
jmp 0x14001f753
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14003d330
movaps xmm10, xmmword [rsp + 0x160]
add rsp, 0x1b0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret