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

Disassembly:
mov dword [rsp + 0x10], edx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x58
xor r14d, r14d
mov r15, rcx
test rcx, rcx
je 0x140063ec3
mov rbx, qword [rcx + 0x28]
test rbx, rbx
je 0x140063ec3
mov r9, qword [rcx + 0x10]
mov qword [rbp - 0x18], r9
test r9, r9
je 0x140063ec3
mov r12, qword [rcx]
mov qword [rbp - 0x20], r12
test r12, r12
jne 0x140063e2a
cmp dword [rcx + 8], r14d
jne 0x140063ec3
cmp dword [rbx], 0xb
jne 0x140063e44
mov dword [rbx], reloc.WS2_32.dll_inet_ntoa
mov r9, qword [rcx + 0x10]
mov r12, qword [rcx]
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x20], r12
mov r11d, dword [rcx + 0x18]
mov r10d, r11d
mov r13d, dword [rcx + 8]
mov esi, dword [rbx + 0x40]
mov edi, dword [rbx + 0x44]
mov dword [rbp - 0x24], r13d
mov dword [rbp + 0x48], r11d
mov dword [rbp + 0x50], r14d
mov dword [rbp + 0x60], r11d
mov eax, 7
mov ecx, dword [rbx]
cmp ecx, 0xf
jg 0x14006472e
je 0x14006453a
cmp ecx, eax
jg 0x1400644a7
je 0x1400643b0
test ecx, ecx
je 0x14006426d
sub ecx, 1
je 0x140063fd3
sub ecx, 1
je 0x140063f4e
sub ecx, 1
je 0x140063ed9
sub ecx, 1
je 0x140063f37
sub ecx, 1
je 0x140064102
cmp ecx, 1
je 0x1400641bc
mov eax, 0xfffffffe
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov edx, reloc.WS2_32.dll_recv
mov qword [rbp - 0x20], r12
cmp edi, edx
jb 0x140063fb1
mov rdx, qword [rbx + 0x20]
mov ecx, esi
shr ecx, 8
test rdx, rdx
je 0x140063f06
movzx eax, sil
mov dword [rdx + 8], eax
mov rax, qword [rbx + 0x20]
mov dword [rax + 0xc], ecx
test dword [rbx + 0x10], 0x200
je 0x140063f2b
mov byte [rbp + 0x59], cl
lea rdx, [rbp + 0x58]
mov ecx, dword [rbx + 0x18]
mov r8d, 2
mov byte [rbp + 0x58], sil
call fcn.1400657e4
mov dword [rbx + 0x18], eax
mov esi, r14d
mov dword [rbx], 4
mov edi, r14d
test dword [rbx + 0x10], 0x400
je 0x1400640ef
mov edx, reloc.WS2_32.dll_recv
jmp 0x1400640ab
mov qword [rbp - 0x20], r12
cmp edi, 0x20
jb 0x140064068
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x140063f67
mov dword [rax + 4], esi
test dword [rbx + 0x10], 0x200
je 0x140063fa0
mov ecx, dword [rbx + 0x18]
lea rdx, [rbp + 0x58]
mov eax, esi
mov byte [rbp + 0x58], sil
shr eax, 8
mov r8d, 4
mov byte [rbp + 0x59], al
mov eax, esi
shr eax, 0x10
shr esi, 0x18
mov byte [rbp + 0x5a], al
mov byte [rbp + 0x5b], sil
call fcn.1400657e4
mov dword [rbx + 0x18], eax
mov esi, r14d
mov dword [rbx], 3
mov edi, r14d
mov edx, reloc.WS2_32.dll_recv
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
dec r13d
add esi, eax
inc r12
add edi, 8
jmp 0x140063ede
mov edx, reloc.WS2_32.dll_recv
jmp 0x140063ffb
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
dec r13d
add edi, 8
cmp edi, edx
jb 0x140063fda
mov dword [rbx + 0x10], esi
cmp sil, 8
jne 0x14006433b
test esi, 0xe000
je 0x140064020
lea rax, str.unknown_header_flags_set
jmp 0x1400643a1
mov rdx, qword [rbx + 0x20]
mov ecx, esi
shr ecx, 8
mov eax, esi
test rdx, rdx
je 0x14006403a
mov eax, ecx
and eax, 1
mov dword [rdx], eax
mov eax, dword [rbx + 0x10]
bt eax, 9
jae 0x14006405c
mov byte [rbp + 0x59], cl
lea rdx, [rbp + 0x58]
mov ecx, dword [rbx + 0x18]
mov r8d, 2
mov byte [rbp + 0x58], sil
call fcn.1400657e4
mov dword [rbx + 0x18], eax
mov esi, r14d
mov dword [rbx], 2
mov edi, r14d
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
dec r13d
add esi, eax
inc r12
add edi, 8
jmp 0x140063f4e
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
dec r13d
add edi, 8
cmp edi, edx
jb 0x14006408a
mov rax, qword [rbx + 0x20]
mov dword [rbx + 0x48], esi
test rax, rax
je 0x1400640be
mov dword [rax + 0x18], esi
test dword [rbx + 0x10], 0x200
je 0x1400640e7
mov ecx, dword [rbx + 0x18]
lea rdx, [rbp + 0x58]
mov byte [rbp + 0x58], sil
mov r8d, 2
shr esi, 8
mov byte [rbp + 0x59], sil
call fcn.1400657e4
mov dword [rbx + 0x18], eax
mov esi, r14d
mov edi, r14d
jmp 0x1400640fc
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x1400640fc
mov qword [rax + 0x10], r14
mov dword [rbx], 5
mov ecx, dword [rbx + 0x10]
bt ecx, 0xa
jae 0x1400641b2
mov eax, dword [rbx + 0x48]
mov r14d, r13d
cmp eax, r13d
cmovbe r14d, eax
xor edx, edx
test r14d, r14d
je 0x1400641a7
mov r8, qword [rbx + 0x20]
mov r12d, eax
test r8, r8
je 0x140064170
mov r9, qword [r8 + 0x10]
test r9, r9
je 0x140064170
mov edx, dword [r8 + 0x18]
mov ecx, dword [r8 + 0x1c]
sub edx, eax
lea eax, [r14 + rdx]
cmp eax, ecx
jbe 0x140064152
sub ecx, edx
jmp 0x140064155
mov ecx, r14d
mov r8d, ecx
mov ecx, edx
mov rdx, qword [rbp - 0x20]
add rcx, r9
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov ecx, dword [rbx + 0x10]
xor edx, edx
mov r12d, dword [rbx + 0x48]
bt ecx, 9
jae 0x140064194
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x140064183
mov eax, edx
jmp 0x140064191
mov ecx, dword [rbx + 0x18]
mov r8d, r14d
mov rdx, rax
call fcn.1400657e4
mov dword [rbx + 0x18], eax
mov eax, r14d
sub r13d, r14d
add qword [rbp - 0x20], rax
mov eax, r12d
sub eax, r14d
mov dword [rbx + 0x48], eax
xor r14d, r14d
test eax, eax
jne 0x14006520c
mov dword [rbx + 0x48], r14d
mov dword [rbx], 6
test dword [rbx + 0x10], 0x800
mov r9, qword [rbp - 0x20]
je 0x140064251
test r13d, r13d
je 0x140065210
xor r8d, r8d
mov eax, r14d
inc r14d
mov r12b, byte [rax + r9]
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x140064204
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x140064204
mov ecx, dword [rbx + 0x48]
cmp ecx, dword [rax + 0x28]
jae 0x140064204
mov byte [rcx + rdx], r12b
inc dword [rbx + 0x48]
test r12b, r12b
je 0x14006420e
cmp r14d, r13d
jb 0x1400641d9
test dword [rbx + 0x10], 0x200
je 0x140064236
test r9, r9
jne 0x140064221
mov eax, r8d
jmp 0x14006422f
mov ecx, dword [rbx + 0x18]
mov r8d, r14d
mov rdx, r9
call fcn.1400657e4
mov r9, qword [rbp - 0x20]
mov dword [rbx + 0x18], eax
mov eax, r14d
sub r13d, r14d
add r9, rax
xor r14d, r14d
mov qword [rbp - 0x20], r9
test r12b, r12b
jne 0x140065210
jmp 0x14006425e
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14006425e
mov qword [rax + 0x20], r14
mov dword [rbx + 0x48], r14d
mov dword [rbx], 7
jmp 0x1400643b4
mov edx, dword [rbx + 8]
test edx, edx
jne 0x14006427f
mov dword [rbx], reloc.WS2_32.dll_inet_ntoa
jmp 0x140063e65
mov r8d, reloc.WS2_32.dll_recv
jmp 0x1400642a8
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
dec r13d
add edi, 8
cmp edi, r8d
jb 0x140064287
test dl, 2
je 0x1400642ef
cmp esi, 0x8b1f
jne 0x1400642ef
mov r8d, 2
mov dword [rbx + 0x18], r14d
lea rdx, [rbp + 0x58]
mov word [rbp + 0x58], si
xor ecx, ecx
call fcn.1400657e4
mov r10d, dword [rbp + 0x48]
mov esi, r14d
mov r11d, dword [rbp + 0x60]
mov edi, r14d
mov dword [rbx + 0x18], eax
mov dword [rbx], 1
jmp 0x140064bef
mov rax, qword [rbx + 0x20]
mov dword [rbx + 0x10], r14d
test rax, rax
je 0x140064303
or dword [rax + 0x40], 0xffffffff
mov edx, dword [rbx + 8]
test dl, 1
je 0x14006439a
movzx ecx, sil
mov eax, esi
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 0x14006439a
mov eax, esi
and al, 0xf
cmp al, 8
je 0x140064344
lea rax, str.unknown_compression_method
jmp 0x1400643a1
shr esi, 4
add edi, 0xfffffffc
mov ecx, esi
and ecx, 0xf
add ecx, 8
cmp dword [rbx + 0x28], r14d
jne 0x14006438c
mov dword [rbx + 0x28], ecx
shr esi, 8
mov eax, 1
not esi
shl eax, cl
and esi, 2
mov dword [rbx + 0x14], eax
or esi, 9
mov dword [rbx + 0x18], 1
mov dword [r15 + 0x4c], 1
mov edi, r14d
mov dword [rbx], esi
mov esi, r14d
jmp 0x140063e65
cmp ecx, dword [rbx + 0x28]
jbe 0x14006435b
lea rax, str.invalid_window_size
jmp 0x1400643a1
lea rax, str.incorrect_header_check
mov qword [r15 + 0x20], rax
mov dword [rbx], 0x1d
jmp 0x140063e65
mov r9, qword [rbp - 0x20]
test dword [rbx + 0x10], 0x1000
je 0x140064449
test r13d, r13d
je 0x140065210
xor r8d, r8d
mov eax, r14d
inc r14d
mov r12b, byte [rax + r9]
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x1400643f8
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x1400643f8
mov ecx, dword [rbx + 0x48]
cmp ecx, dword [rax + 0x38]
jae 0x1400643f8
mov byte [rcx + rdx], r12b
inc dword [rbx + 0x48]
test r12b, r12b
je 0x140064402
cmp r14d, r13d
jb 0x1400643cd
test dword [rbx + 0x10], 0x200
je 0x14006442e
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x140064419
mov eax, r8d
jmp 0x140064427
mov ecx, dword [rbx + 0x18]
mov r8d, r14d
mov rdx, rax
call fcn.1400657e4
mov r9, qword [rbp - 0x20]
mov dword [rbx + 0x18], eax
mov eax, r14d
sub r13d, r14d
add r9, rax
xor r14d, r14d
mov qword [rbp - 0x20], r9
test r12b, r12b
jne 0x140065210
jmp 0x140064456
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x140064456
mov qword [rax + 0x30], r14
mov r10d, dword [rbp + 0x48]
mov r11d, dword [rbp + 0x60]
mov dword [rbx], 8
mov edx, dword [rbx + 0x10]
bt edx, 9
jae 0x1400646f3
mov r12, qword [rbp - 0x20]
mov r8d, reloc.WS2_32.dll_recv
cmp edi, r8d
jae 0x1400646d9
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
dec r13d
add edi, 8
jmp 0x14006447b
sub ecx, 8
je 0x140064464
sub ecx, 1
je 0x1400645c4
sub ecx, 1
je 0x1400645fd
sub ecx, 1
je 0x14006461c
sub ecx, 1
je 0x14006461c
sub ecx, 1
je 0x1400644e0
cmp ecx, 1
jne 0x140063ec3
jmp 0x140064534
mov ecx, edi
and ecx, 7
shr esi, cl
sub edi, ecx
jmp 0x14006450c
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
dec r13d
add edi, 8
cmp edi, 0x20
jb 0x1400644eb
mov eax, esi
movzx ecx, si
not eax
shr eax, 0x10
cmp ecx, eax
je 0x14006452b
lea rax, str.invalid_stored_block_lengths
jmp 0x1400643a1
mov dword [rbx + 0x48], ecx
mov esi, r14d
mov edi, r14d
mov dword [rbx], reloc.WS2_32.dll_ntohs
mov ecx, dword [rbx + 0x48]
test ecx, ecx
je 0x140064723
cmp ecx, r13d
mov eax, r13d
mov r14d, r11d
cmovbe eax, ecx
cmp eax, r11d
cmovbe r14d, eax
test r14d, r14d
je 0x14006520c
mov r8d, r14d
mov rdx, r12
mov rcx, r9
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov r11d, dword [rbp + 0x60]
sub r13d, r14d
mov r9, qword [rbp - 0x18]
sub r11d, r14d
mov eax, r14d
add r12, rax
mov dword [rbp + 0x60], r11d
add r9, rax
mov qword [rbp - 0x20], r12
sub dword [rbx + 0x48], r14d
mov qword [rbp - 0x18], r9
mov r10d, dword [rbp + 0x48]
xor r14d, r14d
jmp 0x140063e65
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
dec r13d
add edi, 8
cmp edi, 0x20
jb 0x1400645a3
mov ecx, esi
mov eax, esi
shl eax, 0x10
mov edx, 0xff00
and ecx, edx
mov edi, r14d
add ecx, eax
mov eax, esi
shr eax, 8
and eax, edx
shl ecx, 8
shr esi, 0x18
add eax, ecx
add eax, esi
mov esi, r14d
mov dword [rbx + 0x18], eax
mov dword [r15 + 0x4c], eax
mov dword [rbx], 0xa
cmp dword [rbx + 0xc], r14d
je 0x1400651cd
mov dword [rbx + 0x18], 1
mov dword [r15 + 0x4c], 1
mov dword [rbx], reloc.WS2_32.dll_inet_addr
cmp dword [rbx + 4], r14d
je 0x14006465b
mov ecx, edi
mov dword [rbx], 0x1a
mov eax, 7
and ecx, eax
shr esi, cl
sub edi, ecx
jmp 0x140063e6a
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
dec r13d
add edi, 8
cmp edi, 3
jb 0x14006463a
mov eax, esi
shr esi, 1
and eax, 1
mov dword [rbx + 4], eax
mov eax, esi
and eax, 3
je 0x1400646c8
sub eax, 1
je 0x14006469c
sub eax, 1
je 0x140064693
cmp eax, 1
jne 0x1400646ce
lea rax, str.invalid_block_type
mov qword [r15 + 0x20], rax
mov dword [rbx], 0x1d
jmp 0x1400646ce
mov eax, reloc.WS2_32.dll_recv
mov dword [rbx], eax
jmp 0x1400646ce
lea rax, [0x1400d3f30]
mov dword [rbx + 0x68], 9
mov qword [rbx + 0x58], rax
lea rax, [0x1400d4730]
mov qword [rbx + 0x60], rax
mov dword [rbx + 0x6c], 5
mov dword [rbx], reloc.WS2_32.dll_send
jmp 0x1400646ce
mov dword [rbx], ntohs
shr esi, 2
add edi, 0xfffffffd
jmp 0x140063e65
movzx eax, word [rbx + 0x18]
cmp esi, eax
je 0x1400646ed
lea rax, str.header_crc_mismatch
jmp 0x140064b11
mov esi, r14d
mov edi, r14d
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x140064710
sar edx, 9
and edx, 1
mov dword [rax + 0x3c], edx
mov rax, qword [rbx + 0x20]
mov dword [rax + 0x40], 1
mov dword [rbx + 0x18], r14d
mov dword [r15 + 0x4c], r14d
mov dword [rbx], reloc.WS2_32.dll_inet_addr
jmp 0x140064beb
mov dword [rbx], reloc.WS2_32.dll_inet_addr
jmp 0x140063e65
cmp ecx, 0x17
jg 0x140064fce
je 0x140064f36
sub ecx, 0x10
je 0x14006479e
sub ecx, 1
je 0x1400647f2
sub ecx, 1
je 0x1400648d6
sub ecx, 1
je 0x140064bf8
sub ecx, 1
je 0x140064bfe
sub ecx, 1
je 0x140064dc4
cmp ecx, 1
jne 0x140063ec3
jmp 0x140064e1b
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
dec r13d
add edi, 8
cmp edi, 0xe
jb 0x14006477d
mov ecx, esi
add edi, 0xfffffff2
shr esi, 5
and ecx, 0x1f
mov edx, esi
add ecx, 0x101
shr esi, 5
and edx, 0x1f
mov eax, esi
mov dword [rbx + 0x74], ecx
and eax, 0xf
shr esi, 4
add eax, 4
inc edx
mov dword [rbx + 0x78], edx
mov dword [rbx + 0x70], eax
cmp ecx, 0x11e
ja 0x140064f3f
cmp edx, 0x1e
ja 0x140064f3f
mov eax, send
mov dword [rbx + 0x7c], r14d
mov dword [rbx], eax
mov edx, 7
lea r8, [0x1400d47b0]
mov eax, dword [rbx + 0x7c]
cmp eax, dword [rbx + 0x70]
jb 0x1400648a3
cmp eax, 0x13
jae 0x140064829
mov eax, dword [rbx + 0x7c]
movzx ecx, word [r8 + rax*2]
mov word [rbx + rcx*2 + 0x88], r14w
inc dword [rbx + 0x7c]
cmp dword [rbx + 0x7c], 0x13
jb 0x14006480f
lea rcx, [rbx + 0x68]
lea rax, [rbx + 0x548]
mov dword [rcx], edx
lea r9, [rbx + 0x80]
mov qword [rbx + 0x58], rax
mov qword [r9], rax
lea rdx, [rbx + 0x88]
lea rax, [rbx + 0x308]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea r8d, [rcx + 0x13]
call fcn.140068ab0
mov r10d, dword [rbp + 0x48]
mov r11d, dword [rbp + 0x60]
mov dword [rbp + 0x50], eax
test eax, eax
je 0x1400648cc
lea rax, str.invalid_code_lengths_set
jmp 0x140064b11
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
dec r13d
add edi, 8
cmp edi, 3
jb 0x140064882
mov eax, dword [rbx + 0x7c]
movzx ecx, si
and cx, dx
shr esi, 3
movzx eax, word [r8 + rax*2]
mov word [rbx + rax*2 + 0x88], cx
inc dword [rbx + 0x7c]
add edi, 0xfffffffd
jmp 0x1400647fe
mov dword [rbx + 0x7c], r14d
mov dword [rbx], send
mov eax, dword [rbx + 0x78]
add eax, dword [rbx + 0x74]
cmp dword [rbx + 0x7c], eax
jae 0x140064af7
mov ecx, dword [rbx + 0x68]
mov edx, 1
mov r8, qword [rbx + 0x58]
shl edx, cl
dec edx
mov eax, esi
mov ecx, edx
and rcx, rax
mov eax, dword [r8 + rcx*4]
mov ecx, eax
shr ecx, 8
or r9d, 0xffffffff
movzx ecx, cl
mov dword [rbp - 0x28], eax
cmp ecx, edi
jbe 0x140064946
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
mov eax, edx
add r13d, r9d
mov ecx, esi
add edi, 8
and rcx, rax
mov eax, dword [r8 + rcx*4]
mov ecx, eax
shr ecx, 8
jmp 0x140064909
mov ecx, eax
mov edx, reloc.WS2_32.dll_recv
shr ecx, 0x10
cmp cx, dx
jae 0x1400649a4
shr eax, 8
movzx edx, al
jmp 0x14006497e
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
add r13d, r9d
add edi, 8
cmp edi, edx
jb 0x14006495d
movzx ecx, byte [rbp - 0x27]
movzx eax, word [rbp - 0x26]
sub edi, ecx
shr esi, cl
mov ecx, dword [rbx + 0x7c]
mov word [rbx + rcx*2 + 0x88], ax
inc dword [rbx + 0x7c]
mov ecx, dword [rbx + 0x7c]
jmp 0x140064ad3
cmp word [rbp - 0x26], dx
jne 0x140064a09
movzx edx, byte [rbp - 0x27]
lea r8d, [rdx + 2]
jmp 0x1400649d5
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
add r13d, r9d
add edi, 8
cmp edi, r8d
jb 0x1400649b4
mov eax, dword [rbx + 0x7c]
mov ecx, edx
shr esi, cl
sub edi, edx
test eax, eax
je 0x140064b0a
mov edx, esi
add edi, 0xfffffffe
and edx, 3
shr esi, 2
add edx, 3
dec eax
movzx r8d, word [rbx + rax*2 + 0x88]
jmp 0x140064aaa
movzx r8d, byte [rbp - 0x27]
mov eax, send
cmp word [rbp - 0x26], ax
jne 0x140064a61
lea edx, [r8 + 3]
jmp 0x140064a40
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
add r13d, r9d
add edi, 8
cmp edi, edx
jb 0x140064a1f
mov ecx, r8d
mov eax, 0xfffffffd
shr esi, cl
mov edx, esi
shr esi, 3
and edx, 7
add edx, 3
sub eax, r8d
mov r8d, r14d
jmp 0x140064aa8
lea edx, [r8 + 7]
jmp 0x140064a88
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
add r13d, r9d
add edi, 8
cmp edi, edx
jb 0x140064a67
mov ecx, r8d
mov eax, 0xfffffff9
shr esi, cl
mov edx, esi
shr esi, 7
and edx, 0x7f
add edx, 0xb
sub eax, r8d
movzx r8d, r14w
add edi, eax
mov ecx, dword [rbx + 0x7c]
mov eax, dword [rbx + 0x78]
add ecx, edx
add eax, dword [rbx + 0x74]
cmp ecx, eax
ja 0x140064b0a
mov eax, dword [rbx + 0x7c]
mov word [rbx + rax*2 + 0x88], r8w
mov ecx, dword [rbx + 0x7c]
lea ecx, [rcx + 1]
mov dword [rbx + 0x7c], ecx
add edx, r9d
jne 0x140064ab9
mov eax, dword [rbx + 0x78]
add eax, dword [rbx + 0x74]
cmp ecx, eax
jb 0x1400648e5
cmp dword [rbx], 0x1d
mov eax, 7
mov r9, qword [rbp - 0x18]
mov qword [rbp - 0x20], r12
je 0x140063e6a
cmp word [rbx + 0x288], r14w
jne 0x140064b20
lea rax, str.invalid_code____missing_end_of_block
jmp 0x140064b11
lea rax, str.invalid_bit_length_repeat
mov qword [r15 + 0x20], rax
mov dword [rbx], 0x1d
jmp 0x140064bef
mov r8d, dword [rbx + 0x74]
lea rax, [rbx + 0x548]
lea r14, [rbx + 0x80]
mov qword [rbx + 0x58], rax
mov qword [r14], rax
lea r12, [rbx + 0x308]
lea rax, [rbx + 0x68]
mov qword [rsp + 0x28], r12
lea rdx, [rbx + 0x88]
mov dword [rax], 9
mov r9, r14
mov qword [rsp + 0x20], rax
mov ecx, 1
call fcn.140068ab0
mov dword [rbp + 0x50], eax
test eax, eax
je 0x140064b91
mov r12, qword [rbp - 0x20]
lea rax, str.invalid_literal_lengths_set
mov r9, qword [rbp - 0x18]
mov r11d, dword [rbp + 0x60]
mov qword [r15 + 0x20], rax
mov dword [rbx], 0x1d
jmp 0x140064597
mov rax, qword [r14]
lea rcx, [rbx + 0x6c]
mov r8d, dword [rbx + 0x78]
mov r9, r14
mov qword [rbx + 0x60], rax
mov eax, dword [rbx + 0x74]
add rax, 0x44
mov dword [rcx], 6
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rcx
mov ecx, 2
lea rdx, [rbx + rax*2]
call fcn.140068ab0
mov r10d, dword [rbp + 0x48]
xor r14d, r14d
mov r11d, dword [rbp + 0x60]
mov dword [rbp + 0x50], eax
test eax, eax
je 0x140064bf8
lea rax, str.invalid_distances_set
mov qword [r15 + 0x20], rax
mov dword [rbx], 0x1d
mov r12, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
jmp 0x140063e65
mov dword [rbx], socket
cmp r13d, 6
jb 0x140064c74
cmp r11d, 0x102
jb 0x140064c74
mov rcx, qword [rbp - 0x18]
mov edx, r10d
mov r9, qword [rbp - 0x20]
mov qword [r15 + 0x10], rcx
mov rcx, r15
mov dword [r15 + 0x18], r11d
mov qword [r15], r9
mov dword [r15 + 8], r13d
mov dword [rbx + 0x40], esi
mov dword [rbx + 0x44], edi
call fcn.140068fc0
cmp dword [rbx], 0xb
mov eax, 7
mov r9, qword [r15 + 0x10]
mov r12, qword [r15]
mov r11d, dword [r15 + 0x18]
mov r13d, dword [r15 + 8]
mov esi, dword [rbx + 0x40]
mov edi, dword [rbx + 0x44]
mov r10d, dword [rbp + 0x48]
mov qword [rbp - 0x18], r9
mov dword [rbp + 0x60], r11d
mov qword [rbp - 0x20], r12
jne 0x140063e6a
or dword [rbx + 0x1bdc], 0xffffffff
jmp 0x140063e6a
mov ecx, dword [rbx + 0x68]
mov edx, 1
mov r10, qword [rbx + 0x58]
mov r12, qword [rbp - 0x20]
shl edx, cl
dec edx
mov dword [rbx + 0x1bdc], r14d
mov ecx, edx
mov eax, esi
and rcx, rax
mov eax, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x140064ccd
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
dec r13d
mov ecx, esi
add edi, 8
mov eax, edx
jmp 0x140064c93
test al, al
je 0x140064d5e
test al, 0xf0
jne 0x140064d5e
mov ecx, eax
mov dword [rbp - 0x28], eax
shr ecx, 8
mov edx, eax
movzx r9d, cl
movzx ecx, al
shr eax, 0x10
jmp 0x140064d20
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
movzx r9d, byte [rbp - 0x27]
inc r12
shl eax, cl
dec r13d
add esi, eax
mov qword [rbp - 0x20], r12
movzx eax, word [rbp - 0x26]
add edi, 8
movzx ecx, dl
add ecx, r9d
mov r8d, 1
shl r8d, cl
mov ecx, r9d
dec r8d
and r8d, esi
shr r8d, cl
add r8d, eax
mov eax, dword [r10 + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, edi
ja 0x140064cf3
movzx ecx, byte [rbp - 0x27]
shr esi, cl
sub edi, ecx
mov dword [rbx + 0x1bdc], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [rbx + 0x1bdc], ecx
sub edi, ecx
shr esi, cl
mov ecx, eax
shr ecx, 0x10
mov dword [rbx + 0x48], ecx
test al, al
jne 0x140064d8b
mov dword [rbx], 0x19
mov r10d, dword [rbp + 0x48]
jmp 0x140064bef
test al, 0x20
je 0x140064d9e
or dword [rbx + 0x1bdc], 0xffffffff
mov dword [rbx], reloc.WS2_32.dll_inet_addr
jmp 0x140064d82
test al, 0x40
je 0x140064db5
lea rax, str.invalid_literal_length_code
mov qword [r15 + 0x20], rax
mov dword [rbx], 0x1d
jmp 0x140064d82
movzx ecx, al
and ecx, 0xf
mov dword [rbx], socket
mov dword [rbx + 0x50], ecx
mov edx, dword [rbx + 0x50]
test edx, edx
je 0x140064e0c
jmp 0x140064dee
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
dec r13d
add edi, 8
cmp edi, edx
jb 0x140064dcd
mov ecx, edx
mov eax, 1
shl eax, cl
sub edi, edx
dec eax
and eax, esi
shr esi, cl
add dword [rbx + 0x48], eax
add dword [rbx + 0x1bdc], edx
mov eax, dword [rbx + 0x48]
mov dword [rbx + 0x1be0], eax
mov dword [rbx], socket
mov ecx, dword [rbx + 0x6c]
mov edx, 1
mov r10, qword [rbx + 0x60]
shl edx, cl
dec edx
mov eax, esi
mov ecx, edx
and rcx, rax
mov eax, dword [r10 + rcx*4]
jmp 0x140064e64
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
mov ecx, esi
dec r13d
add edi, 8
mov eax, edx
and rax, rcx
mov eax, dword [r10 + rax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x140064e38
test al, 0xf0
jne 0x140064ef9
mov ecx, eax
mov dword [rbp - 0x28], eax
shr ecx, 8
mov edx, eax
movzx r9d, cl
movzx ecx, al
shr eax, 0x10
jmp 0x140064ebb
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
movzx r9d, byte [rbp - 0x27]
inc r12
shl eax, cl
dec r13d
add esi, eax
mov qword [rbp - 0x20], r12
movzx eax, word [rbp - 0x26]
add edi, 8
movzx ecx, dl
add ecx, r9d
mov r8d, 1
shl r8d, cl
mov ecx, r9d
dec r8d
and r8d, esi
shr r8d, cl
add r8d, eax
mov eax, dword [r10 + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, edi
ja 0x140064e8e
movzx ecx, byte [rbp - 0x27]
shr esi, cl
sub edi, ecx
add dword [rbx + 0x1bdc], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [rbx + 0x1bdc], ecx
sub edi, ecx
shr esi, cl
test al, 0x40
je 0x140064f1b
lea rax, str.invalid_distance_code
jmp 0x140064da9
mov r10d, dword [rbp + 0x48]
mov ecx, eax
shr ecx, 0x10
mov dword [rbx + 0x4c], ecx
movzx ecx, al
and ecx, 0xf
mov dword [rbx], reloc.WS2_32.dll_socket
mov dword [rbx + 0x50], ecx
mov edx, dword [rbx + 0x50]
test edx, edx
je 0x140064f8a
jmp 0x140064f6c
lea rax, str.too_many_length_or_distance_symbols
jmp 0x1400643a1
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
dec r13d
add edi, 8
cmp edi, edx
jb 0x140064f4b
mov ecx, edx
mov eax, 1
shl eax, cl
sub edi, edx
dec eax
and eax, esi
shr esi, cl
add dword [rbx + 0x4c], eax
add dword [rbx + 0x1bdc], edx
mov dword [rbx], 0x18
test r11d, r11d
je 0x14006520c
mov eax, dword [rbx + 0x4c]
mov ecx, r10d
sub ecx, r11d
cmp eax, ecx
jbe 0x140065175
sub eax, ecx
cmp eax, dword [rbx + 0x30]
jbe 0x140065151
cmp dword [rbx + 0x1bd8], r14d
je 0x140065151
lea rax, str.invalid_distance_too_far_back
jmp 0x140064b11
sub ecx, 0x18
je 0x140064f90
sub ecx, 1
je 0x14006512d
sub ecx, 1
je 0x14006500f
sub ecx, 1
je 0x1400650dc
sub ecx, 1
je 0x140065204
sub ecx, 1
je 0x1400651ec
cmp ecx, 1
jne 0x140063ec3
mov eax, 0xfffffffc
jmp 0x140063ec8
cmp dword [rbx + 8], r14d
je 0x1400650d6
jmp 0x14006503c
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
dec r13d
add edi, 8
cmp edi, 0x20
jb 0x14006501b
sub r10d, r11d
add dword [r15 + 0x1c], r10d
add dword [rbx + 0x1c], r10d
test r10d, r10d
je 0x14006508e
mov ecx, dword [rbx + 0x18]
mov rdx, r9
mov eax, r10d
sub rdx, rax
cmp dword [rbx + 0x10], r14d
je 0x140065077
test rdx, rdx
jne 0x14006506d
mov eax, r14d
jmp 0x140065087
mov r8d, r10d
call fcn.1400657e4
jmp 0x14006507f
mov r8d, r10d
call fcn.1400686f8
mov r11d, dword [rbp + 0x60]
mov r9, qword [rbp - 0x18]
mov dword [rbx + 0x18], eax
mov dword [r15 + 0x4c], eax
mov edx, 0xff00
mov dword [rbp + 0x48], r11d
mov ecx, esi
mov eax, esi
shl eax, 0x10
and ecx, edx
add ecx, eax
mov r10d, r11d
shl ecx, 8
mov eax, esi
shr eax, 8
and eax, edx
add ecx, eax
mov eax, esi
shr eax, 0x18
add ecx, eax
cmp dword [rbx + 0x10], r14d
cmovne ecx, esi
cmp ecx, dword [rbx + 0x18]
je 0x1400650d0
lea rax, str.incorrect_data_check
jmp 0x1400643a1
mov esi, r14d
mov edi, r14d
mov dword [rbx], 0x1b
cmp dword [rbx + 8], r14d
je 0x1400651fe
cmp dword [rbx + 0x10], r14d
je 0x1400651fe
jmp 0x140065113
test r13d, r13d
je 0x14006520c
movzx eax, byte [r12]
mov ecx, edi
shl eax, cl
inc r12
add esi, eax
mov qword [rbp - 0x20], r12
dec r13d
add edi, 8
cmp edi, 0x20
jb 0x1400650f2
cmp esi, dword [rbx + 0x1c]
je 0x1400651f8
lea rax, str.incorrect_length_check
jmp 0x1400643a1
test r11d, r11d
je 0x14006520c
mov al, byte [rbx + 0x48]
mov byte [r9], al
inc r9
mov qword [rbp - 0x18], r9
dec r11d
mov dword [rbx], socket
jmp 0x140063e61
mov ecx, dword [rbx + 0x34]
cmp eax, ecx
jbe 0x14006515d
sub eax, ecx
mov ecx, dword [rbx + 0x2c]
mov r8d, dword [rbx + 0x48]
sub ecx, eax
mov edx, ecx
mov r9d, r8d
add rdx, qword [rbx + 0x38]
cmp eax, r8d
cmovbe r9d, eax
jmp 0x140065183
mov rdx, qword [rbp - 0x18]
mov r8d, dword [rbx + 0x48]
sub rdx, rax
mov r9d, r8d
cmp r9d, r11d
mov ecx, r11d
cmovbe ecx, r9d
mov r9, qword [rbp - 0x18]
sub r11d, ecx
sub r8d, ecx
mov dword [rbp + 0x60], r11d
sub rdx, r9
mov dword [rbx + 0x48], r8d
mov al, byte [rdx + r9]
mov byte [r9], al
inc r9
add ecx, 0xffffffff
jne 0x1400651a2
lea eax, [rcx + 7]
mov qword [rbp - 0x18], r9
cmp dword [rbx + 0x48], r14d
jne 0x140063e6a
mov dword [rbx], socket
jmp 0x140063e6a
mov qword [r15 + 0x10], r9
mov eax, 2
mov dword [r15 + 0x18], r11d
mov qword [r15], r12
mov dword [r15 + 8], r13d
mov dword [rbx + 0x40], esi
mov dword [rbx + 0x44], edi
jmp 0x140063ec8
mov r14d, 0xfffffffd
mov r9, qword [rbp - 0x20]
jmp 0x140065214
mov esi, r14d
mov edi, r14d
mov dword [rbx], 0x1c
mov r14d, 1
jmp 0x1400651f2
mov r9, qword [rbp - 0x20]
mov r14d, dword [rbp + 0x50]
mov rcx, qword [rbp - 0x18]
mov eax, dword [rbp + 0x60]
mov qword [r15 + 0x10], rcx
mov dword [r15 + 0x18], eax
mov qword [r15], r9
mov dword [r15 + 8], r13d
mov dword [rbx + 0x40], esi
xor esi, esi
mov dword [rbx + 0x44], edi
mov edi, dword [rbp + 0x48]
cmp dword [rbx + 0x2c], esi
jne 0x140065245
cmp dword [rbx], 0x1a
jge 0x14006525e
cmp edi, dword [r15 + 0x18]
je 0x14006525e
mov edx, edi
mov rcx, r15
call fcn.140063cc4
test eax, eax
je 0x14006525e
mov dword [rbx], 0x1e
jmp 0x140065005
sub edi, dword [r15 + 0x18]
mov r8d, dword [rbp - 0x24]
sub r8d, dword [r15 + 8]
add dword [r15 + 0xc], r8d
add dword [r15 + 0x1c], edi
add dword [rbx + 0x1c], edi
mov dword [rbp - 0x24], r8d
cmp dword [rbx + 8], esi
je 0x1400652b9
test edi, edi
je 0x1400652b9
mov rdx, qword [r15 + 0x10]
mov ecx, dword [rbx + 0x18]
mov eax, edi
sub rdx, rax
cmp dword [rbx + 0x10], esi
je 0x1400652a6
test rdx, rdx
jne 0x14006529c
mov eax, esi
jmp 0x1400652b2
mov r8d, edi
call fcn.1400657e4
jmp 0x1400652ae
mov r8d, edi
call fcn.1400686f8
mov r8d, dword [rbp - 0x24]
mov dword [rbx + 0x18], eax
mov dword [r15 + 0x4c], eax
cmp dword [rbx], 0x13
je 0x1400652c5
cmp dword [rbx], 0xe
mov edx, esi
jne 0x1400652ca
mov edx, 0x100
mov eax, dword [rbx + 4]
mov r9d, 0x80
neg eax
mov eax, esi
sbb ecx, ecx
and ecx, 0x40
cmp dword [rbx], 0xb
cmove eax, r9d
add ecx, eax
add ecx, dword [rbx + 0x44]
add ecx, edx
mov dword [r15 + 0x48], ecx
test r8d, r8d
jne 0x140065301
test edi, edi
jne 0x140065301
test r14d, r14d
lea eax, [rdi - 5]
cmove r14d, eax
mov eax, r14d
jmp 0x140063ec8