Function at 0x180096880
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.180096688
xor ecx, ecx
test eax, eax
jne case.0x18009693a.16211
cmp qword [r15 + 0x10], rcx
je case.0x18009693a.16211
cmp qword [r15], rcx
jne 0x1800968c6
cmp dword [r15 + 8], ecx
jne case.0x18009693a.16211
mov rdi, qword [r15 + 0x28]
mov edx, 0x3f40
mov eax, dword [rdi + 8]
cmp eax, 0x3f3f
jne 0x1800968de
mov dword [rdi + 8], edx
mov eax, edx
mov r10d, dword [r15 + 0x18]
add eax, 0xffffc0cc
mov rbx, qword [r15 + 0x10]
mov r9d, r10d
mov r11, qword [r15]
mov r13d, dword [r15 + 8]
mov esi, dword [rdi + 0x48]
mov r14d, dword [rdi + 0x4c]
mov qword [rbp - 8], rbx
mov dword [rbp + 0x50], r10d
mov qword [rbp - 0x10], r11
mov dword [rbp - 0x14], r13d
mov dword [rbp - 0x20], r10d
mov dword [rbp - 0x18], ecx
cmp eax, 0x1f
ja case.0x18009693a.16211
cdqe
lea rcx, [0x180000000]
lea r12, [rdi + 0x70]
mov ecx, dword [rcx + rax*4 + 0x97f40]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
xor r8d, r8d
cmp dword [rdi + 0x10], r8d
jne 0x180096951
mov dword [rdi + 8], 0x3f40
jmp 0x180097ca9
mov r9d, 0x10
jmp 0x18009697b
test r13d, r13d
je 0x180097cf7
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
dec r13d
add r14d, 8
cmp r14d, r9d
jb 0x180096959
test byte [rdi + 0x10], 2
je 0x1800969db
cmp esi, 0x8b1f
jne 0x1800969db
cmp dword [rdi + 0x30], r8d
jne 0x18009699b
mov dword [rdi + 0x30], 0xf
mov byte [rbp + 0x58], sil
lea rdx, [rbp + 0x58]
mov dword [rdi + 0x20], r8d
xor ecx, ecx
shr esi, 8
mov r8d, 2
mov byte [rbp + 0x59], sil
call fcn.18009879c
xor r8d, r8d
mov dword [rdi + 0x20], eax
mov esi, r8d
mov dword [rdi + 8], 0x3f35
mov r14d, r8d
mov r11, qword [rbp - 0x10]
mov r10d, dword [rbp + 0x50]
jmp 0x180097ca9
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1800969e8
or dword [rax + 0x40], 0xffffffff
test byte [rdi + 0x10], 1
je 0x180096a9e
movzx ecx, sil
mov eax, esi
shr eax, 8
shl ecx, 8
add ecx, eax
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x1f
cmp ecx, eax
jne 0x180096a9e
mov eax, esi
and al, 0xf
cmp al, 8
je 0x180096a31
lea rax, str.unknown_compression_method
jmp 0x180097c9e
mov eax, dword [rdi + 0x30]
add r14d, 0xfffffffc
shr esi, 4
mov ecx, esi
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x180096a4c
mov eax, ecx
mov dword [rdi + 0x30], ecx
cmp ecx, 0xf
ja 0x180096a92
cmp ecx, eax
ja 0x180096a92
mov eax, 1
mov dword [rdi + 0x18], r8d
shl eax, cl
xor edx, edx
xor ecx, ecx
mov dword [rdi + 0x1c], eax
call fcn.1800984b0
shr esi, 8
not esi
mov dword [rdi + 0x20], eax
and esi, 2
mov dword [r15 + 0x4c], eax
or esi, 0x3f3d
xor r12d, r12d
mov dword [rdi + 8], esi
mov esi, r12d
mov r14d, r12d
jmp 0x1800969ce
lea rax, str.invalid_window_size
jmp 0x180097c9e
lea rax, str.incorrect_header_check
jmp 0x180097c9e
mov r9d, 0x10
jmp 0x180096ad4
test r13d, r13d
je 0x180097cf7
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
dec r13d
add r14d, 8
cmp r14d, r9d
jb 0x180096ab2
mov dword [rdi + 0x18], esi
cmp sil, 8
jne 0x180096a25
test esi, 0xe000
je 0x180096afa
lea rax, str.unknown_header_flags_set
jmp 0x180097c9e
mov rdx, qword [rdi + 0x28]
mov ecx, esi
shr ecx, 8
xor r10d, r10d
test rdx, rdx
je 0x180096b12
mov eax, ecx
and eax, 1
mov dword [rdx], eax
test dword [rdi + 0x18], 0x200
je 0x180096b44
test byte [rdi + 0x10], 4
je 0x180096b44
mov byte [rbp + 0x59], cl
lea rdx, [rbp + 0x58]
mov ecx, dword [rdi + 0x20]
mov r8d, 2
mov byte [rbp + 0x58], sil
call fcn.18009879c
mov r11, qword [rbp - 0x10]
xor r10d, r10d
mov dword [rdi + 0x20], eax
mov esi, r10d
mov dword [rdi + 8], 0x3f36
mov r14d, r10d
jmp 0x180096b63
mov dword [rbp - 0x1c], esi
xor r10d, r10d
mov qword [rbp - 0x10], r11
cmp r14d, 0x20
jae 0x180096b83
test r13d, r13d
je 0x180097da4
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
dec r13d
add esi, eax
inc r11
add r14d, 8
jmp 0x180096b59
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x180096b8f
mov dword [rax + 4], esi
test dword [rdi + 0x18], 0x200
je 0x180096bd5
test byte [rdi + 0x10], 4
je 0x180096bd5
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp + 0x58]
mov eax, esi
mov byte [rbp + 0x58], sil
shr eax, 8
mov r8d, 4
mov byte [rbp + 0x59], al
mov eax, esi
shr eax, 0x10
shr esi, 0x18
mov byte [rbp + 0x5a], al
mov byte [rbp + 0x5b], sil
call fcn.18009879c
mov r11, qword [rbp - 0x10]
xor r10d, r10d
mov dword [rdi + 0x20], eax
mov esi, r10d
mov dword [rdi + 8], 0x3f37
mov r14d, r10d
mov ebx, 0x10
jmp 0x180096bfd
mov dword [rbp - 0x1c], esi
mov ebx, 0x10
xor r10d, r10d
mov qword [rbp - 0x10], r11
cmp r14d, ebx
jae 0x180096c1d
test r13d, r13d
je 0x180097da4
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
dec r13d
add esi, eax
inc r11
add r14d, 8
jmp 0x180096bf4
mov rdx, qword [rdi + 0x28]
mov ecx, esi
shr ecx, 8
test rdx, rdx
je 0x180096c39
movzx eax, sil
mov dword [rdx + 8], eax
mov rax, qword [rdi + 0x28]
mov dword [rax + 0xc], ecx
test dword [rdi + 0x18], 0x200
je 0x180096c6b
test byte [rdi + 0x10], 4
je 0x180096c6b
mov byte [rbp + 0x59], cl
lea rdx, [rbp + 0x58]
mov ecx, dword [rdi + 0x20]
mov r8d, 2
mov byte [rbp + 0x58], sil
call fcn.18009879c
mov r11, qword [rbp - 0x10]
xor r10d, r10d
mov dword [rdi + 0x20], eax
mov esi, r10d
mov dword [rdi + 8], 0x3f38
mov r14d, r10d
jmp 0x180096c81
xor r10d, r10d
lea ebx, [r10 + 0x10]
test dword [rdi + 0x18], 0x400
jne 0x180096cc6
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x180096c97
mov qword [rax + 0x10], r10
mov r11, qword [rbp - 0x10]
mov dword [rdi + 8], 0x3f39
jmp 0x180096d17
test r13d, r13d
je 0x180097da4
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
dec r13d
add r14d, 8
cmp r14d, ebx
jb 0x180096ca4
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x50], esi
test rax, rax
je 0x180096cda
mov dword [rax + 0x18], esi
test dword [rdi + 0x18], 0x200
je 0x180096d0c
test byte [rdi + 0x10], 4
je 0x180096d0c
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp + 0x58]
mov byte [rbp + 0x58], sil
mov r8d, 2
shr esi, 8
mov byte [rbp + 0x59], sil
call fcn.18009879c
mov dword [rdi + 0x20], eax
xor r10d, r10d
mov esi, r10d
mov r14d, r10d
jmp 0x180096c97
xor r10d, r10d
test dword [rdi + 0x18], 0x400
je 0x180096dbd
mov ebx, dword [rdi + 0x50]
mov r12d, r13d
cmp ebx, r13d
cmovbe r12d, ebx
test r12d, r12d
je 0x180096db5
mov rcx, qword [rdi + 0x28]
mov eax, ebx
test rcx, rcx
je 0x180096d78
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x180096d78
mov edx, dword [rcx + 0x18]
mov ecx, dword [rcx + 0x1c]
sub edx, ebx
cmp edx, ecx
jae 0x180096d78
lea eax, [r12 + rdx]
cmp eax, ecx
jbe 0x180096d62
sub ecx, edx
jmp 0x180096d65
mov ecx, r12d
mov r8d, ecx
mov ecx, edx
mov rdx, r11
add rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rdi + 0x50]
test dword [rdi + 0x18], 0x200
mov ebx, eax
je 0x180096d9b
test byte [rdi + 0x10], 4
je 0x180096d9b
mov rdx, qword [rbp - 0x10]
mov r8d, r12d
mov ecx, dword [rdi + 0x20]
call fcn.18009879c
mov dword [rdi + 0x20], eax
mov r11, qword [rbp - 0x10]
sub ebx, r12d
mov eax, r12d
sub r13d, r12d
add r11, rax
mov dword [rdi + 0x50], ebx
mov qword [rbp - 0x10], r11
xor r10d, r10d
test ebx, ebx
jne 0x180097da4
mov dword [rdi + 0x50], r10d
mov dword [rdi + 8], 0x3f3a
jmp 0x180096dcd
xor r10d, r10d
test dword [rdi + 0x18], 0x800
je 0x180096e53
test r13d, r13d
je 0x180097da4
mov ebx, r10d
mov eax, ebx
inc ebx
mov r12b, byte [rax + r11]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x180096e0b
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x180096e0b
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x28]
jae 0x180096e0b
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
test r12b, r12b
je 0x180096e15
cmp ebx, r13d
jb 0x180096de2
test dword [rdi + 0x18], 0x200
je 0x180096e3c
test byte [rdi + 0x10], 4
je 0x180096e3c
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
mov rdx, r11
call fcn.18009879c
mov r11, qword [rbp - 0x10]
xor r10d, r10d
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r13d, ebx
add r11, rax
mov qword [rbp - 0x10], r11
test r12b, r12b
jne 0x180097cfe
jmp 0x180096e60
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x180096e60
mov qword [rax + 0x20], r10
mov dword [rdi + 0x50], r10d
mov dword [rdi + 8], 0x3f3b
jmp 0x180096e70
xor r10d, r10d
test dword [rdi + 0x18], 0x1000
je 0x180096ef6
test r13d, r13d
je 0x180097da4
mov ebx, r10d
mov eax, ebx
inc ebx
mov r12b, byte [rax + r11]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x180096eae
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x180096eae
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x38]
jae 0x180096eae
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
test r12b, r12b
je 0x180096eb8
cmp ebx, r13d
jb 0x180096e85
test dword [rdi + 0x18], 0x200
je 0x180096edf
test byte [rdi + 0x10], 4
je 0x180096edf
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
mov rdx, r11
call fcn.18009879c
mov r11, qword [rbp - 0x10]
xor r10d, r10d
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r13d, ebx
add r11, rax
mov qword [rbp - 0x10], r11
test r12b, r12b
jne 0x180097cfe
jmp 0x180096f03
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x180096f03
mov qword [rax + 0x30], r10
mov r10d, dword [rbp + 0x50]
mov rbx, qword [rbp - 8]
mov dword [rdi + 8], 0x3f3c
mov edx, dword [rdi + 0x18]
xor r8d, r8d
bt edx, 9
jae 0x180096f6b
lea r9d, [r8 + 0x10]
cmp r14d, r9d
jae 0x180096f4b
test r13d, r13d
je 0x180097cf7
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
dec r13d
add r14d, 8
jmp 0x180096f22
test byte [rdi + 0x10], 4
je 0x180096f65
movzx eax, word [rdi + 0x20]
cmp esi, eax
je 0x180096f65
lea rax, str.header_crc_mismatch
jmp 0x180097c9e
mov esi, r8d
mov r14d, r8d
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x180096f88
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], r8d
mov dword [r15 + 0x4c], r8d
mov dword [rdi + 8], 0x3f3f
jmp 0x180097ca9
test r13d, r13d
je 0x180097cf7
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
dec r13d
add r14d, 8
cmp r14d, 0x20
jb 0x180096f9c
mov eax, esi
mov ecx, esi
shl eax, 0x10
mov edx, 0xff00
and ecx, edx
add ecx, eax
mov eax, esi
shr eax, 8
and eax, edx
shr esi, 0x18
shl ecx, 8
add eax, ecx
add eax, esi
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
xor eax, eax
mov esi, eax
mov dword [rdi + 8], 0x3f3e
mov r14d, eax
jmp 0x180096ffe
xor eax, eax
cmp dword [rdi + 0x14], eax
je 0x180097cc3
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1800984b0
mov r11, qword [rbp - 0x10]
mov r10d, dword [rbp + 0x50]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
mov dword [rdi + 8], 0x3f3f
xor r8d, r8d
cmp dword [rdi + 0xc], r8d
je 0x18009706b
mov ecx, r14d
mov dword [rdi + 8], 0x3f4e
and ecx, 7
shr esi, cl
sub r14d, ecx
jmp 0x180097ca9
test r13d, r13d
je 0x180097cf7
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
dec r13d
add r14d, 8
cmp r14d, 3
jb 0x180097049
mov eax, esi
shr esi, 1
and eax, 1
mov dword [rdi + 0xc], eax
mov eax, esi
and eax, 3
je 0x1800970dc
sub eax, 1
je 0x1800970ae
sub eax, 1
je 0x1800970a5
cmp eax, 1
jne 0x1800970e3
lea rax, str.invalid_block_type
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x1800970e3
mov dword [rdi + 8], 0x3f44
jmp 0x1800970e3
lea rax, [0x1800c15a0]
mov dword [r12], 9
mov qword [rdi + 0x60], rax
lea rax, [0x1800c1e60]
mov qword [rdi + 0x68], rax
mov dword [rdi + 0x74], 5
mov dword [rdi + 8], 0x3f47
jmp 0x1800970e3
mov dword [rdi + 8], 0x3f41
shr esi, 2
add r14d, 0xfffffffd
jmp 0x180097ca9
mov ecx, r14d
and ecx, 7
shr esi, cl
sub r14d, ecx
xor r8d, r8d
cmp r14d, 0x20
jae 0x180097127
test r13d, r13d
je 0x180097cf7
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
dec r13d
add r14d, 8
jmp 0x1800970fd
mov eax, esi
movzx ecx, si
not eax
shr eax, 0x10
cmp ecx, eax
je 0x180097141
lea rax, str.invalid_stored_block_lengths
jmp 0x180097c9e
mov dword [rdi + 0x50], ecx
mov esi, r8d
mov r14d, r8d
mov dword [rdi + 8], 0x3f43
mov eax, dword [rdi + 0x50]
test eax, eax
je 0x180096f90
cmp eax, r13d
mov r12d, r13d
cmovbe r12d, eax
cmp r12d, r10d
cmova r12d, r10d
xor r10d, r10d
test r12d, r12d
je 0x180097da4
mov rcx, qword [rbp - 8]
mov rdx, r11
mov r8d, r12d
mov ebx, r12d
call sub.VCRUNTIME140.dll_memcpy
mov r11, qword [rbp - 0x10]
sub r13d, r12d
mov r10d, dword [rbp + 0x50]
add r11, rbx
add qword [rbp - 8], rbx
sub r10d, r12d
sub dword [rdi + 0x50], r12d
mov rbx, qword [rbp - 8]
mov qword [rbp - 0x10], r11
mov dword [rbp + 0x50], r10d
jmp 0x180097ca9
test r13d, r13d
je 0x180097cf7
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
dec r13d
add r14d, 8
cmp r14d, 0xe
jb 0x1800971b5
mov ecx, esi
add r14d, 0xfffffff2
shr esi, 5
and ecx, 0x1f
mov edx, esi
add ecx, 0x101
shr esi, 5
and edx, 0x1f
mov eax, esi
mov dword [rdi + 0x7c], ecx
and eax, 0xf
shr esi, 4
add eax, 4
inc edx
mov dword [rdi + 0x80], edx
mov dword [rdi + 0x78], eax
cmp ecx, 0x11e
ja 0x180097230
cmp edx, 0x1e
ja 0x180097230
xor r10d, r10d
mov dword [rdi + 8], 0x3f45
mov dword [rdi + 0x84], r10d
jmp 0x18009723f
lea rax, str.too_many_length_or_distance_symbols
jmp 0x180097c9e
xor r10d, r10d
mov edx, 7
lea r8, [0x180000000]
mov eax, dword [rdi + 0x84]
cmp eax, dword [rdi + 0x78]
jae 0x1800972ca
jmp 0x18009727a
test r13d, r13d
je 0x180097da4
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
dec r13d
add r14d, 8
cmp r14d, 3
jb 0x180097258
mov eax, dword [rdi + 0x84]
movzx ecx, si
and cx, dx
shr esi, 3
movzx eax, word [r8 + rax*2 + 0xc1ee0]
mov word [rdi + rax*2 + 0x90], cx
inc dword [rdi + 0x84]
add r14d, 0xfffffffd
jmp 0x18009724b
movzx eax, word [r8 + rax*2 + 0xc1ee0]
mov word [rdi + rax*2 + 0x90], r10w
inc dword [rdi + 0x84]
mov eax, dword [rdi + 0x84]
cmp eax, 0x13
jb 0x1800972ac
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.180098018
mov r11, qword [rbp - 0x10]
xor r8d, r8d
mov r10d, dword [rbp + 0x50]
mov dword [rbp - 0x18], eax
test eax, eax
je 0x180097329
lea rax, str.invalid_code_lengths_set
jmp 0x180097c9e
mov dword [rdi + 0x84], r8d
mov dword [rdi + 8], 0x3f46
jmp 0x18009733c
xor r8d, r8d
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
cmp dword [rdi + 0x84], eax
jae 0x18009757f
mov r8d, dword [r12]
mov eax, 1
mov r9, qword [rdi + 0x60]
mov ecx, r8d
shl eax, cl
lea ecx, [rax - 1]
mov eax, esi
and rcx, rax
mov eax, dword [r9 + rcx*4]
jmp 0x1800973a8
test r13d, r13d
je 0x180097cf7
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
mov eax, 1
mov edx, esi
mov ecx, r8d
dec r13d
shl eax, cl
add r14d, 8
dec eax
and rax, rdx
mov eax, dword [r9 + rax*4]
mov ecx, eax
mov dword [rbp - 0x1c], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, r14d
ja 0x180097371
mov edx, eax
mov ecx, 0x10
shr edx, 0x10
cmp dx, cx
jae 0x1800973f2
shr eax, 8
movzx ecx, al
mov eax, dword [rdi + 0x84]
sub r14d, ecx
shr esi, cl
mov word [rdi + rax*2 + 0x90], dx
inc dword [rdi + 0x84]
mov r8d, dword [rdi + 0x84]
jmp 0x180097543
jne 0x18009745f
shr eax, 8
movzx edx, al
add edx, 2
xor r8d, r8d
cmp r14d, edx
jae 0x180097429
test r13d, r13d
je 0x180097cf7
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
dec r13d
add r14d, 8
jmp 0x180097400
movzx ecx, byte [rbp - 0x1b]
mov eax, dword [rdi + 0x84]
sub r14d, ecx
shr esi, cl
test eax, eax
je 0x180097556
mov edx, esi
add r14d, 0xfffffffe
and edx, 3
shr esi, 2
add edx, 3
dec eax
movzx r9d, word [rdi + rax*2 + 0x90]
jmp 0x180097508
cmp word [rbp - 0x1a], 0x11
movzx r8d, byte [rbp - 0x1b]
jne 0x1800974ba
lea edx, [r8 + 3]
jmp 0x180097493
test r13d, r13d
je 0x180097cf7
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
dec r13d
add r14d, 8
cmp r14d, edx
jb 0x180097471
mov eax, 0xfffffffd
mov ecx, r8d
shr esi, cl
sub eax, r8d
mov edx, esi
add r14d, eax
and edx, 7
shr esi, 3
add edx, 3
xor eax, eax
mov r9d, eax
jmp 0x180097508
lea edx, [r8 + 7]
jmp 0x1800974e2
test r13d, r13d
je 0x180097cf7
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
dec r13d
add r14d, 8
cmp r14d, edx
jb 0x1800974c0
mov eax, 0xfffffff9
mov ecx, r8d
shr esi, cl
sub eax, r8d
mov edx, esi
add r14d, eax
and edx, 0x7f
shr esi, 7
add edx, 0xb
xor eax, eax
movzx r9d, ax
mov r8d, dword [rdi + 0x84]
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
lea ecx, [r8 + rdx]
cmp ecx, eax
ja 0x18009756a
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 0x180097520
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
cmp r8d, eax
jae 0x18009757c
jmp 0x180097351
lea rax, str.invalid_bit_length_repeat
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x18009757f
lea rax, str.invalid_bit_length_repeat
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
xor r8d, r8d
cmp dword [rdi + 8], 0x3f51
je 0x180097ca9
cmp word [rdi + 0x290], r8w
jne 0x1800975a2
lea rax, str.invalid_code____missing_end_of_block
jmp 0x180097c9e
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.180098018
mov dword [rbp - 0x18], eax
mov r10d, eax
test eax, eax
je 0x18009760e
mov r11, qword [rbp - 0x10]
lea rax, str.invalid_literal_lengths_set
mov r10d, dword [rbp + 0x50]
mov rbx, qword [rbp - 8]
jmp 0x180097c9e
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.180098018
mov r11, qword [rbp - 0x10]
mov ecx, eax
mov r10d, dword [rbp + 0x50]
mov rbx, qword [rbp - 8]
mov dword [rbp - 0x18], eax
test eax, eax
je 0x180097669
lea rax, str.invalid_distances_set
jmp 0x180097c9e
mov r9d, dword [rbp - 0x20]
lea r12, [rdi + 0x70]
mov dword [rdi + 8], 0x3f48
cmp r13d, 6
jb 0x1800976e3
cmp r10d, 0x102
jb 0x1800976e3
mov qword [r15 + 0x10], rbx
mov edx, r9d
mov dword [r15 + 0x18], r10d
mov rcx, r15
mov qword [r15], r11
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], esi
mov dword [rdi + 0x4c], r14d
call fcn.180096248
cmp dword [rdi + 8], 0x3f3f
mov r11, qword [r15]
mov rbx, qword [r15 + 0x10]
mov r10d, dword [r15 + 0x18]
mov r13d, dword [r15 + 8]
mov esi, dword [rdi + 0x48]
mov r14d, dword [rdi + 0x4c]
mov qword [rbp - 0x10], r11
mov qword [rbp - 8], rbx
mov dword [rbp + 0x50], r10d
jne 0x180097ca9
or dword [rdi + 0x1be4], 0xffffffff
jmp 0x180097ca9
mov r9d, dword [r12]
xor edx, edx
mov r10, qword [rdi + 0x60]
mov ecx, r9d
mov dword [rdi + 0x1be4], edx
lea eax, [rdx + 1]
shl eax, cl
lea ecx, [rax - 1]
mov eax, esi
and rcx, rax
mov eax, dword [r10 + rcx*4]
jmp 0x180097740
test r13d, r13d
je 0x180097cf7
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
mov eax, 1
mov edx, esi
mov ecx, r9d
dec r13d
shl eax, cl
add r14d, 8
dec eax
and rax, rdx
mov eax, dword [r10 + rax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, r14d
ja 0x180097709
mov r11d, eax
test al, al
je 0x18009781c
test al, 0xf0
jne 0x18009781c
mov ecx, eax
mov dword [rbp - 0x1c], eax
shr ecx, 8
mov r9d, 1
movzx r8d, cl
mov edx, eax
movzx ecx, al
add ecx, r8d
shr eax, 0x10
shl r9d, cl
mov ecx, r8d
dec r9d
shr r11d, 8
and r9d, esi
movzx r8d, r11b
shr r9d, cl
add r9d, eax
mov eax, dword [r10 + r9*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add r8d, ecx
cmp r8d, r14d
jbe 0x18009780d
mov r11, qword [rbp - 0x10]
test r13d, r13d
je 0x180097cfb
movzx r9d, byte [rbp - 0x1b]
mov ecx, r14d
movzx eax, byte [r11]
mov r8d, 1
shl eax, cl
inc r11
add esi, eax
movzx ecx, dl
movzx eax, word [rbp - 0x1a]
add ecx, r9d
shl r8d, cl
dec r13d
dec r8d
mov qword [rbp - 0x10], r11
and r8d, esi
mov ecx, r9d
shr r8d, cl
add r14d, 8
add r8d, eax
mov eax, dword [r10 + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, r14d
ja 0x1800977af
movzx ecx, byte [rbp - 0x1b]
shr esi, cl
sub r14d, ecx
mov dword [rdi + 0x1be4], ecx
mov ecx, eax
xor r10d, r10d
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub r14d, ecx
shr esi, cl
mov ecx, eax
shr ecx, 0x10
mov dword [rdi + 0x50], ecx
test al, al
jne 0x18009784a
mov dword [rdi + 8], 0x3f4d
jmp 0x1800969ce
test al, 0x20
je 0x180097861
or dword [rdi + 0x1be4], 0xffffffff
mov dword [rdi + 8], 0x3f3f
jmp 0x1800969ce
mov r11, qword [rbp - 0x10]
test al, 0x40
je 0x180097879
mov r10d, dword [rbp + 0x50]
lea rax, str.invalid_literal_length_code
jmp 0x180097c9e
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 8], 0x3f49
mov dword [rdi + 0x58], ecx
jmp 0x18009788e
xor r10d, r10d
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x1800978d9
jmp 0x1800978b9
test r13d, r13d
je 0x180097da4
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
dec r13d
add r14d, 8
cmp r14d, edx
jb 0x180097897
mov ecx, edx
mov eax, 1
shl eax, cl
sub r14d, edx
dec eax
and eax, esi
shr esi, 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
mov r9d, dword [rdi + 0x74]
mov eax, 1
mov r10, qword [rdi + 0x68]
mov ecx, r9d
shl eax, cl
lea ecx, [rax - 1]
mov eax, esi
and rcx, rax
mov eax, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, r14d
jbe 0x18009794d
test r13d, r13d
je 0x180097cf7
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
mov eax, 1
mov edx, esi
mov ecx, r9d
dec r13d
shl eax, cl
add r14d, 8
dec eax
and rax, rdx
mov eax, dword [r10 + rax*4]
jmp 0x180097907
mov r11d, eax
test al, 0xf0
jne 0x180097a17
mov ecx, eax
mov dword [rbp - 0x1c], eax
shr ecx, 8
mov r9d, 1
movzx r8d, cl
mov edx, eax
movzx ecx, al
add ecx, r8d
shr eax, 0x10
shl r9d, cl
mov ecx, r8d
dec r9d
shr r11d, 8
and r9d, esi
shr r9d, cl
add r9d, eax
mov eax, dword [r10 + r9*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r11b
add r8d, ecx
cmp r8d, r14d
jbe 0x180097a06
mov r11, qword [rbp - 0x10]
test r13d, r13d
je 0x180097cfb
movzx r9d, byte [rbp - 0x1b]
mov ecx, r14d
movzx eax, byte [r11]
mov r8d, 1
shl eax, cl
inc r11
add esi, eax
movzx ecx, dl
movzx eax, word [rbp - 0x1a]
add ecx, r9d
shl r8d, cl
dec r13d
dec r8d
mov qword [rbp - 0x10], r11
and r8d, esi
mov ecx, r9d
shr r8d, cl
add r14d, 8
add r8d, eax
mov eax, dword [r10 + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, r14d
ja 0x1800979a8
movzx edx, byte [rbp - 0x1b]
mov ecx, edx
sub r14d, edx
shr esi, cl
add dword [rdi + 0x1be4], edx
mov r11, qword [rbp - 0x10]
mov ecx, eax
mov r10d, dword [rbp + 0x50]
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub r14d, ecx
shr esi, cl
test al, 0x40
je 0x180097a42
lea rax, str.invalid_distance_code
jmp 0x180097c9e
mov r9d, dword [rbp - 0x20]
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
mov edx, dword [rdi + 0x58]
xor r8d, r8d
test edx, edx
je 0x180097aac
jmp 0x180097a8c
test r13d, r13d
je 0x180097cf7
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
dec r13d
add r14d, 8
cmp r14d, edx
jb 0x180097a6a
mov ecx, edx
mov eax, 1
shl eax, cl
sub r14d, edx
dec eax
and eax, esi
shr esi, cl
add dword [rdi + 0x54], eax
add dword [rdi + 0x1be4], edx
mov dword [rdi + 8], 0x3f4c
jmp 0x180097ab8
xor r8d, r8d
test r10d, r10d
je 0x180097cf7
mov ecx, dword [rdi + 0x54]
mov eax, r9d
sub eax, r10d
cmp ecx, eax
jbe 0x180097b10
sub ecx, eax
cmp ecx, dword [rdi + 0x38]
jbe 0x180097aea
cmp dword [rdi + 0x1be0], r8d
je 0x180097aea
lea rax, str.invalid_distance_too_far_back
jmp 0x180097c9e
mov eax, dword [rdi + 0x3c]
cmp ecx, eax
jbe 0x180097afa
mov edx, dword [rdi + 0x34]
sub ecx, eax
sub edx, ecx
jmp 0x180097afe
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 0x180097b1c
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 + 0x50], r10d
sub rdx, rbx
mov dword [rdi + 0x50], eax
mov al, byte [rdx + rbx]
mov byte [rbx], al
inc rbx
add r8d, 0xffffffff
jne 0x180097b33
xor eax, eax
mov qword [rbp - 8], rbx
cmp dword [rdi + 0x50], eax
jne 0x180097ca9
mov dword [rdi + 8], 0x3f48
jmp 0x180097ca9
test r10d, r10d
je 0x180097cf7
mov al, byte [rdi + 0x50]
mov byte [rbx], al
inc rbx
dec r10d
mov qword [rbp - 8], rbx
mov dword [rbp + 0x50], r10d
jmp 0x180097b50
xor r8d, r8d
cmp dword [rdi + 0x10], r8d
je 0x180097c42
jmp 0x180097bab
test r13d, r13d
je 0x180097cf7
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
dec r13d
add r14d, 8
cmp r14d, 0x20
jb 0x180097b89
sub r9d, r10d
add dword [r15 + 0x1c], r9d
add dword [rdi + 0x24], r9d
test byte [rdi + 0x10], 4
je 0x180097bfa
test r9d, r9d
je 0x180097bfa
mov ecx, dword [rdi + 0x20]
mov rdx, rbx
mov eax, r9d
sub rdx, rax
cmp dword [rdi + 0x18], r8d
mov r8d, r9d
je 0x180097be3
call fcn.18009879c
jmp 0x180097be8
call fcn.1800984b0
mov r11, qword [rbp - 0x10]
xor r8d, r8d
mov r10d, dword [rbp + 0x50]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
test byte [rdi + 0x10], 4
mov dword [rbp - 0x20], r10d
je 0x180097c3c
mov edx, 0xff00
mov ecx, esi
and ecx, edx
mov eax, esi
shl eax, 0x10
add ecx, eax
mov eax, esi
shr eax, 8
and eax, edx
shl ecx, 8
add ecx, eax
mov eax, esi
shr eax, 0x18
add ecx, eax
cmp dword [rdi + 0x18], r8d
cmovne ecx, esi
cmp ecx, dword [rdi + 0x20]
je 0x180097c3c
lea rax, str.incorrect_data_check
jmp 0x180097c9e
mov esi, r8d
mov r14d, r8d
mov dword [rdi + 8], 0x3f4f
jmp 0x180097c4e
xor r8d, r8d
cmp dword [rdi + 0x10], r8d
je 0x180097ce9
cmp dword [rdi + 0x18], r8d
je 0x180097ce9
jmp 0x180097c86
test r13d, r13d
je 0x180097cf7
movzx eax, byte [r11]
mov ecx, r14d
shl eax, cl
inc r11
add esi, eax
mov qword [rbp - 0x10], r11
dec r13d
add r14d, 8
cmp r14d, 0x20
jb 0x180097c64
test byte [rdi + 0x10], 4
je 0x180097ce3
cmp esi, dword [rdi + 0x24]
je 0x180097ce3
lea rax, str.incorrect_length_check
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
mov eax, dword [rdi + 8]
sub eax, 0x3f34
cmp eax, 0x1f
ja case.0x18009693a.16211
mov r9d, dword [rbp - 0x20]
jmp 0x18009691c
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], esi
mov dword [rdi + 0x4c], r14d
jmp 0x180097f25
mov esi, r8d
mov r14d, r8d
mov dword [rdi + 8], 0x3f50
mov dword [rbp - 0x18], 1
mov r11, qword [rbp - 0x10]
xor r10d, r10d
mov rax, qword [rbp - 8]
mov r9d, dword [rbp - 0x20]
mov qword [r15 + 0x10], rax
mov eax, dword [rbp + 0x50]
mov dword [r15 + 0x18], eax
mov qword [r15], r11
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], esi
mov dword [rdi + 0x4c], r14d
cmp dword [rdi + 0x34], r10d
jne 0x180097d51
cmp r9d, dword [r15 + 0x18]
je 0x180097e5a
cmp dword [rdi + 8], 0x3f51
jge 0x180097e5a
cmp dword [rdi + 8], 0x3f4e
jl 0x180097d51
mov ebx, dword [rbp + 0x48]
cmp ebx, 4
je 0x180097e5d
mov rbx, qword [r15 + 0x28]
mov r14d, r9d
sub r14d, dword [r15 + 0x18]
mov r12, qword [r15 + 0x10]
cmp qword [rbx + 0x40], r10
jne 0x180097dad
mov ecx, dword [rbx + 0x30]
mov edx, 1
shl edx, cl
mov r8d, 1
mov rcx, qword [r15 + 0x40]
call qword [r15 + 0x30]
mov qword [rbx + 0x40], rax
test rax, rax
jne 0x180097dad
mov dword [rdi + 8], 0x3f52
mov eax, 0xfffffffc
jmp 0x180097f25
mov dword [rbp - 0x18], 0xfffffffd
jmp 0x180097cf7
mov r11, qword [rbp - 0x10]
jmp 0x180097cfe
mov esi, dword [rbx + 0x34]
test esi, esi
jne 0x180097dc6
mov ecx, dword [rbx + 0x30]
mov esi, 1
shl esi, cl
and qword [rbx + 0x38], 0
mov dword [rbx + 0x34], esi
cmp r14d, esi
jb 0x180097df1
mov rcx, qword [rbx + 0x40]
mov r8d, esi
sub r12, r8
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rbx + 0x34]
xor esi, esi
mov r9d, dword [rbp - 0x20]
mov dword [rbx + 0x3c], esi
mov dword [rbx + 0x38], eax
mov ebx, dword [rbp + 0x48]
jmp 0x180097e5f
mov ecx, dword [rbx + 0x3c]
mov rdx, r12
sub esi, ecx
mov eax, r14d
cmp esi, r14d
cmova esi, r14d
add rcx, qword [rbx + 0x40]
mov r8d, esi
sub rdx, rax
call sub.VCRUNTIME140.dll_memcpy
sub r14d, esi
je 0x180097e36
mov rcx, qword [rbx + 0x40]
mov r8d, r14d
sub r12, r8
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rbx + 0x34]
mov r9d, dword [rbp - 0x20]
mov dword [rbx + 0x3c], r14d
jmp 0x180097e57
mov ecx, dword [rbx + 0x3c]
mov eax, 0
mov r9d, dword [rbp - 0x20]
add ecx, esi
cmp ecx, dword [rbx + 0x34]
cmove ecx, eax
mov eax, dword [rbx + 0x38]
mov dword [rbx + 0x3c], ecx
cmp eax, dword [rbx + 0x34]
jae 0x180097e5a
add eax, esi
mov dword [rbx + 0x38], eax
mov ebx, dword [rbp + 0x48]
xor esi, esi
sub r9d, dword [r15 + 0x18]
mov r10d, dword [rbp - 0x14]
sub r10d, dword [r15 + 8]
add dword [r15 + 0xc], r10d
add dword [r15 + 0x1c], r9d
add dword [rdi + 0x24], r9d
test byte [rdi + 0x10], 4
mov dword [rbp - 0x14], r10d
mov dword [rbp - 0x20], r9d
je 0x180097eba
test r9d, r9d
je 0x180097eba
mov rdx, qword [r15 + 0x10]
mov r8d, r9d
mov ecx, dword [rdi + 0x20]
mov eax, r9d
sub rdx, rax
cmp dword [rdi + 0x18], esi
je 0x180097ea6
call fcn.18009879c
jmp 0x180097eab
call fcn.1800984b0
mov r9d, dword [rbp - 0x20]
mov r10d, dword [rbp - 0x14]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
cmp dword [rdi + 8], 0x3f47
je 0x180097ecf
cmp dword [rdi + 8], 0x3f42
mov r8d, esi
jne 0x180097ed5
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 r10d, r10d
jne 0x180097f07
test r9d, r9d
je 0x180097f0c
cmp ebx, 4
jne 0x180097f1b
mov eax, dword [rbp - 0x18]
mov ecx, 0xfffffffb
test eax, eax
cmove eax, ecx
jmp 0x180097f25
mov eax, dword [rbp - 0x18]
jmp 0x180097f25
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