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

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r15, rcx
call fcn.140017db0
xor edx, edx
test eax, eax
jne case.0x1400181ad.16211
lea rax, [rcx + 0x10]
cmp qword [rax], rdx
je case.0x1400181ad.16211
cmp qword [rcx], rdx
jne 0x140018130
cmp dword [rcx + 8], edx
jne case.0x1400181ad.16211
lea rdx, [rcx + 0x10]
mov qword [rbp - 0x10], rdx
xor edx, edx
jmp 0x140018134
mov qword [rbp - 0x10], rax
mov rdi, qword [rcx + 0x28]
mov r8d, 0x3f40
mov ecx, dword [rdi + 8]
cmp ecx, 0x3f3f
jne 0x140018150
mov dword [rdi + 8], r8d
mov ecx, r8d
mov r10d, dword [r15 + 0x18]
add ecx, 0xffffc0cc
mov rbx, qword [rax]
mov r9d, r10d
mov r11, qword [r15]
mov r12d, dword [r15 + 8]
mov esi, dword [rdi + 0x48]
mov r14d, dword [rdi + 0x4c]
mov qword [rbp - 0x18], rbx
mov dword [rbp - 0x30], r10d
mov qword [rbp - 0x20], r11
mov dword [rbp - 0x24], r12d
mov dword [rbp + 0x50], r10d
mov dword [rbp + 0x58], edx
cmp ecx, 0x1f
ja case.0x1400181ad.16211
movsxd rax, ecx
lea r13, [rdi + 0x70]
lea rcx, [0x140000000]
mov ecx, dword [rcx + rax*4 + 0x19684]
lea rax, [0x140000000]
add rcx, rax
jmp rcx
xor r13d, r13d
cmp dword [rdi + 0x10], r13d
jne 0x1400181c4
mov dword [rdi + 8], 0x3f40
jmp 0x1400194cb
mov r8d, reloc.WS2_32.dll_recv
jmp 0x1400181ee
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
dec r12d
add r14d, 8
cmp r14d, r8d
jb 0x1400181cc
test byte [rdi + 0x10], 2
je 0x14001824b
cmp esi, 0x8b1f
jne 0x14001824b
cmp dword [rdi + 0x30], r13d
jne 0x14001820e
mov dword [rdi + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x2c], sil
lea rdx, [rbp - 0x2c]
shr esi, 8
mov r8d, 2
xor ecx, ecx
mov byte [rbp - 0x2b], sil
mov dword [rdi + 0x20], r13d
call fcn.1400c3058
mov dword [rdi + 0x20], eax
mov esi, r13d
mov r14d, r13d
mov dword [rdi + 8], 0x3f35
mov r11, qword [rbp - 0x20]
mov r10d, dword [rbp - 0x30]
jmp 0x1400194cb
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x18], r13d
test rax, rax
je 0x14001825c
or dword [rax + 0x40], 0xffffffff
test byte [rdi + 0x10], 1
je 0x140018306
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 0x140018306
mov eax, esi
and al, 0xf
cmp al, 8
je 0x1400182a1
lea rax, str.unknown_compression_method
jmp 0x1400194c0
mov eax, dword [rdi + 0x30]
add r14d, 0xfffffffc
shr esi, 4
mov ecx, esi
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x1400182bc
mov eax, ecx
mov dword [rdi + 0x30], ecx
cmp ecx, 0xf
ja 0x1400182fa
cmp ecx, eax
ja 0x1400182fa
shr esi, 8
mov eax, 1
not esi
shl eax, cl
and esi, 2
mov dword [rdi + 0x1c], eax
or esi, 0x3f3d
mov dword [rdi + 0x20], 1
mov dword [r15 + 0x4c], 1
mov r14d, r13d
mov dword [rdi + 8], esi
mov esi, r13d
jmp 0x1400194cb
lea rax, str.invalid_window_size
jmp 0x1400194c0
lea rax, str.incorrect_header_check
jmp 0x1400194c0
mov r8d, reloc.WS2_32.dll_recv
xor r13d, r13d
cmp r14d, r8d
jae 0x140018344
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
dec r12d
add r14d, 8
jmp 0x14001831b
mov dword [rdi + 0x18], esi
cmp sil, 8
jne 0x140018295
test esi, 0xe000
je 0x140018365
lea rax, str.unknown_header_flags_set
jmp 0x1400194c0
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x140018378
mov eax, esi
shr eax, 8
and eax, 1
mov dword [rcx], eax
test dword [rdi + 0x18], 0x200
je 0x1400183ab
test byte [rdi + 0x10], 4
je 0x1400183ab
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp - 0x2c]
mov byte [rbp - 0x2c], sil
mov r8d, 2
shr esi, 8
mov byte [rbp - 0x2b], sil
call fcn.1400c3058
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x20], eax
mov esi, r13d
mov dword [rdi + 8], 0x3f36
mov r14d, r13d
jmp 0x1400183ca
mov dword [rbp - 0x28], esi
xor r13d, r13d
mov qword [rbp - 0x20], r11
cmp r14d, 0x20
jae 0x1400183ea
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
dec r12d
add esi, eax
inc r11
add r14d, 8
jmp 0x1400183c0
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1400183f6
mov dword [rax + 4], esi
test dword [rdi + 0x18], 0x200
je 0x140018439
test byte [rdi + 0x10], 4
je 0x140018439
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp - 0x2c]
mov eax, esi
mov byte [rbp - 0x2c], sil
shr eax, 8
mov r8d, 4
mov byte [rbp - 0x2b], al
mov eax, esi
shr eax, 0x10
shr esi, 0x18
mov byte [rbp - 0x2a], al
mov byte [rbp - 0x29], sil
call fcn.1400c3058
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x20], eax
mov esi, r13d
mov dword [rdi + 8], 0x3f37
mov r14d, r13d
mov ebx, reloc.WS2_32.dll_recv
jmp 0x140018461
mov dword [rbp - 0x28], esi
mov ebx, reloc.WS2_32.dll_recv
xor r13d, r13d
mov qword [rbp - 0x20], r11
cmp r14d, ebx
jae 0x140018481
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
dec r12d
add esi, eax
inc r11
add r14d, 8
jmp 0x140018458
mov rdx, qword [rdi + 0x28]
mov ecx, esi
shr ecx, 8
test rdx, rdx
je 0x14001849d
movzx eax, sil
mov dword [rdx + 8], eax
mov rax, qword [rdi + 0x28]
mov dword [rax + 0xc], ecx
test dword [rdi + 0x18], 0x200
je 0x1400184cc
test byte [rdi + 0x10], 4
je 0x1400184cc
mov byte [rbp - 0x2b], cl
lea rdx, [rbp - 0x2c]
mov ecx, dword [rdi + 0x20]
mov r8d, 2
mov byte [rbp - 0x2c], sil
call fcn.1400c3058
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x20], eax
mov esi, r13d
mov dword [rdi + 8], 0x3f38
mov r14d, r13d
jmp 0x1400184e2
xor r13d, r13d
lea ebx, [r13 + 0x10]
test dword [rdi + 0x18], 0x400
jne 0x140018527
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1400184f8
mov qword [rax + 0x10], r13
mov r11, qword [rbp - 0x20]
mov dword [rdi + 8], 0x3f39
jmp 0x140018575
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
dec r12d
add r14d, 8
cmp r14d, ebx
jb 0x140018505
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x50], esi
test rax, rax
je 0x14001853b
mov dword [rax + 0x18], esi
test dword [rdi + 0x18], 0x200
je 0x14001856a
test byte [rdi + 0x10], 4
je 0x14001856a
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp - 0x2c]
mov byte [rbp - 0x2c], sil
mov r8d, 2
shr esi, 8
mov byte [rbp - 0x2b], sil
call fcn.1400c3058
mov dword [rdi + 0x20], eax
mov esi, r13d
mov r14d, r13d
jmp 0x1400184f8
xor r13d, r13d
test dword [rdi + 0x18], 0x400
je 0x14001860a
mov eax, dword [rdi + 0x50]
mov ebx, r12d
cmp eax, r12d
cmovbe ebx, eax
test ebx, ebx
je 0x140018602
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1400185c9
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x1400185c9
mov edx, dword [rcx + 0x18]
mov ecx, dword [rcx + 0x1c]
sub edx, eax
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x1400185b7
sub ecx, edx
jmp 0x1400185b9
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, r11
add rcx, r9
call fcn.140210d80
test dword [rdi + 0x18], 0x200
je 0x1400185ea
test byte [rdi + 0x10], 4
je 0x1400185ea
mov rdx, qword [rbp - 0x20]
mov r8d, ebx
mov ecx, dword [rdi + 0x20]
call fcn.1400c3058
mov dword [rdi + 0x20], eax
mov r11, qword [rbp - 0x20]
sub r12d, ebx
mov eax, ebx
add r11, rax
mov eax, dword [rdi + 0x50]
sub eax, ebx
mov qword [rbp - 0x20], r11
mov dword [rdi + 0x50], eax
test eax, eax
jne 0x14001953a
mov dword [rdi + 0x50], r13d
mov dword [rdi + 8], 0x3f3a
jmp 0x14001861a
xor r13d, r13d
test dword [rdi + 0x18], 0x800
je 0x1400186a0
test r12d, r12d
je 0x14001953a
mov ebx, r13d
mov eax, ebx
inc ebx
mov r13b, byte [rax + r11]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140018658
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x140018658
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x28]
jae 0x140018658
mov byte [rcx + rdx], r13b
inc dword [rdi + 0x50]
test r13b, r13b
je 0x140018662
cmp ebx, r12d
jb 0x14001862f
test dword [rdi + 0x18], 0x200
je 0x140018686
test byte [rdi + 0x10], 4
je 0x140018686
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
mov rdx, r11
call fcn.1400c3058
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r12d, ebx
add r11, rax
mov qword [rbp - 0x20], r11
test r13b, r13b
jne 0x14001873a
xor r13d, r13d
jmp 0x1400186ad
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1400186ad
mov qword [rax + 0x20], r13
mov dword [rdi + 0x50], r13d
mov dword [rdi + 8], 0x3f3b
jmp 0x1400186bd
xor r13d, r13d
test dword [rdi + 0x18], 0x1000
je 0x14001873f
test r12d, r12d
je 0x14001953a
mov ebx, r13d
mov eax, ebx
inc ebx
mov r13b, byte [rax + r11]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1400186fb
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x1400186fb
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x38]
jae 0x1400186fb
mov byte [rcx + rdx], r13b
inc dword [rdi + 0x50]
test r13b, r13b
je 0x140018705
cmp ebx, r12d
jb 0x1400186d2
test dword [rdi + 0x18], 0x200
je 0x140018729
test byte [rdi + 0x10], 4
je 0x140018729
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
mov rdx, r11
call fcn.1400c3058
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r12d, ebx
add r11, rax
mov qword [rbp - 0x20], r11
test r13b, r13b
je 0x14001874c
jmp 0x14001953e
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x14001874c
mov qword [rax + 0x30], r13
mov r10d, dword [rbp - 0x30]
mov rbx, qword [rbp - 0x18]
mov dword [rdi + 8], 0x3f3c
xor r13d, r13d
test dword [rdi + 0x18], 0x200
je 0x1400187b4
lea r8d, [r13 + 0x10]
cmp r14d, r8d
jae 0x140018794
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
dec r12d
add r14d, 8
jmp 0x14001876b
test byte [rdi + 0x10], 4
je 0x1400187ae
movzx eax, word [rdi + 0x20]
cmp esi, eax
je 0x1400187ae
lea rax, str.header_crc_mismatch
jmp 0x1400194c0
mov esi, r13d
mov r14d, r13d
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1400187d4
mov eax, dword [rdi + 0x18]
sar eax, 9
and eax, 1
mov dword [rcx + 0x3c], eax
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x40], 1
mov dword [rdi + 0x20], r13d
mov dword [r15 + 0x4c], r13d
mov dword [rdi + 8], 0x3f3f
jmp 0x1400194cb
xor r8d, r8d
cmp r14d, 0x20
jae 0x140018815
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
dec r12d
add r14d, 8
jmp 0x1400187eb
bswap esi
mov dword [rdi + 0x20], esi
mov r14d, r8d
mov dword [r15 + 0x4c], esi
mov esi, r8d
mov dword [rdi + 8], 0x3f3e
jmp 0x140018830
xor r8d, r8d
cmp dword [rdi + 0x14], r8d
je 0x1400194e6
mov dword [rdi + 0x20], 1
mov dword [r15 + 0x4c], 1
mov dword [rdi + 8], 0x3f3f
jmp 0x140018855
xor r8d, r8d
cmp dword [rdi + 0xc], r8d
je 0x140018894
mov ecx, r14d
mov dword [rdi + 8], 0x3f4e
and ecx, 7
shr esi, cl
sub r14d, ecx
jmp 0x1400194cb
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
dec r12d
add r14d, 8
cmp r14d, 3
jb 0x140018872
mov eax, esi
shr esi, 1
and eax, 1
mov dword [rdi + 0xc], eax
mov eax, esi
and eax, 3
je 0x140018905
sub eax, 1
je 0x1400188d7
sub eax, 1
je 0x1400188ce
cmp eax, 1
jne 0x14001890c
lea rax, str.invalid_block_type
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x14001890c
mov dword [rdi + 8], 0x3f44
jmp 0x14001890c
lea rax, [0x140276780]
mov dword [r13], 9
mov qword [rdi + 0x60], rax
lea rax, [0x140276f80]
mov qword [rdi + 0x68], rax
mov dword [rdi + 0x74], 5
mov dword [rdi + 8], 0x3f47
jmp 0x14001890c
mov dword [rdi + 8], 0x3f41
shr esi, 2
add r14d, 0xfffffffd
jmp 0x1400194cb
mov ecx, r14d
and ecx, 7
shr esi, cl
sub r14d, ecx
xor r13d, r13d
cmp r14d, 0x20
jae 0x140018950
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
dec r12d
add r14d, 8
jmp 0x140018926
mov eax, esi
movzx ecx, si
not eax
shr eax, 0x10
cmp ecx, eax
je 0x14001896a
lea rax, str.invalid_stored_block_lengths
jmp 0x1400194c0
mov dword [rdi + 0x50], ecx
mov esi, r13d
mov r14d, r13d
mov dword [rdi + 8], 0x3f43
mov eax, dword [rdi + 0x50]
test eax, eax
je 0x1400187dc
cmp eax, r12d
mov r13d, r12d
cmovbe r13d, eax
cmp r13d, r10d
cmova r13d, r10d
test r13d, r13d
je 0x14001953a
mov rcx, qword [rbp - 0x18]
mov rdx, r11
mov r8d, r13d
mov ebx, r13d
call fcn.140210d80
mov r11, qword [rbp - 0x20]
sub r12d, r13d
mov r10d, dword [rbp - 0x30]
add r11, rbx
add qword [rbp - 0x18], rbx
sub r10d, r13d
sub dword [rdi + 0x50], r13d
mov rbx, qword [rbp - 0x18]
mov qword [rbp - 0x20], r11
mov dword [rbp - 0x30], r10d
jmp 0x1400194cb
xor r8d, r8d
cmp r14d, 0xe
jae 0x140018a08
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
dec r12d
add r14d, 8
jmp 0x1400189de
mov ecx, esi
add r14d, 0xfffffff2
shr esi, 5
and ecx, 0x1f
mov edx, esi
add ecx, 0x101
shr esi, 5
and edx, 0x1f
mov eax, esi
mov dword [rdi + 0x7c], ecx
and eax, 0xf
shr esi, 4
add eax, 4
inc edx
mov dword [rdi + 0x80], edx
mov dword [rdi + 0x78], eax
cmp ecx, 0x11e
ja 0x140018a58
cmp edx, 0x1e
ja 0x140018a58
mov dword [rdi + 0x84], r8d
mov dword [rdi + 8], 0x3f45
jmp 0x140018a67
lea rax, str.too_many_length_or_distance_symbols
jmp 0x1400194c0
xor r8d, r8d
mov eax, dword [rdi + 0x84]
lea r9, [0x140000000]
mov edx, 7
cmp eax, dword [rdi + 0x78]
jae 0x140018afa
jmp 0x140018aa2
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
dec r12d
add r14d, 8
cmp r14d, 3
jb 0x140018a80
mov eax, dword [rdi + 0x84]
movzx ecx, si
and cx, dx
shr esi, 3
movzx eax, word [r9 + rax*2 + 0x277000]
mov word [rdi + rax*2 + 0x90], cx
mov eax, dword [rdi + 0x84]
inc eax
mov dword [rdi + 0x84], eax
add r14d, 0xfffffffd
jmp 0x140018a79
movzx eax, word [r9 + rax*2 + 0x277000]
mov word [rdi + rax*2 + 0x90], r8w
inc dword [rdi + 0x84]
mov eax, dword [rdi + 0x84]
cmp eax, 0x13
jb 0x140018adc
lea rax, [rdi + 0x550]
mov dword [r13], edx
lea r9, [rdi + 0x88]
mov qword [rdi + 0x60], rax
xor ecx, ecx
mov qword [r9], rax
lea rax, [rdi + 0x310]
mov qword [rsp + 0x28], rax
lea rdx, [rdi + 0x90]
mov qword [rsp + 0x20], r13
lea r8d, [rcx + 0x13]
call fcn.14001975c
mov r11, qword [rbp - 0x20]
xor r8d, r8d
mov r10d, dword [rbp - 0x30]
mov dword [rbp + 0x58], eax
test eax, eax
je 0x140018b59
lea rax, str.invalid_code_lengths_set
jmp 0x1400194c0
mov dword [rdi + 0x84], r8d
mov dword [rdi + 8], 0x3f46
jmp 0x140018b6c
xor r8d, r8d
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
cmp dword [rdi + 0x84], eax
jae 0x140018db0
mov r8d, dword [r13]
mov eax, 1
mov r9, qword [rdi + 0x60]
mov ecx, r8d
shl eax, cl
lea ecx, [rax - 1]
mov eax, esi
and rcx, rax
mov eax, dword [r9 + rcx*4]
jmp 0x140018bd8
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
mov eax, 1
mov edx, esi
mov ecx, r8d
dec r12d
shl eax, cl
add r14d, 8
dec eax
and rax, rdx
mov eax, dword [r9 + rax*4]
mov ecx, eax
mov dword [rbp - 0x28], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, r14d
ja 0x140018ba1
mov edx, eax
mov ecx, reloc.WS2_32.dll_recv
shr edx, 0x10
cmp dx, cx
jae 0x140018c22
shr eax, 8
movzx ecx, al
mov eax, dword [rdi + 0x84]
sub r14d, ecx
shr esi, cl
mov word [rdi + rax*2 + 0x90], dx
inc dword [rdi + 0x84]
mov r8d, dword [rdi + 0x84]
jmp 0x140018d73
jne 0x140018c8f
shr eax, 8
movzx edx, al
add edx, 2
xor r8d, r8d
cmp r14d, edx
jae 0x140018c59
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
dec r12d
add r14d, 8
jmp 0x140018c30
movzx ecx, byte [rbp - 0x27]
mov eax, dword [rdi + 0x84]
sub r14d, ecx
shr esi, cl
test eax, eax
je 0x140018d87
mov edx, esi
add r14d, 0xfffffffe
and edx, 3
shr esi, 2
add edx, 3
dec eax
movzx r9d, word [rdi + rax*2 + 0x90]
jmp 0x140018d38
cmp word [rbp - 0x26], 0x11
movzx r8d, byte [rbp - 0x27]
jne 0x140018cea
lea edx, [r8 + 3]
jmp 0x140018cc3
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
dec r12d
add r14d, 8
cmp r14d, edx
jb 0x140018ca1
mov cl, r8b
shr esi, cl
mov ecx, 0xfffffffd
mov edx, esi
sub ecx, r8d
and edx, 7
shr esi, 3
add edx, 3
add r14d, ecx
xor eax, eax
mov r9d, eax
jmp 0x140018d38
lea edx, [r8 + 7]
jmp 0x140018d12
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
dec r12d
add r14d, 8
cmp r14d, edx
jb 0x140018cf0
mov cl, r8b
shr esi, cl
mov ecx, 0xfffffff9
mov edx, esi
sub ecx, r8d
and edx, 0x7f
shr esi, 7
add edx, 0xb
add r14d, ecx
xor eax, eax
movzx r9d, ax
mov r8d, dword [rdi + 0x84]
mov eax, dword [rdi + 0x7c]
add eax, dword [rdi + 0x80]
lea ecx, [r8 + rdx]
cmp ecx, eax
ja 0x140018d9b
mov eax, r8d
mov word [rdi + rax*2 + 0x90], r9w
mov r8d, dword [rdi + 0x84]
lea r8d, [r8 + 1]
mov dword [rdi + 0x84], r8d
add edx, 0xffffffff
jne 0x140018d50
mov eax, dword [rdi + 0x7c]
add eax, dword [rdi + 0x80]
cmp r8d, eax
jb 0x140018b81
jmp 0x140018dad
lea rax, str.invalid_bit_length_repeat
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x140018db0
lea rax, str.invalid_bit_length_repeat
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
xor r8d, r8d
cmp dword [rdi + 8], 0x3f51
je 0x1400194cb
cmp word [rdi + 0x290], r8w
jne 0x140018dd3
lea rax, str.invalid_code____missing_end_of_block
jmp 0x1400194c0
mov r8d, dword [rdi + 0x7c]
lea rax, [rdi + 0x550]
lea rbx, [rdi + 0x88]
mov dword [r13], 9
mov qword [rbx], rax
lea r13, [rdi + 0x310]
mov qword [rdi + 0x60], rax
lea rdx, [rdi + 0x90]
lea rax, [rdi + 0x70]
mov qword [rsp + 0x28], r13
mov r9, rbx
mov qword [rsp + 0x20], rax
mov ecx, 1
call fcn.14001975c
mov dword [rbp + 0x58], eax
test eax, eax
je 0x140018e38
mov r11, qword [rbp - 0x20]
lea rax, str.invalid_literal_lengths_set
mov r10d, dword [rbp - 0x30]
jmp 0x1400194bc
mov rax, qword [rbx]
lea rcx, [rdi + 0x74]
mov r8d, dword [rdi + 0x80]
mov r9, rbx
mov qword [rdi + 0x68], rax
mov eax, dword [rdi + 0x7c]
add rax, 0x48
mov dword [rcx], 6
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
mov ecx, 2
lea rdx, [rdi + rax*2]
call fcn.14001975c
mov r11, qword [rbp - 0x20]
mov r10d, dword [rbp - 0x30]
mov rbx, qword [rbp - 0x18]
mov dword [rbp + 0x58], eax
test eax, eax
je 0x140018e91
lea rax, str.invalid_distances_set
jmp 0x1400194c0
mov r9d, dword [rbp + 0x50]
lea r13, [rdi + 0x70]
mov dword [rdi + 8], 0x3f48
cmp r12d, 6
jb 0x140018f0f
cmp r10d, 0x102
jb 0x140018f0f
mov r13, qword [rbp - 0x10]
mov edx, r9d
mov dword [r15 + 0x18], r10d
mov rcx, r15
mov qword [r15], r11
mov dword [r15 + 8], r12d
mov qword [r13], rbx
mov dword [rdi + 0x48], esi
mov dword [rdi + 0x4c], r14d
call fcn.140017968
cmp dword [rdi + 8], 0x3f3f
mov r11, qword [r15]
mov rbx, qword [r13]
mov r10d, dword [r15 + 0x18]
mov r12d, dword [r15 + 8]
mov esi, dword [rdi + 0x48]
mov r14d, dword [rdi + 0x4c]
mov qword [rbp - 0x20], r11
mov qword [rbp - 0x18], rbx
mov dword [rbp - 0x30], r10d
jne 0x1400194cb
or dword [rdi + 0x1be4], 0xffffffff
jmp 0x1400194cb
mov r8d, dword [r13]
xor eax, eax
mov r10, qword [rdi + 0x60]
mov ecx, r8d
mov dword [rdi + 0x1be4], eax
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, esi
and rcx, rax
mov eax, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
xor r13d, r13d
movzx ecx, cl
cmp ecx, r14d
jbe 0x140018f83
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
mov eax, 1
mov edx, esi
mov ecx, r8d
dec r12d
shl eax, cl
add r14d, 8
dec eax
and rax, rdx
mov eax, dword [r10 + rax*4]
mov ecx, eax
shr ecx, 8
jmp 0x140018f3d
mov r11d, eax
test al, al
je 0x140019053
test al, 0xf0
jne 0x140019053
mov ecx, eax
mov dword [rbp - 0x28], eax
shr ecx, 8
mov r9d, 1
movzx r8d, cl
mov edx, eax
movzx ecx, al
add ecx, r8d
shr eax, 0x10
shl r9d, cl
mov ecx, r8d
dec r9d
shr r11d, 8
and r9d, esi
shr r9d, cl
add r9d, eax
mov eax, dword [r10 + r9*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r11b
add r8d, ecx
cmp r8d, r14d
jbe 0x140019044
mov r11, qword [rbp - 0x20]
test r12d, r12d
je 0x14001953e
movzx r9d, byte [rbp - 0x27]
mov ecx, r14d
movzx eax, byte [r11]
mov r8d, 1
shl eax, cl
inc r11
add esi, eax
movzx ecx, dl
movzx eax, word [rbp - 0x26]
add ecx, r9d
shl r8d, cl
dec r12d
dec r8d
mov qword [rbp - 0x20], r11
and r8d, esi
mov ecx, r9d
shr r8d, cl
add r14d, 8
add r8d, eax
mov eax, dword [r10 + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, r14d
ja 0x140018fe6
movzx ecx, byte [rbp - 0x27]
shr esi, cl
sub r14d, ecx
mov dword [rdi + 0x1be4], ecx
mov ecx, eax
shr ecx, 8
movzx edx, cl
add dword [rdi + 0x1be4], edx
mov ecx, edx
shr esi, cl
sub r14d, edx
mov ecx, eax
shr ecx, 0x10
mov dword [rdi + 0x50], ecx
test al, al
jne 0x140019080
mov dword [rdi + 8], 0x3f4d
jmp 0x14001823e
test al, 0x20
je 0x140019097
or dword [rdi + 0x1be4], 0xffffffff
mov dword [rdi + 8], 0x3f3f
jmp 0x14001823e
mov r11, qword [rbp - 0x20]
test al, 0x40
je 0x1400190af
mov r10d, dword [rbp - 0x30]
lea rax, str.invalid_literal_length_code
jmp 0x1400194c0
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 8], 0x3f49
mov dword [rdi + 0x58], ecx
jmp 0x1400190c4
xor r13d, r13d
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x140019110
jmp 0x1400190ef
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
dec r12d
add r14d, 8
cmp r14d, edx
jb 0x1400190cd
mov ecx, dword [rdi + 0x58]
mov eax, 1
shl eax, cl
sub r14d, ecx
dec eax
and eax, esi
shr esi, cl
add dword [rdi + 0x50], eax
add dword [rdi + 0x1be4], ecx
mov eax, dword [rdi + 0x50]
mov dword [rdi + 0x1be8], eax
mov dword [rdi + 8], 0x3f4a
jmp 0x140019125
xor r13d, r13d
mov r8d, dword [rdi + 0x74]
mov eax, 1
mov r10, qword [rdi + 0x68]
mov ecx, r8d
shl eax, cl
lea ecx, [rax - 1]
mov eax, esi
and rcx, rax
mov eax, dword [r10 + rcx*4]
jmp 0x14001917c
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
mov eax, 1
mov edx, esi
mov ecx, r8d
dec r12d
shl eax, cl
add r14d, 8
dec eax
and rax, rdx
mov eax, dword [r10 + rax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, r14d
ja 0x140019145
mov r11d, eax
test al, 0xf0
jne 0x140019251
mov ecx, eax
mov dword [rbp - 0x28], eax
shr ecx, 8
mov r9d, 1
movzx r8d, cl
mov edx, eax
movzx ecx, al
add ecx, r8d
shr eax, 0x10
shl r9d, cl
mov ecx, r8d
dec r9d
shr r11d, 8
and r9d, esi
shr r9d, cl
add r9d, eax
mov eax, dword [r10 + r9*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r11b
add r8d, ecx
cmp r8d, r14d
jbe 0x140019242
mov r11, qword [rbp - 0x20]
test r12d, r12d
je 0x14001953e
movzx r9d, byte [rbp - 0x27]
mov ecx, r14d
movzx eax, byte [r11]
mov r8d, 1
shl eax, cl
inc r11
add esi, eax
movzx ecx, dl
movzx eax, word [rbp - 0x26]
add ecx, r9d
shl r8d, cl
dec r12d
dec r8d
mov qword [rbp - 0x20], r11
and r8d, esi
mov ecx, r9d
shr r8d, cl
add r14d, 8
add r8d, eax
mov eax, dword [r10 + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, r14d
ja 0x1400191e4
movzx ecx, byte [rbp - 0x27]
shr esi, cl
sub r14d, ecx
add dword [rdi + 0x1be4], ecx
mov r11, qword [rbp - 0x20]
mov ecx, eax
mov r10d, dword [rbp - 0x30]
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub r14d, ecx
shr esi, cl
test al, 0x40
je 0x14001927c
lea rax, str.invalid_distance_code
jmp 0x1400194c0
mov r9d, dword [rbp + 0x50]
mov ecx, eax
shr ecx, 0x10
mov dword [rdi + 0x54], ecx
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 8], 0x3f4b
mov dword [rdi + 0x58], ecx
jmp 0x14001929d
xor r13d, r13d
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x1400192e9
jmp 0x1400192c8
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
dec r12d
add r14d, 8
cmp r14d, edx
jb 0x1400192a6
mov ecx, dword [rdi + 0x58]
mov eax, 1
shl eax, cl
sub r14d, ecx
dec eax
and eax, esi
shr esi, cl
add dword [rdi + 0x54], eax
add dword [rdi + 0x1be4], ecx
mov dword [rdi + 8], 0x3f4c
jmp 0x1400192f5
xor r13d, r13d
test r10d, r10d
je 0x14001953a
mov ecx, dword [rdi + 0x54]
mov eax, r9d
sub eax, r10d
cmp ecx, eax
jbe 0x14001934d
sub ecx, eax
cmp ecx, dword [rdi + 0x38]
jbe 0x140019327
cmp dword [rdi + 0x1be0], r13d
je 0x140019327
lea rax, str.invalid_distance_too_far_back
jmp 0x1400194c0
mov eax, dword [rdi + 0x3c]
cmp ecx, eax
jbe 0x140019337
mov edx, dword [rdi + 0x34]
sub ecx, eax
sub edx, ecx
jmp 0x14001933b
sub eax, ecx
mov edx, eax
mov eax, dword [rdi + 0x50]
mov r8d, eax
add rdx, qword [rdi + 0x40]
cmp ecx, eax
cmovbe r8d, ecx
jmp 0x140019359
mov eax, dword [rdi + 0x50]
mov rdx, rbx
sub rdx, rcx
mov r8d, eax
cmp r8d, r10d
cmova r8d, r10d
sub r10d, r8d
sub eax, r8d
mov dword [rbp - 0x30], r10d
sub rdx, rbx
mov dword [rdi + 0x50], eax
mov al, byte [rdx + rbx]
mov byte [rbx], al
inc rbx
add r8d, 0xffffffff
jne 0x140019370
mov qword [rbp - 0x18], rbx
cmp dword [rdi + 0x50], r13d
jne 0x1400194cb
mov dword [rdi + 8], 0x3f48
jmp 0x1400194cb
test r10d, r10d
je 0x14001953a
mov al, byte [rdi + 0x50]
mov byte [rbx], al
inc rbx
dec r10d
mov qword [rbp - 0x18], rbx
mov dword [rbp - 0x30], r10d
jmp 0x14001938c
xor r13d, r13d
cmp dword [rdi + 0x10], r13d
jne 0x1400193f0
mov ebx, dword [rbp + 0x50]
mov dword [rdi + 8], 0x3f4f
jmp 0x140019472
test r12d, r12d
je 0x14001953a
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
dec r12d
add r14d, 8
cmp r14d, 0x20
jb 0x1400193ce
sub r9d, r10d
add dword [r15 + 0x1c], r9d
add dword [rdi + 0x24], r9d
test byte [rdi + 0x10], 4
je 0x14001943c
test r9d, r9d
je 0x14001943c
mov ecx, dword [rdi + 0x20]
mov rdx, rbx
mov r8d, r9d
sub rdx, r8
cmp dword [rdi + 0x18], r13d
je 0x140019428
mov r8d, r9d
call fcn.1400c3058
jmp 0x14001942d
call fcn.140015100
mov r11, qword [rbp - 0x20]
mov r10d, dword [rbp - 0x30]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
test byte [rdi + 0x10], 4
mov ebx, r10d
mov dword [rbp + 0x50], ebx
je 0x140019461
cmp dword [rdi + 0x18], r13d
mov eax, esi
bswap eax
cmovne eax, esi
cmp eax, dword [rdi + 0x20]
je 0x140019461
lea rax, str.incorrect_data_check
jmp 0x1400194bc
mov esi, r13d
mov r14d, r13d
jmp 0x1400193c2
mov ebx, dword [rbp + 0x50]
xor r13d, r13d
cmp dword [rdi + 0x10], r13d
je 0x14001950c
cmp dword [rdi + 0x18], r13d
je 0x14001950c
jmp 0x1400194aa
test r12d, r12d
je 0x140019530
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x20], r11
dec r12d
add r14d, 8
cmp r14d, 0x20
jb 0x140019488
cmp esi, dword [rdi + 0x24]
je 0x140019506
lea rax, str.incorrect_length_check
mov rbx, qword [rbp - 0x18]
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
mov ecx, dword [rdi + 8]
sub ecx, 0x3f34
cmp ecx, 0x1f
ja case.0x1400181ad.16211
mov r9d, dword [rbp + 0x50]
jmp 0x14001818e
mov qword [r15 + 0x10], rbx
mov eax, 2
mov dword [r15 + 0x18], r10d
mov qword [r15], r11
mov dword [r15 + 8], r12d
mov dword [rdi + 0x48], esi
mov dword [rdi + 0x4c], r14d
jmp 0x14001966c
mov esi, r13d
mov r14d, r13d
mov dword [rdi + 8], 0x3f50
jmp 0x140019518
mov ebx, dword [rbp + 0x50]
mov r11, qword [rbp - 0x20]
mov r13d, 1
jmp 0x140019545
mov r11, qword [rbp - 0x20]
mov r13d, 0xfffffffd
jmp 0x140019542
mov r11, qword [rbp - 0x20]
mov r13d, dword [rbp + 0x58]
jmp 0x140019545
mov r11, qword [rbp - 0x20]
mov r13d, dword [rbp + 0x58]
mov ebx, dword [rbp + 0x50]
mov rax, qword [rbp - 0x18]
mov qword [r15 + 0x10], rax
mov eax, dword [rbp - 0x30]
mov dword [r15 + 0x18], eax
mov qword [r15], r11
mov dword [r15 + 8], r12d
mov dword [rdi + 0x4c], r14d
xor r14d, r14d
mov dword [rdi + 0x48], esi
mov esi, dword [rbp + 0x48]
cmp dword [rdi + 0x34], r14d
jne 0x14001958b
cmp ebx, dword [r15 + 0x18]
je 0x1400195b3
cmp dword [rdi + 8], 0x3f51
jge 0x1400195b3
cmp dword [rdi + 8], 0x3f4e
jl 0x14001958b
cmp esi, 4
je 0x1400195b3
mov rdx, qword [r15 + 0x10]
mov r8d, ebx
sub r8d, dword [r15 + 0x18]
mov rcx, r15
call fcn.140017fd8
test eax, eax
je 0x1400195b3
mov dword [rdi + 8], 0x3f52
mov eax, 0xfffffffc
jmp 0x14001966c
sub ebx, dword [r15 + 0x18]
mov r8d, dword [rbp - 0x24]
sub r8d, dword [r15 + 8]
add dword [r15 + 0xc], r8d
add dword [r15 + 0x1c], ebx
add dword [rdi + 0x24], ebx
test byte [rdi + 0x10], 4
mov dword [rbp - 0x24], r8d
je 0x140019605
test ebx, ebx
je 0x140019605
mov rdx, qword [r15 + 0x10]
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
sub rdx, r8
cmp dword [rdi + 0x18], r14d
je 0x1400195f5
mov r8d, ebx
call fcn.1400c3058
jmp 0x1400195fa
call fcn.140015100
mov r8d, dword [rbp - 0x24]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
cmp dword [rdi + 8], 0x3f47
je 0x14001961a
cmp dword [rdi + 8], 0x3f42
mov edx, r14d
jne 0x14001961f
mov edx, 0x100
mov eax, dword [rdi + 0xc]
mov r9d, 0x80
neg eax
mov eax, r14d
sbb ecx, ecx
and ecx, 0x40
cmp dword [rdi + 8], 0x3f3f
cmove eax, r9d
add ecx, eax
add ecx, dword [rdi + 0x4c]
add ecx, edx
mov dword [r15 + 0x48], ecx
test r8d, r8d
jne 0x140019651
test ebx, ebx
je 0x140019656
cmp esi, 4
jne 0x140019662
test r13d, r13d
mov eax, 0xfffffffb
cmove r13d, eax
mov eax, r13d
jmp 0x14001966c
mov eax, 0xfffffffe
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret