Function at 0x14005acac
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 ebx, ebx
mov r12, rcx
test rcx, rcx
je 0x14005ad8e
mov rdi, qword [rcx + 0x28]
test rdi, rdi
je 0x14005ad8e
mov r15, qword [rcx + 0x10]
mov qword [rbp - 0x18], r15
test r15, r15
je 0x14005ad8e
mov r11, qword [rcx]
mov qword [rbp - 0x20], r11
test r11, r11
jne 0x14005ad04
cmp dword [rcx + 8], ebx
jne 0x14005ad8e
cmp dword [rdi], 0xb
jne 0x14005ad0f
mov dword [rdi], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov r10d, dword [rcx + 0x18]
mov r9d, r10d
mov r13d, dword [rcx + 8]
mov dword [rbp - 0x24], r13d
mov dword [rbp + 0x58], r10d
mov dword [rbp + 0x50], ebx
mov esi, dword [rdi + 0x44]
mov r14d, dword [rdi + 0x40]
mov dword [rbp + 0x48], r10d
mov eax, 7
mov edx, dword [rdi]
cmp edx, 0xf
jg 0x14005b778
je 0x14005b67c
cmp edx, eax
jg 0x14005b3b4
je 0x14005b1a3
test edx, edx
je 0x14005b20d
sub edx, 1
je 0x14005ae9a
sub edx, 1
je 0x14005ae0d
sub edx, 1
je 0x14005ada4
sub edx, 1
je 0x14005af58
sub edx, 1
je 0x14005af82
cmp edx, 1
je 0x14005b0ac
mov eax, 0xfffffffe
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r15d, reloc.WSOCK32.dll_recv
mov qword [rbp - 0x20], r11
cmp esi, r15d
jb 0x14005ae78
mov rdx, qword [rdi + 0x20]
mov ecx, r14d
shr ecx, 8
test rdx, rdx
je 0x14005add4
movzx eax, r14b
mov dword [rdx + 8], eax
mov rax, qword [rdi + 0x20]
mov dword [rax + 0xc], ecx
test dword [rdi + 0x10], 0x200
je 0x14005adfd
mov byte [rbp + 0x61], cl
lea rdx, [rbp + 0x60]
mov ecx, dword [rdi + 0x18]
mov r8d, 2
mov byte [rbp + 0x60], r14b
call fcn.14005a694
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x18], eax
mov r14d, ebx
mov dword [rdi], 4
mov esi, ebx
jmp 0x14005af5e
mov qword [rbp - 0x20], r11
cmp esi, 0x20
jb 0x14005af36
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14005ae27
mov dword [rax + 4], r14d
test dword [rdi + 0x10], 0x200
je 0x14005ae67
mov ecx, dword [rdi + 0x18]
lea rdx, [rbp + 0x60]
mov eax, r14d
mov byte [rbp + 0x60], r14b
shr eax, 8
mov r8d, 4
mov byte [rbp + 0x61], al
mov eax, r14d
shr eax, 0x10
shr r14d, 0x18
mov byte [rbp + 0x62], al
mov byte [rbp + 0x63], r14b
call fcn.14005a694
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x18], eax
mov r14d, ebx
mov dword [rdi], 3
mov esi, ebx
mov r15d, reloc.WSOCK32.dll_recv
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
dec r13d
add r14d, eax
inc r11
add esi, 8
jmp 0x14005adaa
mov edx, reloc.WSOCK32.dll_recv
jmp 0x14005aec2
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, edx
jb 0x14005aea1
mov dword [rdi + 0x10], r14d
cmp r14b, 8
jne 0x14005b2e0
test r14d, 0xe000
je 0x14005aee9
lea rax, str.unknown_header_flags_set
jmp 0x14005c081
mov rdx, qword [rdi + 0x20]
mov ecx, r14d
shr ecx, 8
mov eax, r14d
test rdx, rdx
je 0x14005af05
mov eax, ecx
and eax, 1
mov dword [rdx], eax
mov eax, dword [rdi + 0x10]
bt eax, 9
jae 0x14005af2b
mov byte [rbp + 0x61], cl
lea rdx, [rbp + 0x60]
mov ecx, dword [rdi + 0x18]
mov r8d, 2
mov byte [rbp + 0x60], r14b
call fcn.14005a694
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x18], eax
mov r14d, ebx
mov dword [rdi], 2
mov esi, ebx
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
dec r13d
add r14d, eax
inc r11
add esi, 8
jmp 0x14005ae0d
mov r15d, reloc.WSOCK32.dll_recv
test dword [rdi + 0x10], 0x400
jne 0x14005aff9
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14005af78
mov qword [rax + 0x10], rbx
mov r11, qword [rbp - 0x20]
mov dword [rdi], 5
mov ecx, dword [rdi + 0x10]
bt ecx, 0xa
jae 0x14005b0a3
mov eax, dword [rdi + 0x48]
mov ebx, r13d
cmp eax, r13d
cmovbe ebx, eax
xor r10d, r10d
test ebx, ebx
je 0x14005b099
mov r8, qword [rdi + 0x20]
mov r15d, eax
test r8, r8
je 0x14005b05f
mov r9, qword [r8 + 0x10]
test r9, r9
je 0x14005b05f
mov edx, dword [r8 + 0x18]
mov ecx, dword [r8 + 0x1c]
sub edx, eax
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x14005b043
sub ecx, edx
jmp 0x14005b045
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, r15d
jb 0x14005afd8
mov rax, qword [rdi + 0x20]
mov dword [rdi + 0x48], r14d
test rax, rax
je 0x14005b00f
mov dword [rax + 0x18], r14d
test dword [rdi + 0x10], 0x200
je 0x14005b039
mov ecx, dword [rdi + 0x18]
lea rdx, [rbp + 0x60]
mov byte [rbp + 0x60], r14b
mov r8d, 2
shr r14d, 8
mov byte [rbp + 0x61], r14b
call fcn.14005a694
mov dword [rdi + 0x18], eax
mov r14d, ebx
mov esi, ebx
jmp 0x14005af78
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, r11
add rcx, r9
call fcn.140013b20
mov ecx, dword [rdi + 0x10]
xor r10d, r10d
mov r15d, dword [rdi + 0x48]
bt ecx, 9
jae 0x14005b081
mov rdx, qword [rbp - 0x20]
test rdx, rdx
jne 0x14005b073
mov eax, r10d
jmp 0x14005b07e
mov ecx, dword [rdi + 0x18]
mov r8d, ebx
call fcn.14005a694
mov dword [rdi + 0x18], eax
mov r11, qword [rbp - 0x20]
sub r13d, ebx
mov eax, ebx
add r11, rax
mov eax, r15d
sub eax, ebx
mov qword [rbp - 0x20], r11
mov dword [rdi + 0x48], eax
xor ebx, ebx
test eax, eax
jne 0x14005b12f
mov dword [rdi + 0x48], ebx
mov dword [rdi], 6
test dword [rdi + 0x10], 0x800
je 0x14005b18d
test r13d, r13d
je 0x14005b12f
xor r8d, r8d
mov eax, ebx
inc ebx
mov r15b, byte [rax + r11]
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14005b0ea
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x14005b0ea
mov ecx, dword [rdi + 0x48]
cmp ecx, dword [rax + 0x28]
jae 0x14005b0ea
mov byte [rcx + rdx], r15b
inc dword [rdi + 0x48]
test r15b, r15b
je 0x14005b0f4
cmp ebx, r13d
jb 0x14005b0c1
test dword [rdi + 0x10], 0x200
je 0x14005b11c
test r11, r11
jne 0x14005b107
mov eax, r8d
jmp 0x14005b119
mov ecx, dword [rdi + 0x18]
mov r8d, ebx
mov rdx, r11
call fcn.14005a694
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x18], eax
mov eax, ebx
sub r13d, ebx
add r11, rax
xor ebx, ebx
mov qword [rbp - 0x20], r11
test r15b, r15b
je 0x14005b19a
mov r15d, dword [rbp + 0x50]
mov rax, qword [rbp - 0x18]
cmp dword [rdi + 0x2c], ebx
mov ebx, dword [rbp + 0x58]
mov qword [r12 + 0x10], rax
mov eax, dword [rbp + 0x48]
mov dword [r12 + 0x18], eax
mov qword [r12], r11
mov dword [r12 + 8], r13d
mov dword [rdi + 0x40], r14d
mov dword [rdi + 0x44], esi
jne 0x14005b16d
cmp dword [rdi], 0x18
jge 0x14005c0d6
cmp ebx, eax
je 0x14005c0d6
mov edx, ebx
mov rcx, r12
call fcn.14005a9b4
xor r8d, r8d
test eax, eax
je 0x14005c0d9
mov dword [rdi], 0x1c
jmp 0x14005bf5d
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14005b19a
mov qword [rax + 0x20], rbx
mov dword [rdi + 0x48], ebx
mov dword [rdi], 7
test dword [rdi + 0x10], 0x1000
je 0x14005b37d
test r13d, r13d
je 0x14005b12f
xor r8d, r8d
mov eax, ebx
inc ebx
mov r15b, byte [rax + r11]
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14005b1e5
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x14005b1e5
mov ecx, dword [rdi + 0x48]
cmp ecx, dword [rax + 0x38]
jae 0x14005b1e5
mov byte [rcx + rdx], r15b
inc dword [rdi + 0x48]
test r15b, r15b
je 0x14005b1ef
cmp ebx, r13d
jb 0x14005b1bc
test dword [rdi + 0x10], 0x200
je 0x14005b364
test r11, r11
jne 0x14005b34f
mov eax, r8d
jmp 0x14005b361
mov edx, dword [rdi + 8]
test edx, edx
jne 0x14005b21f
mov dword [rdi], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
jmp 0x14005ad30
mov r8d, reloc.WSOCK32.dll_recv
jmp 0x14005b248
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, r8d
jb 0x14005b227
test dl, 2
je 0x14005b293
cmp r14d, 0x8b1f
jne 0x14005b293
mov r8d, 2
mov dword [rdi + 0x18], ebx
lea rdx, [rbp + 0x60]
mov word [rbp + 0x60], r14w
xor ecx, ecx
call fcn.14005a694
mov r11, qword [rbp - 0x20]
mov r14d, ebx
mov dword [rdi + 0x18], eax
mov esi, ebx
mov dword [rdi], 1
mov r9d, dword [rbp + 0x58]
mov r10d, dword [rbp + 0x48]
jmp 0x14005ad30
mov rax, qword [rdi + 0x20]
mov dword [rdi + 0x10], ebx
test rax, rax
je 0x14005b2a6
or dword [rax + 0x40], 0xffffffff
mov edx, dword [rdi + 8]
test dl, 1
je 0x14005b343
movzx ecx, r14b
mov eax, r14d
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 0x14005b343
mov eax, r14d
and al, 0xf
cmp al, 8
je 0x14005b2ec
lea rax, str.unknown_compression_method
jmp 0x14005c081
shr r14d, 4
add esi, 0xfffffffc
mov ecx, r14d
and ecx, 0xf
add ecx, 8
cmp ecx, dword [rdi + 0x28]
jbe 0x14005b30d
lea rax, str.invalid_window_size
jmp 0x14005c081
shr r14d, 8
mov eax, 1
not r14d
shl eax, cl
and r14d, 2
mov dword [rdi + 0x14], eax
or r14d, 9
mov dword [rdi + 0x18], 1
mov dword [rdi], r14d
mov esi, ebx
mov r14d, ebx
mov dword [r12 + 0x4c], 1
jmp 0x14005ad30
lea rax, str.incorrect_header_check
jmp 0x14005c081
mov ecx, dword [rdi + 0x18]
mov r8d, ebx
mov rdx, r11
call fcn.14005a694
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x18], eax
mov eax, ebx
sub r13d, ebx
add r11, rax
xor ebx, ebx
mov qword [rbp - 0x20], r11
test r15b, r15b
jne 0x14005b12f
jmp 0x14005b38a
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14005b38a
mov qword [rax + 0x30], rbx
mov r9d, dword [rbp + 0x58]
mov r10d, dword [rbp + 0x48]
mov r15, qword [rbp - 0x18]
mov dword [rdi], 8
mov edx, dword [rdi + 0x10]
bt edx, 9
jae 0x14005b62b
mov r8d, reloc.WSOCK32.dll_recv
jmp 0x14005b60c
sub edx, 8
je 0x14005b39c
sub edx, 1
je 0x14005b4cd
sub edx, 1
je 0x14005b50b
sub edx, 1
je 0x14005b52a
sub edx, 1
je 0x14005b52a
sub edx, 1
je 0x14005b3ed
cmp edx, 1
jne 0x14005ad8e
jmp 0x14005b449
mov ecx, esi
and ecx, 7
shr r14d, cl
sub esi, ecx
jmp 0x14005b41a
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x14005b3f9
mov eax, r14d
movzx ecx, r14w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x14005b43b
lea rax, str.invalid_stored_block_lengths
jmp 0x14005c081
mov dword [rdi + 0x48], ecx
mov r14d, ebx
mov esi, ebx
mov dword [rdi], reloc.WSOCK32.dll_ntohl
mov eax, dword [rdi + 0x48]
test eax, eax
je 0x14005b650
cmp eax, r13d
mov r15d, r13d
cmovbe r15d, eax
cmp r15d, r10d
cmova r15d, r10d
test r15d, r15d
je 0x14005b12f
mov rcx, qword [rbp - 0x18]
mov rdx, r11
mov r8d, r15d
mov ebx, r15d
call fcn.140013b20
mov r11, qword [rbp - 0x20]
sub r13d, r15d
add qword [rbp - 0x18], rbx
add r11, rbx
sub dword [rdi + 0x48], r15d
mov r10d, dword [rbp + 0x48]
mov r9d, dword [rbp + 0x58]
sub r10d, r15d
mov r15, qword [rbp - 0x18]
xor ebx, ebx
mov qword [rbp - 0x20], r11
jmp 0x14005ad2c
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x14005b4ac
mov ecx, r14d
mov dword [rdi], 0xa
mov eax, r14d
mov edx, 0xff00
shl eax, 0x10
and ecx, edx
add ecx, eax
mov esi, ebx
mov eax, r14d
shl ecx, 8
shr eax, 8
and eax, edx
shr r14d, 0x18
add eax, ecx
add eax, r14d
mov r14d, ebx
mov dword [rdi + 0x18], eax
mov dword [r12 + 0x4c], eax
cmp dword [rdi + 0xc], ebx
je 0x14005c091
mov dword [rdi + 0x18], 1
mov dword [r12 + 0x4c], 1
mov dword [rdi], recv
cmp dword [rdi + 4], ebx
je 0x14005b569
mov ecx, esi
mov dword [rdi], 0x18
mov eax, 7
and ecx, eax
shr r14d, cl
sub esi, ecx
jmp 0x14005ad35
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, 3
jb 0x14005b548
mov eax, r14d
shr r14d, 1
and eax, 1
mov dword [rdi + 4], eax
mov eax, r14d
and eax, 3
je 0x14005b5d9
sub eax, 1
je 0x14005b5ad
sub eax, 1
je 0x14005b5a5
cmp eax, 1
jne 0x14005b5df
lea rax, str.invalid_block_type
mov dword [rdi], 0x1b
mov qword [r12 + 0x20], rax
jmp 0x14005b5df
mov dword [rdi], send
jmp 0x14005b5df
lea rax, [0x14007d6d0]
mov dword [rdi + 0x68], 9
mov qword [rdi + 0x58], rax
lea rax, [0x14007ded0]
mov qword [rdi + 0x60], rax
mov dword [rdi + 0x6c], 5
mov dword [rdi], reloc.WSOCK32.dll_select
jmp 0x14005b5df
mov dword [rdi], recv
shr r14d, 2
add esi, 0xfffffffd
jmp 0x14005ad30
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, r8d
jb 0x14005b5eb
movzx eax, word [rdi + 0x18]
cmp r14d, eax
je 0x14005b626
lea rax, str.header_crc_mismatch
jmp 0x14005c081
mov r14d, ebx
mov esi, ebx
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14005b648
sar edx, 9
and edx, 1
mov dword [rax + 0x3c], edx
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x40], 1
mov dword [rdi + 0x18], ebx
mov dword [r12 + 0x4c], ebx
mov dword [rdi], recv
jmp 0x14005ad30
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, 0xe
jb 0x14005b65b
mov ecx, r14d
add esi, 0xfffffff2
shr r14d, 5
and ecx, 0x1f
mov edx, r14d
add ecx, 0x101
shr r14d, 5
and edx, 0x1f
mov eax, r14d
mov dword [rdi + 0x74], ecx
and eax, 0xf
shr r14d, 4
add eax, 4
inc edx
mov dword [rdi + 0x78], edx
mov dword [rdi + 0x70], eax
cmp ecx, 0x11e
ja 0x14005b76c
cmp edx, 0x1e
ja 0x14005b76c
mov eax, reloc.WSOCK32.dll_recv
mov dword [rdi + 0x7c], ebx
mov dword [rdi], eax
mov edx, 7
lea r8, [0x14007df50]
mov eax, dword [rdi + 0x7c]
cmp eax, dword [rdi + 0x70]
jb 0x14005b7ee
cmp eax, 0x13
jae 0x14005b70b
mov eax, dword [rdi + 0x7c]
movzx ecx, word [r8 + rax*2]
mov word [rdi + rcx*2 + 0x88], bx
inc dword [rdi + 0x7c]
cmp dword [rdi + 0x7c], 0x13
jb 0x14005b6f2
lea rcx, [rdi + 0x68]
lea rax, [rdi + 0x548]
mov dword [rcx], edx
lea r9, [rdi + 0x80]
mov qword [rdi + 0x58], rax
mov qword [r9], rax
lea rdx, [rdi + 0x88]
lea rax, [rdi + 0x308]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea r8d, [rcx + 0x13]
call fcn.14005e12c
mov r11, qword [rbp - 0x20]
mov r10d, dword [rbp + 0x48]
mov dword [rbp + 0x50], eax
test eax, eax
je 0x14005b819
lea rax, str.invalid_code_lengths_set
mov r9d, dword [rbp + 0x58]
jmp 0x14005c081
lea rax, str.too_many_length_or_distance_symbols
jmp 0x14005c081
cmp edx, 0x17
jg 0x14005bf34
je 0x14005bf10
mov ecx, edx
sub ecx, 0x10
je 0x14005b6d5
sub ecx, 1
je 0x14005b825
sub ecx, 1
je 0x14005bb38
sub ecx, 1
je 0x14005bcc2
sub ecx, 1
je 0x14005bd0c
sub ecx, 1
je 0x14005be1f
cmp ecx, 1
jne 0x14005ad8e
jmp 0x14005be83
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, 3
jb 0x14005b7cd
mov eax, dword [rdi + 0x7c]
movzx ecx, r14w
and cx, dx
shr r14d, 3
movzx eax, word [r8 + rax*2]
mov word [rdi + rax*2 + 0x88], cx
inc dword [rdi + 0x7c]
add esi, 0xfffffffd
jmp 0x14005b6e1
mov eax, send
mov dword [rdi + 0x7c], ebx
mov dword [rdi], eax
mov edx, eax
mov ecx, dword [rdi + 0x78]
mov r8d, dword [rdi + 0x74]
add ecx, r8d
cmp dword [rdi + 0x7c], ecx
jae 0x14005ba4f
mov ecx, dword [rdi + 0x68]
mov edx, 1
mov r8, qword [rdi + 0x58]
shl edx, cl
dec edx
mov eax, r14d
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, esi
jbe 0x14005b89b
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
mov eax, edx
add r13d, r9d
mov ecx, r14d
add esi, 8
and rcx, rax
mov eax, dword [r8 + rcx*4]
mov ecx, eax
shr ecx, 8
jmp 0x14005b85d
mov ecx, eax
mov edx, reloc.WSOCK32.dll_recv
shr ecx, 0x10
cmp cx, dx
jae 0x14005b8fb
shr eax, 8
movzx edx, al
jmp 0x14005b8d3
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
add r13d, r9d
add esi, 8
cmp esi, edx
jb 0x14005b8b2
movzx ecx, byte [rbp - 0x27]
movzx eax, word [rbp - 0x26]
sub esi, ecx
shr r14d, cl
mov ecx, dword [rdi + 0x7c]
mov word [rdi + rcx*2 + 0x88], ax
inc dword [rdi + 0x7c]
mov r9d, dword [rdi + 0x7c]
jmp 0x14005ba3a
cmp word [rbp - 0x26], dx
jne 0x14005b963
movzx edx, byte [rbp - 0x27]
lea r8d, [rdx + 2]
jmp 0x14005b92c
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
add r13d, r9d
add esi, 8
cmp esi, r8d
jb 0x14005b90b
mov eax, dword [rdi + 0x7c]
mov ecx, edx
shr r14d, cl
sub esi, edx
test eax, eax
je 0x14005baca
mov edx, r14d
add esi, 0xfffffffe
and edx, 3
shr r14d, 2
add edx, 3
dec eax
movzx r8d, word [rdi + rax*2 + 0x88]
jmp 0x14005ba0a
movzx r8d, byte [rbp - 0x27]
mov eax, send
cmp word [rbp - 0x26], ax
jne 0x14005b9be
lea edx, [r8 + 3]
jmp 0x14005b99a
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
add r13d, r9d
add esi, 8
cmp esi, edx
jb 0x14005b979
mov ecx, r8d
mov eax, 0xfffffffd
shr r14d, cl
mov edx, r14d
shr r14d, 3
and edx, 7
add edx, 3
sub eax, r8d
mov r8d, ebx
jmp 0x14005ba08
lea edx, [r8 + 7]
jmp 0x14005b9e5
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
add r13d, r9d
add esi, 8
cmp esi, edx
jb 0x14005b9c4
mov ecx, r8d
mov eax, 0xfffffff9
shr r14d, cl
mov edx, r14d
shr r14d, 7
and edx, 0x7f
add edx, 0xb
sub eax, r8d
movzx r8d, bx
add esi, eax
mov ecx, dword [rdi + 0x7c]
mov eax, dword [rdi + 0x78]
add ecx, edx
add eax, dword [rdi + 0x74]
cmp ecx, eax
ja 0x14005baca
mov eax, dword [rdi + 0x7c]
mov word [rdi + rax*2 + 0x88], r8w
mov r9d, dword [rdi + 0x7c]
lea r9d, [r9 + 1]
mov dword [rdi + 0x7c], r9d
add edx, 0xffffffff
jne 0x14005ba1d
mov ecx, dword [rdi + 0x78]
mov r8d, dword [rdi + 0x74]
add ecx, r8d
cmp r9d, ecx
jb 0x14005b838
mov edx, dword [rdi]
mov r9d, dword [rbp + 0x58]
mov eax, 7
cmp edx, 0x1b
je 0x14005ad35
lea rax, [rdi + 0x548]
mov ecx, 1
lea rbx, [rdi + 0x80]
mov qword [rdi + 0x58], rax
mov qword [rbx], rax
lea r15, [rdi + 0x308]
lea rax, [rdi + 0x68]
mov qword [rsp + 0x28], r15
lea rdx, [rdi + 0x88]
mov dword [rax], 9
mov r9, rbx
mov qword [rsp + 0x20], rax
call fcn.14005e12c
mov dword [rbp + 0x50], eax
test eax, eax
je 0x14005bad6
mov r11, qword [rbp - 0x20]
lea rax, str.invalid_literal_lengths_set
mov r9d, dword [rbp + 0x58]
xor ebx, ebx
mov r10d, dword [rbp + 0x48]
mov r15, qword [rbp - 0x18]
jmp 0x14005c081
lea rax, str.invalid_bit_length_repeat
jmp 0x14005b763
mov rax, qword [rbx]
lea rcx, [rdi + 0x6c]
mov r8d, dword [rdi + 0x78]
mov r9, rbx
mov qword [rdi + 0x60], rax
mov eax, dword [rdi + 0x74]
add rax, 0x44
mov dword [rcx], 6
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
mov ecx, 2
lea rdx, [rdi + rax*2]
call fcn.14005e12c
mov r11, qword [rbp - 0x20]
xor ebx, ebx
mov r9d, dword [rbp + 0x58]
mov r10d, dword [rbp + 0x48]
mov r15, qword [rbp - 0x18]
mov dword [rbp + 0x50], eax
test eax, eax
je 0x14005bb32
lea rax, str.invalid_distances_set
jmp 0x14005c081
mov dword [rdi], reloc.WSOCK32.dll_select
cmp r13d, 6
jb 0x14005bb90
cmp r10d, 0x102
jb 0x14005bb90
mov edx, r9d
mov qword [r12 + 0x10], r15
mov rcx, r12
mov dword [r12 + 0x18], r10d
mov qword [r12], r11
mov dword [r12 + 8], r13d
mov dword [rdi + 0x40], r14d
mov dword [rdi + 0x44], esi
call fcn.14005e570
mov r11, qword [r12]
mov r15, qword [r12 + 0x10]
mov r10d, dword [r12 + 0x18]
mov r13d, dword [r12 + 8]
mov r9d, dword [rbp + 0x58]
mov qword [rbp - 0x20], r11
mov qword [rbp - 0x18], r15
jmp 0x14005ad25
mov ecx, dword [rdi + 0x68]
mov edx, 1
mov r10, qword [rdi + 0x58]
shl edx, cl
dec edx
mov eax, r14d
mov ecx, edx
jmp 0x14005bbcd
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
mov ecx, r14d
add esi, 8
mov eax, edx
and rcx, rax
mov eax, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x14005bba7
test al, al
je 0x14005bc68
test al, 0xf0
jne 0x14005bc68
mov ecx, eax
mov dword [rbp - 0x28], eax
shr ecx, 8
mov edx, eax
movzx r9d, cl
movzx ecx, al
shr eax, 0x10
jmp 0x14005bc2f
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
movzx r9d, byte [rbp - 0x27]
inc r11
shl eax, cl
dec r13d
add r14d, eax
mov qword [rbp - 0x20], r11
movzx eax, word [rbp - 0x26]
add esi, 8
movzx ecx, dl
add ecx, r9d
mov r8d, 1
shl r8d, cl
mov ecx, r9d
dec r8d
and r8d, r14d
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, esi
ja 0x14005bc02
movzx ecx, byte [rbp - 0x27]
shr r14d, cl
sub esi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr r14d, cl
sub esi, ecx
mov ecx, eax
shr ecx, 0x10
mov dword [rdi + 0x48], ecx
test al, al
jne 0x14005bc8c
mov dword [rdi], reloc.WSOCK32.dll_socket
jmp 0x14005b286
test al, 0x20
je 0x14005bc9b
mov dword [rdi], recv
jmp 0x14005b286
test al, 0x40
je 0x14005bcb3
mov r9d, dword [rbp + 0x58]
lea rax, str.invalid_literal_length_code
mov r10d, dword [rbp + 0x48]
jmp 0x14005c081
movzx ecx, al
and ecx, 0xf
mov dword [rdi], reloc.WSOCK32.dll_send
mov dword [rdi + 0x50], ecx
mov edx, dword [rdi + 0x50]
test edx, edx
je 0x14005bd06
jmp 0x14005bcec
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, edx
jb 0x14005bccb
mov ecx, edx
mov eax, 1
shl eax, cl
dec eax
and eax, r14d
shr r14d, cl
add dword [rdi + 0x48], eax
sub esi, edx
mov dword [rdi], socket
mov ecx, dword [rdi + 0x6c]
mov edx, 1
mov r10, qword [rdi + 0x60]
shl edx, cl
dec edx
mov eax, r14d
mov ecx, edx
and rcx, rax
mov eax, dword [r10 + rcx*4]
jmp 0x14005bd57
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
mov ecx, r14d
dec r13d
add esi, 8
mov eax, edx
and rax, rcx
mov eax, dword [r10 + rax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x14005bd2a
test al, 0xf0
jne 0x14005bde3
mov ecx, eax
mov dword [rbp - 0x28], eax
shr ecx, 8
mov edx, eax
movzx r9d, cl
movzx ecx, al
shr eax, 0x10
jmp 0x14005bdaa
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
movzx r9d, byte [rbp - 0x27]
inc r11
shl eax, cl
dec r13d
add r14d, eax
mov qword [rbp - 0x20], r11
movzx eax, word [rbp - 0x26]
add esi, 8
movzx ecx, dl
add ecx, r9d
mov r8d, 1
shl r8d, cl
mov ecx, r9d
dec r8d
and r8d, r14d
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, esi
ja 0x14005bd7d
movzx ecx, byte [rbp - 0x27]
shr r14d, cl
sub esi, ecx
mov r9d, dword [rbp + 0x58]
mov ecx, eax
mov r10d, dword [rbp + 0x48]
shr ecx, 8
movzx ecx, cl
shr r14d, cl
sub esi, ecx
test al, 0x40
je 0x14005be08
lea rax, str.invalid_distance_code
jmp 0x14005c081
mov ecx, eax
mov dword [rdi], socket
shr ecx, 0x10
mov dword [rdi + 0x4c], ecx
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 0x50], ecx
mov edx, dword [rdi + 0x50]
test edx, edx
je 0x14005be63
jmp 0x14005be49
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, edx
jb 0x14005be28
mov ecx, edx
mov eax, 1
shl eax, cl
dec eax
and eax, r14d
shr r14d, cl
add dword [rdi + 0x4c], eax
sub esi, edx
mov eax, dword [rdi + 0x30]
sub eax, r10d
add eax, r9d
cmp dword [rdi + 0x4c], eax
jbe 0x14005be7d
lea rax, str.invalid_distance_too_far_back
jmp 0x14005c081
mov dword [rdi], socket
test r10d, r10d
je 0x14005b12f
mov ecx, dword [rdi + 0x4c]
mov eax, r9d
sub eax, r10d
cmp ecx, eax
jbe 0x14005bec1
sub ecx, eax
mov eax, dword [rdi + 0x34]
cmp ecx, eax
jbe 0x14005beab
mov edx, dword [rdi + 0x2c]
sub ecx, eax
sub edx, ecx
jmp 0x14005beaf
sub eax, ecx
mov edx, eax
mov eax, dword [rdi + 0x48]
mov r8d, eax
add rdx, qword [rdi + 0x38]
cmp ecx, eax
cmovbe r8d, ecx
jmp 0x14005becd
mov eax, dword [rdi + 0x48]
mov rdx, r15
sub rdx, rcx
mov r8d, eax
cmp r8d, r10d
cmova r8d, r10d
sub r10d, r8d
sub eax, r8d
mov dword [rbp + 0x48], r10d
sub rdx, r15
mov dword [rdi + 0x48], eax
mov al, byte [rdx + r15]
mov byte [r15], al
inc r15
add r8d, 0xffffffff
jne 0x14005bee4
lea eax, [r8 + 7]
mov qword [rbp - 0x18], r15
cmp dword [rdi + 0x48], ebx
jne 0x14005ad35
mov dword [rdi], reloc.WSOCK32.dll_select
jmp 0x14005ad35
test r10d, r10d
je 0x14005b12f
mov al, byte [rdi + 0x48]
mov byte [r15], al
inc r15
mov qword [rbp - 0x18], r15
dec r10d
mov dword [rdi], reloc.WSOCK32.dll_select
jmp 0x14005ad2c
sub edx, 0x18
je 0x14005bf67
sub edx, 1
je 0x14005c042
sub edx, 1
je 0x14005c0cb
sub edx, 1
je 0x14005c0b5
cmp edx, 1
jne 0x14005ad8e
mov eax, 0xfffffffc
jmp 0x14005ad93
cmp dword [rdi + 8], ebx
je 0x14005c03c
jmp 0x14005bf93
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x14005bf72
mov ebx, dword [rdi + 0x10]
sub r9d, r10d
add dword [r12 + 0x1c], r9d
xor r8d, r8d
add dword [rdi + 0x1c], r9d
test r9d, r9d
je 0x14005bfef
mov ecx, dword [rdi + 0x18]
mov rdx, r15
mov eax, r9d
sub rdx, rax
test ebx, ebx
je 0x14005bfd3
test rdx, rdx
jne 0x14005bfc9
mov edx, r8d
jmp 0x14005bfe5
mov r8d, r9d
call fcn.14005a694
jmp 0x14005bfdb
mov r8d, r9d
call fcn.14005de40
mov r10d, dword [rbp + 0x48]
mov edx, eax
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x18], edx
mov dword [r12 + 0x4c], edx
jmp 0x14005bff2
mov edx, dword [rdi + 0x18]
mov ecx, r14d
mov dword [rbp + 0x58], r10d
and ecx, 0xff00
mov eax, r14d
shl eax, 0x10
mov r9d, r10d
add ecx, eax
mov eax, r14d
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
mov eax, r14d
shr eax, 0x18
add ecx, eax
test ebx, ebx
cmovne ecx, r14d
xor ebx, ebx
cmp ecx, edx
je 0x14005c037
lea rax, str.incorrect_data_check
jmp 0x14005c081
mov r14d, ebx
mov esi, ebx
mov dword [rdi], 0x19
cmp dword [rdi + 8], ebx
je 0x14005c0c5
cmp dword [rdi + 0x10], ebx
je 0x14005c0c5
jmp 0x14005c06f
test r13d, r13d
je 0x14005b12f
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x14005c04e
cmp r14d, dword [rdi + 0x1c]
je 0x14005c0c0
lea rax, str.incorrect_length_check
mov qword [r12 + 0x20], rax
mov dword [rdi], 0x1b
jmp 0x14005ad30
mov qword [r12 + 0x10], r15
mov eax, 2
mov dword [r12 + 0x18], r10d
mov qword [r12], r11
mov dword [r12 + 8], r13d
mov dword [rdi + 0x40], r14d
mov dword [rdi + 0x44], esi
jmp 0x14005ad93
mov r15d, 0xfffffffd
jmp 0x14005b133
mov r14d, ebx
mov esi, ebx
mov dword [rdi], 0x1a
mov r15d, 1
jmp 0x14005b133
xor r8d, r8d
sub ebx, dword [r12 + 0x18]
mov eax, dword [rbp - 0x24]
sub eax, dword [r12 + 8]
add dword [r12 + 0xc], eax
add dword [r12 + 0x1c], ebx
add dword [rdi + 0x1c], ebx
cmp dword [rdi + 8], r8d
je 0x14005c137
test ebx, ebx
je 0x14005c137
mov rdx, qword [r12 + 0x10]
mov ecx, dword [rdi + 0x18]
mov eax, ebx
sub rdx, rax
cmp dword [rdi + 0x10], r8d
je 0x14005c124
test rdx, rdx
jne 0x14005c11a
mov eax, r8d
jmp 0x14005c12f
mov r8d, ebx
call fcn.14005a694
jmp 0x14005c12c
mov r8d, ebx
call fcn.14005de40
xor r8d, r8d
mov dword [rdi + 0x18], eax
mov dword [r12 + 0x4c], eax
mov eax, dword [rdi + 4]
mov ecx, r8d
neg eax
mov eax, 0x80
sbb edx, edx
and edx, 0x40
cmp dword [rdi], 0xb
cmove ecx, eax
mov eax, 0xfffffffb
add edx, ecx
add edx, dword [rdi + 0x44]
test r15d, r15d
mov dword [r12 + 0x48], edx
cmove r15d, eax
mov eax, r15d
jmp 0x14005ad93