Function at 0x140014b90
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 ebx, edx
mov r15, rcx
call fcn.14001482c
xor ecx, ecx
test eax, eax
jne case.default.0x140014c4e
cmp qword [r15 + 0x10], rcx
je case.default.0x140014c4e
cmp qword [r15], rcx
jne 0x140014bd8
cmp dword [r15 + 8], ecx
jne case.default.0x140014c4e
mov rdi, qword [r15 + 0x28]
cmp dword [rdi + 8], 0x3f3f
jne 0x140014bec
mov dword [rdi + 8], 0x3f40
mov r8d, dword [r15 + 0x18]
mov edx, r8d
mov eax, dword [rdi + 8]
mov r9, qword [r15 + 0x10]
sub eax, 0x3f34
mov r10, qword [r15]
mov r13d, dword [r15 + 8]
mov r14d, dword [rdi + 0x48]
mov esi, dword [rdi + 0x4c]
mov qword [rbp - 8], r9
mov dword [rbp - 0x20], r8d
mov qword [rbp - 0x10], r10
mov dword [rbp - 0x14], r13d
mov dword [rbp + 0x50], edx
mov dword [rbp + 0x58], ecx
cmp eax, 0x1e
ja case.default.0x140014c4e
cdqe
lea rcx, [0x140000000]
lea r11, [rdi + 0x74]
lea r12, [rdi + 0x70]
mov ecx, dword [rcx + rax*4 + 0x161e0]
lea rax, [0x140000000]
add rcx, rax
jmp rcx
xor r12d, r12d
cmp dword [rdi + 0x10], r12d
jne 0x140014c65
mov dword [rdi + 8], 0x3f40
jmp 0x140014ce6
mov r11d, 0x10
jmp 0x140014c8e
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
cmp esi, r11d
jb 0x140014c6d
test byte [rdi + 0x10], 2
je 0x140014d02
cmp r14d, 0x8b1f
jne 0x140014d02
cmp dword [rdi + 0x30], r12d
jne 0x140014caf
mov dword [rdi + 0x30], 0xf
mov r8d, 2
mov dword [rdi + 0x20], r12d
lea rdx, [rbp - 0x1c]
mov word [rbp - 0x1c], 0x8b1f
xor ecx, ecx
call fcn.1400162e8
mov dword [rdi + 0x20], eax
mov dword [rdi + 8], 0x3f35
mov esi, r12d
mov r14d, r12d
mov r10, qword [rbp - 0x10]
mov r8d, dword [rbp - 0x20]
mov r9, qword [rbp - 8]
mov eax, dword [rdi + 8]
sub eax, 0x3f34
cmp eax, 0x1e
ja case.default.0x140014c4e
mov edx, dword [rbp + 0x50]
mov ebx, dword [rbp + 0x48]
jmp 0x140014c2c
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x18], r12d
test rax, rax
je 0x140014d13
or dword [rax + 0x40], 0xffffffff
test byte [rdi + 0x10], 1
je 0x140014dbb
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 0x140014dbb
mov eax, r14d
and al, 0xf
cmp al, 8
je 0x140014d57
lea rax, str.unknown_compression_method
jmp 0x140014dc2
shr r14d, 4
add esi, 0xfffffffc
mov ecx, r14d
and ecx, 0xf
add ecx, 8
cmp dword [rdi + 0x30], r12d
jne 0x140014d70
mov dword [rdi + 0x30], ecx
cmp ecx, 0xf
ja 0x140014db2
cmp ecx, dword [rdi + 0x30]
ja 0x140014db2
mov eax, 1
xor r8d, r8d
shl eax, cl
xor edx, edx
xor ecx, ecx
mov dword [rdi + 0x1c], eax
call fcn.140017e98
shr r14d, 8
not r14d
mov dword [rdi + 0x20], eax
and r14d, 2
mov dword [r15 + 0x4c], eax
or r14d, 0x3f3d
mov dword [rdi + 8], r14d
jmp 0x140014cd4
lea rax, str.invalid_window_size
jmp 0x140014dc2
lea rax, str.incorrect_header_check
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x140014ce6
mov r11d, 0x10
xor r12d, r12d
cmp esi, r11d
jae 0x140014e03
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
jmp 0x140014ddb
mov dword [rdi + 0x18], r14d
cmp r14b, 8
jne 0x140014d4e
test r14d, 0xe000
je 0x140014e23
lea rax, str.unknown_header_flags_set
jmp 0x140014dc2
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x140014e37
mov eax, r14d
shr eax, 8
and eax, 1
mov dword [rcx], eax
test dword [rdi + 0x18], 0x200
je 0x140014e6b
test byte [rdi + 0x10], 4
je 0x140014e6b
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp - 0x1c]
mov byte [rbp - 0x1c], r14b
mov r8d, 2
shr r14d, 8
mov byte [rbp - 0x1b], r14b
call fcn.1400162e8
mov r10, qword [rbp - 0x10]
mov dword [rdi + 0x20], eax
mov r14d, r12d
mov dword [rdi + 8], 0x3f36
mov esi, r12d
jmp 0x140014ea0
xor r12d, r12d
jmp 0x140014ea0
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x140014e7f
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140014eb2
mov dword [rax + 4], r14d
test dword [rdi + 0x18], 0x200
je 0x140014ef4
test byte [rdi + 0x10], 4
je 0x140014ef4
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp - 0x1c]
mov eax, r14d
mov byte [rbp - 0x1c], r14b
shr eax, 8
mov r8d, 4
mov byte [rbp - 0x1b], al
mov eax, r14d
shr eax, 0x10
shr r14d, 0x18
mov byte [rbp - 0x1a], al
mov byte [rbp - 0x19], r14b
call fcn.1400162e8
mov dword [rdi + 0x20], eax
mov r10, qword [rbp - 0x10]
mov r14d, r12d
mov esi, r12d
mov dword [rdi + 8], 0x3f37
jmp 0x140014f0a
xor r12d, r12d
mov ebx, 0x10
jmp 0x140014f32
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
cmp esi, ebx
jb 0x140014f11
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x140014f53
movzx eax, r14b
mov dword [rcx + 8], eax
mov ecx, r14d
mov rax, qword [rdi + 0x28]
shr ecx, 8
mov dword [rax + 0xc], ecx
test dword [rdi + 0x18], 0x200
je 0x140014f83
test byte [rdi + 0x10], 4
je 0x140014f83
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp - 0x1c]
mov byte [rbp - 0x1c], r14b
mov r8d, 2
shr r14d, 8
mov byte [rbp - 0x1b], r14b
call fcn.1400162e8
mov dword [rdi + 0x20], eax
mov r10, qword [rbp - 0x10]
mov r14d, r12d
mov esi, r12d
mov dword [rdi + 8], 0x3f38
jmp 0x140014f9e
xor r12d, r12d
lea ebx, [r12 + 0x10]
test dword [rdi + 0x18], 0x400
jne 0x140014fe2
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140014fb4
mov qword [rax + 0x10], r12
mov r10, qword [rbp - 0x10]
mov dword [rdi + 8], 0x3f39
jmp 0x140015032
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
cmp esi, ebx
jb 0x140014fc1
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x50], r14d
test rax, rax
je 0x140014ff7
mov dword [rax + 0x18], r14d
test dword [rdi + 0x18], 0x200
je 0x140015027
test byte [rdi + 0x10], 4
je 0x140015027
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp - 0x1c]
mov byte [rbp - 0x1c], r14b
mov r8d, 2
shr r14d, 8
mov byte [rbp - 0x1b], r14b
call fcn.1400162e8
mov dword [rdi + 0x20], eax
mov r14d, r12d
mov esi, r12d
jmp 0x140014fb4
xor r12d, r12d
test dword [rdi + 0x18], 0x400
je 0x1400150d0
mov ebx, dword [rdi + 0x50]
cmp ebx, r13d
cmova ebx, r13d
test ebx, ebx
je 0x1400150c6
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140015085
mov r9, qword [rax + 0x10]
test r9, r9
je 0x140015085
mov edx, dword [rax + 0x18]
sub edx, dword [rdi + 0x50]
mov ecx, dword [rax + 0x1c]
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x140015073
sub ecx, edx
jmp 0x140015075
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, r10
add rcx, r9
call fcn.14002ab50
test dword [rdi + 0x18], 0x200
je 0x1400150b3
test byte [rdi + 0x10], 4
je 0x1400150b3
mov r10, qword [rbp - 0x10]
mov r8d, ebx
test r10, r10
jne 0x1400150a5
mov eax, r12d
jmp 0x1400150b0
mov ecx, dword [rdi + 0x20]
mov rdx, r10
call fcn.1400162e8
mov dword [rdi + 0x20], eax
mov r10, qword [rbp - 0x10]
sub r13d, ebx
mov eax, ebx
add r10, rax
sub dword [rdi + 0x50], ebx
mov qword [rbp - 0x10], r10
cmp dword [rdi + 0x50], r12d
jne 0x140015447
mov dword [rdi + 0x50], r12d
mov dword [rdi + 8], 0x3f3a
jmp 0x1400150e0
xor r12d, r12d
test dword [rdi + 0x18], 0x800
je 0x140015178
test r13d, r13d
je 0x140015447
mov ebx, r12d
xor r9d, r9d
mov eax, ebx
inc ebx
movzx r12d, byte [rax + r10]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140015126
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x140015126
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x28]
jae 0x140015126
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
test r12d, r12d
je 0x140015130
cmp ebx, r13d
jb 0x1400150fc
test dword [rdi + 0x18], 0x200
je 0x14001515e
test byte [rdi + 0x10], 4
je 0x14001515e
mov r8d, ebx
test r10, r10
jne 0x14001514c
mov eax, r9d
jmp 0x14001515b
mov ecx, dword [rdi + 0x20]
mov rdx, r10
call fcn.1400162e8
mov r10, qword [rbp - 0x10]
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r13d, ebx
add r10, rax
mov qword [rbp - 0x10], r10
test r12d, r12d
jne 0x14001544b
xor r12d, r12d
jmp 0x140015185
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140015185
mov qword [rax + 0x20], r12
mov dword [rdi + 0x50], r12d
mov dword [rdi + 8], 0x3f3b
jmp 0x140015195
xor r12d, r12d
test dword [rdi + 0x18], 0x1000
je 0x14001522a
test r13d, r13d
je 0x140015447
mov ebx, r12d
xor r9d, r9d
mov eax, ebx
inc ebx
movzx r12d, byte [rax + r10]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1400151db
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x1400151db
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x38]
jae 0x1400151db
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
test r12d, r12d
je 0x1400151e5
cmp ebx, r13d
jb 0x1400151b1
test dword [rdi + 0x18], 0x200
je 0x140015213
test byte [rdi + 0x10], 4
je 0x140015213
mov r8d, ebx
test r10, r10
jne 0x140015201
mov eax, r9d
jmp 0x140015210
mov ecx, dword [rdi + 0x20]
mov rdx, r10
call fcn.1400162e8
mov r10, qword [rbp - 0x10]
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r13d, ebx
add r10, rax
mov qword [rbp - 0x10], r10
test r12d, r12d
jne 0x14001544b
jmp 0x140015237
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140015237
mov qword [rax + 0x30], r12
mov r8d, dword [rbp - 0x20]
mov r9, qword [rbp - 8]
mov dword [rdi + 8], 0x3f3c
xor r12d, r12d
test dword [rdi + 0x18], 0x200
je 0x1400152a0
lea r11d, [r12 + 0x10]
cmp esi, r11d
jae 0x14001527f
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
jmp 0x140015257
test byte [rdi + 0x10], 4
je 0x14001529a
movzx eax, word [rdi + 0x20]
cmp r14d, eax
je 0x14001529a
lea rax, str.header_crc_mismatch
jmp 0x140014dc2
mov r14d, r12d
mov esi, r12d
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1400152c0
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], r12d
mov dword [r15 + 0x4c], r12d
mov dword [rdi + 8], 0x3f3f
jmp 0x140014ce6
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x1400152d4
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 0x140015339
xor eax, eax
cmp dword [rdi + 0x14], eax
je 0x14001609b
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140017e98
mov r10, qword [rbp - 0x10]
lea r11, [rdi + 0x74]
mov r8d, dword [rbp - 0x20]
mov r9, qword [rbp - 8]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
mov dword [rdi + 8], 0x3f3f
lea eax, [rbx - 5]
cmp eax, 1
jbe 0x140015447
xor edx, edx
cmp dword [rdi + 0xc], edx
je 0x1400153b6
mov ecx, esi
mov dword [rdi + 8], 0x3f4e
and ecx, 7
shr r14d, cl
sub esi, ecx
jmp 0x140014ce6
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
cmp esi, 3
jb 0x140015395
mov eax, r14d
dec esi
and eax, 1
shr r14d, 1
mov dword [rdi + 0xc], eax
mov eax, r14d
and eax, 3
je 0x1400154ce
sub eax, 1
je 0x14001540b
sub eax, 1
je 0x1400153ff
cmp eax, 1
jne 0x1400154d5
lea rax, str.invalid_block_type
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x1400154d5
mov dword [rdi + 8], 0x3f44
jmp 0x1400154d5
mov dword [r12], 9
lea rax, [0x140060f10]
mov qword [rdi + 0x60], rax
lea rax, [0x140061710]
mov qword [rdi + 0x68], rax
mov dword [r11], 5
mov dword [rdi + 8], 0x3f47
cmp ebx, 6
jne 0x1400154d5
shr r14d, 2
add esi, 0xfffffffe
mov r10, qword [rbp - 0x10]
mov r12d, dword [rbp + 0x58]
mov ebx, dword [rbp + 0x50]
mov ecx, dword [rbp + 0x48]
mov rax, qword [rbp - 8]
mov qword [r15 + 0x10], rax
mov eax, dword [rbp - 0x20]
mov dword [r15 + 0x18], eax
mov qword [r15], r10
mov dword [r15 + 8], r13d
mov dword [rdi + 0x4c], esi
xor esi, esi
mov dword [rdi + 0x48], r14d
cmp dword [rdi + 0x34], esi
jne 0x1400154a2
cmp ebx, dword [r15 + 0x18]
je 0x140016103
cmp dword [rdi + 8], 0x3f51
jge 0x140016103
cmp dword [rdi + 8], 0x3f4e
jl 0x1400154a2
cmp ecx, 4
je 0x140016103
mov rdx, qword [r15 + 0x10]
mov r8d, ebx
sub r8d, dword [r15 + 0x18]
mov rcx, r15
call fcn.140014a7c
test eax, eax
je 0x140016103
mov dword [rdi + 8], 0x3f52
mov eax, 0xfffffffc
jmp 0x1400161c5
mov dword [rdi + 8], 0x3f41
shr r14d, 2
add esi, 0xfffffffe
jmp 0x140014ce6
mov ecx, esi
and ecx, 7
shr r14d, cl
sub esi, ecx
xor r12d, r12d
cmp esi, 0x20
jae 0x140015516
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
jmp 0x1400154ee
mov eax, r14d
movzx ecx, r14w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x140015532
lea rax, str.invalid_stored_block_lengths
jmp 0x140014dc2
mov dword [rdi + 0x50], ecx
mov r14d, r12d
mov dword [rdi + 8], 0x3f42
mov esi, r12d
cmp ebx, 6
je 0x140015447
mov dword [rdi + 8], 0x3f43
mov r12d, dword [rdi + 0x50]
test r12d, r12d
je 0x1400152c8
cmp r12d, r13d
cmova r12d, r13d
cmp r12d, r8d
cmova r12d, r8d
test r12d, r12d
je 0x140015447
mov r8d, r12d
mov rdx, r10
mov rcx, r9
mov ebx, r12d
call fcn.14002ab50
mov r10, qword [rbp - 0x10]
sub r13d, r12d
mov r8d, dword [rbp - 0x20]
add r10, rbx
mov r9, qword [rbp - 8]
sub r8d, r12d
add r9, rbx
mov qword [rbp - 0x10], r10
sub dword [rdi + 0x50], r12d
mov dword [rbp - 0x20], r8d
mov qword [rbp - 8], r9
jmp 0x140014ce6
xor ebx, ebx
cmp esi, 0xe
jae 0x1400155de
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
jmp 0x1400155b6
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 0x140015632
cmp edx, 0x1e
ja 0x140015632
mov dword [rdi + 0x84], ebx
mov dword [rdi + 8], 0x3f45
jmp 0x140015640
lea rax, str.too_many_length_or_distance_symbols
jmp 0x140014dc2
xor ebx, ebx
mov eax, dword [rdi + 0x78]
lea r8, [0x140000000]
mov edx, 7
cmp dword [rdi + 0x84], eax
jae 0x1400156d4
jmp 0x14001567a
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
cmp esi, 3
jb 0x140015659
mov eax, dword [rdi + 0x84]
movzx ecx, r14w
and cx, dx
shr r14d, 3
add esi, 0xfffffffd
movzx eax, word [r8 + rax*2 + 0x61790]
mov word [rdi + rax*2 + 0x90], cx
inc dword [rdi + 0x84]
mov eax, dword [rdi + 0x84]
cmp eax, dword [rdi + 0x78]
jb 0x14001567a
jmp 0x1400156d4
mov eax, dword [rdi + 0x84]
movzx eax, word [r8 + rax*2 + 0x61790]
mov word [rdi + rax*2 + 0x90], bx
inc dword [rdi + 0x84]
cmp dword [rdi + 0x84], 0x13
jb 0x1400156b7
lea rax, [rdi + 0x550]
mov dword [r12], 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], r12
lea r8d, [rcx + 0x13]
call fcn.14001817c
mov r10, qword [rbp - 0x10]
mov dword [rbp + 0x58], eax
test eax, eax
je 0x14001573b
lea rax, str.invalid_code_lengths_set
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x140014cde
mov dword [rdi + 0x84], ebx
mov dword [rdi + 8], 0x3f46
jmp 0x14001574c
xor ebx, ebx
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
cmp dword [rdi + 0x84], eax
jae 0x140015973
mov ecx, dword [r12]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov rax, qword [rdi + 0x60]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
or r11d, 0xffffffff
movzx ecx, cl
mov dword [rbp - 0x18], eax
cmp ecx, esi
jbe 0x1400157d2
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
mov ecx, dword [r12]
add r14d, eax
mov eax, 1
mov qword [rbp - 0x10], r10
shl eax, cl
add r13d, r11d
add esi, 8
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov rax, qword [rdi + 0x60]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
jmp 0x140015785
mov edx, eax
mov ecx, 0x10
shr edx, 0x10
cmp dx, cx
jae 0x14001580b
shr eax, 8
movzx ecx, al
mov eax, dword [rdi + 0x84]
sub esi, ecx
shr r14d, cl
mov word [rdi + rax*2 + 0x90], dx
inc dword [rdi + 0x84]
mov ecx, dword [rdi + 0x84]
jmp 0x140015945
jne 0x140015874
shr eax, 8
movzx edx, al
add edx, 2
jmp 0x140015839
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, r11d
add esi, 8
cmp esi, edx
jb 0x140015818
movzx ecx, byte [rbp - 0x17]
mov eax, dword [rdi + 0x84]
sub esi, ecx
shr r14d, cl
test eax, eax
je 0x140015955
mov edx, r14d
dec eax
and edx, 3
shr r14d, 2
add edx, 3
add esi, 0xfffffffe
movzx r8d, word [rdi + rax*2 + 0x90]
jmp 0x140015910
cmp word [rbp - 0x16], 0x11
movzx r9d, byte [rbp - 0x17]
jne 0x1400158c5
lea edx, [r9 + 3]
jmp 0x1400158a7
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, r11d
add esi, 8
cmp esi, edx
jb 0x140015886
mov ecx, r9d
mov eax, 0xfffffffd
shr r14d, cl
mov edx, r14d
and edx, 7
add edx, 3
shr r14d, 3
jmp 0x140015908
lea edx, [r9 + 7]
jmp 0x1400158ec
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, r11d
add esi, 8
cmp esi, edx
jb 0x1400158cb
mov ecx, r9d
mov eax, 0xfffffff9
shr r14d, cl
mov edx, r14d
and edx, 0x7f
add edx, 0xb
shr r14d, 7
sub eax, r9d
mov r8d, ebx
add esi, eax
mov ecx, dword [rdi + 0x84]
mov eax, dword [rdi + 0x80]
add ecx, edx
add eax, dword [rdi + 0x7c]
cmp ecx, eax
ja 0x140015961
mov eax, dword [rdi + 0x84]
mov word [rdi + rax*2 + 0x90], r8w
inc dword [rdi + 0x84]
mov ecx, dword [rdi + 0x84]
add edx, r11d
jne 0x140015925
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
cmp ecx, eax
jmp 0x14001575b
lea rax, str.invalid_bit_length_repeat
jmp 0x14001572b
lea rax, str.invalid_bit_length_repeat
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
cmp dword [rdi + 8], 0x3f51
je 0x140014cde
cmp word [rdi + 0x290], bx
jne 0x140015995
lea rax, str.invalid_code____missing_end_of_block
jmp 0x14001572b
mov r8d, dword [rdi + 0x7c]
lea rax, [rdi + 0x550]
lea rbx, [rdi + 0x88]
mov dword [r12], 9
mov qword [rbx], rax
lea r12, [rdi + 0x310]
mov qword [rdi + 0x60], rax
lea rdx, [rdi + 0x90]
lea rax, [rdi + 0x70]
mov qword [rsp + 0x28], r12
mov r9, rbx
mov qword [rsp + 0x20], rax
mov ecx, 1
call fcn.14001817c
mov dword [rbp + 0x58], eax
test eax, eax
je 0x1400159fd
lea rax, str.invalid_literal_lengths_set
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x140014cda
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.14001817c
mov dword [rbp + 0x58], eax
test eax, eax
je 0x140015a47
lea rax, str.invalid_distances_set
jmp 0x1400159ed
mov ecx, dword [rbp + 0x48]
mov r10, qword [rbp - 0x10]
mov dword [rdi + 8], 0x3f47
cmp ecx, 6
je 0x1400160f8
mov edx, dword [rbp + 0x50]
lea r12, [rdi + 0x70]
mov r8d, dword [rbp - 0x20]
mov r9, qword [rbp - 8]
mov dword [rdi + 8], 0x3f48
cmp r13d, 6
jb 0x140015adc
cmp r8d, 0x102
jb 0x140015adc
mov qword [r15 + 0x10], r9
mov rcx, r15
mov dword [r15 + 0x18], r8d
mov qword [r15], r10
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], r14d
mov dword [rdi + 0x4c], esi
call fcn.140018604
cmp dword [rdi + 8], 0x3f3f
mov r9, qword [r15 + 0x10]
mov r10, qword [r15]
mov r8d, dword [r15 + 0x18]
mov r13d, dword [r15 + 8]
mov r14d, dword [rdi + 0x48]
mov esi, dword [rdi + 0x4c]
mov qword [rbp - 8], r9
mov qword [rbp - 0x10], r10
mov dword [rbp - 0x20], r8d
jne 0x140014ce6
or dword [rdi + 0x1be4], 0xffffffff
jmp 0x140014ce6
mov ecx, dword [r12]
xor edx, edx
mov r11, qword [rdi + 0x60]
mov dword [rdi + 0x1be4], edx
lea ebx, [rdx + 1]
mov eax, ebx
shl eax, cl
sub eax, ebx
mov ecx, eax
mov eax, r14d
and rcx, rax
mov eax, dword [r11 + rcx*4]
jmp 0x140015b3d
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
add r10, rbx
mov ecx, dword [r12]
add r14d, eax
mov eax, ebx
mov qword [rbp - 0x10], r10
shl eax, cl
dec r13d
sub eax, ebx
add esi, 8
mov ecx, eax
mov eax, r14d
and rcx, rax
mov rax, qword [rdi + 0x60]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x140015b03
xor r12d, r12d
test al, al
je 0x140015c14
test al, 0xf0
jne 0x140015c14
mov r10d, eax
movzx ecx, al
shr r10d, 8
mov r9d, ebx
movzx r8d, r10b
mov edx, eax
add ecx, r8d
mov dword [rbp - 0x18], eax
shl r9d, cl
mov ecx, r8d
sub r9d, ebx
shr eax, 0x10
and r9d, r14d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, esi
jbe 0x140015c05
mov r10, qword [rbp - 0x10]
test r13d, r13d
je 0x14001544b
movzx eax, byte [r10]
mov ecx, esi
movzx r9d, byte [rbp - 0x17]
mov r8d, ebx
shl eax, cl
add r10, rbx
add r14d, eax
movzx ecx, dl
movzx eax, word [rbp - 0x16]
add ecx, r9d
shl r8d, cl
dec r13d
sub r8d, ebx
mov qword [rbp - 0x10], r10
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 0x140015ba7
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 0x140015c3f
mov dword [rdi + 8], 0x3f4d
jmp 0x140014cda
test al, 0x20
je 0x140015c56
or dword [rdi + 0x1be4], 0xffffffff
mov dword [rdi + 8], 0x3f3f
jmp 0x140014cda
mov r10, qword [rbp - 0x10]
test al, 0x40
je 0x140015c6a
lea rax, str.invalid_literal_length_code
jmp 0x14001572b
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 8], 0x3f49
mov dword [rdi + 0x58], ecx
jmp 0x140015c84
xor r12d, r12d
lea ebx, [r12 + 1]
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x140015ccb
jmp 0x140015cae
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
add r10, rbx
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
cmp esi, edx
jb 0x140015c8d
mov ecx, edx
mov eax, ebx
shl eax, cl
sub esi, edx
sub eax, ebx
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 0x140015ce5
xor r12d, r12d
lea ebx, [r12 + 1]
mov ecx, dword [rdi + 0x74]
mov eax, ebx
mov r11, qword [rdi + 0x68]
shl eax, cl
sub eax, ebx
mov ecx, eax
mov eax, r14d
and rcx, rax
mov eax, dword [r11 + rcx*4]
jmp 0x140015d39
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
add r10, rbx
mov ecx, dword [rdi + 0x74]
add r14d, eax
mov eax, ebx
mov qword [rbp - 0x10], r10
shl eax, cl
dec r13d
sub eax, ebx
add esi, 8
mov ecx, eax
mov eax, r14d
and rcx, rax
mov rax, qword [rdi + 0x68]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x140015d00
test al, 0xf0
jne 0x140015e05
mov r10d, eax
movzx ecx, al
shr r10d, 8
mov r9d, ebx
movzx r8d, r10b
mov edx, eax
add ecx, r8d
mov dword [rbp - 0x18], eax
shl r9d, cl
mov ecx, r8d
sub r9d, ebx
shr eax, 0x10
and r9d, r14d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, esi
jbe 0x140015df6
mov r10, qword [rbp - 0x10]
test r13d, r13d
je 0x14001544b
movzx eax, byte [r10]
mov ecx, esi
movzx r9d, byte [rbp - 0x17]
mov r8d, ebx
shl eax, cl
add r10, rbx
add r14d, eax
movzx ecx, dl
movzx eax, word [rbp - 0x16]
add ecx, r9d
shl r8d, cl
dec r13d
sub r8d, ebx
mov qword [rbp - 0x10], r10
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 0x140015d98
movzx ecx, byte [rbp - 0x17]
shr r14d, cl
sub esi, ecx
add dword [rdi + 0x1be4], ecx
mov r10, qword [rbp - 0x10]
mov ecx, eax
mov r8d, dword [rbp - 0x20]
mov r9, qword [rbp - 8]
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub esi, ecx
shr r14d, cl
test al, 0x40
je 0x140015e34
lea rax, str.invalid_distance_code
jmp 0x140014dc2
mov ecx, eax
mov dword [rdi + 8], 0x3f4b
shr ecx, 0x10
mov dword [rdi + 0x54], ecx
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 0x58], ecx
jmp 0x140015e56
xor r12d, r12d
lea ebx, [r12 + 1]
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x140015e9d
jmp 0x140015e80
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
add r10, rbx
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
cmp esi, edx
jb 0x140015e5f
mov ecx, edx
mov eax, ebx
shl eax, cl
sub esi, edx
sub eax, ebx
and eax, r14d
shr r14d, cl
add dword [rdi + 0x54], eax
add dword [rdi + 0x1be4], edx
mov edx, dword [rbp + 0x50]
mov dword [rdi + 8], 0x3f4c
jmp 0x140015eac
xor r12d, r12d
test r8d, r8d
je 0x140015447
mov ecx, dword [rdi + 0x54]
mov eax, edx
sub eax, r8d
cmp ecx, eax
jbe 0x140015efe
sub ecx, eax
cmp ecx, dword [rdi + 0x38]
jbe 0x140015edd
cmp dword [rdi + 0x1be0], r12d
je 0x140015edd
lea rax, str.invalid_distance_too_far_back
jmp 0x140014dc2
mov eax, dword [rdi + 0x3c]
cmp ecx, eax
jbe 0x140015eed
mov edx, dword [rdi + 0x34]
sub ecx, eax
sub edx, ecx
jmp 0x140015ef1
sub eax, ecx
mov edx, eax
add rdx, qword [rdi + 0x40]
mov eax, dword [rdi + 0x50]
cmp ecx, eax
jbe 0x140015f09
jmp 0x140015f07
mov eax, dword [rdi + 0x50]
mov rdx, r9
sub rdx, rcx
mov ecx, eax
cmp ecx, r8d
mov ebx, 1
cmova ecx, r8d
sub r8d, ecx
sub eax, ecx
mov dword [rbp - 0x20], r8d
sub rdx, r9
mov dword [rdi + 0x50], eax
mov al, byte [rdx + r9]
mov byte [r9], al
add r9, rbx
add ecx, 0xffffffff
jne 0x140015f24
mov qword [rbp - 8], r9
cmp dword [rdi + 0x50], r12d
jne 0x140014ce6
mov dword [rdi + 8], 0x3f48
jmp 0x140014ce6
test r8d, r8d
je 0x140015447
mov al, byte [rdi + 0x50]
mov byte [r9], al
inc r9
dec r8d
mov qword [rbp - 8], r9
mov dword [rbp - 0x20], r8d
jmp 0x140015f41
xor r12d, r12d
cmp dword [rdi + 0x10], r12d
jne 0x140015fa5
mov ebx, dword [rbp + 0x50]
mov dword [rdi + 8], 0x3f4f
jmp 0x140016059
test r13d, r13d
je 0x140015447
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x140015f84
sub edx, r8d
add dword [r15 + 0x1c], edx
add dword [rdi + 0x24], edx
test byte [rdi + 0x10], 4
je 0x140015ffc
test edx, edx
je 0x140015ffc
mov r8d, edx
mov rdx, r9
cmp dword [rdi + 0x18], r12d
je 0x140015fde
sub rdx, r8
jne 0x140015fd4
mov eax, r12d
jmp 0x140015fe9
mov ecx, dword [rdi + 0x20]
call fcn.1400162e8
jmp 0x140015fe9
mov ecx, dword [rdi + 0x20]
sub rdx, r8
call fcn.140017e98
mov r10, qword [rbp - 0x10]
mov r8d, dword [rbp - 0x20]
mov r9, qword [rbp - 8]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
test byte [rdi + 0x10], 4
mov ebx, r8d
mov dword [rbp + 0x50], ebx
je 0x140016048
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], r12d
cmovne ecx, r14d
cmp ecx, dword [rdi + 0x20]
je 0x140016048
lea rax, str.incorrect_data_check
jmp 0x140014dc2
mov r14d, r12d
mov esi, r12d
jmp 0x140015f78
mov ebx, dword [rbp + 0x50]
xor r12d, r12d
cmp dword [rdi + 0x10], r12d
je 0x1400160c1
cmp dword [rdi + 0x18], r12d
je 0x1400160c1
jmp 0x140016084
test r13d, r13d
je 0x1400160eb
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x140016067
cmp r14d, dword [rdi + 0x24]
je 0x1400160bb
lea rax, str.incorrect_length_check
jmp 0x140014dc2
mov qword [r15 + 0x10], r9
mov eax, 2
mov dword [r15 + 0x18], r8d
mov qword [r15], r10
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], r14d
mov dword [rdi + 0x4c], esi
jmp 0x1400161c5
mov r14d, r12d
mov esi, r12d
mov dword [rdi + 8], 0x3f50
jmp 0x1400160cd
mov ebx, dword [rbp + 0x50]
mov r10, qword [rbp - 0x10]
mov r12d, 1
jmp 0x140015452
mov r10, qword [rbp - 0x10]
mov r12d, 0xfffffffd
jmp 0x14001544f
mov r10, qword [rbp - 0x10]
mov r12d, dword [rbp + 0x58]
jmp 0x140015452
mov ebx, dword [rbp + 0x50]
mov r12d, eax
jmp 0x140015455
sub ebx, dword [r15 + 0x18]
mov r9d, dword [rbp - 0x14]
sub r9d, dword [r15 + 8]
add dword [r15 + 0xc], r9d
add dword [r15 + 0x1c], ebx
add dword [rdi + 0x24], ebx
test byte [rdi + 0x10], 4
mov dword [rbp - 0x14], r9d
je 0x14001615d
test ebx, ebx
je 0x14001615d
mov rdx, qword [r15 + 0x10]
mov r8d, ebx
cmp dword [rdi + 0x18], esi
je 0x140016147
sub rdx, r8
jne 0x14001613d
mov eax, esi
jmp 0x140016152
mov ecx, dword [rdi + 0x20]
call fcn.1400162e8
jmp 0x140016152
mov ecx, dword [rdi + 0x20]
sub rdx, r8
call fcn.140017e98
mov r9d, dword [rbp - 0x14]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
cmp dword [rdi + 8], 0x3f47
je 0x140016172
cmp dword [rdi + 8], 0x3f42
mov r8d, esi
jne 0x140016178
mov r8d, 0x100
mov eax, dword [rdi + 0xc]
mov edx, esi
neg eax
mov eax, 0x80
sbb ecx, ecx
and ecx, 0x40
cmp dword [rdi + 8], 0x3f3f
cmove edx, eax
lea eax, [r8 + rcx]
add edx, eax
add edx, dword [rdi + 0x4c]
mov dword [r15 + 0x48], edx
test r9d, r9d
jne 0x1400161a9
test ebx, ebx
je 0x1400161af
cmp dword [rbp + 0x48], 4
jne 0x1400161bb
test r12d, r12d
mov eax, 0xfffffffb
cmove r12d, eax
mov eax, r12d
jmp 0x1400161c5
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