Function at 0x1400c65d0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rcx
lea r8, [rbp - 0x11]
mov rcx, qword [0x140289e18]
lea rdx, [rbp - 0x19]
xor edi, edi
xor r9d, r9d
mov dword [rbp - 0x19], edi
call fcn.1400c59f0
lea rax, [0x1401fcf20]
mov qword [rbp - 0x11], rax
mov rcx, rbx
call fcn.140154828
cmp eax, 0xffffffff
je 0x1400c6639
cmp eax, 0x50
je 0x1400c6639
mov rcx, rbx
inc edi
call fcn.140154828
cmp eax, 0xffffffff
jne 0x1400c6625
mov edx, 3
mov byte [rbp - 9], al
mov r9, rbx
lea rcx, [rbp - 8]
lea r8d, [rdx - 2]
call fcn.140154fcc
cmp rax, 1
jne 0x1400c66c8
movzx eax, byte [rbp - 6]
shl ax, 8
movzx edx, ax
movzx eax, byte [rbp - 7]
or edx, eax
movzx eax, byte [rbp - 8]
shl ax, 8
shl edx, 0x10
movzx ecx, ax
movzx eax, byte [rbp - 9]
or edx, ecx
or edx, eax
cmp edx, 0x4034b50
je 0x1400c66c8
cmp edx, 0x6054b50
je 0x1400c66c8
mov edx, 0xfffffffd
mov rcx, rbx
lea r8d, [rdx + 4]
call fcn.1401543d0
test eax, eax
jne 0x1400c66aa
inc edi
jmp 0x1400c6618
mov rcx, rbx
call fcn.140153ff8
test eax, eax
mov ebx, 2
mov ecx, reloc.WS2_32.dll_inet_addr
cmovne ebx, ecx
mov eax, ebx
jmp 0x1400c6eba
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0xc8], r13
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x80], r15
mov dword [0x140289e48], edi
movzx eax, byte [rbp - 6]
shl ax, 8
movzx edx, ax
movzx eax, byte [rbp - 7]
or edx, eax
movzx eax, byte [rbp - 8]
shl ax, 8
shl edx, 0x10
movzx ecx, ax
movzx eax, byte [rbp - 9]
or edx, ecx
or edx, eax
cmp edx, 0x4034b50
jne 0x1400c6c37
mov r14d, dword [rbp - 0x19]
mov r15d, setsockopt
lea ecx, [r15 + 0x7c]
call fcn.140139fc8
mov rsi, rax
test rax, rax
je 0x1400c6ddf
mov rcx, qword [0x140289e30]
lea rax, [rcx + 1]
cmp rax, rcx
jb 0x1400c6ddf
mov r9, rbx
lea edx, [r15 + 6]
lea r8d, [r15 - 0x13]
lea rcx, [rbp - 9]
call fcn.140154fcc
cmp rax, 1
jne 0x1400c6e4e
movzx eax, byte [rbp - 9]
movzx ecx, byte [rbp - 8]
mov r8d, dword [0x1401fcf50]
mov dword [rsi + 0x80], r8d
shl cx, 8
or cx, ax
mov eax, 0xb17
mov word [rsi + 2], cx
test r8d, r8d
cmovne ax, r15w
mov word [rsi], ax
movzx eax, byte [rbp - 7]
movzx r13d, byte [rbp - 6]
shl r13w, 8
or r13w, ax
mov word [rsi + 0x3c], r13w
mov word [rsi + 4], r13w
movzx eax, byte [rbp - 5]
movzx ecx, byte [rbp - 4]
shl cx, 8
or cx, ax
mov word [rsi + 6], cx
movzx eax, byte [rbp]
shl ax, 8
movzx edx, ax
movzx eax, byte [rbp - 1]
or edx, eax
movzx eax, byte [rbp - 2]
shl ax, 8
movzx ecx, ax
movzx eax, byte [rbp - 3]
shl edx, 0x10
or edx, ecx
or edx, eax
mov dword [rsi + 8], edx
movzx eax, byte [rbp + 4]
shl ax, 8
movzx edx, ax
movzx eax, byte [rbp + 3]
or edx, eax
movzx eax, byte [rbp + 2]
shl ax, 8
movzx ecx, ax
movzx eax, byte [rbp + 1]
shl edx, 0x10
or edx, ecx
or edx, eax
mov dword [rsi + 0xc], edx
movzx eax, byte [rbp + 8]
shl ax, 8
movzx r15d, ax
movzx eax, byte [rbp + 7]
or r15d, eax
movzx eax, byte [rbp + 6]
shl ax, 8
movzx ecx, ax
movzx eax, byte [rbp + 5]
shl r15d, 0x10
or r15d, ecx
or r15d, eax
mov dword [rsi + 0x10], r15d
movzx eax, byte [rbp + 0xc]
shl ax, 8
movzx edx, ax
movzx eax, byte [rbp + 0xb]
or edx, eax
movzx eax, byte [rbp + 0xa]
shl ax, 8
movzx ecx, ax
movzx eax, byte [rbp + 9]
shl edx, 0x10
or edx, ecx
or edx, eax
mov dword [rsi + 0x14], edx
movzx eax, byte [rbp + 0xe]
shl ax, 8
movzx r12d, ax
movzx eax, byte [rbp + 0xd]
or r12, rax
mov qword [rsi + 0x18], r12
movzx eax, byte [rbp + 0x10]
shl ax, 8
movzx ecx, ax
movzx eax, byte [rbp + 0xf]
or rcx, rax
movzx eax, r14b
mov qword [rsi + 0x20], rcx
mov qword [rsi + 0x28], rcx
xor ecx, ecx
mov qword [rsi + 0x30], rcx
mov dword [rsi + 0x38], ecx
test r8d, r8d
jne 0x1400c68ce
mov eax, r14d
cmp dword [0x1401fcf64], 1
mov dword [rsi + 0x40], eax
mov rax, qword [rbp - 0x11]
cmovg r15d, ecx
mov qword [rsi + 0x78], rcx
mov qword [rsi + 0x60], rcx
mov qword [rsi + 0x58], rcx
mov qword [rsi + 0x50], rcx
mov qword [rsi + 0x68], rcx
mov qword [rsi + 0x48], rcx
mov qword [rsi + 0x70], rcx
mov qword [rax], rsi
lea rax, [rsi + 0x88]
mov qword [rbp - 0x11], rax
mov qword [rax], rcx
test r12, r12
je 0x1400c6de9
lea rcx, [r12 + 1]
call fcn.140139fc8
mov qword [rsi + 0x68], rax
test rax, rax
je 0x1400c6ddf
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400c6948
call fcn.140139fc8
mov qword [rsi + 0x50], rax
test rax, rax
je 0x1400c6ddf
mov rcx, qword [rsi + 0x68]
mov r9, rbx
mov r8d, 1
mov rdx, r12
call fcn.140154fcc
cmp rax, 1
jne 0x1400c6aca
mov rdx, qword [rsi + 0x20]
test rdx, rdx
je 0x1400c6989
mov rcx, qword [rsi + 0x50]
mov r9, rbx
mov r8, rax
call fcn.140154fcc
cmp rax, 1
jne 0x1400c6aca
test r15d, r15d
je 0x1400c69a7
mov r8d, 1
mov edx, r15d
mov rcx, rbx
call fcn.1401543d0
test eax, eax
jne 0x1400c6aca
mov rax, qword [rsi + 0x68]
mov rcx, 0xffffffffffffffff
mov byte [r12 + rax], 0
mov r14, qword [rsi + 0x68]
nop dword [rax + rax]
inc rcx
cmp byte [r14 + rcx], 0
jne 0x1400c69c0
inc rcx
call fcn.140139fc8
mov r8, rax
test rax, rax
je 0x1400c6dd9
mov rcx, rax
sub rcx, r14
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r14]
mov byte [r14 + rcx], al
lea r14, [r14 + 1]
test al, al
jne 0x1400c69f0
cmp dword [reloc.WS2_32.dll_accept], 0
mov rax, qword [rsi + 0x50]
mov qword [rsi + 0x58], rax
mov qword [rsi + 0x70], r8
mov qword [rsi + 0x48], r8
je 0x1400c6a2c
mov rcx, qword [0x140289e28]
lea rdx, str.zip:_reading__s_n
call fcn.1400560e0
inc qword [0x140289e30]
lea eax, [r12 + 0x1e]
add eax, r15d
mov dword [rsi + 0x44], edi
add eax, dword [rsi + 0x20]
add edi, eax
test r13b, 8
je 0x1400c6cbc
test r15d, r15d
jne 0x1400c6b58
mov rcx, rbx
call fcn.140154828
cmp eax, 0xffffffff
je 0x1400c6a68
cmp eax, 0x50
jne 0x1400c6a56
mov edx, recv
mov byte [rbp - 9], al
mov r9, rbx
lea rcx, [rbp - 8]
lea r8d, [rdx - 0xe]
call fcn.140154fcc
cmp rax, 1
jne 0x1400c6ae8
movzx eax, byte [rbp - 6]
shl ax, 8
movzx edx, ax
movzx eax, byte [rbp - 7]
or edx, eax
movzx eax, byte [rbp - 8]
shl ax, 8
shl edx, 0x10
movzx ecx, ax
movzx eax, byte [rbp - 9]
or edx, ecx
or edx, eax
cmp edx, 0x8074b50
je 0x1400c6ae8
mov edx, 0xfffffff1
mov rcx, rbx
lea r8d, [rdx + 0x10]
call fcn.1401543d0
test eax, eax
je 0x1400c6a56
mov rcx, rbx
call fcn.140153ff8
test eax, eax
mov ebx, 2
mov ecx, reloc.WS2_32.dll_inet_addr
cmovne ebx, ecx
mov eax, ebx
jmp 0x1400c6e92
movzx eax, byte [rbp + 2]
shl ax, 8
movzx r15d, ax
movzx eax, byte [rbp + 1]
or r15d, eax
movzx eax, byte [rbp]
shl ax, 8
movzx ecx, ax
movzx eax, byte [rbp - 1]
shl r15d, 0x10
or r15d, ecx
mov rcx, rbx
or r15d, eax
add edi, r15d
call fcn.1401555ac
mov ecx, eax
lea eax, [rdi + 0x10]
cmp ecx, eax
je 0x1400c6bbd
cmp dword [reloc.WS2_32.dll_accept], 0
mov rdi, qword [rsi + 0x70]
je 0x1400c6e47
mov ebx, 2
mov ecx, ebx
call fcn.14014a458
mov r9, rdi
lea r8, str.bad_extended_local_header_for
jmp 0x1400c6e29
xor r8d, r8d
mov edx, edi
mov rcx, rbx
call fcn.1401543d0
test eax, eax
jne 0x1400c6aca
mov r9, rbx
lea edx, [rax + 0x10]
lea r8d, [rax + 1]
lea rcx, [rbp - 9]
call fcn.140154fcc
cmp rax, 1
jne 0x1400c6aca
movzx eax, byte [rbp - 6]
shl ax, 8
movzx edx, ax
movzx eax, byte [rbp - 7]
or edx, eax
movzx eax, byte [rbp - 8]
shl ax, 8
shl edx, 0x10
movzx ecx, ax
movzx eax, byte [rbp - 9]
or edx, ecx
or edx, eax
cmp edx, 0x8074b50
jne 0x1400c6db0
movzx eax, byte [rbp - 2]
shl ax, 8
movzx edx, ax
movzx eax, byte [rbp - 3]
or edx, eax
movzx eax, byte [rbp - 4]
shl ax, 8
movzx ecx, ax
movzx eax, byte [rbp - 5]
shl edx, 0x10
or edx, ecx
mov dword [rsi + 0x10], r15d
or edx, eax
mov dword [rsi + 0xc], edx
movzx eax, byte [rbp + 6]
shl ax, 8
movzx edx, ax
movzx eax, byte [rbp + 5]
or edx, eax
movzx eax, byte [rbp + 4]
shl ax, 8
shl edx, 0x10
movzx ecx, ax
movzx eax, byte [rbp + 3]
or edx, ecx
or edx, eax
mov dword [rsi + 0x14], edx
add edi, 0x10
mov edx, 4
lea rcx, [rbp - 9]
mov r9, rbx
lea r8d, [rdx - 3]
call fcn.140154fcc
cmp rax, 1
je 0x1400c66f6
movzx eax, byte [rbp - 6]
shl ax, 8
movzx edx, ax
movzx eax, byte [rbp - 7]
or edx, eax
movzx eax, byte [rbp - 8]
shl ax, 8
shl edx, 0x10
movzx ecx, ax
movzx eax, byte [rbp - 9]
or edx, ecx
or edx, eax
cmp edx, 0x2014b50
je 0x1400c6e5b
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x1400c6e5b
cmp dword [0x1401fcf64], 1
lea rax, str.has_been
mov r8, qword [0x140289e18]
lea r9, str.would_be
mov rcx, qword [0x140289e28]
lea rdx, str.zip_warning:__s__s_truncated._n
cmovg r9, rax
call fcn.1400560e0
cmp dword [0x1401fcf64], 1
je 0x1400c6ed1
jmp 0x1400c6e5b
cmp dword [0x1401fcf64], 1
jle 0x1400c6c18
nop dword [rax]
mov rcx, rbx
call fcn.140154828
cmp eax, 0xffffffff
je 0x1400c6cf4
nop dword [rax]
cmp eax, 0x50
je 0x1400c6cf4
mov rcx, rbx
inc edi
call fcn.140154828
cmp eax, 0xffffffff
jne 0x1400c6ce0
mov edx, 3
mov byte [rbp - 9], al
mov r9, rbx
lea rcx, [rbp - 8]
lea r8d, [rdx - 2]
call fcn.140154fcc
cmp rax, 1
jne 0x1400c6d69
movzx eax, byte [rbp - 6]
shl ax, 8
movzx edx, ax
movzx eax, byte [rbp - 7]
or edx, eax
movzx eax, byte [rbp - 8]
shl ax, 8
shl edx, 0x10
movzx ecx, ax
movzx eax, byte [rbp - 9]
or edx, ecx
or edx, eax
cmp edx, 0x4034b50
je 0x1400c6d69
cmp edx, 0x2014b50
je 0x1400c6d69
mov edx, 0xfffffffd
mov rcx, rbx
lea r8d, [rdx + 4]
call fcn.1401543d0
test eax, eax
jne 0x1400c6aca
inc edi
jmp 0x1400c6cd0
mov r8d, dword [rsi + 0x10]
mov r14d, edi
sub r14d, r12d
sub r14d, dword [rsi + 0x44]
sub r14d, dword [rsi + 0x20]
add r14d, 0xffffffe2
cmp r14d, r8d
je 0x1400c66f6
mov rax, qword [rsi + 0x70]
lea rdx, str._compressed_size__ld__actual_size__ld_for__s_n
mov rcx, qword [0x140289e28]
mov r9d, r14d
mov qword [rsp + 0x20], rax
call fcn.1400560e0
mov dword [rsi + 0x10], r14d
jmp 0x1400c66f6
cmp dword [reloc.WS2_32.dll_accept], 0
mov rdi, qword [rsi + 0x70]
je 0x1400c6e47
mov ebx, 2
mov ecx, ebx
call fcn.14014a458
mov r9, rdi
lea r8, str.extended_local_header_not_found_for
jmp 0x1400c6e29
xor edi, edi
mov qword [rsi + 0x70], rdi
mov eax, 4
jmp 0x1400c6e92
mov r8d, dword [0x140289e30]
lea rdx, [0x1401d4560]
inc r8d
lea rcx, [0x1402899c0]
call fcn.1400ab2c0
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x1400c6e47
mov ebx, 2
mov ecx, ebx
call fcn.14014a458
lea r9, [0x1402899c0]
lea r8, str.zero_length_name_for_entry_
lea rdx, str._tzip_warning:__s_s_n
mov rcx, rax
call fcn.1400560e0
mov ecx, ebx
call fcn.14014a458
mov rcx, rax
call fcn.14015161c
mov eax, 3
jmp 0x1400c6e92
mov rcx, rsi
call fcn.140137f10
jmp 0x1400c6c37
mov r9d, dword [0x140289e48]
mov dword [0x140289e38], edi
test r9d, r9d
je 0x1400c6e90
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x1400c6e90
mov r8, qword [0x140289e18]
lea rdx, str._s:_adjusting_offsets_for_a_preamble_of__lu_bytes_n
mov rcx, qword [0x140289e28]
call fcn.1400560e0
xor eax, eax
mov r14, qword [rsp + 0x88]
mov r13, qword [rsp + 0xc8]
mov r12, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xb8]
mov r15, qword [rsp + 0x80]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401312c0
add rsp, 0x90
pop rdi
pop rbx
pop rbp
ret
mov rcx, qword [0x140289e28]
lea rdx, str.Retry_with_option__qF_to_truncate__with__FF_to_attempt_full_recovery_n
call fcn.1400560e0
xor edx, edx
lea ecx, [rdx + 3]
call fcn.1400bf140
int3