Function at 0x1800691a0
Capabilities:
Compress data via zlib inflate or deflate
Resolve function by parsing pe exports

Disassembly:
push rbp
push r13
push r15
sub rsp, 0x70
mov r13, qword [rcx + 0x28]
mov r15, rcx
test r13, r13
je 0x18006ab62
mov r9, qword [rcx + 0x10]
mov qword [rsp + 0x38], r9
test r9, r9
je 0x18006ab62
mov rbp, qword [rcx]
test rbp, rbp
jne 0x1800691dd
cmp dword [rcx + 8], ebp
jne 0x18006ab62
cmp dword [r13], 0xb
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r14
jne 0x180069200
mov dword [r13], recv
mov r10d, dword [rcx + 0x18]
mov eax, dword [r13]
mov esi, dword [rcx + 8]
mov r12d, dword [r13 + 0x40]
mov edi, dword [r13 + 0x44]
xor r14d, r14d
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0xa0], r10d
mov dword [rsp + 0x34], esi
mov r8d, r10d
mov dword [rsp + 0x90], r10d
mov dword [rsp + 0x98], r14d
cmp eax, 0x1c
ja case.default.0x18006926c
lea rdx, [0x180000000]
lea r11, str.unknown_compression_method
lea rbx, str.invalid_bit_length_repeat
nop dword [rax + rax]
cdqe
mov ecx, dword [rdx + rax*4 + 0x6ab74]
add rcx, rdx
jmp rcx
mov edx, dword [r13 + 8]
test edx, edx
jne 0x180069283
mov dword [r13], recv
jmp 0x18006a75a
cmp edi, 0x10
jae 0x1800692a8
test esi, esi
je 0x18006aa4b
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x10
jb 0x180069288
test dl, 2
je 0x18006930f
cmp r12d, 0x8b1f
jne 0x18006930f
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18006f8e0
lea rdx, [rsp + 0xa8]
mov r8d, 2
mov ecx, eax
mov byte [rsp + 0xa8], 0x1f
mov byte [rsp + 0xa9], 0x8b
mov dword [r13 + 0x18], eax
call fcn.18006f8f0
mov r9, qword [rsp + 0x38]
mov r10d, dword [rsp + 0xa0]
mov dword [r13 + 0x18], eax
mov r12d, r14d
mov edi, r14d
mov dword [r13], 1
jmp 0x18006a75a
mov rax, qword [r13 + 0x20]
mov dword [r13 + 0x10], r14d
test rax, rax
je 0x180069323
mov dword [rax + 0x40], 0xffffffff
test byte [r13 + 8], 1
je 0x1800693ec
movzx ecx, r12b
mov eax, r12d
shr eax, 8
shl ecx, 8
add ecx, eax
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x1f
cmp ecx, eax
jne 0x1800693ec
mov eax, r12d
and al, 0xf
cmp al, 8
je 0x180069374
mov qword [r15 + 0x20], r11
mov dword [r13], 0x1b
jmp 0x18006a75a
shr r12d, 4
add edi, 0xfffffffc
mov ecx, r12d
and ecx, 0xf
add ecx, 8
cmp ecx, dword [r13 + 0x28]
jbe 0x1800693a2
lea rax, str.invalid_window_size
mov dword [r13], 0x1b
mov qword [r15 + 0x20], rax
jmp 0x18006a75a
mov eax, 1
xor r8d, r8d
xor edx, edx
shl eax, cl
xor ecx, ecx
mov dword [r13 + 0x14], eax
call fcn.18006f0e0
mov r9, qword [rsp + 0x38]
mov r10d, dword [rsp + 0xa0]
shr r12d, 8
mov dword [r13 + 0x18], eax
not r12d
mov dword [r15 + 0x4c], eax
mov edi, r14d
and r12d, 2
or r12d, 9
mov dword [r13], r12d
mov r12d, r14d
jmp 0x18006a75a
lea rax, str.incorrect_header_check
mov dword [r13], 0x1b
mov qword [r15 + 0x20], rax
jmp 0x18006a75a
cmp edi, 0x10
jae 0x180069430
nop dword [rax]
test esi, esi
je 0x18006aa3a
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x10
jb 0x180069410
mov dword [r13 + 0x10], r12d
cmp r12b, 8
je 0x18006944b
mov qword [r15 + 0x20], r11
mov dword [r13], 0x1b
jmp 0x18006a75a
test r12d, 0xe000
je 0x18006946c
lea rax, str.unknown_header_flags_set
mov dword [r13], 0x1b
mov qword [r15 + 0x20], rax
jmp 0x18006a75a
mov rcx, qword [r13 + 0x20]
test rcx, rcx
je 0x180069480
mov eax, r12d
shr eax, 8
and eax, 1
mov dword [rcx], eax
bt dword [r13 + 0x10], 9
jae 0x1800694b7
mov ecx, dword [r13 + 0x18]
mov byte [rsp + 0xa8], r12b
shr r12d, 8
lea rdx, [rsp + 0xa8]
mov r8d, 2
mov byte [rsp + 0xa9], r12b
call fcn.18006f8f0
mov dword [r13 + 0x18], eax
mov r12d, r14d
mov edi, r14d
mov dword [r13], 2
jmp 0x1800694d0
cmp edi, 0x20
jae 0x1800694f0
nop dword [rax]
test esi, esi
je 0x18006aa29
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x20
jb 0x1800694d0
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x1800694fd
mov dword [rax + 4], r12d
bt dword [r13 + 0x10], 9
jae 0x18006954e
mov ecx, dword [r13 + 0x18]
mov eax, r12d
mov byte [rsp + 0xa8], r12b
shr eax, 8
lea rdx, [rsp + 0xa8]
mov r8d, 4
mov byte [rsp + 0xa9], al
mov eax, r12d
shr r12d, 0x18
shr eax, 0x10
mov byte [rsp + 0xab], r12b
mov byte [rsp + 0xaa], al
call fcn.18006f8f0
mov dword [r13 + 0x18], eax
mov r12d, r14d
mov edi, r14d
mov dword [r13], 3
jmp 0x180069563
cmp edi, 0x10
jae 0x180069583
test esi, esi
je 0x18006aa18
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x10
jb 0x180069563
mov rcx, qword [r13 + 0x20]
test rcx, rcx
je 0x1800695a0
movzx eax, r12b
mov dword [rcx + 8], eax
mov rax, qword [r13 + 0x20]
mov ecx, r12d
shr ecx, 8
mov dword [rax + 0xc], ecx
bt dword [r13 + 0x10], 9
jae 0x1800695d7
mov ecx, dword [r13 + 0x18]
mov byte [rsp + 0xa8], r12b
shr r12d, 8
lea rdx, [rsp + 0xa8]
mov r8d, 2
mov byte [rsp + 0xa9], r12b
call fcn.18006f8f0
mov dword [r13 + 0x18], eax
mov r12d, r14d
mov edi, r14d
mov dword [r13], 4
bt dword [r13 + 0x10], 0xa
jae 0x180069662
cmp edi, 0x10
jae 0x180069612
test esi, esi
je 0x18006aa07
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x10
jb 0x1800695f2
mov rax, qword [r13 + 0x20]
mov dword [r13 + 0x48], r12d
test rax, rax
je 0x180069623
mov dword [rax + 0x18], r12d
bt dword [r13 + 0x10], 9
jae 0x18006965a
mov ecx, dword [r13 + 0x18]
mov byte [rsp + 0xa8], r12b
shr r12d, 8
lea rdx, [rsp + 0xa8]
mov r8d, 2
mov byte [rsp + 0xa9], r12b
call fcn.18006f8f0
mov dword [r13 + 0x18], eax
mov r12d, r14d
mov edi, r14d
jmp 0x18006966f
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x18006966f
mov qword [rax + 0x10], r14
mov dword [r13], 5
bt dword [r13 + 0x10], 0xa
jae 0x180069704
mov ecx, dword [r13 + 0x48]
cmp ecx, esi
mov ebx, ecx
cmova ebx, esi
test ebx, ebx
je 0x1800696f9
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x1800696c9
mov r9, qword [rax + 0x10]
test r9, r9
je 0x1800696c9
mov edx, dword [rax + 0x18]
sub edx, ecx
mov ecx, dword [rax + 0x1c]
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x1800696b7
sub ecx, edx
jmp 0x1800696b9
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, rbp
add rcx, r9
call fcn.1800785c0
bt dword [r13 + 0x10], 9
jae 0x1800696ee
test rbp, rbp
jne 0x1800696db
mov eax, r14d
jmp 0x1800696ea
mov ecx, dword [r13 + 0x18]
mov r8d, ebx
mov rdx, rbp
call fcn.18006f8f0
mov dword [r13 + 0x18], eax
mov eax, ebx
sub esi, ebx
add rbp, rax
sub dword [r13 + 0x48], ebx
cmp dword [r13 + 0x48], 0
jne 0x18006a9f6
mov dword [r13 + 0x48], r14d
mov dword [r13], 6
bt dword [r13 + 0x10], 0xb
jae 0x18006979f
test esi, esi
je 0x18006a9e5
mov r8, rbp
nop word [rax + rax]
mov rax, qword [r13 + 0x20]
movzx ebx, byte [r8]
inc r14d
inc r8
test rax, rax
je 0x18006975c
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x18006975c
mov ecx, dword [r13 + 0x48]
cmp ecx, dword [rax + 0x28]
jae 0x18006975c
mov byte [rcx + rdx], bl
inc dword [r13 + 0x48]
test ebx, ebx
je 0x180069765
cmp r14d, esi
jb 0x180069730
bt dword [r13 + 0x10], 9
jae 0x180069789
test rbp, rbp
jne 0x180069776
xor eax, eax
jmp 0x180069785
mov ecx, dword [r13 + 0x18]
mov r8d, r14d
mov rdx, rbp
call fcn.18006f8f0
mov dword [r13 + 0x18], eax
mov eax, r14d
sub esi, r14d
add rbp, rax
test ebx, ebx
jne 0x18006a9d4
xor r14d, r14d
jmp 0x1800697ac
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x1800697ac
mov qword [rax + 0x20], r14
mov dword [r13 + 0x48], r14d
mov dword [r13], 7
bt dword [r13 + 0x10], 0xc
jae 0x18006983f
test esi, esi
je 0x18006a9c0
mov r8, rbp
nop dword [rax + rax]
mov rax, qword [r13 + 0x20]
movzx ebx, byte [r8]
inc r14d
inc r8
test rax, rax
je 0x1800697fc
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x1800697fc
mov ecx, dword [r13 + 0x48]
cmp ecx, dword [rax + 0x38]
jae 0x1800697fc
mov byte [rcx + rdx], bl
inc dword [r13 + 0x48]
test ebx, ebx
je 0x180069805
cmp r14d, esi
jb 0x1800697d0
bt dword [r13 + 0x10], 9
jae 0x180069829
test rbp, rbp
jne 0x180069816
xor eax, eax
jmp 0x180069825
mov ecx, dword [r13 + 0x18]
mov r8d, r14d
mov rdx, rbp
call fcn.18006f8f0
mov dword [r13 + 0x18], eax
mov eax, r14d
sub esi, r14d
add rbp, rax
test ebx, ebx
jne 0x18006a9ac
xor r14d, r14d
jmp 0x18006984c
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x18006984c
mov qword [rax + 0x30], r14
mov r9, qword [rsp + 0x38]
mov r10d, dword [rsp + 0xa0]
mov dword [r13], 8
bt dword [r13 + 0x10], 9
jae 0x1800698b8
cmp edi, 0x10
jae 0x180069890
nop
test esi, esi
je 0x18006a998
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x10
jb 0x180069870
movzx eax, word [r13 + 0x18]
cmp r12d, eax
je 0x1800698b2
lea rax, str.header_crc_mismatch
mov dword [r13], 0x1b
mov qword [r15 + 0x20], rax
jmp 0x18006a75a
mov r12d, r14d
mov edi, r14d
mov rcx, qword [r13 + 0x20]
test rcx, rcx
je 0x1800698d9
mov eax, dword [r13 + 0x10]
sar eax, 9
and eax, 1
mov dword [rcx + 0x3c], eax
mov rax, qword [r13 + 0x20]
mov dword [rax + 0x40], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18006f8e0
mov r9, qword [rsp + 0x38]
mov r10d, dword [rsp + 0xa0]
mov dword [r13 + 0x18], eax
mov dword [r15 + 0x4c], eax
mov dword [r13], reloc.WS2_32.dll_inet_addr
jmp 0x18006a75a
cmp edi, 0x20
jae 0x180069930
nop dword [rax]
test esi, esi
je 0x18006a984
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x20
jb 0x180069910
mov ecx, r12d
mov eax, r12d
mov edi, r14d
shl eax, 0x10
and ecx, 0xff00
mov dword [r13], 0xa
add ecx, eax
mov eax, r12d
shr r12d, 0x18
shr eax, 8
shl ecx, 8
and eax, 0xff00
add eax, ecx
add eax, r12d
mov r12d, r14d
mov dword [r13 + 0x18], eax
mov dword [r15 + 0x4c], eax
cmp dword [r13 + 0xc], 0
je 0x18006a78c
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18006f0e0
mov r9, qword [rsp + 0x38]
mov r10d, dword [rsp + 0xa0]
mov dword [r13 + 0x18], eax
mov dword [r15 + 0x4c], eax
mov dword [r13], reloc.WS2_32.dll_inet_addr
cmp dword [r13 + 4], 0
je 0x1800699c0
mov ecx, edi
mov dword [r13], 0x18
and ecx, 7
shr r12d, cl
sub edi, ecx
jmp 0x18006a75a
cmp edi, 3
jae 0x1800699e5
test esi, esi
je 0x18006a970
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 3
jb 0x1800699c5
mov eax, r12d
shr r12d, 1
dec edi
and eax, 1
mov dword [r13 + 4], eax
mov eax, r12d
and eax, 3
je 0x180069a78
sub eax, 1
je 0x180069a3e
sub eax, 1
je 0x180069a2a
cmp eax, 1
jne 0x180069a80
lea rax, str.invalid_block_type
shr r12d, 2
mov dword [r13], 0x1b
mov qword [r15 + 0x20], rax
add edi, 0xfffffffe
jmp 0x18006a75a
shr r12d, 2
mov dword [r13], recv
add edi, 0xfffffffe
jmp 0x18006a75a
lea rax, [0x1800f4ae0]
shr r12d, 2
mov dword [r13 + 0x68], 9
mov qword [r13 + 0x58], rax
lea rax, [0x1800f3ff0]
mov dword [r13 + 0x6c], 5
mov dword [r13], socket
add edi, 0xfffffffe
mov qword [r13 + 0x60], rax
jmp 0x18006a75a
mov dword [r13], recv
shr r12d, 2
add edi, 0xfffffffe
jmp 0x18006a75a
mov ecx, edi
and ecx, 7
sub edi, ecx
shr r12d, cl
cmp edi, 0x20
jae 0x180069ac0
nop dword [rax + rax]
test esi, esi
je 0x18006a95c
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x20
jb 0x180069aa0
mov eax, r12d
movzx ecx, r12w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x180069ae8
lea rax, str.invalid_stored_block_lengths
mov dword [r13], 0x1b
mov qword [r15 + 0x20], rax
jmp 0x18006a75a
mov dword [r13 + 0x48], ecx
mov r12d, r14d
mov edi, r14d
mov dword [r13], recv
mov r14d, dword [r13 + 0x48]
test r14d, r14d
je 0x180069b5a
cmp r14d, esi
cmova r14d, esi
cmp r14d, r10d
cmova r14d, r10d
test r14d, r14d
je 0x18006a948
mov r8d, r14d
mov rdx, rbp
mov rcx, r9
mov ebx, r14d
call fcn.1800785c0
mov r10d, dword [rsp + 0xa0]
mov r9, qword [rsp + 0x38]
sub r10d, r14d
sub esi, r14d
add r9, rbx
add rbp, rbx
sub dword [r13 + 0x48], r14d
mov dword [rsp + 0xa0], r10d
mov qword [rsp + 0x38], r9
jmp 0x18006a75a
mov dword [r13], reloc.WS2_32.dll_inet_addr
jmp 0x18006a75a
cmp edi, 0xe
jae 0x180069b90
nop dword [rax]
test esi, esi
je 0x18006a934
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0xe
jb 0x180069b70
mov ecx, r12d
shr r12d, 5
add edi, 0xfffffff2
mov edx, r12d
shr r12d, 5
and ecx, 0x1f
mov eax, r12d
and edx, 0x1f
add ecx, 0x101
and eax, 0xf
inc edx
shr r12d, 4
add eax, 4
mov dword [r13 + 0x74], ecx
mov dword [r13 + 0x78], edx
mov dword [r13 + 0x70], eax
cmp ecx, 0x11e
ja 0x180069cf4
cmp edx, 0x1e
ja 0x180069cf4
mov dword [r13 + 0x7c], r14d
mov dword [r13], reloc.WS2_32.dll_recv
lea rdx, [0x180000000]
mov eax, dword [r13 + 0x70]
cmp dword [r13 + 0x7c], eax
jae 0x180069c57
nop word [rax + rax]
cmp edi, 3
jae 0x180069c25
test esi, esi
je 0x18006a920
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 3
jb 0x180069c05
mov eax, dword [r13 + 0x7c]
movzx ecx, r12w
add edi, 0xfffffffd
movzx eax, word [rdx + rax*2 + 0xf4070]
and cx, 7
shr r12d, 3
mov word [r13 + rax*2 + 0x88], cx
inc dword [r13 + 0x7c]
mov eax, dword [r13 + 0x70]
cmp dword [r13 + 0x7c], eax
jb 0x180069c00
cmp dword [r13 + 0x7c], 0x13
jae 0x180069c80
nop
mov eax, dword [r13 + 0x7c]
movzx eax, word [rdx + rax*2 + 0xf4070]
mov word [r13 + rax*2 + 0x88], r14w
inc dword [r13 + 0x7c]
cmp dword [r13 + 0x7c], 0x13
jb 0x180069c60
lea rcx, [r13 + 0x68]
lea rax, [r13 + 0x548]
lea r9, [r13 + 0x80]
mov qword [r9], rax
mov qword [r13 + 0x58], rax
lea rax, [r13 + 0x308]
mov qword [rsp + 0x28], rax
mov dword [rcx], 7
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea rdx, [r13 + 0x88]
lea r8d, [rcx + 0x13]
call fcn.1800574c0
mov edx, eax
mov dword [rsp + 0x98], eax
test eax, eax
je 0x180069d0c
mov r9, qword [rsp + 0x38]
mov r10d, dword [rsp + 0xa0]
lea rax, str.invalid_code_lengths_set
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1b
jmp 0x18006a75a
lea rax, str.too_many_length_or_distance_symbols
mov dword [r13], 0x1b
mov qword [r15 + 0x20], rax
jmp 0x18006a75a
mov r10d, dword [rsp + 0xa0]
mov dword [r13 + 0x7c], r14d
mov dword [r13], socket
mov eax, dword [r13 + 0x78]
add eax, dword [r13 + 0x74]
cmp dword [r13 + 0x7c], eax
jae 0x180069f59
mov ecx, dword [r13 + 0x68]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [r13 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
mov dword [rsp + 0x30], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x180069da6
nop dword [rax]
test esi, esi
je 0x18006a8bc
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r13 + 0x68]
dec esi
add r12d, eax
mov eax, 1
inc rbp
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [r13 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
mov dword [rsp + 0x30], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x180069d60
mov ecx, eax
shr ecx, 0x10
cmp cx, 0x10
jae 0x180069e05
movzx edx, byte [rsp + 0x31]
shr eax, 8
movzx ecx, al
cmp edi, ecx
jae 0x180069de2
test esi, esi
je 0x18006a90c
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
movzx eax, dl
cmp edi, eax
jb 0x180069dc0
movzx eax, word [rsp + 0x32]
movzx ecx, dl
shr r12d, cl
sub edi, ecx
mov ecx, dword [r13 + 0x7c]
mov word [r13 + rcx*2 + 0x88], ax
inc dword [r13 + 0x7c]
jmp 0x180069f47
movzx eax, word [rsp + 0x32]
cmp ax, 0x10
jne 0x180069e74
movzx r8d, byte [rsp + 0x31]
lea edx, [r8 + 2]
cmp edi, edx
jae 0x180069e3f
nop
test esi, esi
je 0x18006a8f8
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, edx
jb 0x180069e20
mov eax, dword [r13 + 0x7c]
mov ecx, r8d
sub edi, r8d
shr r12d, cl
test eax, eax
je 0x180069fdd
mov edx, r12d
dec eax
shr r12d, 2
movzx r8d, word [r13 + rax*2 + 0x88]
and edx, 3
add edx, 3
add edi, 0xfffffffe
jmp 0x180069f16
cmp ax, 0x11
jne 0x180069ec9
movzx r9d, byte [rsp + 0x31]
lea edx, [r9 + 3]
cmp edi, edx
jae 0x180069ea7
test esi, esi
je 0x18006a8e4
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, edx
jb 0x180069e88
mov ecx, r9d
mov eax, 0xfffffffd
mov r8d, r14d
shr r12d, cl
sub eax, r9d
mov edx, r12d
shr r12d, 3
and edx, 7
add edx, 3
add edi, eax
jmp 0x180069f16
movzx r9d, byte [rsp + 0x31]
lea edx, [r9 + 7]
cmp edi, edx
jae 0x180069ef6
test esi, esi
je 0x18006a8d0
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, edx
jb 0x180069ed7
mov ecx, r9d
mov eax, 0xfffffff9
mov r8d, r14d
shr r12d, cl
sub eax, r9d
mov edx, r12d
shr r12d, 7
and edx, 0x7f
add edx, 0xb
add edi, eax
mov eax, dword [r13 + 0x7c]
lea ecx, [rdx + rax]
mov eax, dword [r13 + 0x78]
add eax, dword [r13 + 0x74]
cmp ecx, eax
ja 0x180069ff3
test edx, edx
je 0x180069f47
mov eax, dword [r13 + 0x7c]
mov word [r13 + rax*2 + 0x88], r8w
inc dword [r13 + 0x7c]
add edx, 0xffffffff
jne 0x180069f31
mov eax, dword [r13 + 0x78]
add eax, dword [r13 + 0x74]
cmp dword [r13 + 0x7c], eax
jb 0x180069d32
cmp dword [r13], 0x1b
je 0x18006a755
mov r8d, dword [r13 + 0x74]
lea rax, [r13 + 0x548]
lea r14, [r13 + 0x308]
mov qword [r13 + 0x80], rax
mov qword [r13 + 0x58], rax
lea rax, [r13 + 0x68]
lea rdx, [r13 + 0x88]
lea r9, [r13 + 0x80]
mov ecx, 1
mov qword [rsp + 0x28], r14
mov dword [rax], 9
mov qword [rsp + 0x20], rax
call fcn.1800574c0
mov dword [rsp + 0x98], eax
test eax, eax
je 0x18006a009
mov r9, qword [rsp + 0x38]
mov r10d, dword [rsp + 0xa0]
lea rax, str.invalid_literal_lengths_set
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1b
jmp 0x18006a75a
mov r9, qword [rsp + 0x38]
mov qword [r15 + 0x20], rbx
mov dword [r13], 0x1b
jmp 0x18006a75a
mov r9, qword [rsp + 0x38]
mov qword [r15 + 0x20], rbx
mov dword [r13], 0x1b
jmp 0x18006a75a
mov rax, qword [r13 + 0x80]
mov r8d, dword [r13 + 0x78]
lea rcx, [r13 + 0x6c]
mov qword [r13 + 0x60], rax
mov eax, dword [r13 + 0x74]
mov dword [rcx], 6
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea r9, [r13 + 0x80]
lea rdx, [r13 + rax*2 + 0x88]
mov ecx, 2
call fcn.1800574c0
mov dword [rsp + 0x98], eax
test eax, eax
je 0x18006a079
mov r9, qword [rsp + 0x38]
mov r10d, dword [rsp + 0xa0]
lea rax, str.invalid_distances_set
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1b
jmp 0x18006a75a
mov r9, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x90]
mov r10d, dword [rsp + 0xa0]
mov dword [r13], socket
cmp esi, 6
jb 0x18006a0ef
cmp r10d, 0x102
jb 0x18006a0ef
mov edx, r8d
mov rcx, r15
mov qword [r15 + 0x10], r9
mov dword [r15 + 0x18], r10d
mov qword [r15], rbp
mov dword [r15 + 8], esi
mov dword [r13 + 0x40], r12d
mov dword [r13 + 0x44], edi
call fcn.18006f3f0
mov r9, qword [r15 + 0x10]
mov r10d, dword [r15 + 0x18]
mov rbp, qword [r15]
mov esi, dword [r15 + 8]
mov r12d, dword [r13 + 0x40]
mov edi, dword [r13 + 0x44]
mov qword [rsp + 0x38], r9
mov dword [rsp + 0xa0], r10d
jmp 0x18006a75a
mov ecx, dword [r13 + 0x68]
mov r11, qword [r13 + 0x58]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov eax, dword [r11 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x18006a159
test esi, esi
je 0x18006a894
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r13 + 0x68]
dec esi
add r12d, eax
mov eax, 1
inc rbp
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [r13 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x18006a117
test al, al
je 0x18006a223
test al, 0xf0
jne 0x18006a223
mov r10d, eax
movzx ecx, al
mov dword [rsp + 0x30], eax
shr r10d, 8
mov r9d, 1
mov edx, eax
movzx r8d, r10b
shr eax, 0x10
add ecx, r8d
shl r9d, cl
mov ecx, r8d
dec r9d
and r9d, r12d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
movzx r11d, byte [rsp + 0x31]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, edi
jbe 0x18006a21a
movzx r10d, word [rsp + 0x32]
test esi, esi
je 0x18006a8a8
movzx eax, byte [rbp]
mov ecx, edi
movzx r9d, r11b
shl eax, cl
mov r8d, 1
movzx ecx, dl
add ecx, r9d
add r12d, eax
movzx eax, r10w
shl r8d, cl
mov ecx, r9d
add edi, 8
dec r8d
dec esi
inc rbp
and r8d, r12d
shr r8d, cl
add r8d, eax
mov rax, qword [r13 + 0x58]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, edi
ja 0x18006a1c0
movzx ecx, r11b
shr r12d, cl
sub edi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr r12d, cl
sub edi, ecx
mov ecx, eax
shr ecx, 0x10
mov dword [r13 + 0x48], ecx
test al, al
jne 0x18006a257
mov r9, qword [rsp + 0x38]
mov r10d, dword [rsp + 0xa0]
mov dword [r13], reloc.WS2_32.dll_socket
jmp 0x18006a75a
test al, 0x20
je 0x18006a275
mov r9, qword [rsp + 0x38]
mov r10d, dword [rsp + 0xa0]
mov dword [r13], reloc.WS2_32.dll_inet_addr
jmp 0x18006a75a
test al, 0x40
je 0x18006a29e
mov r9, qword [rsp + 0x38]
mov r10d, dword [rsp + 0xa0]
lea rax, str.invalid_literal_length_code
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1b
jmp 0x18006a75a
movzx ecx, al
mov dword [r13], reloc.WS2_32.dll_send
and ecx, 0xf
mov dword [r13 + 0x50], ecx
mov edx, dword [r13 + 0x50]
test edx, edx
je 0x18006a2f8
cmp edi, edx
jae 0x18006a2e1
nop dword [rax]
test esi, esi
je 0x18006a880
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, dword [r13 + 0x50]
jb 0x18006a2c0
mov ecx, edx
mov eax, 1
shl eax, cl
dec eax
and eax, r12d
shr r12d, cl
add dword [r13 + 0x48], eax
sub edi, edx
mov dword [r13], socket
mov ecx, dword [r13 + 0x6c]
mov r11, qword [r13 + 0x60]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov eax, dword [r11 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x18006a36a
test esi, esi
je 0x18006a858
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r13 + 0x6c]
dec esi
add r12d, eax
mov eax, 1
inc rbp
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [r13 + 0x60]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x18006a328
test al, 0xf0
jne 0x18006a433
mov r10d, eax
movzx ecx, al
mov dword [rsp + 0x30], eax
shr r10d, 8
mov r9d, 1
mov edx, eax
movzx r8d, r10b
shr eax, 0x10
add ecx, r8d
shl r9d, cl
mov ecx, r8d
dec r9d
and r9d, r12d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
movzx r11d, byte [rsp + 0x31]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, edi
jbe 0x18006a42a
movzx r10d, word [rsp + 0x32]
nop dword [rax]
test esi, esi
je 0x18006a86c
movzx eax, byte [rbp]
mov ecx, edi
movzx r9d, r11b
shl eax, cl
mov r8d, 1
movzx ecx, dl
add ecx, r9d
add r12d, eax
movzx eax, r10w
shl r8d, cl
mov ecx, r9d
add edi, 8
dec r8d
dec esi
inc rbp
and r8d, r12d
shr r8d, cl
add r8d, eax
mov rax, qword [r13 + 0x60]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, edi
ja 0x18006a3d0
movzx ecx, r11b
shr r12d, cl
sub edi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr r12d, cl
sub edi, ecx
test al, 0x40
je 0x18006a469
mov r9, qword [rsp + 0x38]
mov r10d, dword [rsp + 0xa0]
lea rax, str.invalid_distance_code
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1b
jmp 0x18006a75a
mov r9, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x90]
mov r10d, dword [rsp + 0xa0]
mov ecx, eax
mov dword [r13], reloc.WS2_32.dll_setsockopt
shr ecx, 0x10
mov dword [r13 + 0x4c], ecx
movzx ecx, al
and ecx, 0xf
mov dword [r13 + 0x50], ecx
mov edx, dword [r13 + 0x50]
test edx, edx
je 0x18006a4dd
cmp edi, edx
jae 0x18006a4c6
test esi, esi
je 0x18006a844
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, dword [r13 + 0x50]
jb 0x18006a4a5
mov ecx, edx
mov eax, 1
shl eax, cl
dec eax
and eax, r12d
shr r12d, cl
add dword [r13 + 0x4c], eax
sub edi, edx
mov eax, dword [r13 + 0x30]
sub eax, r10d
add eax, r8d
cmp dword [r13 + 0x4c], eax
jbe 0x18006a505
lea rax, str.invalid_distance_too_far_back
mov dword [r13], 0x1b
mov qword [r15 + 0x20], rax
jmp 0x18006a75a
mov dword [r13], socket
test r10d, r10d
je 0x18006a830
mov edx, dword [r13 + 0x4c]
mov eax, r8d
sub eax, r10d
cmp edx, eax
jbe 0x18006a550
sub edx, eax
mov eax, dword [r13 + 0x34]
cmp edx, eax
jbe 0x18006a53c
mov ecx, dword [r13 + 0x2c]
sub edx, eax
sub ecx, edx
add rcx, qword [r13 + 0x38]
jmp 0x18006a544
sub eax, edx
mov ecx, eax
add rcx, qword [r13 + 0x38]
mov eax, dword [r13 + 0x48]
cmp edx, eax
jbe 0x18006a55c
mov edx, eax
jmp 0x18006a55c
mov eax, dword [r13 + 0x48]
mov rcx, r9
sub rcx, rdx
mov edx, eax
cmp edx, r10d
cmova edx, r10d
sub r10d, edx
sub eax, edx
mov dword [r13 + 0x48], eax
mov dword [rsp + 0xa0], r10d
nop word [rax + rax]
movzx eax, byte [rcx]
inc r9
inc rcx
add edx, 0xffffffff
mov byte [r9 - 1], al
jne 0x18006a580
mov qword [rsp + 0x38], r9
cmp dword [r13 + 0x48], edx
jne 0x18006a75a
mov dword [r13], socket
jmp 0x18006a75a
test r10d, r10d
je 0x18006a81c
movzx eax, byte [r13 + 0x48]
inc r9
dec r10d
mov byte [r9 - 1], al
mov dword [rsp + 0xa0], r10d
mov qword [rsp + 0x38], r9
mov dword [r13], socket
jmp 0x18006a75a
cmp dword [r13 + 8], 0
je 0x18006a6e3
cmp edi, 0x20
jae 0x18006a610
test esi, esi
je 0x18006a808
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x20
jb 0x18006a5f0
sub r8d, r10d
add dword [r15 + 0x1c], r8d
add dword [r13 + 0x1c], r8d
test r8d, r8d
je 0x18006a676
cmp dword [r13 + 0x10], 0
je 0x18006a64f
mov eax, r8d
mov rdx, r9
sub rdx, rax
jne 0x18006a637
mov eax, r14d
jmp 0x18006a66e
mov ecx, dword [r13 + 0x18]
call fcn.18006f8f0
mov r9, qword [rsp + 0x38]
mov r10d, dword [rsp + 0xa0]
jmp 0x18006a66e
mov ecx, dword [r13 + 0x18]
mov eax, r8d
mov rdx, r9
sub rdx, rax
call fcn.18006f0e0
mov r9, qword [rsp + 0x38]
mov r10d, dword [rsp + 0xa0]
mov dword [r13 + 0x18], eax
mov dword [r15 + 0x4c], eax
cmp dword [r13 + 0x10], 0
mov ebx, r10d
mov dword [rsp + 0x90], ebx
je 0x18006a68c
mov ecx, r12d
jmp 0x18006a6b5
mov ecx, r12d
mov eax, r12d
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, r12d
shr eax, 8
shl ecx, 8
and eax, 0xff00
add ecx, eax
mov eax, r12d
shr eax, 0x18
add ecx, eax
cmp ecx, dword [r13 + 0x18]
je 0x18006a6d3
lea rax, str.incorrect_data_check
mov dword [r13], 0x1b
mov qword [r15 + 0x20], rax
jmp 0x18006a75a
mov r12d, r14d
mov edi, r14d
mov dword [r13], 0x19
jmp 0x18006a6fb
mov ebx, dword [rsp + 0x90]
mov dword [r13], 0x19
jmp 0x18006a6fb
mov ebx, dword [rsp + 0x90]
cmp dword [r13 + 8], 0
je 0x18006a7d1
cmp dword [r13 + 0x10], 0
je 0x18006a7d1
cmp edi, 0x20
jae 0x18006a736
test esi, esi
je 0x18006aa5c
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x20
jb 0x18006a716
cmp r12d, dword [r13 + 0x1c]
je 0x18006a7cb
lea rax, str.incorrect_length_check
mov dword [r13], 0x1b
mov qword [r15 + 0x20], rax
jmp 0x18006a75a
mov r9, qword [rsp + 0x38]
mov eax, dword [r13]
cmp eax, 0x1c
ja case.default.0x18006926c
mov r8d, dword [rsp + 0x90]
xor r14d, r14d
lea rdx, [0x180000000]
lea r11, str.unknown_compression_method
lea rbx, str.invalid_bit_length_repeat
jmp 0x180069260
mov qword [r15 + 0x10], r9
mov dword [r15 + 0x18], r10d
mov qword [r15], rbp
mov dword [r15 + 8], esi
mov dword [r13 + 0x40], r12d
mov dword [r13 + 0x44], edi
mov eax, 2
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x50]
mov r14, qword [rsp + 0x48]
add rsp, 0x70
pop r15
pop r13
pop rbp
ret
mov r12d, r14d
mov edi, r14d
mov dword [r13], 0x1a
mov r14d, 1
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, 1
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, 0xfffffffd
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov ebx, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
jmp 0x18006aa64
mov r14d, dword [rsp + 0x98]
cmp dword [r13 + 0x2c], 0
mov rax, qword [rsp + 0x38]
mov qword [r15], rbp
mov qword [r15 + 0x10], rax
mov eax, dword [rsp + 0xa0]
mov dword [r15 + 8], esi
mov dword [r13 + 0x40], r12d
mov dword [r13 + 0x44], edi
mov dword [r15 + 0x18], eax
jne 0x18006aa99
cmp dword [r13], 0x18
jge 0x18006aab9
cmp ebx, eax
je 0x18006aab9
mov edx, ebx
mov rcx, r15
call fcn.180069090
test eax, eax
je 0x18006aab9
mov dword [r13], 0x1c
mov eax, 0xfffffffc
jmp 0x18006a7a8
sub ebx, dword [r15 + 0x18]
mov eax, dword [rsp + 0x34]
sub eax, dword [r15 + 8]
add dword [r15 + 0x1c], ebx
add dword [r13 + 0x1c], ebx
add dword [r15 + 0xc], eax
cmp dword [r13 + 8], 0
je 0x18006ab1d
test ebx, ebx
je 0x18006ab1d
cmp dword [r13 + 0x10], 0
je 0x18006ab00
mov rdx, qword [r15 + 0x10]
mov eax, ebx
sub rdx, rax
jne 0x18006aaf2
xor eax, eax
jmp 0x18006ab15
mov ecx, dword [r13 + 0x18]
mov r8d, ebx
call fcn.18006f8f0
jmp 0x18006ab15
mov rdx, qword [r15 + 0x10]
mov ecx, dword [r13 + 0x18]
mov eax, ebx
sub rdx, rax
mov r8d, ebx
call fcn.18006f0e0
mov dword [r13 + 0x18], eax
mov dword [r15 + 0x4c], eax
mov eax, dword [r13 + 4]
mov edx, 0x80
neg eax
mov eax, 0
sbb ecx, ecx
and ecx, 0x40
cmp dword [r13], 0xb
cmove eax, edx
add ecx, eax
mov eax, 0xfffffffb
add ecx, dword [r13 + 0x44]
test r14d, r14d
cmove r14d, eax
mov dword [r15 + 0x48], ecx
mov eax, r14d
jmp 0x18006a7a8
mov eax, 0xfffffffe
jmp 0x18006a7a8
mov eax, 0xfffffffe
add rsp, 0x70
pop r15
pop r13
pop rbp
ret