Function at 0x1400ac2f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [rcx + 0x10b54]
xor ebp, ebp
mov esi, edx
mov rbx, rcx
cmp eax, 0x2000
jg 0x1400ac3e6
mov ecx, dword [rcx + 0x10b50]
xor r8d, r8d
xor edx, edx
call fcn.14014f67c
mov r8d, dword [rbx + 0x10b54]
mov rdx, qword [rbx + 0x10b18]
mov ecx, dword [rbx + 0x10b50]
call fcn.14014e9e0
movsxd rcx, dword [rbx + 0x10b54]
mov dword [rbx + 0x10b28], eax
cmp eax, ecx
jne 0x1400ac3af
mov rdx, qword [rbx + 0x10b18]
lea rax, [rcx - 0x16]
add rax, rdx
mov qword [rbx + 0x10b20], rax
cmp rax, rdx
jb 0x1400ac3af
cmp byte [rax], 0x50
jne 0x1400ac395
mov r8d, 4
lea rdx, [0x1401efd78]
mov rcx, rax
call fcn.1401437e0
test eax, eax
je 0x1400ac3cf
mov rax, qword [rbx + 0x10b20]
dec rax
mov qword [rbx + 0x10b20], rax
cmp rax, qword [rbx + 0x10b18]
jae 0x1400ac377
cmp dword [rbx + 0x44], 0
jne 0x1400ac7e3
cmp dword [rbx + 0x18], 0
jne 0x1400ac7e3
lea rdi, [rbx + 0xb08]
jmp 0x1400ac815
mov eax, dword [rbx + 0x10b18]
sub eax, dword [rbx + 0x10b20]
add dword [rbx + 0x10b28], eax
jmp 0x1400ac603
mov edi, eax
and edi, 0x80001fff
jge 0x1400ac3fa
dec edi
or edi, 0xffffe000
inc edi
sub eax, edi
cmp edi, 0x12
jle 0x1400ac4ee
mov ecx, dword [rcx + 0x10b50]
xor r8d, r8d
mov edx, eax
call fcn.14014f67c
mov rdx, qword [rbx + 0x10b18]
mov r8d, edi
mov ecx, dword [rbx + 0x10b50]
mov dword [rbx + 0x10b58], eax
call fcn.14014e9e0
mov dword [rbx + 0x10b28], eax
cmp eax, edi
jne 0x1400ac3af
mov rdx, qword [rbx + 0x10b18]
movsxd rax, edi
add rax, 0xffffffffffffffea
add rax, rdx
mov qword [rbx + 0x10b20], rax
cmp rax, rdx
jb 0x1400ac4bb
nop dword [rax + rax]
cmp byte [rax], 0x50
jne 0x1400ac47e
mov r8d, 4
lea rdx, [0x1401efd78]
mov rcx, rax
call fcn.1401437e0
test eax, eax
je 0x1400ac49d
mov rax, qword [rbx + 0x10b20]
dec rax
mov qword [rbx + 0x10b20], rax
mov rdx, qword [rbx + 0x10b18]
cmp rax, rdx
jae 0x1400ac460
jmp 0x1400ac4bb
mov eax, dword [rbx + 0x10b18]
mov ebp, 1
sub eax, dword [rbx + 0x10b20]
add dword [rbx + 0x10b28], eax
mov rdx, qword [rbx + 0x10b18]
movzx eax, word [rdx]
sub esi, edi
mov rcx, qword [rbx + 0x10b68]
mov word [rcx], ax
movzx eax, byte [rdx + 2]
mov byte [rcx + 2], al
lea eax, [rsi + 0x1fff]
cdq
and edx, 0x1fff
lea esi, [rdx + rax]
sar esi, 0xd
test ebp, ebp
jne 0x1400ac603
jmp 0x1400ac509
sub esi, edi
mov dword [rcx + 0x10b58], eax
lea eax, [rsi + 0x1fff]
cdq
and edx, 0x1fff
lea esi, [rdx + rax]
sar esi, 0xd
mov edi, 1
nop
cmp edi, esi
jg 0x1400ac3af
add dword [rbx + 0x10b58], 0xffffe000
xor r8d, r8d
mov edx, dword [rbx + 0x10b58]
mov ecx, dword [rbx + 0x10b50]
call fcn.14014f67c
mov rdx, qword [rbx + 0x10b18]
mov r8d, 0x2000
mov ecx, dword [rbx + 0x10b50]
call fcn.14014e9e0
mov dword [rbx + 0x10b28], eax
cmp eax, 0x2000
jne 0x1400ac5fb
mov rdx, qword [rbx + 0x10b18]
lea rax, [rdx + 0x1fff]
mov qword [rbx + 0x10b20], rax
cmp rax, rdx
jb 0x1400ac5db
nop dword [rax]
cmp byte [rax], 0x50
jne 0x1400ac59e
mov r8d, 4
lea rdx, [0x1401efd78]
mov rcx, rax
call fcn.1401437e0
test eax, eax
je 0x1400ac5bd
mov rax, qword [rbx + 0x10b20]
dec rax
mov qword [rbx + 0x10b20], rax
mov rdx, qword [rbx + 0x10b18]
cmp rax, rdx
jae 0x1400ac580
jmp 0x1400ac5db
mov eax, dword [rbx + 0x10b18]
mov ebp, 1
sub eax, dword [rbx + 0x10b20]
add dword [rbx + 0x10b28], eax
mov rdx, qword [rbx + 0x10b18]
movzx eax, word [rdx]
inc edi
mov rcx, qword [rbx + 0x10b68]
mov word [rcx], ax
movzx eax, byte [rdx + 2]
mov byte [rcx + 2], al
test ebp, ebp
je 0x1400ac510
jmp 0x1400ac603
test ebp, ebp
je 0x1400ac3af
mov eax, dword [rbx + 0x10b20]
lea rbp, [rsp + 0x28]
sub eax, dword [rbx + 0x10b18]
add eax, dword [rbx + 0x10b58]
mov qword [rsp + 0x78], r14
mov r14d, reloc.WS2_32.dll_shutdown
mov dword [rbx + 0x98], eax
mov esi, r14d
mov eax, dword [rbx + 0x10b28]
test eax, eax
jg 0x1400ac67c
mov rdx, qword [rbx + 0x10b18]
mov r8d, 0x2000
mov ecx, dword [rbx + 0x10b50]
call fcn.14014e9e0
mov dword [rbx + 0x10b28], eax
test eax, eax
je 0x1400ac7d4
js 0x1400ac7b1
mov rcx, qword [rbx + 0x10b18]
add dword [rbx + 0x10b58], 0x2000
mov qword [rbx + 0x10b20], rcx
mov rdx, qword [rbx + 0x10b20]
cmp esi, eax
mov ecx, esi
cmovae ecx, eax
mov edi, ecx
mov r8d, ecx
mov rcx, rbp
call fcn.140133600
sub dword [rbx + 0x10b28], edi
add rbp, rdi
add qword [rbx + 0x10b20], rdi
mov eax, dword [rbx + 0x10b28]
sub esi, edi
jne 0x1400ac634
movzx ecx, byte [rsp + 0x2d]
movzx eax, byte [rsp + 0x2c]
movzx r8d, byte [rsp + 0x37]
movzx edx, byte [rsp + 0x3b]
shl cx, 8
or cx, ax
shl r8d, 8
movzx eax, byte [rsp + 0x2e]
mov word [rbx + 0x10bb8], cx
movzx ecx, byte [rsp + 0x2f]
shl cx, 8
or cx, ax
shl edx, 8
movzx eax, byte [rsp + 0x30]
mov word [rbx + 0x10bba], cx
movzx ecx, byte [rsp + 0x31]
shl cx, 8
or cx, ax
movzx eax, byte [rsp + 0x32]
mov word [rbx + 0x10bbc], cx
movzx ecx, byte [rsp + 0x33]
shl cx, 8
or cx, ax
movzx eax, byte [rsp + 0x36]
add r8d, eax
mov word [rbx + 0x10bbe], cx
movzx eax, byte [rsp + 0x35]
movzx ecx, byte [rsp + 0x3d]
shl r8d, 8
add r8d, eax
shl cx, 8
movzx eax, byte [rsp + 0x34]
shl r8d, 8
add r8d, eax
movzx eax, byte [rsp + 0x3a]
add edx, eax
mov dword [rbx + 0x10bc0], r8d
movzx eax, byte [rsp + 0x39]
shl edx, 8
add edx, eax
movzx eax, byte [rsp + 0x38]
shl edx, 8
add edx, eax
movzx eax, byte [rsp + 0x3c]
or cx, ax
mov dword [rbx + 0x10bc4], edx
mov word [rbx + 0x10bc8], cx
lea eax, [rdx + r8]
mov dword [rbx + 0x9c], eax
xor eax, eax
mov r14, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401312c0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov r9d, 0x401
lea rdx, str.error:__zipfile_read_error_n
mov r8d, 0x1b
mov rcx, rbx
call qword [rbx + 0x10df0]
mov eax, gethostbyname
jmp 0x1400ac78f
sub r14d, esi
jne 0x1400ac6b1
lea eax, [r14 + 0x33]
jmp 0x1400ac78f
mov r8, qword [rbx + 0x10b48]
lea rdi, [rbx + 0xb08]
mov rcx, rdi
lea rdx, str.__s__n
call fcn.1400ab2c0
mov r8d, eax
mov r9d, 0x401
mov rdx, rdi
mov rcx, rbx
call qword [rbx + 0x10df0]
lea rdx, str.__End_of_central_directory_signature_not_found.__Either_this_file_is_not_n__a_zipfile__or_it_constitutes_one_disk_of_a_multi_part_archive.__In_the_n__latter_case_the_central_directory_and_zipfile_comment_will_be_found_on_n__the_last_disk_s__of_this_archive._n
mov rcx, rdi
call fcn.1400ab2c0
mov r8d, eax
mov r9d, 0x401
mov rdx, rdi
mov rcx, rbx
call qword [rbx + 0x10df0]
mov eax, 2
jmp 0x1400ac794