Function at 0x1401bc37c
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 r12d, edx
mov r15, rcx
call fcn.1401bdbe4
xor r8d, r8d
test eax, eax
jne case.0x1401bc450.16211
lea rax, [rcx + 0x10]
cmp qword [rax], r8
je case.0x1401bc450.16211
cmp qword [rcx], r8
jne 0x1401bc3cf
cmp dword [rcx + 8], r8d
jne case.0x1401bc450.16211
lea rdx, [rcx + 0x10]
jmp 0x1401bc3d2
mov rdx, rax
mov rdi, qword [rcx + 0x28]
mov r9d, 0x3f40
mov qword [rbp - 0x10], rax
mov ecx, dword [rdi + 8]
cmp ecx, 0x3f3f
jne 0x1401bc3f6
mov dword [rdi + 8], r9d
mov ecx, r9d
mov qword [rbp - 0x10], rdx
mov r10d, dword [r15 + 0x18]
add ecx, 0xffffc0cc
mov rbx, qword [rax]
mov r9d, r10d
mov r11, qword [r15]
mov r13d, dword [r15 + 8]
mov r14d, dword [rdi + 0x48]
mov esi, dword [rdi + 0x4c]
mov qword [rbp - 0x18], rbx
mov dword [rbp - 0x30], r10d
mov qword [rbp - 0x20], r11
mov dword [rbp - 0x24], r13d
mov dword [rbp + 0x50], r10d
mov dword [rbp + 0x58], r8d
cmp ecx, 0x1f
ja case.0x1401bc450.16211
movsxd rax, ecx
lea rcx, [0x140000000]
mov ecx, dword [rcx + rax*4 + 0x1bd8e0]
lea rax, [0x140000000]
add rcx, rax
jmp rcx
xor r12d, r12d
cmp dword [rdi + 0x10], r12d
jne 0x1401bc467
mov dword [rdi + 8], 0x3f40
jmp 0x1401bd79c
mov r8d, 0x10
jmp 0x1401bc490
test r13d, r13d
je 0x1401bc9f6
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 0x1401bc46f
test byte [rdi + 0x10], 2
je 0x1401bc4f5
cmp r14d, 0x8b1f
jne 0x1401bc4f5
cmp dword [rdi + 0x30], r12d
jne 0x1401bc4b1
mov dword [rdi + 0x30], 0xf
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1401be010
mov dword [rdi + 0x20], eax
lea rdx, [rbp - 0x2c]
mov word [rbp - 0x2c], 0x8b1f
mov r8d, 2
mov ecx, dword [rdi + 0x20]
call fcn.1401be010
mov dword [rdi + 0x20], eax
mov dword [rdi + 8], 0x3f35
mov esi, r12d
mov r14d, r12d
mov r11, qword [rbp - 0x20]
mov r10d, dword [rbp - 0x30]
jmp 0x1401bd79c
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x18], r12d
test rax, rax
je 0x1401bc506
or dword [rax + 0x40], 0xffffffff
test byte [rdi + 0x10], 1
je 0x1401bc5b6
mov eax, r14d
movzx ecx, r14b
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 0x1401bc5b6
mov eax, r14d
and al, 0xf
cmp al, 8
je 0x1401bc54d
lea rax, str.unknown_compression_method
jmp 0x1401bd791
mov eax, dword [rdi + 0x30]
add esi, 0xfffffffc
shr r14d, 4
mov ecx, r14d
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x1401bc569
mov dword [rdi + 0x30], ecx
mov eax, ecx
cmp ecx, 0xf
ja 0x1401bc5aa
cmp ecx, eax
ja 0x1401bc5aa
mov eax, 1
xor r8d, r8d
shl eax, cl
xor edx, edx
xor ecx, ecx
mov dword [rdi + 0x1c], eax
call fcn.1401bdd20
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 0x1401bc4e2
lea rax, str.invalid_window_size
jmp 0x1401bd791
lea rax, str.incorrect_header_check
jmp 0x1401bd791
mov r8d, 0x10
xor r12d, r12d
cmp esi, r8d
jae 0x1401bc5f3
test r13d, r13d
je 0x1401bc9f6
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
jmp 0x1401bc5cb
mov dword [rdi + 0x18], r14d
cmp r14b, 8
jne 0x1401bc541
test r14d, 0xe000
je 0x1401bc616
lea rax, str.unknown_header_flags_set
jmp 0x1401bd791
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1401bc62a
mov eax, r14d
shr eax, 8
and eax, 1
mov dword [rcx], eax
test dword [rdi + 0x18], 0x200
je 0x1401bc65e
test byte [rdi + 0x10], 4
je 0x1401bc65e
mov byte [rbp - 0x2c], r14b
lea rdx, [rbp - 0x2c]
shr r14d, 8
mov r8d, 2
mov byte [rbp - 0x2b], r14b
mov ecx, dword [rdi + 0x20]
call fcn.1401be010
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x20], eax
mov r14d, r12d
mov dword [rdi + 8], 0x3f36
mov esi, r12d
jmp 0x1401bc67d
mov dword [rbp - 0x28], r14d
xor r12d, r12d
mov qword [rbp - 0x20], r11
cmp esi, 0x20
jae 0x1401bc69c
test r13d, r13d
je 0x1401bc9f6
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
dec r13d
add r14d, eax
inc r11
add esi, 8
jmp 0x1401bc674
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1401bc6a9
mov dword [rax + 4], r14d
test dword [rdi + 0x18], 0x200
je 0x1401bc6ef
test byte [rdi + 0x10], 4
je 0x1401bc6ef
mov eax, r14d
mov byte [rbp - 0x2c], r14b
shr eax, 8
lea rdx, [rbp - 0x2c]
mov byte [rbp - 0x2b], al
mov r8d, 4
mov eax, r14d
shr r14d, 0x18
shr eax, 0x10
mov byte [rbp - 0x2a], al
mov byte [rbp - 0x29], r14b
mov ecx, dword [rdi + 0x20]
call fcn.1401be010
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x20], eax
mov r14d, r12d
mov dword [rdi + 8], 0x3f37
mov esi, r12d
mov ebx, 0x10
jmp 0x1401bc717
mov dword [rbp - 0x28], r14d
mov ebx, 0x10
xor r12d, r12d
mov qword [rbp - 0x20], r11
cmp esi, ebx
jae 0x1401bc736
test r13d, r13d
je 0x1401bc9f6
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
dec r13d
add r14d, eax
inc r11
add esi, 8
jmp 0x1401bc70f
mov rdx, qword [rdi + 0x28]
mov ecx, r14d
shr ecx, 8
test rdx, rdx
je 0x1401bc753
movzx eax, r14b
mov dword [rdx + 8], eax
mov rax, qword [rdi + 0x28]
mov dword [rax + 0xc], ecx
test dword [rdi + 0x18], 0x200
je 0x1401bc782
test byte [rdi + 0x10], 4
je 0x1401bc782
mov byte [rbp - 0x2c], r14b
lea rdx, [rbp - 0x2c]
mov byte [rbp - 0x2b], cl
mov r8d, 2
mov ecx, dword [rdi + 0x20]
call fcn.1401be010
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x20], eax
mov r14d, r12d
mov dword [rdi + 8], 0x3f38
mov esi, r12d
jmp 0x1401bc799
xor r12d, r12d
lea ebx, [r12 + 0x10]
test dword [rdi + 0x18], 0x400
jne 0x1401bc7dd
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1401bc7af
mov qword [rax + 0x10], r12
mov r11, qword [rbp - 0x20]
mov dword [rdi + 8], 0x3f39
jmp 0x1401bc82d
test r13d, r13d
je 0x1401bc9f6
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, ebx
jb 0x1401bc7bc
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x50], r14d
test rax, rax
je 0x1401bc7f2
mov dword [rax + 0x18], r14d
test dword [rdi + 0x18], 0x200
je 0x1401bc822
test byte [rdi + 0x10], 4
je 0x1401bc822
mov byte [rbp - 0x2c], r14b
lea rdx, [rbp - 0x2c]
shr r14d, 8
mov r8d, 2
mov byte [rbp - 0x2b], r14b
mov ecx, dword [rdi + 0x20]
call fcn.1401be010
mov dword [rdi + 0x20], eax
mov r14d, r12d
mov esi, r12d
jmp 0x1401bc7af
xor r12d, r12d
test dword [rdi + 0x18], 0x400
je 0x1401bc8c2
mov eax, dword [rdi + 0x50]
mov ebx, r13d
cmp eax, r13d
cmovbe ebx, eax
test ebx, ebx
je 0x1401bc8ba
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1401bc881
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x1401bc881
mov edx, dword [rcx + 0x18]
mov ecx, dword [rcx + 0x1c]
sub edx, eax
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x1401bc86f
sub ecx, edx
jmp 0x1401bc871
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, r11
add rcx, r9
call fcn.1402e6f51
test dword [rdi + 0x18], 0x200
je 0x1401bc8a2
test byte [rdi + 0x10], 4
je 0x1401bc8a2
mov rdx, qword [rbp - 0x20]
mov r8d, ebx
mov ecx, dword [rdi + 0x20]
call fcn.1401be010
mov dword [rdi + 0x20], eax
mov r11, qword [rbp - 0x20]
sub r13d, 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 0x1401bc9f6
mov dword [rdi + 0x50], r12d
mov dword [rdi + 8], 0x3f3a
jmp 0x1401bc8d2
xor r12d, r12d
test dword [rdi + 0x18], 0x800
je 0x1401bc958
test r13d, r13d
je 0x1401bc9f6
mov ebx, r12d
mov eax, ebx
inc ebx
mov r12b, byte [rax + r11]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1401bc910
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x1401bc910
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x28]
jae 0x1401bc910
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
test r12b, r12b
je 0x1401bc91a
cmp ebx, r13d
jb 0x1401bc8e7
test dword [rdi + 0x18], 0x200
je 0x1401bc93e
test byte [rdi + 0x10], 4
je 0x1401bc93e
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
mov rdx, r11
call fcn.1401be010
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r13d, ebx
add r11, rax
mov qword [rbp - 0x20], r11
test r12b, r12b
jne 0x1401bc9f6
xor r12d, r12d
jmp 0x1401bc965
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1401bc965
mov qword [rax + 0x20], r12
mov dword [rdi + 0x50], r12d
mov dword [rdi + 8], 0x3f3b
jmp 0x1401bc975
xor r12d, r12d
test dword [rdi + 0x18], 0x1000
je 0x1401bca7d
test r13d, r13d
je 0x1401bc9f6
mov ebx, r12d
mov eax, ebx
inc ebx
mov r12b, byte [rax + r11]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1401bc9b3
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x1401bc9b3
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x38]
jae 0x1401bc9b3
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
test r12b, r12b
je 0x1401bc9bd
cmp ebx, r13d
jb 0x1401bc98a
test dword [rdi + 0x18], 0x200
je 0x1401bc9e1
test byte [rdi + 0x10], 4
je 0x1401bc9e1
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
mov rdx, r11
call fcn.1401be010
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r13d, ebx
add r11, rax
mov qword [rbp - 0x20], r11
test r12b, r12b
je 0x1401bca8a
mov ebx, dword [rbp + 0x50]
mov r12d, dword [rbp + 0x58]
mov ecx, dword [rbp + 0x48]
mov rax, qword [rbp - 0x18]
mov qword [r15 + 0x10], rax
mov eax, dword [rbp - 0x30]
mov dword [r15 + 0x18], eax
mov rax, qword [rbp - 0x20]
mov qword [r15], rax
mov dword [r15 + 8], r13d
mov dword [rdi + 0x4c], esi
xor esi, esi
mov dword [rdi + 0x48], r14d
cmp dword [rdi + 0x34], esi
jne 0x1401bca51
cmp ebx, dword [r15 + 0x18]
je 0x1401bd811
cmp dword [rdi + 8], 0x3f51
jge 0x1401bd811
cmp dword [rdi + 8], 0x3f4e
jl 0x1401bca51
cmp ecx, 4
je 0x1401bd811
mov rdx, qword [r15 + 0x10]
mov r8d, ebx
sub r8d, dword [r15 + 0x18]
mov rcx, r15
call fcn.1401bdc1c
test eax, eax
je 0x1401bd811
mov dword [rdi + 8], 0x3f52
mov eax, 0xfffffffc
jmp 0x1401bd8c7
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1401bca8a
mov qword [rax + 0x30], r12
mov r10d, dword [rbp - 0x30]
mov rbx, qword [rbp - 0x18]
mov dword [rdi + 8], 0x3f3c
test dword [rdi + 0x18], 0x200
je 0x1401bcaf4
mov r8d, 0x10
xor r12d, r12d
cmp esi, r8d
jae 0x1401bcad3
test r13d, r13d
je 0x1401bc9f6
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
jmp 0x1401bcaab
test byte [rdi + 0x10], 4
je 0x1401bcaee
movzx eax, word [rdi + 0x20]
cmp r14d, eax
je 0x1401bcaee
lea rax, str.header_crc_mismatch
jmp 0x1401bd791
mov r14d, r12d
mov esi, r12d
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1401bcb14
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
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1401be010
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
mov dword [rdi + 8], 0x3f3f
jmp 0x1401bc4e8
test r13d, r13d
je 0x1401bc9f6
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 0x1401bcb33
bswap r14d
mov dword [rdi + 0x20], r14d
xor eax, eax
mov dword [r15 + 0x4c], r14d
mov esi, eax
mov r14d, eax
mov dword [rdi + 8], 0x3f3e
jmp 0x1401bcb76
xor eax, eax
cmp dword [rdi + 0x14], eax
je 0x1401bd7bb
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1401bdd20
mov r11, qword [rbp - 0x20]
mov r10d, dword [rbp - 0x30]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
mov dword [rdi + 8], 0x3f3f
lea eax, [r12 - 5]
cmp eax, 1
jbe 0x1401bc9f6
xor edx, edx
cmp dword [rdi + 0xc], edx
je 0x1401bcbed
mov ecx, esi
mov dword [rdi + 8], 0x3f4e
and ecx, 7
shr r14d, cl
sub esi, ecx
jmp 0x1401bd79c
test r13d, r13d
je 0x1401bc9f6
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 0x1401bcbcc
mov eax, r14d
shr r14d, 1
and eax, 1
mov dword [rdi + 0xc], eax
mov eax, r14d
and eax, 3
je 0x1401bcc6f
sub eax, 1
je 0x1401bcc32
sub eax, 1
je 0x1401bcc29
cmp eax, 1
jne 0x1401bcc76
lea rax, str.invalid_block_type
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x1401bcc76
mov dword [rdi + 8], 0x3f44
jmp 0x1401bcc76
mov dword [rdi + 0x70], 9
lea rax, [0x1403f2da0]
mov qword [rdi + 0x60], rax
lea rax, [0x1403f35a0]
mov qword [rdi + 0x68], rax
mov dword [rdi + 0x74], 5
mov dword [rdi + 8], 0x3f47
cmp r12d, 6
jne 0x1401bcc76
shr r14d, 2
add esi, 0xfffffffd
jmp 0x1401bc9f6
mov dword [rdi + 8], 0x3f41
shr r14d, 2
add esi, 0xfffffffd
jmp 0x1401bd79c
mov ecx, esi
and ecx, 7
shr r14d, cl
sub esi, ecx
xor edx, edx
cmp esi, 0x20
jae 0x1401bccb6
test r13d, r13d
je 0x1401bc9f6
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
jmp 0x1401bcc8e
mov eax, r14d
movzx ecx, r14w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x1401bccd2
lea rax, str.invalid_stored_block_lengths
jmp 0x1401bd791
mov dword [rdi + 0x50], ecx
mov r14d, edx
mov dword [rdi + 8], 0x3f42
mov esi, edx
cmp r12d, 6
je 0x1401bc9f6
mov dword [rdi + 8], 0x3f43
mov eax, dword [rdi + 0x50]
test eax, eax
je 0x1401bcd4f
cmp eax, r13d
mov r12d, r13d
cmovbe r12d, eax
cmp r12d, r10d
cmova r12d, r10d
test r12d, r12d
je 0x1401bc9f6
mov rcx, qword [rbp - 0x18]
mov rdx, r11
mov r8d, r12d
mov ebx, r12d
call fcn.1402e6f51
mov r11, qword [rbp - 0x20]
sub r13d, r12d
mov r10d, dword [rbp - 0x30]
add r11, rbx
add qword [rbp - 0x18], rbx
sub r10d, r12d
sub dword [rdi + 0x50], r12d
mov rbx, qword [rbp - 0x18]
mov qword [rbp - 0x20], r11
mov dword [rbp - 0x30], r10d
jmp 0x1401bd79c
mov dword [rdi + 8], 0x3f3f
jmp 0x1401bd79c
xor r12d, r12d
cmp esi, 0xe
jae 0x1401bcd86
test r13d, r13d
je 0x1401bc9f6
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
jmp 0x1401bcd5e
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 0x1401bcddb
cmp edx, 0x1e
ja 0x1401bcddb
mov dword [rdi + 0x84], r12d
mov dword [rdi + 8], 0x3f45
jmp 0x1401bcdea
lea rax, str.too_many_length_or_distance_symbols
jmp 0x1401bd791
xor r12d, r12d
mov edx, 7
lea r8, [0x140000000]
mov eax, dword [rdi + 0x84]
cmp eax, dword [rdi + 0x78]
jae 0x1401bce76
jmp 0x1401bce24
test r13d, r13d
je 0x1401bc9f6
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 0x1401bce03
mov eax, dword [rdi + 0x84]
movzx ecx, r14w
and cx, dx
shr r14d, 3
movzx eax, word [r8 + rax*2 + 0x3f3620]
mov word [rdi + rax*2 + 0x90], cx
inc dword [rdi + 0x84]
add esi, 0xfffffffd
jmp 0x1401bcdf6
movzx eax, word [r8 + rax*2 + 0x3f3620]
mov word [rdi + rax*2 + 0x90], r12w
mov eax, dword [rdi + 0x84]
inc eax
mov dword [rdi + 0x84], eax
cmp eax, 0x13
jb 0x1401bce56
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.1401be338
mov r11, qword [rbp - 0x20]
mov r10d, dword [rbp - 0x30]
mov dword [rbp + 0x58], eax
test eax, eax
je 0x1401bced4
lea rax, str.invalid_code_lengths_set
jmp 0x1401bd791
mov dword [rdi + 0x84], r12d
mov dword [rdi + 8], 0x3f46
jmp 0x1401bcee7
xor r12d, r12d
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
cmp dword [rdi + 0x84], eax
jae 0x1401bd10e
mov ecx, dword [rdi + 0x70]
mov eax, 1
mov r8, qword [rdi + 0x60]
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
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 0x1401bcf68
test r13d, r13d
je 0x1401bc9f6
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
mov ecx, dword [rdi + 0x70]
add r14d, eax
mov eax, 1
mov edx, r14d
shl eax, cl
add r13d, r9d
dec eax
mov qword [rbp - 0x20], r11
and rax, rdx
add esi, 8
mov eax, dword [r8 + rax*4]
mov ecx, eax
shr ecx, 8
jmp 0x1401bcf20
mov edx, eax
mov r8d, 0x10
shr edx, 0x10
cmp dx, r8w
jae 0x1401bcfa4
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 r8d, dword [rdi + 0x84]
jmp 0x1401bd0e8
jne 0x1401bd00d
shr eax, 8
movzx edx, al
add edx, 2
jmp 0x1401bcfd2
test r13d, r13d
je 0x1401bc9f6
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 0x1401bcfb1
movzx ecx, byte [rbp - 0x27]
mov eax, dword [rdi + 0x84]
sub esi, ecx
shr r14d, cl
test eax, eax
je 0x1401bd0fc
mov edx, r14d
add esi, 0xfffffffe
and edx, 3
shr r14d, 2
add edx, 3
dec eax
movzx r9d, word [rdi + rax*2 + 0x90]
jmp 0x1401bd0ad
cmp word [rbp - 0x26], 0x11
movzx r8d, byte [rbp - 0x27]
jne 0x1401bd061
lea edx, [r8 + 3]
jmp 0x1401bd040
test r13d, r13d
je 0x1401bc9f6
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 0x1401bd01f
mov cl, r8b
mov r9d, r12d
shr r14d, cl
mov ecx, 0xfffffffd
mov edx, r14d
and edx, 7
add edx, 3
shr r14d, 3
jmp 0x1401bd0a8
lea edx, [r8 + 7]
jmp 0x1401bd088
test r13d, r13d
je 0x1401bc9f6
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 0x1401bd067
mov cl, r8b
movzx r9d, r12w
shr r14d, cl
mov ecx, 0xfffffff9
mov edx, r14d
and edx, 0x7f
add edx, 0xb
shr r14d, 7
sub ecx, r8d
add esi, ecx
mov r8d, dword [rdi + 0x84]
mov eax, dword [rdi + 0x7c]
add eax, dword [rdi + 0x80]
lea ecx, [r8 + rdx]
cmp ecx, eax
ja 0x1401bd0fc
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 0x1401bd0c5
mov eax, dword [rdi + 0x7c]
add eax, dword [rdi + 0x80]
cmp r8d, eax
jb 0x1401bcefc
jmp 0x1401bd10e
lea rax, str.invalid_bit_length_repeat
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
cmp dword [rdi + 8], 0x3f51
je 0x1401bd79c
cmp word [rdi + 0x290], r12w
jne 0x1401bd131
lea rax, str.invalid_code____missing_end_of_block
jmp 0x1401bd791
mov r8d, dword [rdi + 0x7c]
lea rax, [rdi + 0x550]
lea rbx, [rdi + 0x88]
mov qword [rdi + 0x60], rax
mov qword [rbx], rax
lea r12, [rdi + 0x310]
lea rax, [rdi + 0x70]
mov qword [rsp + 0x28], r12
lea rdx, [rdi + 0x90]
mov dword [rax], 9
mov r9, rbx
mov qword [rsp + 0x20], rax
mov ecx, 1
call fcn.1401be338
mov dword [rbp + 0x58], eax
test eax, eax
je 0x1401bd194
lea rax, str.invalid_literal_lengths_set
mov r11, qword [rbp - 0x20]
mov r10d, dword [rbp - 0x30]
jmp 0x1401bd78d
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.1401be338
mov dword [rbp + 0x58], eax
test eax, eax
je 0x1401bd1de
lea rax, str.invalid_distances_set
jmp 0x1401bd187
mov ecx, dword [rbp + 0x48]
mov dword [rdi + 8], 0x3f47
cmp ecx, 6
je 0x1401bd806
mov r11, qword [rbp - 0x20]
mov r9d, dword [rbp + 0x50]
mov r10d, dword [rbp - 0x30]
mov rbx, qword [rbp - 0x18]
mov dword [rdi + 8], 0x3f48
cmp r13d, 6
jb 0x1401bd277
cmp r10d, 0x102
jb 0x1401bd277
mov r12, qword [rbp - 0x10]
mov edx, r9d
mov dword [r15 + 0x18], r10d
mov rcx, r15
mov qword [r15], r11
mov dword [r15 + 8], r13d
mov qword [r12], rbx
mov dword [rdi + 0x48], r14d
mov dword [rdi + 0x4c], esi
call fcn.1401be7d0
cmp dword [rdi + 8], 0x3f3f
mov r11, qword [r15]
mov rbx, qword [r12]
mov r10d, dword [r15 + 0x18]
mov r13d, dword [r15 + 8]
mov r14d, dword [rdi + 0x48]
mov esi, dword [rdi + 0x4c]
mov qword [rbp - 0x20], r11
mov qword [rbp - 0x18], rbx
mov dword [rbp - 0x30], r10d
jne 0x1401bd79c
or dword [rdi + 0x1be4], 0xffffffff
jmp 0x1401bd79c
mov ecx, dword [rdi + 0x70]
xor r12d, r12d
mov r10, qword [rdi + 0x60]
mov dword [rdi + 0x1be4], r12d
lea eax, [r12 + 1]
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov eax, dword [r10 + rcx*4]
jmp 0x1401bd2d5
test r13d, r13d
je 0x1401bc9f6
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
mov ecx, dword [rdi + 0x70]
add r14d, eax
mov eax, 1
mov edx, r14d
shl eax, cl
dec r13d
dec eax
mov qword [rbp - 0x20], r11
add esi, 8
and rax, rdx
mov eax, dword [r10 + rax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x1401bd29e
test al, al
je 0x1401bd373
test al, 0xf0
jne 0x1401bd373
mov ecx, eax
mov dword [rbp - 0x28], eax
shr ecx, 8
mov edx, eax
movzx r9d, cl
movzx ecx, al
shr eax, 0x10
jmp 0x1401bd334
test r13d, r13d
je 0x1401bc9f6
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 0x1401bd307
movzx ecx, byte [rbp - 0x27]
shr r14d, cl
sub esi, ecx
mov dword [rdi + 0x1be4], ecx
mov ecx, eax
shr ecx, 8
movzx edx, cl
add dword [rdi + 0x1be4], edx
mov ecx, edx
shr r14d, cl
sub esi, edx
mov ecx, eax
shr ecx, 0x10
mov dword [rdi + 0x50], ecx
test al, al
jne 0x1401bd3a0
mov dword [rdi + 8], 0x3f4d
jmp 0x1401bc4ec
test al, 0x20
je 0x1401bd3b7
or dword [rdi + 0x1be4], 0xffffffff
mov dword [rdi + 8], 0x3f3f
jmp 0x1401bc4ec
test al, 0x40
je 0x1401bd3cb
mov r10d, dword [rbp - 0x30]
lea rax, str.invalid_literal_length_code
jmp 0x1401bd791
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 8], 0x3f49
mov dword [rdi + 0x58], ecx
jmp 0x1401bd3e0
xor r12d, r12d
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x1401bd42a
jmp 0x1401bd40a
test r13d, r13d
je 0x1401bc9f6
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 0x1401bd3e9
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 0x1401bd43f
xor r12d, r12d
mov ecx, dword [rdi + 0x74]
mov eax, 1
mov r10, qword [rdi + 0x68]
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov eax, dword [r10 + rcx*4]
jmp 0x1401bd493
test r13d, r13d
je 0x1401bc9f6
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
mov ecx, dword [rdi + 0x74]
add r14d, eax
mov eax, 1
mov edx, r14d
shl eax, cl
dec r13d
dec eax
mov qword [rbp - 0x20], r11
add esi, 8
and rax, rdx
mov eax, dword [r10 + rax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x1401bd45c
test al, 0xf0
jne 0x1401bd529
mov ecx, eax
mov dword [rbp - 0x28], eax
shr ecx, 8
mov edx, eax
movzx r9d, cl
movzx ecx, al
shr eax, 0x10
jmp 0x1401bd4ea
test r13d, r13d
je 0x1401bc9f6
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 0x1401bd4bd
movzx ecx, byte [rbp - 0x27]
shr r14d, cl
sub esi, ecx
add dword [rdi + 0x1be4], ecx
mov r10d, dword [rbp - 0x30]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub esi, ecx
shr r14d, cl
test al, 0x40
je 0x1401bd550
lea rax, str.invalid_distance_code
jmp 0x1401bd791
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 0x1401bd571
xor r12d, r12d
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x1401bd5bb
jmp 0x1401bd59b
test r13d, r13d
je 0x1401bc9f6
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 0x1401bd57a
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 0x1401bd5c7
xor r12d, r12d
test r10d, r10d
je 0x1401bc9f6
mov ecx, dword [rdi + 0x54]
mov eax, r9d
sub eax, r10d
cmp ecx, eax
jbe 0x1401bd61f
sub ecx, eax
cmp ecx, dword [rdi + 0x38]
jbe 0x1401bd5f9
cmp dword [rdi + 0x1be0], r12d
je 0x1401bd5f9
lea rax, str.invalid_distance_too_far_back
jmp 0x1401bd791
mov eax, dword [rdi + 0x3c]
cmp ecx, eax
jbe 0x1401bd609
mov edx, dword [rdi + 0x34]
sub ecx, eax
sub edx, ecx
jmp 0x1401bd60d
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 0x1401bd62b
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 0x1401bd642
mov qword [rbp - 0x18], rbx
cmp dword [rdi + 0x50], r12d
jne 0x1401bd79c
mov dword [rdi + 8], 0x3f48
jmp 0x1401bd79c
test r10d, r10d
je 0x1401bc9f6
mov al, byte [rdi + 0x50]
mov byte [rbx], al
inc rbx
dec r10d
mov qword [rbp - 0x18], rbx
mov dword [rbp - 0x30], r10d
jmp 0x1401bd65e
xor r12d, r12d
cmp dword [rdi + 0x10], r12d
jne 0x1401bd6c1
mov ebx, dword [rbp + 0x50]
mov dword [rdi + 8], 0x3f4f
jmp 0x1401bd744
test r13d, r13d
je 0x1401bc9f6
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 0x1401bd6a0
sub r9d, r10d
add dword [r15 + 0x1c], r9d
add dword [rdi + 0x24], r9d
test byte [rdi + 0x10], 4
je 0x1401bd70c
test r9d, r9d
je 0x1401bd70c
mov ecx, dword [rdi + 0x20]
mov rdx, rbx
mov eax, r9d
mov r8d, r9d
sub rdx, rax
cmp dword [rdi + 0x18], r12d
je 0x1401bd6f8
call fcn.1401be010
jmp 0x1401bd6fd
call fcn.1401bdd20
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 0x1401bd733
cmp dword [rdi + 0x18], r12d
mov eax, r14d
bswap eax
cmovne eax, r14d
cmp eax, dword [rdi + 0x20]
je 0x1401bd733
lea rax, str.incorrect_data_check
jmp 0x1401bd78d
mov r14d, r12d
mov esi, r12d
jmp 0x1401bd694
mov ebx, dword [rbp + 0x50]
xor r12d, r12d
cmp dword [rdi + 0x10], r12d
je 0x1401bd7e1
cmp dword [rdi + 0x18], r12d
je 0x1401bd7e1
jmp 0x1401bd77b
test r13d, r13d
je 0x1401bc9f9
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 0x1401bd75a
cmp r14d, dword [rdi + 0x24]
je 0x1401bd7db
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.0x1401bc450.16211
mov r9d, dword [rbp + 0x50]
mov r12d, dword [rbp + 0x48]
jmp 0x1401bc435
mov qword [r15 + 0x10], rbx
mov eax, 2
mov dword [r15 + 0x18], r10d
mov qword [r15], r11
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], r14d
mov dword [rdi + 0x4c], esi
jmp 0x1401bd8c7
mov r14d, r12d
mov esi, r12d
mov dword [rdi + 8], 0x3f50
jmp 0x1401bd7ed
mov ebx, dword [rbp + 0x50]
mov r12d, 1
jmp 0x1401bc9fd
mov ebx, dword [rbp + 0x50]
mov r12d, 0xfffffffd
jmp 0x1401bc9fd
mov ebx, dword [rbp + 0x50]
mov r12d, eax
jmp 0x1401bca00
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 0x1401bd861
test ebx, ebx
je 0x1401bd861
mov rdx, qword [r15 + 0x10]
mov r8d, ebx
mov ecx, dword [rdi + 0x20]
mov eax, ebx
sub rdx, rax
cmp dword [rdi + 0x18], esi
je 0x1401bd851
call fcn.1401be010
jmp 0x1401bd856
call fcn.1401bdd20
mov r8d, dword [rbp - 0x24]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
cmp dword [rdi + 8], 0x3f47
je 0x1401bd875
cmp dword [rdi + 8], 0x3f42
mov edx, esi
jne 0x1401bd87a
mov edx, 0x100
mov eax, dword [rdi + 0xc]
mov r9d, 0x80
neg eax
mov eax, esi
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 0x1401bd8ab
test ebx, ebx
je 0x1401bd8b1
cmp dword [rbp + 0x48], 4
jne 0x1401bd8bd
test r12d, r12d
mov eax, 0xfffffffb
cmove r12d, eax
mov eax, r12d
jmp 0x1401bd8c7
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