Function at 0x1400800d0
Capabilities:
Read file on windows

Disassembly:
push rbp
push r13
push r15
lea rbp, [rsp - 0x1010]
mov eax, 0x1110
call fcn.1400871d0
sub rsp, rax
movaps xmmword [rsp + 0x10f0], xmm6
movaps xmmword [rsp + 0x10e0], xmm7
mov rax, qword [0x14008fb98]
xor rax, rsp
mov qword [rbp + 0xfd0], rax
mov qword [rsp + 0x1130], rbx
mov r8d, 0x1000
mov qword [rsp + 0x1148], rdi
mov qword [rbp - 0x48], rdx
lea rdx, [0x140089520]
mov qword [rbp - 0x40], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x1108], r12
mov qword [rsp + 0x1100], r14
call sub.VCRUNTIME140.dll_memcpy
movdqa xmm0, xmmword [0x14008a560]
mov ecx, 0x1000
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], 0
movups xmm0, xmmword [rsp + 0x20]
mov dword [rsp + 0x38], 1
movups xmm6, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x48], xmm0
call fcn.140001fa0
mov r13, qword [rbp - 0x48]
lea rdi, str.file_read_error
movups xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x48]
mov dword [rsp + 0x34], 1
mov qword [rsp + 0x1140], rsi
movups xmmword [rsp + 0x68], xmm0
mov r12d, dword [rsp + 0x74]
movups xmm0, xmmword [rsp + 0x30]
mov r15, qword [rsp + 0x68]
movups xmmword [rsp + 0x78], xmm0
nop word [rax + rax]
mov r9, r13
lea rcx, [rbp - 0x30]
mov edx, 1
mov r8d, 0x1000
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r14, rax
test eax, eax
jg 0x1400802ab
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
je 0x140080242
mov ecx, 1
mov bl, 1
call fcn.140001fa0
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 4
movups xmm7, xmmword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
movups xmm6, xmmword [rsp + 0x58]
mov byte [rax], 0
xor eax, eax
mov byte [rbp - 0x50], 0
mov dword [rbp - 0x4f], eax
mov r14d, dword [rbp - 0x50]
jmp 0x1400802f2
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
je 0x1400802ab
mov ecx, 0x18
mov qword [rsp + 0x48], rdi
mov bl, 1
mov dword [rsp + 0x50], 0xf
mov qword [rsp + 0x54], 1
call fcn.140001fa0
movups xmm0, xmmword [rsp + 0x48]
mov qword [rsp + 0x20], rax
movsd xmm1, qword [rsp + 0x58]
movups xmmword [rax], xmm0
mov qword [rsp + 0x30], rax
movsd qword [rax + 0x10], xmm1
add rax, 0x10
mov qword [rsp + 0x38], rax
movups xmm6, xmmword [rsp + 0x30]
mov dword [rsp + 0x28], 3
movups xmm7, xmmword [rsp + 0x20]
jmp 0x140080230
movups xmm0, xmmword [0x140090220]
mov byte [rsp + 0x20], 0
movups xmm1, xmmword [0x140090230]
movups xmmword [rsp + 0x28], xmm0
movups xmm2, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x38], xmm1
movups xmm0, xmmword [rsp + 0x30]
unpckhpd xmm1, xmm1
movups xmmword [rbp - 0x68], xmm0
movups xmm6, xmmword [rbp - 0x60]
movups xmmword [rbp - 0x78], xmm2
movups xmm7, xmmword [rbp - 0x70]
unpcklpd xmm6, xmm1
movups xmmword [rbp - 0x60], xmm6
movd ebx, xmm2
test bl, bl
jne 0x1400803ad
cmp r14d, 1
jl 0x1400801d0
lea edx, [r14 + r12]
lea rcx, [rsp + 0x68]
call fcn.140002490
mov r15, qword [rsp + 0x68]
lea rax, [rbp - 0x30]
movsxd r12, dword [rsp + 0x74]
cmp r15, rax
jne 0x14008037d
test r15, r15
je 0x1400803a0
movsxd rsi, dword [rbp - 0x80]
movsxd rbx, dword [rsp + 0x78]
imul rbx, rsi
mov rcx, rbx
call fcn.140086b40
mov r8, rbx
mov rdx, r15
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r12
movsxd r8, r14d
imul rcx, rsi
imul r8, rsi
add rcx, r15
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
add r12d, r14d
lea rdi, str.file_read_error
mov dword [rsp + 0x74], r12d
jmp 0x1400801d0
test r15, r15
je 0x1400803a0
movsxd rax, dword [rbp - 0x80]
lea rdx, [rbp - 0x30]
mov rcx, r12
movsxd r8, r14d
imul rcx, rax
imul r8, rax
add rcx, r15
call sub.VCRUNTIME140.dll_memcpy
add r12d, r14d
mov dword [rsp + 0x74], r12d
jmp 0x1400801d0
mov r14, qword [rsp + 0x1100]
movdqa xmm0, xmm7
mov r12, qword [rsp + 0x1108]
mov rdi, qword [rsp + 0x1148]
mov rsi, qword [rsp + 0x1140]
mov rbx, qword [rsp + 0x1130]
mov r13, qword [rbp - 0x40]
psrldq xmm0, 8
movd eax, xmm0
cmp eax, 4
jne 0x14008043c
movups xmm0, xmmword [0x140090220]
mov byte [rsp + 0x20], 0
movups xmm2, xmmword [0x140090230]
movups xmmword [rsp + 0x28], xmm0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x38], xmm2
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [r13], xmm0
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [r13 + 0x10], xmm1
movups xmm1, xmmword [rsp + 0x78]
unpckhpd xmm2, xmm2
movsd qword [r13 + 0x20], xmm2
movups xmmword [r13 + 0x28], xmm0
movups xmmword [r13 + 0x38], xmm1
jmp 0x140080479
test r15, r15
je 0x14008044a
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movups xmmword [r13 + 8], xmm7
mov byte [r13], 1
xor eax, eax
movups xmmword [r13 + 0x18], xmm6
mov byte [r13 + 0x28], 0
xorps xmm0, xmm0
movups xmmword [r13 + 0x29], xmm0
mov qword [r13 + 0x39], rax
mov dword [r13 + 0x41], eax
mov word [r13 + 0x45], ax
mov byte [r13 + 0x47], al
mov rax, r13
mov rcx, qword [rbp + 0xfd0]
xor rcx, rsp
call fcn.140087230
movaps xmm6, xmmword [rsp + 0x10f0]
movaps xmm7, xmmword [rsp + 0x10e0]
add rsp, 0x1110
pop r15
pop r13
pop rbp
ret