Function at 0x1400c51b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push r13
push r14
push r15
sub rsp, 0x48
xor ebp, ebp
mov dword [rax + 0x18], 0xfffffffd
mov dword [rax + 0x20], ebp
mov rbx, rcx
mov rcx, qword [rcx + 0x68]
mov rax, 0xffffffffffffffff
mov r13, rdx
mov dword [rsp + 0x20], ebp
mov esi, ebp
inc rax
cmp byte [rcx + rax], sil
jne 0x1400c51e3
mov qword [rbx + 0x18], rax
lea r9, [rsp + 0x28]
cmp byte [rcx + rax - 1], 0x2f
lea r8, [rsp + 0x90]
mov rcx, qword [rbx + 0x48]
lea rdx, [rsp + 0x98]
mov r15d, ebp
mov qword [rsp + 0x88], rdi
sete r15b
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x24], r15d
call fcn.1400c6e10
mov r14d, eax
test eax, eax
je 0x1400c59b0
mov r12d, dword [rsp + 0x90]
mov dword [rsp + 0x90], r12d
cmp r12d, 0xfffffffd
je 0x1400c59b0
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x98], eax
cmp r12d, 0xfffffffe
jne 0x1400c5358
mov r15d, 1
mov dword [rsp + 0x90], ebp
mov dword [rsp + 0x24], r15d
mov r12d, ebp
mov ecx, 0xffff
mov dword [rbx + 0x40], ebp
mov word [rbx + 0x3a], cx
cmp qword [rbx + 0x20], rsi
je 0x1400c5299
mov rcx, qword [rbx + 0x50]
call fcn.140139270
cmp qword [rbx + 0x28], rsi
je 0x1400c52ae
mov rcx, qword [rbx + 0x58]
cmp qword [rbx + 0x50], rcx
je 0x1400c52ae
call fcn.140139270
mov r11, qword [str..Z:.zip:.zoo:.arc:.lzh:.arj]
mov qword [rbx + 0x58], rbp
mov qword [rbx + 0x50], rbp
mov qword [rbx + 0x28], rbp
mov qword [rbx + 0x20], rbp
mov dword [0x1402897a8], ebp
test r11, r11
je 0x1400c53a3
mov r9, qword [rbx + 0x48]
mov r8d, 1
mov rdx, 0xffffffffffffffff
lea rdi, [r9 - 1]
nop dword [rax]
inc rdx
cmp byte [r9 + rdx], sil
jne 0x1400c52f0
add rdx, rdi
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r11 + rax], sil
jne 0x1400c5303
lea r10, [r11 - 1]
add r10, rax
cmp r10, r11
jb 0x1400c539a
nop dword [rax]
movzx ecx, byte [r10]
lea eax, [rcx - 0x3a]
cmp al, 1
jbe 0x1400c5371
test r8d, r8d
je 0x1400c5350
cmp rdx, r9
jb 0x1400c5350
movzx eax, byte [rdx]
lea r8, [0x1402898e0]
movzx eax, byte [rax + r8]
cmp byte [rcx + r8], al
mov r8d, 1
je 0x1400c5353
mov r8d, ebp
dec rdx
jmp 0x1400c538d
shr eax, 4
and eax, 1
cmp r15d, eax
je 0x1400c527e
mov eax, 0xffffffff
jmp 0x1400c59b5
test r8d, r8d
jne 0x1400c539a
mov rdx, 0xffffffffffffffff
lea r8d, [rdx + 2]
inc rdx
cmp byte [r9 + rdx], sil
jne 0x1400c5381
add rdx, rdi
dec r10
cmp r10, r11
jae 0x1400c5320
test r8d, r8d
je 0x1400c53a3
mov dword [rsp + 0x80], ebp
jmp 0x1400c53b0
mov eax, dword [0x1401efd84]
mov dword [rsp + 0x80], eax
mov rax, qword [rbx + 0x48]
cmp byte [rax], 0x2d
jne 0x1400c53de
cmp byte [rax + 1], sil
jne 0x1400c53de
xor ecx, ecx
mov dword [0x14023e9a8], ebp
call fcn.140152ce4
test eax, eax
jne 0x1400c5433
mov edx, 0x8000
xor ecx, ecx
call fcn.140153d08
jmp 0x1400c5433
cmp dword [reloc.WS2_32.dll_accept], esi
je 0x1400c53f3
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1400c73e0
test r15d, r15d
je 0x1400c5410
mov dword [0x14023e9a8], 0xffffffff
mov ecx, ebp
mov r12d, ebp
mov dword [rsp + 0x90], ebp
jmp 0x1400c543a
mov rcx, qword [rbx + 0x48]
mov edx, 0x8000
mov r8d, 0x40
call fcn.140153424
mov dword [0x14023e9a8], eax
cmp eax, 0xffffffff
je 0x1400c59b0
mov ecx, dword [rsp + 0x80]
mov dword [rbx + 8], r14d
mov edx, 8
test r12d, r12d
jne 0x1400c544c
mov ecx, ebp
jmp 0x1400c5452
cmp ecx, 0xffffffff
cmove ecx, edx
mov r8d, dword [rbx + 0x80]
mov r12d, setsockopt
mov dword [rsp + 0x80], ecx
test r8d, r8d
je 0x1400c547c
cmp dword [0x1401fcf70], esi
mov eax, reloc.WS2_32.dll_socket
cmovne eax, r12d
jmp 0x1400c5481
mov eax, 0xb17
mov word [rbx], ax
test ecx, ecx
mov r9d, 0xa
mov dword [rbx + 0xc], ebp
mov eax, r12d
mov word [rbx + 4], dx
cmove ax, r9w
cmp qword [0x1401fcf88], rsi
mov word [rbx + 2], ax
mov r9d, 9
je 0x1400c54c0
mov eax, dword [rbx + 8]
movzx edx, r9w
shl eax, 0x10
mov dword [rbx + 0xc], eax
mov word [rbx + 4], r9w
mov word [rbx + 6], cx
test ecx, ecx
mov ecx, dword [rsp + 0x90]
mov word [rbx + 0x3c], dx
jne 0x1400c54d9
mov eax, ecx
test ecx, ecx
jns 0x1400c54db
mov eax, ebp
cmp ecx, 0xffffffff
mov dword [rbx + 0x10], eax
mov eax, ebp
mov word [rbx + 0x38], bp
cmovne eax, ecx
mov ecx, 0xffff
mov dword [rbx + 0x14], eax
cmp word [rbx + 0x3a], cx
jne 0x1400c5504
mov word [rbx + 0x3a], bp
mov dword [rsp + 0x20], 1
test r8d, r8d
je 0x1400c5513
movzx eax, byte [rsp + 0x98]
jmp 0x1400c5522
mov eax, dword [rbx + 0x40]
and eax, 0xff00
or eax, dword [rsp + 0x98]
mov dword [rbx + 0x40], eax
mov rdx, r13
mov eax, dword [0x1402899e8]
mov rcx, rbx
mov dword [rbx + 0x44], eax
call fcn.1400c90c0
mov edi, eax
test eax, eax
je 0x1400c5556
mov ecx, dword [0x14023e9a8]
cmp ecx, 0xffffffff
je 0x1400c554f
call fcn.140150320
mov eax, edi
jmp 0x1400c59b5
mov eax, dword [0x1402899e8]
mov ecx, dword [rbx + 0x18]
add eax, 0x1e
add ecx, dword [rbx + 0x20]
add ecx, eax
cmp qword [0x1401fcf88], rsi
mov dword [0x1402899e8], ecx
je 0x1400c558c
mov edx, dword [rbx + 0xc]
mov r8, r13
call fcn.1400caa10
add dword [rbx + 0x10], 0xc
add dword [0x1402899e8], 0xc
mov rcx, r13
call fcn.140155358
test eax, eax
jne 0x1400c59d0
mov rcx, r13
call fcn.14015690c
mov rcx, r13
mov r15d, eax
call fcn.140155358
test eax, eax
je 0x1400c55bb
mov rcx, r13
call fcn.1401569a4
cmp dword [rsp + 0x80], 8
mov dword [0x14023edb8], ebp
mov dword [0x14023e9a0], ebp
jne 0x1400c56b5
lea rdi, [rbx + 0x3a]
cmp dword [rsp + 0x20], esi
je 0x1400c55e7
mov eax, 0xffff
mov word [rdi], ax
lea rax, [fcn.1400c5a50]
mov qword [0x14023e998], r13
mov qword [str.PZ_f_], rax
lea rdx, [rsp + 0x80]
lea rax, [0x14023e9b0]
mov dword [0x14023f244], 0x400
mov rcx, rdi
mov qword [0x14023edf8], rax
mov dword [0x14023f250], ebp
mov dword [0x140250d84], 1
mov dword [0x14023fb54], ebp
mov dword [0x14023edf4], ebp
call fcn.1400cae10
mov ecx, dword [reloc.WS2_32.dll_getsockname]
lea rdx, [rbx + 4]
call fcn.1400c9f00
call fcn.1400ca630
mov esi, eax
cmp word [rdi], bp
jne 0x1400c5751
cmp dword [0x1401fcf4c], ebp
je 0x1400c5751
cmp dword [reloc.WS2_32.dll_accept], ebp
je 0x1400c5751
mov ecx, 2
call fcn.140146238
mov rcx, rax
lea r9, [0x14019528c]
lea r8, str._l_used_on_binary_file
lea rdx, str._tzip_warning:__s_s_n
call fcn.140056760
mov ecx, 2
call fcn.140146238
mov rcx, rax
call fcn.14015297c
jmp 0x1400c5751
cmp dword [rsp + 0x24], esi
jne 0x1400c5751
mov ecx, 0x4000
call fcn.14013b328
mov rsi, rax
test rax, rax
jne 0x1400c56d9
lea eax, [rsi + 4]
jmp 0x1400c59b5
mov edx, 0x4000
mov rcx, rsi
call fcn.1400c5a50
mov edi, eax
test eax, eax
je 0x1400c5743
nop dword [rax]
mov r9, r13
mov r8, rdi
mov rcx, rsi
call fcn.1400cad00
mov eax, eax
cmp rax, rdi
jne 0x1400c57db
cmp dword [0x1401fcf5c], ebp
je 0x1400c5730
mov ecx, 1
call fcn.140146238
mov rcx, rax
lea rdx, [0x1401d32f0]
mov r8d, 0x2e
call fcn.140056760
mov edx, 0x4000
mov rcx, rsi
call fcn.1400c5a50
mov edi, eax
test eax, eax
jne 0x1400c56f0
mov rcx, rsi
call fcn.140139270
mov esi, dword [0x14023edb8]
mov ecx, dword [0x14023e9a8]
cmp ecx, 0xffffffff
je 0x1400c5761
call fcn.140150320
mov edi, dword [0x1402899e8]
mov eax, dword [0x14023e9a0]
add edi, esi
cmp qword [0x1401fcf88], rbp
mov dword [0x1402899e8], edi
mov dword [rbx + 0xc], eax
mov dword [rbx + 0x10], esi
je 0x1400c578a
lea eax, [rsi + 0xc]
mov dword [rbx + 0x10], eax
mov eax, dword [0x14023edb8]
mov rcx, r13
mov dword [rbx + 0x14], eax
call fcn.14014e8e4
mov ecx, eax
call fcn.1401510ac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x1400c587a
mov edx, dword [rbx + 0x44]
xor r8d, r8d
mov rcx, r13
call fcn.140155730
test eax, eax
jne 0x1400c587a
mov r9d, edi
sub r9d, r15d
cmp r9d, esi
jne 0x1400c59f2
jmp 0x1400c57fd
mov ecx, dword [0x14023e9a8]
cmp ecx, 0xffffffff
je 0x1400c57eb
call fcn.140150320
mov rcx, rsi
call fcn.140139270
mov eax, 0xa
jmp 0x1400c59b5
mov eax, dword [rsp + 0x80]
test eax, eax
mov word [rbx + 6], ax
mov eax, 0xa
cmove r12w, ax
movzx eax, word [rbx + 4]
mov word [rbx + 2], r12w
test al, 1
jne 0x1400c582d
mov ecx, 0xfff7
and ax, cx
mov word [rbx + 4], ax
mov rdx, r13
mov word [rbx + 0x3c], ax
mov rcx, rbx
call fcn.1400c90c0
test eax, eax
jne 0x1400c59b5
xor r8d, r8d
mov edx, edi
mov rcx, r13
call fcn.140155730
test eax, eax
je 0x1400c585f
mov eax, reloc.WS2_32.dll_inet_addr
jmp 0x1400c59b5
test byte [rbx + 4], 1
je 0x1400c58be
mov rdx, r13
mov rcx, rbx
call fcn.1400c92c0
test eax, eax
jne 0x1400c59b5
jmp 0x1400c58b7
mov eax, dword [rsp + 0x80]
cmp word [rbx + 6], ax
jne 0x1400c5a15
test eax, eax
jne 0x1400c589c
cmp dword [rsp + 0x90], ebp
jl 0x1400c5a22
mov rdx, r13
mov rcx, rbx
call fcn.1400c92c0
test eax, eax
jne 0x1400c59b5
movzx eax, word [rbx + 0x3c]
mov word [rbx + 4], ax
add dword [0x1402899e8], 0x10
cmp qword [rbx + 0x20], rbp
je 0x1400c58db
mov rcx, qword [rbx + 0x50]
cmp rcx, qword [rbx + 0x58]
je 0x1400c58d7
call fcn.140139270
mov qword [rbx + 0x50], rbp
mov qword [rbx + 0x20], rbp
cmp dword [reloc.WS2_32.dll_accept], ebp
je 0x1400c5982
cmp dword [0x1401fcf5c], ebp
je 0x1400c590c
mov r8d, dword [0x14023edb8]
lea rdx, str._t_in_lu___out_lu_
mov rcx, qword [0x140289e68]
mov r9d, esi
call fcn.140056760
cmp dword [rsp + 0x80], 8
jne 0x1400c5963
mov ecx, dword [0x14023edb8]
cmp ecx, 0xffffff
jbe 0x1400c5930
sub ecx, 0xffffff80
sub esi, 0xffffff80
shr ecx, 8
shr esi, 8
cmp ecx, esi
jbe 0x1400c594b
xor edx, edx
mov eax, ecx
sub eax, esi
imul eax, eax, 0xc8
div ecx
inc eax
cdq
sub eax, edx
sar eax, 1
mov ebp, eax
mov rcx, qword [0x140289e68]
lea rdx, str.__deflated__d____n
mov r8d, ebp
call fcn.140056760
jmp 0x1400c5976
mov rcx, qword [0x140289e68]
lea rdx, str.__stored_0____n
call fcn.140056760
mov rcx, qword [0x140289e68]
call fcn.14015297c
mov rax, qword [0x1401fce20]
test rax, rax
je 0x1400c59ac
mov r8, qword [rax + 0x18]
test r8, r8
je 0x1400c59ac
mov edx, dword [0x14023edb8]
mov rcx, qword [rbx + 0x70]
call r8
test eax, eax
jne 0x1400c5a34
xor eax, eax
jmp 0x1400c59b5
mov eax, reloc.WS2_32.dll_select
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x88]
add rsp, 0x48
pop r15
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret
mov ecx, dword [0x14023e9a8]
cmp ecx, 0xffffffff
je 0x1400c59e0
call fcn.140150320
lea rdx, str.unexpected_error_on_zip_file
mov ecx, recv
call fcn.1400c0560
int3
mov rcx, qword [0x140289e68]
lea rdx, str._s_ld__actual_ld
mov r8d, esi
call fcn.140056760
lea rcx, str.incorrect_compressed_size
call fcn.1400c0770
int3
lea rcx, str.cant_rewrite_method
call fcn.1400c0770
int3
lea rdx, str.zip__0_not_supported_for_I_O_on_pipes_or_devices
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400c0560
int3
lea rdx, str.User_terminated_operation
mov ecx, 9
call fcn.1400c0560
int3