Function at 0x1400ac260
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xorps xmm0, xmm0
movzx r12d, r9b
mov rbp, r8
mov r13, rdx
mov rsi, rcx
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
test r8, r8
je 0x1400ac56f
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rax + r8], 0
jne 0x1400ac2a3
test rax, rax
je 0x1400ac56f
call fcn.1400a2c20
mov rcx, rax
mov rdx, rbp
call fcn.1400a5b10
mov rdi, rax
call fcn.1400a2c20
mov rcx, rax
lea rdx, [0x1400f8dc0]
call fcn.1400a5b10
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.1400ae450
mov rcx, rbx
mov r14, rax
call fcn.1400a59a0
mov rcx, rdi
call fcn.1400a59a0
test r14, r14
je 0x1400ac5b2
xor r15d, r15d
test r12b, r12b
je 0x1400ac3ef
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x80], r15
mov rcx, r14
call fcn.1400ae3c0
test eax, eax
je 0x1400ac391
call fcn.1400a3910
mov rdi, rax
test rax, rax
je 0x1400ac54e
mov rax, qword [rax]
lea edx, [r15 + 5]
mov rcx, rdi
call qword [rax + htons]
cmp eax, 2
jl 0x1400ac54e
mov rbx, qword [rdi]
call fcn.1400a3220
mov ecx, eax
call fcn.1400a3180
lea r9, str.static:_Failed_to_get_file_length._file:_s_error:_s
mov edx, 2
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov qword [rsp + 0x20], rbp
lea r8d, [rdx + 3]
call qword [rbx]
mov rcx, r14
call fcn.1400c4020
jmp 0x1400ac5b2
mov rax, qword [rsp + 0x80]
cmp rax, 0xffffffffffffffff
jb 0x1400ac3e9
mov ecx, 5
call fcn.1400a32b0
call fcn.1400a3910
mov rdi, rax
test rax, rax
je 0x1400ac54e
mov rax, qword [rax]
mov edx, 5
mov rcx, rdi
call qword [rax + htons]
cmp eax, 2
jl 0x1400ac54e
mov rbx, qword [rdi]
call fcn.1400a3220
mov ecx, eax
call fcn.1400a3180
lea r9, str.static:_File_too_large_to_read_into_memory._file:_s_error:_s
jmp 0x1400ac36c
lea r8, [rax + 1]
jmp 0x1400ac3f7
mov r8, qword [rsp + 0x90]
mov rdx, r13
mov rcx, rsi
call fcn.1400a3ed0
mov edi, 0x1000
mov r12d, 0x20
nop dword [rax]
mov rdx, qword [rsi + 0x10]
cmp qword [rsi], rdx
jne 0x1400ac437
cmp rdx, r12
mov rcx, rsi
cmovb rdx, r12
cmp rdx, rdi
cmova rdx, rdi
call fcn.1400a4310
test eax, eax
jne 0x1400ac510
mov rcx, qword [rsi]
mov r9, r14
mov r8, qword [rsi + 0x10]
mov edx, 1
sub r8, rcx
add rcx, qword [rsi + 8]
call fcn.1400c4b60
add qword [rsi], rax
mov rcx, r14
mov rbx, rax
call fcn.1400c40c0
test eax, eax
jne 0x1400ac4f6
test rbx, rbx
jne 0x1400ac410
mov rcx, r14
call fcn.1400c40f0
test eax, eax
je 0x1400ac481
call fcn.1400d17e0
mov r15d, dword [rax]
mov edx, 0x3a
mov ecx, r15d
call fcn.1400a34c0
call fcn.1400a3910
mov rdi, rax
test rax, rax
je 0x1400ac54e
mov rax, qword [rax]
mov edx, 5
mov rcx, rdi
call qword [rax + htons]
cmp eax, 2
jl 0x1400ac54e
mov rbx, qword [rdi]
call fcn.1400a3220
mov ecx, eax
call fcn.1400a3180
mov qword [rsp + 0x30], rax
lea r9, str.static:_Failed_reading_file:_s_errno:_d_aws_error:_s
mov edx, 2
mov dword [rsp + 0x28], r15d
mov rcx, rdi
mov qword [rsp + 0x20], rbp
lea r8d, [rdx + 3]
call qword [rbx]
mov rcx, r14
call fcn.1400c4020
jmp 0x1400ac5b2
mov rax, qword [rsi + 0x10]
cmp qword [rsi], rax
jne 0x1400ac558
mov edx, 1
mov rcx, rsi
call fcn.1400a4310
test eax, eax
je 0x1400ac558
call fcn.1400a3910
mov rbx, rax
test rax, rax
je 0x1400ac54e
mov rax, qword [rax]
mov edx, 5
mov rcx, rbx
call qword [rax + htons]
cmp eax, 2
jl 0x1400ac54e
mov rax, qword [rbx]
lea r9, str.static:_Failed_to_grow_buffer_for_file:_s
mov r8d, 5
mov qword [rsp + 0x20], rbp
mov rcx, rbx
lea edx, [r8 - 3]
call qword [rax]
mov rcx, r14
call fcn.1400c4020
jmp 0x1400ac5b2
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov byte [rcx + rax], r15b
mov rcx, r14
call fcn.1400c4020
xor eax, eax
jmp 0x1400ac5bf
call fcn.1400a3910
mov rbx, rax
test rax, rax
je 0x1400ac5a8
mov rax, qword [rax]
mov edx, 5
mov rcx, rbx
call qword [rax + htons]
cmp eax, 2
jl 0x1400ac5a8
mov r10, qword [rbx]
lea r9, str.static:_Failed_to_open_file._path_is_empty
mov edx, 2
mov rcx, rbx
lea r8d, [rdx + 3]
call qword [r10]
mov ecx, 0x2c
call fcn.1400a32b0
mov rcx, rsi
call fcn.1400a3df0
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret