Function at 0x140020580
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x1a0
mov rbx, rdx
movaps xmmword [rax - 0x68], xmm10
mov r15, rcx
lea rdx, [0x1400bc8f0]
mov rcx, rbx
movaps xmm10, xmm2
call fcn.140003360
mov rdi, rax
test rax, rax
je 0x14002088c
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 0x140020883
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140020883
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 0x140020883
mov rax, qword [0x14015ef10]
mov r14, rsi
test rax, rax
je 0x140020623
inc dword [rax + 0x3c8]
mov rdx, qword [0x14015ef00]
mov rcx, r14
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x140020883
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 0x140020686
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14015ef10]
test rax, rax
je 0x140020672
dec dword [rax + 0x3c8]
mov rdx, qword [0x14015ef00]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x14002088c
movaps xmmword [rsp + 0x190], xmm6
movaps xmmword [rsp + 0x180], xmm7
movaps xmmword [rsp + 0x170], xmm8
movaps xmmword [rsp + 0x160], xmm9
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
movss xmm1, dword [0x140128760]
xor ecx, ecx
xorps xmm0, xmm0
mov dword [rsp + 0x70], ecx
movups xmmword [rsp + 0x54], xmm0
xor eax, eax
mov byte [rsp + 0x78], cl
movss xmm0, dword [0x1401288c4]
xorps xmm2, xmm2
movups xmmword [rbp - 0x7c], xmm2
mov dword [rsp + 0x7c], ecx
movups xmm3, xmmword [rsp + 0x70]
mov qword [rbp - 0x5c], rax
movups xmmword [rbp - 0x6c], xmm2
mov qword [rsp + 0x30], rcx
movups xmm8, xmmword [rbp - 0x60]
mov dword [rsp + 0x38], ecx
shufps xmm3, xmm3, 0xe1
movss xmm3, xmm0
mov byte [rsp + 0x3c], 1
movups xmm0, xmmword [rbp - 0x80]
mov qword [rsp + 0x40], rcx
movups xmm4, xmmword [rsp + 0x30]
mov dword [rsp + 0x48], 3
movss xmm0, xmm1
shufps xmm3, xmm3, 0xe1
movups xmm1, xmmword [rbp - 0x70]
mov dword [rsp + 0x4c], 1
movups xmm5, xmmword [rsp + 0x40]
mov byte [rsp + 0x50], cl
movups xmm6, xmmword [rsp + 0x50]
mov qword [rsp + 0x68], rcx
movups xmm7, xmmword [rsp + 0x60]
mov qword [rbp - 0x50], rcx
movsd xmm9, qword [rbp - 0x50]
movd eax, xmm2
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp - 0x40], xmm4
movaps xmmword [rbp - 0x30], xmm5
movaps xmmword [rbp - 0x20], xmm6
movaps xmmword [rbp - 0x10], xmm7
movaps xmmword [rbp], xmm3
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp + 0x30], xmm8
movsd qword [rbp + 0x40], xmm9
movups xmmword [rsp + 0x70], xmm3
movups xmmword [rbp - 0x80], xmm0
test al, al
jne 0x140020815
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rbx + r9], cl
jne 0x140020794
add r9, rbx
cmp r9, rbx
jbe 0x1400207cb
nop word [rax + rax]
movzx ecx, byte [r9 - 1]
lea rax, [r9 - 1]
cmp cl, 0x2f
je 0x1400207cb
cmp cl, 0x5c
je 0x1400207cb
mov r9, rax
cmp rax, rbx
ja 0x1400207b0
xorps xmm0, xmm0
lea r8, str._s___.0fpx
cvtss2sd xmm0, xmm10
mov edx, Ordinal_41
lea rcx, [rbp + 0x14]
movsd qword [rsp + 0x20], xmm0
call fcn.1400030f0
movaps xmm1, xmmword [rbp + 0x20]
movaps xmm0, xmmword [rbp + 0x10]
movaps xmm3, xmmword [rbp]
movaps xmm5, xmmword [rbp - 0x30]
movaps xmm4, xmmword [rbp - 0x40]
movsd xmm9, qword [rbp + 0x40]
movaps xmm8, xmmword [rbp + 0x30]
movaps xmm7, xmmword [rbp - 0x10]
movaps xmm6, xmmword [rbp - 0x20]
movaps xmmword [rsp + 0x30], xmm4
lea rdx, [rsp + 0x30]
movaps xmmword [rsp + 0x40], xmm5
mov rcx, r15
movss dword [rsp + 0x44], xmm10
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x38], r14d
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x60], 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
call fcn.140020340
movaps xmm9, xmmword [rsp + 0x160]
movaps xmm8, xmmword [rsp + 0x170]
movaps xmm7, xmmword [rsp + 0x180]
movaps xmm6, xmmword [rsp + 0x190]
jmp 0x14002088e
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop rbp
ret