Function at 0x140015e04
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, 0x50
mov r15, rcx
call fcn.140015b00
xor ecx, ecx
test eax, eax
jne case.0x140015ec8.16211
mov r11, qword [r15 + 0x10]
mov qword [rbp - 8], r11
test r11, r11
je case.0x140015ec8.16211
mov r12, qword [r15]
mov qword [rbp - 0x10], r12
test r12, r12
jne 0x140015e58
cmp dword [r15 + 8], ecx
jne case.0x140015ec8.16211
mov rdi, qword [r15 + 0x28]
mov eax, 0x3f40
mov edx, dword [rdi + 8]
cmp edx, 0x3f3f
jne 0x140015e80
mov dword [rdi + 8], eax
mov edx, eax
mov r11, qword [r15 + 0x10]
mov r12, qword [r15]
mov qword [rbp - 8], r11
mov qword [rbp - 0x10], r12
mov ebx, dword [r15 + 0x18]
lea eax, [rdx - 0x3f34]
mov r13d, dword [r15 + 8]
mov r10d, ebx
mov r14d, dword [rdi + 0x48]
mov esi, dword [rdi + 0x4c]
mov dword [rbp - 0x1c], ebx
mov dword [rbp - 0x14], r13d
mov dword [rbp + 0x50], ebx
mov dword [rbp + 0x58], ecx
cmp eax, 0x1f
ja case.0x140015ec8.16211
cdqe
lea rcx, [0x140000000]
mov ecx, dword [rcx + rax*4 + 0x17394]
lea rax, [0x140000000]
add rcx, rax
jmp rcx
xor r9d, r9d
cmp dword [rdi + 0x10], r9d
jne 0x140015edf
mov dword [rdi + 8], 0x3f40
jmp 0x1400171d6
mov r8d, reloc.WS2_32.dll_recv
jmp 0x140015f09
test r13d, r13d
je 0x14001723c
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, r8d
jb 0x140015ee7
test byte [rdi + 0x10], 2
je 0x140015f5d
cmp r14d, 0x8b1f
jne 0x140015f5d
cmp dword [rdi + 0x30], r9d
jne 0x140015f2a
mov dword [rdi + 0x30], reloc.WS2_32.dll_ntohs
mov r8d, 2
mov dword [rdi + 0x20], r9d
lea rdx, [rbp - 0x20]
mov word [rbp - 0x20], 0x8b1f
xor ecx, ecx
call fcn.1400b3c54
xor r9d, r9d
mov dword [rdi + 0x20], eax
mov r14d, r9d
mov dword [rdi + 8], 0x3f35
mov esi, r9d
jmp 0x1400171d2
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x18], r9d
test rax, rax
je 0x140015f6e
or dword [rax + 0x40], 0xffffffff
test byte [rdi + 0x10], 1
je 0x14001601f
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 0x14001601f
mov eax, r14d
and al, 0xf
cmp al, 8
je 0x140015fb2
lea rax, str.unknown_compression_method
jmp 0x140016026
mov eax, dword [rdi + 0x30]
add esi, 0xfffffffc
shr r14d, 4
mov ecx, r14d
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x140015fce
mov eax, ecx
mov dword [rdi + 0x30], ecx
cmp ecx, 0xf
ja 0x140016016
cmp ecx, eax
ja 0x140016016
mov eax, 1
xor r8d, r8d
shl eax, cl
xor edx, edx
xor ecx, ecx
mov dword [rdi + 0x1c], eax
call fcn.140012f38
shr r14d, 8
not r14d
mov dword [rdi + 0x20], eax
and r14d, 2
mov dword [r15 + 0x4c], eax
or r14d, 0x3f3d
xor eax, eax
mov dword [rdi + 8], r14d
mov r14d, eax
mov esi, eax
jmp 0x1400171d2
lea rax, str.invalid_window_size
jmp 0x140016026
lea rax, str.incorrect_header_check
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x1400171d6
mov r8d, reloc.WS2_32.dll_recv
jmp 0x140016060
test r13d, r13d
je 0x14001723c
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, r8d
jb 0x14001603e
mov dword [rdi + 0x18], r14d
cmp r14b, 8
jne 0x140015fa9
test r14d, 0xe000
je 0x140016085
lea rax, str.unknown_header_flags_set
jmp 0x140016026
mov rdx, qword [rdi + 0x28]
mov ecx, r14d
shr ecx, 8
xor r11d, r11d
mov eax, r14d
test rdx, rdx
je 0x1400160a4
mov eax, ecx
and eax, 1
mov dword [rdx], eax
mov eax, dword [rdi + 0x18]
bt eax, 9
jae 0x1400160cf
test byte [rdi + 0x10], 4
je 0x1400160cf
mov byte [rbp - 0x1f], cl
lea rdx, [rbp - 0x20]
mov ecx, dword [rdi + 0x20]
mov r8d, 2
mov byte [rbp - 0x20], r14b
call fcn.1400b3c54
mov dword [rdi + 0x20], eax
xor r11d, r11d
mov r14d, r11d
mov dword [rdi + 8], 0x3f36
mov esi, r11d
jmp 0x1400160ea
xor r11d, r11d
mov qword [rbp - 0x10], r12
cmp esi, 0x20
jae 0x14001610a
test r13d, r13d
je 0x14001723f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
dec r13d
add r14d, eax
inc r12
add esi, 8
jmp 0x1400160e1
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140016117
mov dword [rax + 4], r14d
test dword [rdi + 0x18], 0x200
je 0x14001615c
test byte [rdi + 0x10], 4
je 0x14001615c
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp - 0x20]
mov eax, r14d
mov byte [rbp - 0x20], r14b
shr eax, 8
mov r8d, 4
mov byte [rbp - 0x1f], al
mov eax, r14d
shr eax, 0x10
shr r14d, 0x18
mov byte [rbp - 0x1e], al
mov byte [rbp - 0x1d], r14b
call fcn.1400b3c54
mov dword [rdi + 0x20], eax
xor r11d, r11d
mov r14d, r11d
mov dword [rdi + 8], 0x3f37
mov esi, r11d
mov ebx, reloc.WS2_32.dll_recv
jmp 0x140016180
mov ebx, reloc.WS2_32.dll_recv
xor r11d, r11d
mov qword [rbp - 0x10], r12
cmp esi, ebx
jae 0x1400161a0
test r13d, r13d
je 0x14001723f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
dec r13d
add r14d, eax
inc r12
add esi, 8
jmp 0x140016178
mov rdx, qword [rdi + 0x28]
mov ecx, r14d
shr ecx, 8
test rdx, rdx
je 0x1400161bd
movzx eax, r14b
mov dword [rdx + 8], eax
mov rax, qword [rdi + 0x28]
mov dword [rax + 0xc], ecx
test dword [rdi + 0x18], 0x200
je 0x1400161eb
test byte [rdi + 0x10], 4
je 0x1400161eb
mov byte [rbp - 0x1f], cl
lea rdx, [rbp - 0x20]
mov ecx, dword [rdi + 0x20]
mov r8d, 2
mov byte [rbp - 0x20], r14b
call fcn.1400b3c54
mov dword [rdi + 0x20], eax
xor r11d, r11d
mov r14d, r11d
mov dword [rdi + 8], 0x3f38
mov esi, r11d
jmp 0x140016201
xor r11d, r11d
lea ebx, [r11 + 0x10]
test dword [rdi + 0x18], 0x400
jne 0x140016242
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140016217
mov qword [rax + 0x10], r11
mov dword [rdi + 8], 0x3f39
jmp 0x140016295
test r13d, r13d
je 0x14001723f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, ebx
jb 0x140016220
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x50], r14d
test rax, rax
je 0x140016257
mov dword [rax + 0x18], r14d
test dword [rdi + 0x18], 0x200
je 0x14001628a
test byte [rdi + 0x10], 4
je 0x14001628a
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp - 0x20]
mov byte [rbp - 0x20], r14b
mov r8d, 2
shr r14d, 8
mov byte [rbp - 0x1f], r14b
call fcn.1400b3c54
mov dword [rdi + 0x20], eax
xor r11d, r11d
mov r14d, r11d
mov esi, r11d
jmp 0x140016217
xor r11d, r11d
mov eax, dword [rdi + 0x18]
bt eax, 0xa
jae 0x140016331
mov ebx, dword [rdi + 0x50]
mov r12d, r13d
cmp ebx, r13d
cmovbe r12d, ebx
test r12d, r12d
je 0x140016329
mov rcx, qword [rdi + 0x28]
mov edx, ebx
test rcx, rcx
je 0x1400162f6
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x1400162f6
mov edx, dword [rcx + 0x18]
mov ecx, dword [rcx + 0x1c]
sub edx, ebx
lea eax, [r12 + rdx]
cmp eax, ecx
jbe 0x1400162dc
sub ecx, edx
jmp 0x1400162df
mov ecx, r12d
mov r8d, ecx
mov ecx, edx
mov rdx, qword [rbp - 0x10]
add rcx, r9
call fcn.1401cb620
mov eax, dword [rdi + 0x18]
mov edx, dword [rdi + 0x50]
mov ebx, edx
bt eax, 9
jae 0x140016316
test byte [rdi + 0x10], 4
je 0x140016316
mov rdx, qword [rbp - 0x10]
mov r8d, r12d
mov ecx, dword [rdi + 0x20]
call fcn.1400b3c54
mov dword [rdi + 0x20], eax
sub ebx, r12d
mov eax, r12d
add qword [rbp - 0x10], rax
sub r13d, r12d
xor r11d, r11d
mov dword [rdi + 0x50], ebx
test ebx, ebx
jne 0x14001723f
mov dword [rdi + 0x50], r11d
mov dword [rdi + 8], 0x3f3a
jmp 0x140016341
xor r11d, r11d
test dword [rdi + 0x18], 0x800
je 0x1400163c8
test r13d, r13d
je 0x14001723f
mov rcx, qword [rbp - 0x10]
mov ebx, r11d
mov eax, ebx
inc ebx
mov r12b, byte [rax + rcx]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140016387
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x140016387
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x28]
jae 0x140016383
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
mov rcx, qword [rbp - 0x10]
test r12b, r12b
je 0x140016391
cmp ebx, r13d
jb 0x14001635a
test dword [rdi + 0x18], 0x200
je 0x1400163b4
test byte [rdi + 0x10], 4
je 0x1400163b4
mov rdx, rcx
mov r8d, ebx
mov ecx, dword [rdi + 0x20]
call fcn.1400b3c54
mov dword [rdi + 0x20], eax
xor r11d, r11d
mov eax, ebx
sub r13d, ebx
add qword [rbp - 0x10], rax
test r12b, r12b
jne 0x14001723f
jmp 0x1400163d5
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1400163d5
mov qword [rax + 0x20], r11
mov dword [rdi + 0x50], r11d
mov dword [rdi + 8], 0x3f3b
jmp 0x1400163e5
xor r11d, r11d
test dword [rdi + 0x18], 0x1000
je 0x14001646c
test r13d, r13d
je 0x14001723f
mov rcx, qword [rbp - 0x10]
mov ebx, r11d
mov eax, ebx
inc ebx
mov r12b, byte [rax + rcx]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x14001642b
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x14001642b
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x38]
jae 0x140016427
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
mov rcx, qword [rbp - 0x10]
test r12b, r12b
je 0x140016435
cmp ebx, r13d
jb 0x1400163fe
test dword [rdi + 0x18], 0x200
je 0x140016458
test byte [rdi + 0x10], 4
je 0x140016458
mov rdx, rcx
mov r8d, ebx
mov ecx, dword [rdi + 0x20]
call fcn.1400b3c54
mov dword [rdi + 0x20], eax
xor r11d, r11d
mov eax, ebx
sub r13d, ebx
add qword [rbp - 0x10], rax
test r12b, r12b
jne 0x14001723f
jmp 0x140016479
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140016479
mov qword [rax + 0x30], r11
mov ebx, dword [rbp - 0x1c]
mov dword [rdi + 8], 0x3f3c
jmp 0x140016488
xor r11d, r11d
mov edx, dword [rdi + 0x18]
bt edx, 9
jae 0x1400164f7
mov r8d, reloc.WS2_32.dll_recv
cmp esi, r8d
jae 0x1400164c7
mov r12, qword [rbp - 0x10]
test r13d, r13d
je 0x14001723f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, r8d
jb 0x1400164a0
test byte [rdi + 0x10], 4
je 0x1400164f1
movzx eax, word [rdi + 0x20]
cmp r14d, eax
je 0x1400164f1
lea rax, str.header_crc_mismatch
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
mov r12, qword [rbp - 0x10]
jmp 0x1400171d2
mov r14d, r11d
mov esi, r11d
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140016514
sar edx, 9
and edx, 1
mov dword [rax + 0x3c], edx
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x40], 1
mov dword [rdi + 0x20], r11d
mov dword [r15 + 0x4c], r11d
mov dword [rdi + 8], 0x3f3f
jmp 0x1400164e8
test r13d, r13d
je 0x14001723c
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x140016525
mov eax, r14d
mov ecx, r14d
shl eax, 0x10
mov edx, 0xff00
and ecx, edx
add ecx, eax
mov eax, r14d
shr eax, 8
and eax, edx
shr r14d, 0x18
shl ecx, 8
add eax, ecx
add eax, r14d
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
xor eax, eax
mov r14d, eax
mov dword [rdi + 8], 0x3f3e
mov esi, eax
jmp 0x14001658b
xor eax, eax
cmp dword [rdi + 0x14], eax
je 0x1400171f1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140012f38
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
mov dword [rdi + 8], 0x3f3f
xor r11d, r11d
cmp dword [rdi + 0xc], r11d
je 0x1400165ef
mov ecx, esi
mov dword [rdi + 8], 0x3f4e
and ecx, 7
shr r14d, cl
sub esi, ecx
jmp 0x1400171d2
test r13d, r13d
je 0x14001723f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, 3
jb 0x1400165cd
mov eax, r14d
shr r14d, 1
and eax, 1
mov dword [rdi + 0xc], eax
mov eax, r14d
and eax, 3
je 0x140016661
sub eax, 1
je 0x140016634
sub eax, 1
je 0x14001662b
cmp eax, 1
jne 0x140016668
lea rax, str.invalid_block_type
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x140016668
mov dword [rdi + 8], 0x3f44
jmp 0x140016668
lea rax, [0x14025eb30]
mov dword [rdi + 0x70], 9
mov qword [rdi + 0x60], rax
lea rax, [0x14025f330]
mov qword [rdi + 0x68], rax
mov dword [rdi + 0x74], 5
mov dword [rdi + 8], 0x3f47
jmp 0x140016668
mov dword [rdi + 8], 0x3f41
shr r14d, 2
add esi, 0xfffffffd
jmp 0x1400171d2
mov ecx, esi
and ecx, 7
shr r14d, cl
sub esi, ecx
xor r9d, r9d
cmp esi, 0x20
jae 0x1400166aa
test r13d, r13d
je 0x14001723c
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
jmp 0x140016681
mov eax, r14d
movzx ecx, r14w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x1400166c6
lea rax, str.invalid_stored_block_lengths
jmp 0x140016026
mov dword [rdi + 0x50], ecx
mov r14d, r9d
mov esi, r9d
mov dword [rdi + 8], 0x3f43
mov eax, dword [rdi + 0x50]
test eax, eax
je 0x14001672f
cmp eax, r13d
mov r12d, r13d
cmovbe r12d, eax
cmp r12d, ebx
cmova r12d, ebx
test r12d, r12d
je 0x14001723c
mov rdx, qword [rbp - 0x10]
mov rcx, r11
mov r8d, r12d
mov ebx, r12d
call fcn.1401cb620
add qword [rbp - 0x10], rbx
sub r13d, r12d
sub dword [rbp - 0x1c], r12d
mov r11, qword [rbp - 8]
add r11, rbx
mov ebx, dword [rbp - 0x1c]
sub dword [rdi + 0x50], r12d
mov r12, qword [rbp - 0x10]
mov qword [rbp - 8], r11
jmp 0x1400171d6
mov dword [rdi + 8], 0x3f3f
jmp 0x1400171d6
test r13d, r13d
je 0x14001723c
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, 0xe
jb 0x14001673b
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 + 0x7c], ecx
and eax, 0xf
shr r14d, 4
add eax, 4
inc edx
mov dword [rdi + 0x80], edx
mov dword [rdi + 0x78], eax
cmp ecx, 0x11e
ja 0x1400167ba
cmp edx, 0x1e
ja 0x1400167ba
xor r11d, r11d
mov dword [rdi + 8], 0x3f45
mov dword [rdi + 0x84], r11d
jmp 0x1400167c9
lea rax, str.too_many_length_or_distance_symbols
jmp 0x140016026
xor r11d, r11d
mov edx, 7
lea r8, [0x140000000]
mov eax, dword [rdi + 0x84]
cmp eax, dword [rdi + 0x78]
jb 0x140016886
cmp eax, 0x13
jae 0x140016810
mov eax, dword [rdi + 0x84]
movzx eax, word [r8 + rax*2 + 0x25f3b0]
mov word [rdi + rax*2 + 0x90], r11w
inc dword [rdi + 0x84]
cmp dword [rdi + 0x84], 0x13
jb 0x1400167e9
lea rcx, [rdi + 0x70]
lea rax, [rdi + 0x550]
mov dword [rcx], edx
lea r9, [rdi + 0x88]
mov qword [rdi + 0x60], rax
mov qword [r9], rax
lea rdx, [rdi + 0x90]
lea rax, [rdi + 0x310]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea r8d, [rcx + 0x13]
call fcn.14001745c
xor r11d, r11d
mov dword [rbp + 0x58], eax
test eax, eax
je 0x1400168bb
lea rax, str.invalid_code_lengths_set
jmp 0x1400171c7
test r13d, r13d
je 0x14001723f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, 3
jb 0x140016864
mov eax, dword [rdi + 0x84]
movzx ecx, r14w
and cx, dx
shr r14d, 3
movzx eax, word [r8 + rax*2 + 0x25f3b0]
mov word [rdi + rax*2 + 0x90], cx
inc dword [rdi + 0x84]
add esi, 0xfffffffd
jmp 0x1400167d5
mov eax, 0x3f46
mov dword [rdi + 0x84], r11d
mov dword [rdi + 8], eax
mov edx, eax
jmp 0x1400168d1
xor r11d, r11d
mov eax, dword [rdi + 0x80]
lea r10, [rdi + 0x70]
add eax, dword [rdi + 0x7c]
mov r9d, dword [rdi + 0x84]
cmp r9d, eax
jae 0x140016ad3
mov ecx, dword [r10]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
jmp 0x140016938
test r13d, r13d
je 0x14001723f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
mov ecx, dword [r10]
add r14d, eax
mov eax, 1
mov edx, r14d
shl eax, cl
dec r13d
add esi, 8
mov qword [rbp - 0x10], r12
lea ecx, [rax - 1]
and rcx, rdx
mov rax, qword [rdi + 0x60]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [rbp - 0x18], eax
cmp ecx, esi
ja 0x140016903
mov edx, eax
mov r8d, reloc.WS2_32.dll_recv
shr edx, 0x10
cmp dx, r8w
jae 0x140016980
shr eax, 8
movzx ecx, al
mov eax, r9d
sub esi, ecx
shr r14d, cl
mov word [rdi + rax*2 + 0x90], dx
inc dword [rdi + 0x84]
jmp 0x140016ab7
jne 0x1400169e7
shr eax, 8
movzx edx, al
add edx, 2
jmp 0x1400169af
test r13d, r13d
je 0x14001723f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, edx
jb 0x14001698d
movzx ecx, byte [rbp - 0x17]
shr r14d, cl
sub esi, ecx
test r9d, r9d
je 0x140016af5
mov edx, r14d
lea eax, [r9 - 1]
movzx r8d, word [rdi + rax*2 + 0x90]
and edx, 3
add edx, 3
shr r14d, 2
add esi, 0xfffffffe
jmp 0x140016a8c
cmp word [rbp - 0x16], 0x11
movzx r8d, byte [rbp - 0x17]
jne 0x140016a3f
lea edx, [r8 + 3]
jmp 0x140016a1b
test r13d, r13d
je 0x14001723f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, edx
jb 0x1400169f9
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, r11d
jmp 0x140016a8a
lea edx, [r8 + 7]
jmp 0x140016a67
test r13d, r13d
je 0x14001723f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, edx
jb 0x140016a45
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, r11w
add esi, eax
mov eax, dword [rdi + 0x80]
lea ecx, [r9 + rdx]
add eax, dword [rdi + 0x7c]
cmp ecx, eax
ja 0x140016af5
mov eax, dword [rdi + 0x84]
mov word [rdi + rax*2 + 0x90], r8w
inc dword [rdi + 0x84]
add edx, 0xffffffff
jne 0x140016a9d
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
mov r9d, dword [rdi + 0x84]
cmp r9d, eax
jb 0x1400168ee
mov edx, dword [rdi + 8]
cmp edx, 0x3f51
je 0x1400171d2
cmp word [rdi + 0x290], r11w
jne 0x140016b01
lea rax, str.invalid_code____missing_end_of_block
jmp 0x1400171c7
lea rax, str.invalid_bit_length_repeat
jmp 0x1400171c7
mov r8d, dword [rdi + 0x7c]
lea rax, [rdi + 0x550]
lea rbx, [rdi + 0x88]
mov qword [rdi + 0x60], rax
lea r12, [rdi + 0x310]
mov qword [rbx], rax
mov qword [rsp + 0x28], r12
lea rdx, [rdi + 0x90]
mov r9, rbx
mov qword [rsp + 0x20], r10
mov ecx, 1
mov dword [r10], 9
call fcn.14001745c
mov dword [rbp + 0x58], eax
test eax, eax
je 0x140016b5d
mov r12, qword [rbp - 0x10]
lea rax, str.invalid_literal_lengths_set
jmp 0x1400171c4
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], r12
mov qword [rsp + 0x20], rcx
mov ecx, 2
lea rdx, [rdi + rax*2]
call fcn.14001745c
mov ebx, dword [rbp - 0x1c]
mov dword [rbp + 0x58], eax
test eax, eax
je 0x140016bad
lea rax, str.invalid_distances_set
jmp 0x1400164dd
mov r10d, dword [rbp + 0x50]
mov dword [rdi + 8], 0x3f48
cmp r13d, 6
jb 0x140016c29
cmp ebx, 0x102
jb 0x140016c29
mov rax, qword [rbp - 8]
mov edx, r10d
mov qword [r15 + 0x10], rax
mov rcx, r15
mov rax, qword [rbp - 0x10]
mov qword [r15], rax
mov dword [r15 + 0x18], ebx
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], r14d
mov dword [rdi + 0x4c], esi
call fcn.1400156b8
cmp dword [rdi + 8], 0x3f3f
mov r11, qword [r15 + 0x10]
mov r12, qword [r15]
mov ebx, dword [r15 + 0x18]
mov r13d, dword [r15 + 8]
mov r14d, dword [rdi + 0x48]
mov esi, dword [rdi + 0x4c]
mov qword [rbp - 8], r11
mov dword [rbp - 0x1c], ebx
mov qword [rbp - 0x10], r12
jne 0x1400171d6
or dword [rdi + 0x1be4], 0xffffffff
jmp 0x1400171d6
mov ecx, dword [rdi + 0x70]
xor r11d, r11d
mov r10, qword [rdi + 0x60]
mov r12, qword [rbp - 0x10]
mov dword [rdi + 0x1be4], r11d
lea eax, [r11 + 1]
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov eax, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x140016c9b
test r13d, r13d
je 0x14001723f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
mov ecx, dword [rdi + 0x70]
add r14d, eax
mov eax, 1
mov edx, r14d
shl eax, cl
dec r13d
add esi, 8
mov qword [rbp - 0x10], r12
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x60]
and rcx, rdx
mov eax, dword [rax + rcx*4]
jmp 0x140016c51
test al, al
je 0x140016d51
test al, 0xf0
jne 0x140016d51
mov ecx, eax
mov dword [rbp - 0x18], eax
shr ecx, 8
mov r8d, 1
movzx r9d, cl
mov edx, eax
movzx ecx, al
add ecx, r9d
shr eax, 0x10
shl r8d, cl
mov ecx, r9d
dec r8d
and r8d, r14d
shr r8d, cl
add r8d, eax
mov eax, dword [r10 + r8*4]
jmp 0x140016d31
test r13d, r13d
je 0x14001723f
movzx eax, byte [r12]
mov ecx, esi
movzx r9d, byte [rbp - 0x17]
mov r8d, 1
shl eax, cl
inc r12
add r14d, eax
movzx ecx, dl
movzx eax, word [rbp - 0x16]
add ecx, r9d
shl r8d, cl
dec r13d
dec r8d
mov qword [rbp - 0x10], r12
and r8d, r14d
mov ecx, r9d
shr r8d, cl
add esi, 8
add r8d, eax
mov rax, qword [rdi + 0x60]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, esi
ja 0x140016ce0
movzx ecx, byte [rbp - 0x17]
shr r14d, cl
sub esi, ecx
mov dword [rdi + 0x1be4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub esi, ecx
shr r14d, cl
mov ecx, eax
shr ecx, 0x10
mov dword [rdi + 0x50], ecx
test al, al
jne 0x140016d7c
mov dword [rdi + 8], 0x3f4d
jmp 0x1400171d2
test al, 0x20
je 0x140016d93
or dword [rdi + 0x1be4], 0xffffffff
mov dword [rdi + 8], 0x3f3f
jmp 0x1400171d2
test al, 0x40
je 0x140016da3
lea rax, str.invalid_literal_length_code
jmp 0x1400171c7
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 8], 0x3f49
mov dword [rdi + 0x58], ecx
jmp 0x140016db8
xor r11d, r11d
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x140016e09
cmp esi, edx
jae 0x140016ded
mov r12, qword [rbp - 0x10]
test r13d, r13d
je 0x14001723f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, edx
jb 0x140016dc7
mov ecx, edx
mov eax, 1
shl eax, cl
sub esi, edx
dec eax
and eax, r14d
shr r14d, cl
add dword [rdi + 0x50], eax
add dword [rdi + 0x1be4], edx
mov eax, dword [rdi + 0x50]
mov dword [rdi + 0x1be8], eax
mov dword [rdi + 8], 0x3f4a
jmp 0x140016e1e
xor r11d, r11d
mov ecx, dword [rdi + 0x74]
mov eax, 1
mov r10, qword [rdi + 0x68]
mov r12, qword [rbp - 0x10]
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov eax, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x140016e87
test r13d, r13d
je 0x14001723f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
mov ecx, dword [rdi + 0x74]
add r14d, eax
mov eax, 1
mov edx, r14d
shl eax, cl
dec r13d
add esi, 8
mov qword [rbp - 0x10], r12
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x68]
and rcx, rdx
mov eax, dword [rax + rcx*4]
jmp 0x140016e3d
test al, 0xf0
jne 0x140016f35
mov ecx, eax
mov dword [rbp - 0x18], eax
shr ecx, 8
mov r8d, 1
movzx r9d, cl
mov edx, eax
movzx ecx, al
add ecx, r9d
shr eax, 0x10
shl r8d, cl
mov ecx, r9d
dec r8d
and r8d, r14d
shr r8d, cl
add r8d, eax
mov eax, dword [r10 + r8*4]
jmp 0x140016f15
test r13d, r13d
je 0x14001723f
movzx eax, byte [r12]
mov ecx, esi
movzx r9d, byte [rbp - 0x17]
mov r8d, 1
shl eax, cl
inc r12
add r14d, eax
movzx ecx, dl
movzx eax, word [rbp - 0x16]
add ecx, r9d
shl r8d, cl
dec r13d
dec r8d
mov qword [rbp - 0x10], r12
and r8d, r14d
mov ecx, r9d
shr r8d, cl
add esi, 8
add r8d, eax
mov rax, qword [rdi + 0x68]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, esi
ja 0x140016ec4
movzx ecx, byte [rbp - 0x17]
shr r14d, cl
sub esi, ecx
add dword [rdi + 0x1be4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub esi, ecx
shr r14d, cl
test al, 0x40
je 0x140016f58
lea rax, str.invalid_distance_code
jmp 0x1400171c7
mov r10d, 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 0x140016f79
xor r11d, r11d
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x140016fca
cmp esi, edx
jae 0x140016fae
mov r12, qword [rbp - 0x10]
test r13d, r13d
je 0x14001723f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, edx
jb 0x140016f88
mov ecx, edx
mov eax, 1
shl eax, cl
sub esi, edx
dec eax
and eax, r14d
shr r14d, cl
add dword [rdi + 0x54], eax
add dword [rdi + 0x1be4], edx
mov dword [rdi + 8], 0x3f4c
jmp 0x140016fd6
xor r11d, r11d
test ebx, ebx
je 0x14001723f
mov ecx, dword [rdi + 0x54]
mov eax, r10d
sub eax, ebx
cmp ecx, eax
jbe 0x140017030
sub ecx, eax
cmp ecx, dword [rdi + 0x38]
jbe 0x140017006
cmp dword [rdi + 0x1be0], r11d
je 0x140017006
lea rax, [0x1402648e0]
jmp 0x1400164dd
mov eax, dword [rdi + 0x3c]
cmp ecx, eax
jbe 0x140017016
mov edx, dword [rdi + 0x34]
sub ecx, eax
sub edx, ecx
jmp 0x14001701a
sub eax, ecx
mov edx, eax
mov eax, dword [rdi + 0x50]
mov r8d, eax
add rdx, qword [rdi + 0x40]
mov r11, qword [rbp - 8]
cmp ecx, eax
cmovbe r8d, ecx
jmp 0x140017040
mov r11, qword [rbp - 8]
mov eax, dword [rdi + 0x50]
mov rdx, r11
sub rdx, rcx
mov r8d, eax
cmp r8d, ebx
cmova r8d, ebx
sub ebx, r8d
sub eax, r8d
mov dword [rbp - 0x1c], ebx
sub rdx, r11
mov dword [rdi + 0x50], eax
mov al, byte [rdx + r11]
mov byte [r11], al
inc r11
add r8d, 0xffffffff
jne 0x140017056
mov r12, qword [rbp - 0x10]
xor eax, eax
mov qword [rbp - 8], r11
cmp dword [rdi + 0x50], eax
jne 0x1400171d6
mov dword [rdi + 8], 0x3f48
jmp 0x1400171d6
test ebx, ebx
je 0x14001723c
mov al, byte [rdi + 0x50]
mov byte [r11], al
inc r11
dec ebx
mov qword [rbp - 8], r11
mov dword [rbp - 0x1c], ebx
jmp 0x140017079
xor r9d, r9d
cmp dword [rdi + 0x10], r9d
jne 0x1400170db
mov ebx, dword [rbp + 0x50]
mov dword [rdi + 8], 0x3f4f
jmp 0x140017177
test r13d, r13d
je 0x14001723c
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x1400170b9
sub r10d, ebx
add dword [r15 + 0x1c], r10d
add dword [rdi + 0x24], r10d
mov eax, dword [rdi + 0x10]
test al, 4
je 0x140017125
test r10d, r10d
je 0x140017125
mov ecx, dword [rdi + 0x20]
mov rdx, r11
mov r8d, r10d
sub rdx, r8
cmp dword [rdi + 0x18], r9d
je 0x140017113
mov r8d, r10d
call fcn.1400b3c54
jmp 0x140017118
call fcn.140012f38
mov dword [rdi + 0x20], eax
xor r9d, r9d
mov dword [r15 + 0x4c], eax
mov eax, dword [rdi + 0x10]
mov dword [rbp + 0x50], ebx
test al, 4
je 0x140017169
mov edx, 0xff00
mov ecx, r14d
and ecx, edx
mov eax, r14d
shl eax, 0x10
add ecx, eax
mov eax, r14d
shr eax, 8
and eax, edx
shl ecx, 8
add ecx, eax
mov eax, r14d
shr eax, 0x18
add ecx, eax
cmp dword [rdi + 0x18], r9d
cmovne ecx, r14d
cmp ecx, dword [rdi + 0x20]
je 0x140017169
lea rax, str.incorrect_data_check
jmp 0x1400171c4
mov r14d, r9d
mov esi, r9d
jmp 0x1400170ad
mov ebx, dword [rbp + 0x50]
xor r11d, r11d
cmp dword [rdi + 0x10], r11d
je 0x140017217
cmp dword [rdi + 0x18], r11d
je 0x140017217
jmp 0x1400171b2
test r13d, r13d
je 0x140017242
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x140017190
cmp r14d, dword [rdi + 0x24]
je 0x140017211
lea rax, str.incorrect_length_check
mov ebx, dword [rbp - 0x1c]
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
mov r11, qword [rbp - 8]
mov edx, dword [rdi + 8]
lea eax, [rdx - 0x3f34]
cmp eax, 0x1f
ja case.0x140015ec8.16211
mov r10d, dword [rbp + 0x50]
jmp 0x140015eae
mov qword [r15 + 0x10], r11
mov eax, 2
mov dword [r15 + 0x18], ebx
mov qword [r15], r12
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], r14d
mov dword [rdi + 0x4c], esi
jmp 0x140017379
mov r14d, r11d
mov esi, r11d
mov dword [rdi + 8], 0x3f50
jmp 0x140017226
mov ebx, dword [rbp + 0x50]
xor r11d, r11d
mov r12d, 1
jmp 0x140017246
mov ebx, dword [rbp + 0x50]
mov r12d, 0xfffffffd
xor r11d, r11d
jmp 0x140017246
xor r11d, r11d
mov ebx, dword [rbp + 0x50]
mov r12d, dword [rbp + 0x58]
mov rax, qword [rbp - 8]
mov qword [r15 + 0x10], rax
mov eax, dword [rbp - 0x1c]
mov dword [r15 + 0x18], eax
mov rax, qword [rbp - 0x10]
mov qword [r15], rax
mov dword [r15 + 8], r13d
mov dword [rdi + 0x4c], esi
mov esi, dword [rbp + 0x48]
mov dword [rdi + 0x48], r14d
cmp dword [rdi + 0x34], r11d
jne 0x14001728d
cmp ebx, dword [r15 + 0x18]
je 0x1400172b8
cmp dword [rdi + 8], 0x3f51
jge 0x1400172b8
cmp dword [rdi + 8], 0x3f4e
jl 0x14001728d
cmp esi, 4
je 0x1400172b8
mov rdx, qword [r15 + 0x10]
mov r8d, ebx
sub r8d, dword [r15 + 0x18]
mov rcx, r15
call fcn.140015d00
xor r11d, r11d
test eax, eax
je 0x1400172b8
mov dword [rdi + 8], 0x3f52
mov eax, 0xfffffffc
jmp 0x140017379
sub ebx, dword [r15 + 0x18]
mov r8d, dword [rbp - 0x14]
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 - 0x14], r8d
je 0x14001730a
test ebx, ebx
je 0x14001730a
mov rdx, qword [r15 + 0x10]
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
sub rdx, r8
cmp dword [rdi + 0x18], r11d
je 0x1400172fa
mov r8d, ebx
call fcn.1400b3c54
jmp 0x1400172ff
call fcn.140012f38
mov r8d, dword [rbp - 0x14]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
cmp dword [rdi + 8], 0x3f47
je 0x140017324
cmp dword [rdi + 8], 0x3f42
je 0x140017324
xor r10d, r10d
mov edx, r10d
jmp 0x14001732c
mov edx, 0x100
xor r10d, r10d
mov eax, dword [rdi + 0xc]
mov r9d, 0x80
neg eax
mov eax, r10d
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 0x14001735e
test ebx, ebx
je 0x140017363
cmp esi, 4
jne 0x14001736f
test r12d, r12d
mov eax, 0xfffffffb
cmove r12d, eax
mov eax, r12d
jmp 0x140017379
mov eax, 0xfffffffe
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret