Function at 0x1400777f0
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.140079110
xor ecx, ecx
test eax, eax
jne case.default.0x1400778af
cmp qword [r15 + 0x10], rcx
je case.default.0x1400778af
cmp qword [r15], rcx
jne 0x140077838
cmp dword [r15 + 8], ecx
jne case.default.0x1400778af
mov rdi, qword [r15 + 0x28]
cmp dword [rdi + 8], 0x3f3f
jne 0x14007784c
mov dword [rdi + 8], 0x3f40
mov r9d, dword [r15 + 0x18]
mov r8d, r9d
mov eax, dword [rdi + 8]
mov r11, 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], r11
mov dword [rbp - 0x20], r9d
mov qword [rbp - 0x10], r10
mov dword [rbp - 0x14], r13d
mov dword [rbp + 0x50], r9d
mov dword [rbp + 0x58], ecx
cmp eax, 0x1e
ja case.default.0x1400778af
cdqe
lea rcx, [0x140000000]
lea rdx, [rdi + 0x74]
lea r12, [rdi + 0x70]
mov ecx, dword [rcx + rax*4 + 0x78e0c]
lea rax, [0x140000000]
add rcx, rax
jmp rcx
xor ebx, ebx
cmp dword [rdi + 0x10], ebx
jne 0x1400778c4
mov dword [rdi + 8], 0x3f40
jmp 0x14007794f
mov r8d, 0x10
jmp 0x1400778ed
test r13d, r13d
je 0x14007807a
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, r8d
jb 0x1400778cc
test byte [rdi + 0x10], 2
je 0x14007796c
cmp r14d, 0x8b1f
jne 0x14007796c
cmp dword [rdi + 0x30], ebx
jne 0x14007790d
mov dword [rdi + 0x30], 0xf
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400795d0
mov dword [rdi + 0x20], eax
lea rdx, [rbp - 0x1c]
mov word [rbp - 0x1c], 0x8b1f
mov r8d, 2
mov ecx, dword [rdi + 0x20]
call fcn.1400795d0
mov dword [rdi + 0x20], eax
mov dword [rdi + 8], 0x3f35
mov esi, ebx
mov r14d, ebx
mov r10, qword [rbp - 0x10]
mov r11, qword [rbp - 8]
mov r9d, dword [rbp - 0x20]
mov eax, dword [rdi + 8]
sub eax, 0x3f34
cmp eax, 0x1e
ja case.default.0x1400778af
mov r8d, dword [rbp + 0x50]
mov ebx, dword [rbp + 0x48]
jmp 0x14007788d
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x18], ebx
test rax, rax
je 0x14007797c
or dword [rax + 0x40], 0xffffffff
test byte [rdi + 0x10], 1
je 0x140077a23
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 0x140077a23
mov eax, r14d
and al, 0xf
cmp al, 8
je 0x1400779c0
lea rax, str.unknown_compression_method
jmp 0x140077a2a
shr r14d, 4
add esi, 0xfffffffc
mov ecx, r14d
and ecx, 0xf
add ecx, 8
cmp dword [rdi + 0x30], ebx
jne 0x1400779d8
mov dword [rdi + 0x30], ecx
cmp ecx, 0xf
ja 0x140077a1a
cmp ecx, dword [rdi + 0x30]
ja 0x140077a1a
mov eax, 1
xor r8d, r8d
shl eax, cl
xor edx, edx
xor ecx, ecx
mov dword [rdi + 0x1c], eax
call fcn.140079250
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 0x14007793e
lea rax, str.invalid_window_size
jmp 0x140077a2a
lea rax, str.incorrect_header_check
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x14007794f
mov r8d, 0x10
xor ebx, ebx
cmp esi, r8d
jae 0x140077a6a
test r13d, r13d
je 0x14007807a
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 0x140077a42
mov dword [rdi + 0x18], r14d
cmp r14b, 8
jne 0x1400779b7
test r14d, 0xe000
je 0x140077a8a
lea rax, str.unknown_header_flags_set
jmp 0x140077a2a
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x140077a9e
mov eax, r14d
shr eax, 8
and eax, 1
mov dword [rcx], eax
test dword [rdi + 0x18], 0x200
je 0x140077ad2
test byte [rdi + 0x10], 4
je 0x140077ad2
mov byte [rbp - 0x1c], r14b
lea rdx, [rbp - 0x1c]
shr r14d, 8
mov r8d, 2
mov byte [rbp - 0x1b], r14b
mov ecx, dword [rdi + 0x20]
call fcn.1400795d0
mov r10, qword [rbp - 0x10]
mov dword [rdi + 0x20], eax
mov r14d, ebx
mov dword [rdi + 8], 0x3f36
mov esi, ebx
jmp 0x140077b05
xor ebx, ebx
jmp 0x140077b05
test r13d, r13d
je 0x14007807a
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 0x140077ae4
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140077b17
mov dword [rax + 4], r14d
test dword [rdi + 0x18], 0x200
je 0x140077b59
test byte [rdi + 0x10], 4
je 0x140077b59
mov eax, r14d
mov byte [rbp - 0x1c], r14b
shr eax, 8
lea rdx, [rbp - 0x1c]
mov byte [rbp - 0x1b], al
mov r8d, 4
mov eax, r14d
shr r14d, 0x18
shr eax, 0x10
mov byte [rbp - 0x1a], al
mov byte [rbp - 0x19], r14b
mov ecx, dword [rdi + 0x20]
call fcn.1400795d0
mov dword [rdi + 0x20], eax
mov r10, qword [rbp - 0x10]
mov r14d, ebx
mov esi, ebx
mov dword [rdi + 8], 0x3f37
jmp 0x140077b6d
xor ebx, ebx
mov r12d, 0x10
jmp 0x140077b96
test r13d, r13d
je 0x14007807a
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, r12d
jb 0x140077b75
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x140077bb8
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 0x140077be8
test byte [rdi + 0x10], 4
je 0x140077be8
mov byte [rbp - 0x1c], r14b
lea rdx, [rbp - 0x1c]
shr r14d, 8
mov r8d, 2
mov byte [rbp - 0x1b], r14b
mov ecx, dword [rdi + 0x20]
call fcn.1400795d0
mov dword [rdi + 0x20], eax
mov r10, qword [rbp - 0x10]
mov r14d, ebx
mov esi, ebx
mov dword [rdi + 8], 0x3f38
jmp 0x140077c00
xor ebx, ebx
lea r12d, [rbx + 0x10]
test dword [rdi + 0x18], 0x400
jne 0x140077c44
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140077c16
mov qword [rax + 0x10], rbx
mov r10, qword [rbp - 0x10]
mov dword [rdi + 8], 0x3f39
jmp 0x140077c93
test r13d, r13d
je 0x14007807a
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, r12d
jb 0x140077c23
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x50], r14d
test rax, rax
je 0x140077c5a
mov dword [rax + 0x18], r14d
test dword [rdi + 0x18], 0x200
je 0x140077c8a
test byte [rdi + 0x10], 4
je 0x140077c8a
mov byte [rbp - 0x1c], r14b
lea rdx, [rbp - 0x1c]
shr r14d, 8
mov r8d, 2
mov byte [rbp - 0x1b], r14b
mov ecx, dword [rdi + 0x20]
call fcn.1400795d0
mov dword [rdi + 0x20], eax
mov r14d, ebx
mov esi, ebx
jmp 0x140077c16
xor ebx, ebx
test dword [rdi + 0x18], 0x400
je 0x140077d25
mov ebx, dword [rdi + 0x50]
cmp ebx, r13d
cmova ebx, r13d
test ebx, ebx
je 0x140077d1a
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140077ce6
mov r9, qword [rax + 0x10]
test r9, r9
je 0x140077ce6
mov edx, dword [rax + 0x18]
sub edx, dword [rdi + 0x50]
mov ecx, dword [rax + 0x1c]
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x140077cd4
sub ecx, edx
jmp 0x140077cd6
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, r10
add rcx, r9
call fcn.1402e2940
test dword [rdi + 0x18], 0x200
je 0x140077d07
test byte [rdi + 0x10], 4
je 0x140077d07
mov rdx, qword [rbp - 0x10]
mov r8d, ebx
mov ecx, dword [rdi + 0x20]
call fcn.1400795d0
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
xor ebx, ebx
cmp dword [rdi + 0x50], ebx
jne 0x14007807a
mov dword [rdi + 0x50], ebx
mov dword [rdi + 8], 0x3f3a
jmp 0x140077d33
xor ebx, ebx
test dword [rdi + 0x18], 0x800
je 0x140077db6
test r13d, r13d
je 0x14007807a
mov eax, ebx
inc ebx
movzx r12d, byte [rax + r10]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140077d6f
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x140077d6f
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x28]
jae 0x140077d6f
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
test r12d, r12d
je 0x140077d79
cmp ebx, r13d
jb 0x140077d45
test dword [rdi + 0x18], 0x200
je 0x140077d9d
test byte [rdi + 0x10], 4
je 0x140077d9d
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
mov rdx, r10
call fcn.1400795d0
mov r10, qword [rbp - 0x10]
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r13d, ebx
add r10, rax
xor ebx, ebx
mov qword [rbp - 0x10], r10
test r12d, r12d
jne 0x14007807e
jmp 0x140077dc3
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140077dc3
mov qword [rax + 0x20], rbx
mov dword [rdi + 0x50], ebx
mov dword [rdi + 8], 0x3f3b
jmp 0x140077dd1
xor ebx, ebx
test dword [rdi + 0x18], 0x1000
je 0x140077e52
test r13d, r13d
je 0x14007807a
mov eax, ebx
inc ebx
movzx r12d, byte [rax + r10]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140077e0d
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x140077e0d
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x38]
jae 0x140077e0d
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
test r12d, r12d
je 0x140077e17
cmp ebx, r13d
jb 0x140077de3
test dword [rdi + 0x18], 0x200
je 0x140077e3b
test byte [rdi + 0x10], 4
je 0x140077e3b
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
mov rdx, r10
call fcn.1400795d0
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 0x14007807e
jmp 0x140077e5f
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140077e5f
mov qword [rax + 0x30], rbx
mov r9d, dword [rbp - 0x20]
mov r11, qword [rbp - 8]
mov dword [rdi + 8], 0x3f3c
test dword [rdi + 0x18], 0x200
je 0x140077ec7
mov r8d, 0x10
xor ebx, ebx
cmp esi, r8d
jae 0x140077ea7
test r13d, r13d
je 0x14007807a
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 0x140077e7f
test byte [rdi + 0x10], 4
je 0x140077ec2
movzx eax, word [rdi + 0x20]
cmp r14d, eax
je 0x140077ec2
lea rax, str.header_crc_mismatch
jmp 0x140077a2a
mov r14d, ebx
mov esi, ebx
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x140077ee7
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.1400795d0
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
mov dword [rdi + 8], 0x3f3f
jmp 0x140077943
test r13d, r13d
je 0x14007807a
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 0x140077f06
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 0x140077f6b
xor eax, eax
cmp dword [rdi + 0x14], eax
je 0x140078cd3
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140079250
mov r10, qword [rbp - 0x10]
lea rdx, [rdi + 0x74]
mov r9d, dword [rbp - 0x20]
mov r11, 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 0x14007807a
xor r8d, r8d
cmp dword [rdi + 0xc], r8d
je 0x140077fea
mov ecx, esi
mov dword [rdi + 8], 0x3f4e
and ecx, 7
shr r14d, cl
sub esi, ecx
jmp 0x14007794f
test r13d, r13d
je 0x14007807a
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 0x140077fc9
mov eax, r14d
dec esi
and eax, 1
shr r14d, 1
mov dword [rdi + 0xc], eax
mov eax, r14d
and eax, 3
je 0x140078101
sub eax, 1
je 0x14007803f
sub eax, 1
je 0x140078033
cmp eax, 1
jne 0x140078108
lea rax, str.invalid_block_type
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x140078108
mov dword [rdi + 8], 0x3f44
jmp 0x140078108
mov dword [r12], 9
lea rax, [0x1403b8ad0]
mov qword [rdi + 0x60], rax
lea rax, [0x1403b92d0]
mov qword [rdi + 0x68], rax
mov dword [rdx], 5
mov dword [rdi + 8], 0x3f47
cmp ebx, 6
jne 0x140078108
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 0x1400780d5
cmp ebx, dword [r15 + 0x18]
je 0x140078d3b
cmp dword [rdi + 8], 0x3f51
jge 0x140078d3b
cmp dword [rdi + 8], 0x3f4e
jl 0x1400780d5
cmp ecx, 4
je 0x140078d3b
mov rdx, qword [r15 + 0x10]
mov r8d, ebx
sub r8d, dword [r15 + 0x18]
mov rcx, r15
call fcn.140079150
test eax, eax
je 0x140078d3b
mov dword [rdi + 8], 0x3f52
mov eax, 0xfffffffc
jmp 0x140078df3
mov dword [rdi + 8], 0x3f41
shr r14d, 2
add esi, 0xfffffffe
jmp 0x14007794f
mov ecx, esi
and ecx, 7
shr r14d, cl
sub esi, ecx
xor r8d, r8d
cmp esi, 0x20
jae 0x140078149
test r13d, r13d
je 0x14007807a
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 0x140078121
mov eax, r14d
movzx ecx, r14w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x140078165
lea rax, str.invalid_stored_block_lengths
jmp 0x140077a2a
mov dword [rdi + 0x50], ecx
mov r14d, r8d
mov dword [rdi + 8], 0x3f42
mov esi, r8d
cmp ebx, 6
je 0x14007807a
mov dword [rdi + 8], 0x3f43
mov r12d, dword [rdi + 0x50]
test r12d, r12d
je 0x1400781e3
cmp r12d, r13d
cmova r12d, r13d
cmp r12d, r9d
cmova r12d, r9d
test r12d, r12d
je 0x14007807a
mov r8d, r12d
mov rdx, r10
mov rcx, r11
mov ebx, r12d
call fcn.1402e2940
mov r10, qword [rbp - 0x10]
sub r13d, r12d
mov r9d, dword [rbp - 0x20]
add r10, rbx
mov r11, qword [rbp - 8]
sub r9d, r12d
add r11, rbx
mov qword [rbp - 0x10], r10
sub dword [rdi + 0x50], r12d
mov dword [rbp - 0x20], r9d
mov qword [rbp - 8], r11
jmp 0x14007794f
mov dword [rdi + 8], 0x3f3f
jmp 0x14007794f
xor ebx, ebx
cmp esi, 0xe
jae 0x140078219
test r13d, r13d
je 0x14007807a
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 0x1400781f1
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 0x14007826d
cmp edx, 0x1e
ja 0x14007826d
mov dword [rdi + 0x84], ebx
mov dword [rdi + 8], 0x3f45
jmp 0x14007827b
lea rax, str.too_many_length_or_distance_symbols
jmp 0x140077a2a
xor ebx, ebx
mov eax, dword [rdi + 0x78]
lea r8, [0x140000000]
mov edx, 7
cmp dword [rdi + 0x84], eax
jae 0x14007830f
jmp 0x1400782b5
test r13d, r13d
je 0x14007807a
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 0x140078294
mov eax, dword [rdi + 0x84]
movzx ecx, r14w
and cx, dx
shr r14d, 3
add esi, 0xfffffffd
movzx eax, word [r8 + rax*2 + 0x3b9350]
mov word [rdi + rax*2 + 0x90], cx
inc dword [rdi + 0x84]
mov eax, dword [rdi + 0x84]
cmp eax, dword [rdi + 0x78]
jb 0x1400782b5
jmp 0x14007830f
mov eax, dword [rdi + 0x84]
movzx eax, word [r8 + rax*2 + 0x3b9350]
mov word [rdi + rax*2 + 0x90], bx
inc dword [rdi + 0x84]
cmp dword [rdi + 0x84], 0x13
jb 0x1400782f2
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.14007c050
mov r10, qword [rbp - 0x10]
mov r11, qword [rbp - 8]
mov dword [rbp + 0x58], eax
test eax, eax
je 0x14007837a
lea rax, str.invalid_code_lengths_set
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x14007794b
mov dword [rdi + 0x84], ebx
mov dword [rdi + 8], 0x3f46
jmp 0x14007838b
xor ebx, ebx
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
cmp dword [rdi + 0x84], eax
jae 0x1400785b2
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 r8d, 0xffffffff
movzx ecx, cl
mov dword [rbp - 0x18], eax
cmp ecx, esi
jbe 0x140078411
test r13d, r13d
je 0x14007807a
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, r8d
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 0x1400783c4
mov edx, eax
mov ecx, 0x10
shr edx, 0x10
cmp dx, cx
jae 0x14007844a
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 0x140078584
jne 0x1400784b3
shr eax, 8
movzx edx, al
add edx, 2
jmp 0x140078478
test r13d, r13d
je 0x14007807a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, r8d
add esi, 8
cmp esi, edx
jb 0x140078457
movzx ecx, byte [rbp - 0x17]
mov eax, dword [rdi + 0x84]
sub esi, ecx
shr r14d, cl
test eax, eax
je 0x140078594
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 0x14007854f
cmp word [rbp - 0x16], 0x11
movzx r9d, byte [rbp - 0x17]
jne 0x140078504
lea edx, [r9 + 3]
jmp 0x1400784e6
test r13d, r13d
je 0x14007807a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, r8d
add esi, 8
cmp esi, edx
jb 0x1400784c5
mov ecx, r9d
mov eax, 0xfffffffd
shr r14d, cl
mov edx, r14d
and edx, 7
add edx, 3
shr r14d, 3
jmp 0x140078547
lea edx, [r9 + 7]
jmp 0x14007852b
test r13d, r13d
je 0x14007807a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, r8d
add esi, 8
cmp esi, edx
jb 0x14007850a
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 0x1400785a0
mov eax, dword [rdi + 0x84]
mov word [rdi + rax*2 + 0x90], r8w
inc dword [rdi + 0x84]
mov ecx, dword [rdi + 0x84]
add edx, 0xffffffff
jne 0x140078564
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
cmp ecx, eax
jmp 0x14007839a
lea rax, str.invalid_bit_length_repeat
jmp 0x14007836a
lea rax, str.invalid_bit_length_repeat
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
cmp dword [rdi + 8], 0x3f51
je 0x14007794b
cmp word [rdi + 0x290], bx
jne 0x1400785d4
lea rax, str.invalid_code____missing_end_of_block
jmp 0x14007836a
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.14007c050
mov dword [rbp + 0x58], eax
test eax, eax
je 0x14007863c
lea rax, str.invalid_literal_lengths_set
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x140077943
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.14007c050
mov dword [rbp + 0x58], eax
test eax, eax
je 0x140078686
lea rax, str.invalid_distances_set
jmp 0x14007862c
mov ecx, dword [rbp + 0x48]
mov r10, qword [rbp - 0x10]
mov dword [rdi + 8], 0x3f47
cmp ecx, 6
je 0x140078d30
mov r8d, dword [rbp + 0x50]
lea r12, [rdi + 0x70]
mov r9d, dword [rbp - 0x20]
mov r11, qword [rbp - 8]
mov dword [rdi + 8], 0x3f48
cmp r13d, 6
jb 0x14007871f
cmp r9d, 0x102
jb 0x14007871f
mov qword [r15 + 0x10], r11
mov edx, r8d
mov dword [r15 + 0x18], r9d
mov rcx, r15
mov qword [r15], r10
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], r14d
mov dword [rdi + 0x4c], esi
call fcn.14007c4e0
cmp dword [rdi + 8], 0x3f3f
mov r11, qword [r15 + 0x10]
mov r10, qword [r15]
mov r9d, dword [r15 + 0x18]
mov r13d, dword [r15 + 8]
mov r14d, dword [rdi + 0x48]
mov esi, dword [rdi + 0x4c]
mov qword [rbp - 8], r11
mov qword [rbp - 0x10], r10
mov dword [rbp - 0x20], r9d
jne 0x14007794f
or dword [rdi + 0x1be4], 0xffffffff
jmp 0x14007794f
mov ecx, dword [r12]
xor ebx, ebx
mov r11, qword [rdi + 0x60]
mov dword [rdi + 0x1be4], ebx
lea eax, [rbx + 1]
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov eax, dword [r11 + rcx*4]
jmp 0x14007877f
test r13d, r13d
je 0x14007807a
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
dec r13d
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
movzx ecx, cl
cmp ecx, esi
ja 0x140078743
test al, al
je 0x140078859
test al, 0xf0
jne 0x140078859
mov r10d, eax
movzx ecx, al
shr r10d, 8
mov r9d, 1
movzx r8d, r10b
mov edx, eax
add ecx, r8d
mov dword [rbp - 0x18], eax
shl r9d, cl
mov ecx, r8d
dec r9d
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 0x14007884a
mov r10, qword [rbp - 0x10]
test r13d, r13d
je 0x14007807e
movzx eax, byte [r10]
mov ecx, esi
movzx r9d, byte [rbp - 0x17]
mov r8d, 1
shl eax, cl
inc r10
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], 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 0x1400787e9
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 0x140078884
mov dword [rdi + 8], 0x3f4d
jmp 0x140077943
test al, 0x20
je 0x140078894
or dword [rdi + 0x1be4], 0xffffffff
jmp 0x140077efa
mov r10, qword [rbp - 0x10]
test al, 0x40
je 0x1400788b3
lea rax, str.invalid_literal_length_code
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x140077947
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 8], 0x3f49
mov dword [rdi + 0x58], ecx
jmp 0x1400788c7
xor ebx, ebx
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x140078911
jmp 0x1400788f1
test r13d, r13d
je 0x14007807a
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, edx
jb 0x1400788d0
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]
lea rdx, [rdi + 0x74]
mov dword [rdi + 0x1be8], eax
mov dword [rdi + 8], 0x3f4a
jmp 0x140078929
xor ebx, ebx
mov ecx, dword [rdx]
mov eax, 1
mov r11, qword [rdi + 0x68]
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov eax, dword [r11 + rcx*4]
jmp 0x14007897f
test r13d, r13d
je 0x14007807a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
mov ecx, dword [rdx]
add r14d, eax
mov eax, 1
mov qword [rbp - 0x10], r10
shl eax, cl
dec r13d
add esi, 8
lea ecx, [rax - 1]
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 0x140078945
test al, 0xf0
jne 0x140078a51
mov r10d, eax
movzx ecx, al
shr r10d, 8
mov r9d, 1
movzx r8d, r10b
mov edx, eax
add ecx, r8d
mov dword [rbp - 0x18], eax
shl r9d, cl
mov ecx, r8d
dec r9d
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 0x140078a42
mov r10, qword [rbp - 0x10]
test r13d, r13d
je 0x14007807e
movzx eax, byte [r10]
mov ecx, esi
movzx r9d, byte [rbp - 0x17]
mov r8d, 1
shl eax, cl
inc r10
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], 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 0x1400789e1
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 r9d, dword [rbp - 0x20]
mov r11, qword [rbp - 8]
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub esi, ecx
shr r14d, cl
test al, 0x40
je 0x140078a80
lea rax, str.invalid_distance_code
jmp 0x140077a2a
mov r8d, 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 0x140078aa0
xor ebx, ebx
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x140078aea
jmp 0x140078aca
test r13d, r13d
je 0x14007807a
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, edx
jb 0x140078aa9
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 0x140078af5
xor ebx, ebx
test r9d, r9d
je 0x14007807a
mov ecx, dword [rdi + 0x54]
mov eax, r8d
sub eax, r9d
cmp ecx, eax
jbe 0x140078b47
sub ecx, eax
cmp ecx, dword [rdi + 0x38]
jbe 0x140078b26
cmp dword [rdi + 0x1be0], ebx
je 0x140078b26
lea rax, str.invalid_distance_too_far_back
jmp 0x140077a2a
mov eax, dword [rdi + 0x3c]
cmp ecx, eax
jbe 0x140078b36
mov edx, dword [rdi + 0x34]
sub ecx, eax
sub edx, ecx
jmp 0x140078b3a
sub eax, ecx
mov edx, eax
add rdx, qword [rdi + 0x40]
mov eax, dword [rdi + 0x50]
cmp ecx, eax
jbe 0x140078b52
jmp 0x140078b50
mov eax, dword [rdi + 0x50]
mov rdx, r11
sub rdx, rcx
mov ecx, eax
cmp ecx, r9d
cmova ecx, r9d
sub r9d, ecx
sub eax, ecx
mov dword [rbp - 0x20], r9d
sub rdx, r11
mov dword [rdi + 0x50], eax
mov al, byte [rdx + r11]
mov byte [r11], al
inc r11
add ecx, 0xffffffff
jne 0x140078b68
mov qword [rbp - 8], r11
cmp dword [rdi + 0x50], ebx
jne 0x14007794f
mov dword [rdi + 8], 0x3f48
jmp 0x14007794f
test r9d, r9d
je 0x14007807a
mov al, byte [rdi + 0x50]
mov byte [r11], al
inc r11
dec r9d
mov qword [rbp - 8], r11
mov dword [rbp - 0x20], r9d
jmp 0x140078b84
xor r12d, r12d
cmp dword [rdi + 0x10], r12d
jne 0x140078be8
mov ebx, dword [rbp + 0x50]
mov dword [rdi + 8], 0x3f4f
jmp 0x140078c91
test r13d, r13d
je 0x14007807a
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 0x140078bc7
sub r8d, r9d
add dword [r15 + 0x1c], r8d
add dword [rdi + 0x24], r8d
test byte [rdi + 0x10], 4
je 0x140078c34
test r8d, r8d
je 0x140078c34
mov ecx, dword [rdi + 0x20]
mov rdx, r11
mov eax, r8d
sub rdx, rax
cmp dword [rdi + 0x18], r12d
je 0x140078c1c
call fcn.1400795d0
jmp 0x140078c21
call fcn.140079250
mov r10, qword [rbp - 0x10]
mov r9d, dword [rbp - 0x20]
mov r11, qword [rbp - 8]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
test byte [rdi + 0x10], 4
mov ebx, r9d
mov dword [rbp + 0x50], ebx
je 0x140078c80
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 0x140078c80
lea rax, str.incorrect_data_check
jmp 0x140077a2a
mov r14d, r12d
mov esi, r12d
jmp 0x140078bbb
mov ebx, dword [rbp + 0x50]
xor r12d, r12d
cmp dword [rdi + 0x10], r12d
je 0x140078cf9
cmp dword [rdi + 0x18], r12d
je 0x140078cf9
jmp 0x140078cbc
test r13d, r13d
je 0x140078d23
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 0x140078c9f
cmp r14d, dword [rdi + 0x24]
je 0x140078cf3
lea rax, str.incorrect_length_check
jmp 0x140077a2a
mov qword [r15 + 0x10], r11
mov eax, 2
mov dword [r15 + 0x18], r9d
mov qword [r15], r10
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], r14d
mov dword [rdi + 0x4c], esi
jmp 0x140078df3
mov r14d, r12d
mov esi, r12d
mov dword [rdi + 8], 0x3f50
jmp 0x140078d05
mov ebx, dword [rbp + 0x50]
mov r10, qword [rbp - 0x10]
mov r12d, 1
jmp 0x140078085
mov r10, qword [rbp - 0x10]
mov r12d, 0xfffffffd
jmp 0x140078082
mov r10, qword [rbp - 0x10]
mov r12d, dword [rbp + 0x58]
jmp 0x140078085
mov ebx, dword [rbp + 0x50]
mov r12d, eax
jmp 0x140078088
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 0x140078d8b
test ebx, ebx
je 0x140078d8b
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 0x140078d7b
call fcn.1400795d0
jmp 0x140078d80
call fcn.140079250
mov r9d, dword [rbp - 0x14]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
cmp dword [rdi + 8], 0x3f47
je 0x140078da0
cmp dword [rdi + 8], 0x3f42
mov r8d, esi
jne 0x140078da6
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 0x140078dd7
test ebx, ebx
je 0x140078ddd
cmp dword [rbp + 0x48], 4
jne 0x140078de9
test r12d, r12d
mov eax, 0xfffffffb
cmove r12d, eax
mov eax, r12d
jmp 0x140078df3
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