Function at 0x140011940
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push r15
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
test rcx, rcx
je 0x140012d39
mov r15, qword [rcx + 0x28]
test r15, r15
je 0x140012d39
cmp qword [rcx + 0x10], 0
je 0x140012d39
cmp qword [rcx], 0
jne 0x140011987
cmp dword [rcx + 8], 0
jne 0x140012d39
mov eax, dword [r15]
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rdi
mov edi, dword [r15 + 0x3c]
mov qword [rsp + 0x68], r12
cmp eax, 0xb
mov qword [rsp + 0x60], r13
mov r13d, dword [r15 + 0x38]
mov r11d, 0xc
cmove eax, r11d
mov qword [rsp + 0x58], r14
xor r14d, r14d
mov dword [r15], eax
mov r10d, dword [rcx + 0x18]
mov r9, qword [rcx + 0x10]
mov esi, dword [rcx + 8]
mov r12, qword [rcx]
mov qword [rbp - 0x40], r9
mov dword [rbp + 0x30], r10d
mov dword [rbp - 0x48], esi
mov r8d, r10d
mov dword [rbp - 0x4c], r10d
mov dword [rbp + 0x28], r14d
cmp eax, 0x1c
ja case.default.0x1400119fe
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x12d4c]
add rcx, rdx
jmp rcx
mov edx, dword [r15 + 8]
test edx, edx
jne 0x140011a10
mov dword [r15], r11d
jmp 0x140012bb9
cmp edi, 0x10
jae 0x140011a36
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x140011a15
and edx, 1
je 0x140011a88
cmp r13d, 0x8b1f
jne 0x140011a88
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14000fdd0
lea rdx, [rbp + 0x38]
mov r8d, 2
mov ecx, eax
mov dword [r15 + 0x14], eax
mov word [rbp + 0x38], r13w
call fcn.14000fde0
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x30]
mov dword [r15 + 0x14], eax
mov r13d, r14d
mov edi, r14d
mov dword [r15], 1
jmp 0x140012bb9
mov dword [r15 + 0x10], r14d
test edx, edx
je 0x140011b2b
movzx ecx, r13b
mov eax, r13d
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 0x140011b2b
mov eax, r13d
and al, 0xf
cmp al, 8
je 0x140011ad1
lea rax, str.unknown_compression_method
jmp 0x140012bae
shr r13d, 4
add edi, 0xfffffffc
mov eax, r13d
and eax, 0xf
add eax, 8
cmp eax, dword [r15 + 0x1c]
jbe 0x140011af3
lea rax, str.invalid_window_size
jmp 0x140012bae
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14000fc70
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x30]
shr r13d, 8
mov dword [r15 + 0x14], eax
mov dword [rbx + 0x4c], eax
not r13d
mov edi, r14d
and r13d, 2
or r13d, 9
mov dword [r15], r13d
mov r13d, r14d
jmp 0x140012bb9
lea rax, str.incorrect_header_check
jmp 0x140012bae
cmp edi, 0x10
jae 0x140011b61
nop dword [rax]
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x140011b40
mov dword [r15 + 0x10], r13d
cmp r13b, 8
je 0x140011b77
lea rax, str.unknown_compression_method
jmp 0x140012bae
test r13d, 0xe000
je 0x140011b8c
lea rax, str.unknown_header_flags_set
jmp 0x140012bae
bt r13d, 9
jae 0x140011bb6
mov ecx, dword [r15 + 0x14]
mov byte [rbp + 0x38], r13b
shr r13d, 8
lea rdx, [rbp + 0x38]
mov r8d, 2
mov byte [rbp + 0x39], r13b
call fcn.14000fde0
mov dword [r15 + 0x14], eax
mov r13d, r14d
mov edi, r14d
mov dword [r15], 2
jmp 0x140011bd0
cmp edi, 0x20
jae 0x140011bf1
nop word [rax + rax]
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x140011bd0
test dword [r15 + 0x10], 0x200
je 0x140011c30
mov ecx, dword [r15 + 0x14]
mov eax, r13d
mov byte [rbp + 0x38], r13b
shr eax, 8
lea rdx, [rbp + 0x38]
mov r8d, 4
mov byte [rbp + 0x39], al
mov eax, r13d
shr r13d, 0x18
shr eax, 0x10
mov byte [rbp + 0x3b], r13b
mov byte [rbp + 0x3a], al
call fcn.14000fde0
mov dword [r15 + 0x14], eax
mov r13d, r14d
mov edi, r14d
mov dword [r15], 3
jmp 0x140011c44
cmp edi, 0x10
jae 0x140011c65
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x140011c44
test dword [r15 + 0x10], 0x200
je 0x140011c92
mov ecx, dword [r15 + 0x14]
mov byte [rbp + 0x38], r13b
shr r13d, 8
lea rdx, [rbp + 0x38]
mov r8d, 2
mov byte [rbp + 0x39], r13b
call fcn.14000fde0
mov dword [r15 + 0x14], eax
mov r13d, r14d
mov edi, r14d
mov dword [r15], 4
test dword [r15 + 0x10], 0x400
je 0x140011d08
cmp edi, 0x10
jae 0x140011cd1
nop
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x140011cb0
test dword [r15 + 0x10], 0x200
mov dword [r15 + 0x40], r13d
je 0x140011d02
mov ecx, dword [r15 + 0x14]
mov byte [rbp + 0x38], r13b
shr r13d, 8
lea rdx, [rbp + 0x38]
mov r8d, 2
mov byte [rbp + 0x39], r13b
call fcn.14000fde0
mov dword [r15 + 0x14], eax
mov r13d, r14d
mov edi, r14d
mov dword [r15], 5
mov eax, dword [r15 + 0x10]
bt eax, 0xa
jae 0x140011d68
mov r14d, dword [r15 + 0x40]
cmp r14d, esi
mov ebx, r14d
cmova ebx, esi
test ebx, ebx
je 0x140011d5a
bt eax, 9
jae 0x140011d4c
test r12, r12
jne 0x140011d39
xor eax, eax
jmp 0x140011d48
mov ecx, dword [r15 + 0x14]
mov r8d, ebx
mov rdx, r12
call fcn.14000fde0
mov dword [r15 + 0x14], eax
mov eax, ebx
sub esi, ebx
add r12, rax
sub r14d, ebx
mov dword [r15 + 0x40], r14d
cmp dword [r15 + 0x40], 0
jne 0x140012c32
xor r14d, r14d
mov dword [r15], 6
mov ecx, dword [r15 + 0x10]
bt ecx, 0xb
jae 0x140011dd4
test esi, esi
je 0x140012c32
mov ebx, r14d
mov rax, r12
nop word [rax + rax]
movzx r14d, byte [rax]
inc ebx
inc rax
test r14d, r14d
je 0x140011da2
cmp ebx, esi
jb 0x140011d90
bt ecx, 0xd
jae 0x140011dc4
test r12, r12
jne 0x140011db1
xor eax, eax
jmp 0x140011dc0
mov ecx, dword [r15 + 0x14]
mov r8d, ebx
mov rdx, r12
call fcn.14000fde0
mov dword [r15 + 0x14], eax
mov eax, ebx
sub esi, ebx
add r12, rax
test r14d, r14d
jne 0x140012c32
mov dword [r15], 7
xor r14d, r14d
mov ecx, dword [r15 + 0x10]
bt ecx, 0xc
jae 0x140011e44
test esi, esi
je 0x140012c32
mov ebx, r14d
mov rax, r12
nop word [rax + rax]
movzx r14d, byte [rax]
inc ebx
inc rax
test r14d, r14d
je 0x140011e12
cmp ebx, esi
jb 0x140011e00
bt ecx, 0xd
jae 0x140011e34
test r12, r12
jne 0x140011e21
xor eax, eax
jmp 0x140011e30
mov ecx, dword [r15 + 0x14]
mov r8d, ebx
mov rdx, r12
call fcn.14000fde0
mov dword [r15 + 0x14], eax
mov eax, ebx
sub esi, ebx
add r12, rax
test r14d, r14d
jne 0x140012c32
mov rbx, qword [rbp + 0x20]
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x30]
mov dword [r15], 8
xor r14d, r14d
test dword [r15 + 0x10], 0x200
je 0x140011ead
cmp edi, 0x10
jae 0x140011e91
nop dword [rax]
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x140011e70
movzx eax, word [r15 + 0x14]
cmp r13d, eax
je 0x140011ea7
lea rax, str.header_crc_mismatch
jmp 0x140012bae
mov r13d, r14d
mov edi, r14d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14000fdd0
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x30]
mov dword [r15 + 0x14], eax
mov dword [rbx + 0x4c], eax
mov dword [r15], 0xb
jmp 0x140012bb9
cmp edi, 0x20
jae 0x140011f01
nop dword [rax]
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x140011ee0
mov ecx, r13d
mov eax, r13d
mov edi, r14d
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, r13d
shr r13d, 0x18
shr eax, 8
shl ecx, 8
and eax, 0xff00
add eax, ecx
add eax, r13d
mov r13d, r14d
mov dword [r15 + 0x14], eax
mov dword [rbx + 0x4c], eax
mov dword [r15], 0xa
cmp dword [r15 + 0xc], 0
je 0x140012bd5
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14000fc70
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x30]
mov dword [r15 + 0x14], eax
mov dword [rbx + 0x4c], eax
mov dword [r15], 0xb
cmp dword [r15 + 4], 0
je 0x140011f87
mov ecx, edi
mov dword [r15], 0x18
and ecx, 7
shr r13d, cl
sub edi, ecx
jmp 0x140012bb9
cmp edi, 3
jae 0x140011fb1
nop dword [rax]
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 3
jb 0x140011f90
mov eax, r13d
shr r13d, 1
dec edi
and eax, 1
mov dword [r15 + 4], eax
mov eax, r13d
and eax, 3
je 0x14001203e
dec eax
je 0x140012005
dec eax
je 0x140011ff2
dec eax
jne 0x140012045
lea rax, str.invalid_block_type
shr r13d, 2
add edi, 0xfffffffe
mov qword [rbx + 0x20], rax
mov dword [r15], 0x1b
jmp 0x140012bb9
shr r13d, 2
mov dword [r15], 0xf
add edi, 0xfffffffe
jmp 0x140012bb9
lea rax, [0x140040d40]
shr r13d, 2
mov dword [r15 + 0x60], 9
mov qword [r15 + 0x50], rax
lea rax, [0x140041540]
mov dword [r15 + 0x64], 5
mov dword [r15], 0x12
add edi, 0xfffffffe
mov qword [r15 + 0x58], rax
jmp 0x140012bb9
mov dword [r15], 0xd
shr r13d, 2
add edi, 0xfffffffe
jmp 0x140012bb9
mov ecx, edi
and ecx, 7
sub edi, ecx
shr r13d, cl
cmp edi, 0x20
jae 0x140012081
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x140012060
mov eax, r13d
movzx ecx, r13w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x14001209d
lea rax, str.invalid_stored_block_lengths
jmp 0x140012bae
mov dword [r15 + 0x40], ecx
mov r13d, r14d
mov edi, r14d
mov dword [r15], 0xe
mov r14d, dword [r15 + 0x40]
test r14d, r14d
je 0x140012108
cmp r14d, esi
cmova r14d, esi
cmp r14d, r10d
cmova r14d, r10d
test r14d, r14d
je 0x140012c32
mov r8d, r14d
mov rdx, r12
mov rcx, r9
mov ebx, r14d
call fcn.1400234c0
mov r10d, dword [rbp + 0x30]
mov r9, qword [rbp - 0x40]
sub r10d, r14d
add r12, rbx
add r9, rbx
mov rbx, qword [rbp + 0x20]
sub esi, r14d
sub dword [r15 + 0x40], r14d
mov dword [rbp + 0x30], r10d
mov qword [rbp - 0x40], r9
jmp 0x140012bb9
mov dword [r15], 0xb
jmp 0x140012bb9
cmp edi, 0xe
jae 0x140012141
nop dword [rax]
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0xe
jb 0x140012120
mov ecx, r13d
shr r13d, 5
add edi, 0xfffffff2
mov edx, r13d
shr r13d, 5
and ecx, 0x1f
mov eax, r13d
and edx, 0x1f
add ecx, 0x101
and eax, 0xf
inc edx
shr r13d, 4
add eax, 4
mov dword [r15 + 0x6c], ecx
mov dword [r15 + 0x70], edx
mov dword [r15 + 0x68], eax
cmp ecx, 0x11e
ja 0x14001228a
cmp edx, 0x1e
ja 0x14001228a
mov dword [r15 + 0x74], r14d
mov dword [r15], 0x10
lea rdx, [0x140000000]
mov eax, dword [r15 + 0x68]
cmp dword [r15 + 0x74], eax
jae 0x140012208
nop word [rax + rax]
cmp edi, 3
jae 0x1400121d6
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 3
jb 0x1400121b5
mov eax, dword [r15 + 0x74]
movzx ecx, r13w
add edi, 0xfffffffd
movzx eax, word [rdx + rax*2 + 0x407c8]
and cx, 7
shr r13d, 3
mov word [r15 + rax*2 + 0x80], cx
inc dword [r15 + 0x74]
mov eax, dword [r15 + 0x68]
cmp dword [r15 + 0x74], eax
jb 0x1400121b0
cmp dword [r15 + 0x74], 0x13
jae 0x140012230
nop
mov eax, dword [r15 + 0x74]
movzx eax, word [rdx + rax*2 + 0x407c8]
mov word [r15 + rax*2 + 0x80], r14w
inc dword [r15 + 0x74]
cmp dword [r15 + 0x74], 0x13
jb 0x140012210
lea rcx, [r15 + 0x60]
lea rax, [r15 + 0x540]
lea r9, [r15 + 0x78]
mov qword [r9], rax
mov qword [r15 + 0x50], rax
lea rax, [r15 + 0x300]
mov qword [rsp + 0x28], rax
mov dword [rcx], 7
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea rdx, [r15 + 0x80]
lea r8d, [rcx + 0x13]
call fcn.140012dc0
mov dword [rbp + 0x28], eax
test eax, eax
je 0x140012296
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x30]
lea rax, str.invalid_code_lengths_set
jmp 0x140012bae
lea rax, str.too_many_length_or_distance_symbols
jmp 0x140012bae
mov dword [r15 + 0x74], r14d
mov dword [r15], 0x11
mov eax, dword [r15 + 0x70]
add eax, dword [r15 + 0x6c]
cmp dword [r15 + 0x74], eax
jae 0x1400124fb
nop word [rax + rax]
mov ecx, dword [r15 + 0x60]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r13d
and rcx, rax
mov rax, qword [r15 + 0x50]
mov eax, dword [rax + rcx*4]
mov ecx, eax
mov dword [rbp - 0x50], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x140012336
nop word [rax + rax]
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r15 + 0x60]
dec esi
add r13d, eax
mov eax, 1
inc r12
shl eax, cl
lea ecx, [rax - 1]
mov eax, r13d
and rcx, rax
mov rax, qword [r15 + 0x50]
mov eax, dword [rax + rcx*4]
mov ecx, eax
mov dword [rbp - 0x50], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x1400122f0
mov ecx, eax
shr ecx, 0x10
cmp cx, 0x10
jae 0x140012395
movzx edx, byte [rbp - 0x4f]
shr eax, 8
movzx ecx, al
cmp edi, ecx
jae 0x140012373
nop
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
movzx eax, dl
cmp edi, eax
jb 0x140012350
movzx eax, word [rbp - 0x4e]
movzx ecx, dl
shr r13d, cl
sub edi, ecx
mov ecx, dword [r15 + 0x74]
mov word [r15 + rcx*2 + 0x80], ax
inc dword [r15 + 0x74]
jmp 0x1400124d5
movzx eax, word [rbp - 0x4e]
cmp ax, 0x10
jne 0x140012405
movzx r8d, byte [rbp - 0x4f]
lea edx, [r8 + 2]
cmp edi, edx
jae 0x1400123d0
nop dword [rax]
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, edx
jb 0x1400123b0
mov eax, dword [r15 + 0x74]
mov ecx, r8d
sub edi, r8d
shr r13d, cl
test eax, eax
je 0x1400124e9
mov edx, r13d
dec eax
shr r13d, 2
movzx r8d, word [r15 + rax*2 + 0x80]
and edx, 3
add edx, 3
add edi, 0xfffffffe
jmp 0x1400124a0
movzx r9d, byte [rbp - 0x4f]
cmp ax, 0x11
jne 0x140012452
lea edx, [r9 + 3]
cmp edi, edx
jae 0x140012438
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, edx
jb 0x140012418
mov ecx, r9d
mov eax, 0xfffffffd
shr r13d, cl
mov edx, r13d
and edx, 7
add edx, 3
shr r13d, 3
jmp 0x140012498
lea edx, [r9 + 7]
cmp edi, edx
jae 0x140012480
nop word [rax + rax]
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, edx
jb 0x140012460
mov ecx, r9d
mov eax, 0xfffffff9
shr r13d, cl
mov edx, r13d
and edx, 0x7f
add edx, 0xb
shr r13d, 7
sub eax, r9d
mov r8d, r14d
add edi, eax
mov eax, dword [r15 + 0x74]
lea ecx, [rdx + rax]
mov eax, dword [r15 + 0x70]
add eax, dword [r15 + 0x6c]
cmp ecx, eax
ja 0x1400124e9
test edx, edx
je 0x1400124d5
nop word [rax + rax]
mov eax, dword [r15 + 0x74]
mov word [r15 + rax*2 + 0x80], r8w
inc dword [r15 + 0x74]
dec edx
jne 0x1400124c0
mov eax, dword [r15 + 0x70]
add eax, dword [r15 + 0x6c]
cmp dword [r15 + 0x74], eax
jb 0x1400122c0
jmp 0x1400124fb
lea rax, str.invalid_bit_length_repeat
mov qword [rbx + 0x20], rax
mov dword [r15], 0x1b
mov r8d, dword [r15 + 0x6c]
lea rax, [r15 + 0x540]
lea r14, [r15 + 0x300]
mov qword [r15 + 0x78], rax
mov qword [r15 + 0x50], rax
lea rax, [r15 + 0x60]
lea rdx, [r15 + 0x80]
lea r9, [r15 + 0x78]
mov ecx, 1
mov qword [rsp + 0x28], r14
mov dword [rax], 9
mov qword [rsp + 0x20], rax
call fcn.140012dc0
mov dword [rbp + 0x28], eax
test eax, eax
je 0x14001255d
mov rbx, qword [rbp + 0x20]
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x30]
lea rax, str.invalid_literal_lengths_set
jmp 0x140012bae
mov rax, qword [r15 + 0x78]
mov r8d, dword [r15 + 0x70]
lea rcx, [r15 + 0x64]
mov qword [r15 + 0x58], rax
mov eax, dword [r15 + 0x6c]
mov dword [rcx], 6
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea r9, [r15 + 0x78]
lea rdx, [r15 + rax*2 + 0x80]
mov ecx, 2
call fcn.140012dc0
mov rbx, qword [rbp + 0x20]
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x30]
mov dword [rbp + 0x28], eax
test eax, eax
je 0x1400125b6
lea rax, str.invalid_distances_set
jmp 0x140012bae
mov r8d, dword [rbp - 0x4c]
mov dword [r15], 0x12
cmp esi, 6
jb 0x140012613
cmp r10d, 0x102
jb 0x140012613
mov qword [rbx + 0x10], r9
mov dword [rbx + 0x18], r10d
mov qword [rbx], r12
mov dword [rbx + 8], esi
mov edx, r8d
mov rcx, rbx
mov dword [r15 + 0x38], r13d
mov dword [r15 + 0x3c], edi
call fcn.140011220
mov r9, qword [rbx + 0x10]
mov r10d, dword [rbx + 0x18]
mov r12, qword [rbx]
mov esi, dword [rbx + 8]
mov r13d, dword [r15 + 0x38]
mov edi, dword [r15 + 0x3c]
mov qword [rbp - 0x40], r9
mov dword [rbp + 0x30], r10d
jmp 0x140012bb9
mov ecx, dword [r15 + 0x60]
mov r11, qword [r15 + 0x50]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r13d
and rcx, rax
mov eax, dword [r11 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x140012683
nop dword [rax + rax]
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r15 + 0x60]
dec esi
add r13d, eax
mov eax, 1
inc r12
shl eax, cl
lea ecx, [rax - 1]
mov eax, r13d
and rcx, rax
mov rax, qword [r15 + 0x50]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x140012640
test al, al
je 0x14001274b
test al, 0xf0
jne 0x14001274b
mov r10d, eax
movzx ecx, al
mov dword [rbp - 0x50], eax
shr r10d, 8
mov r9d, 1
mov edx, eax
movzx r8d, r10b
shr eax, 0x10
add ecx, r8d
shl r9d, cl
mov ecx, r8d
dec r9d
and r9d, r13d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
movzx r11d, byte [rbp - 0x4f]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, edi
jbe 0x140012742
movzx r10d, word [rbp - 0x4e]
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
movzx r9d, r11b
shl eax, cl
mov r8d, 1
movzx ecx, dl
add ecx, r9d
add r13d, eax
movzx eax, r10w
shl r8d, cl
mov ecx, r9d
add edi, 8
dec r8d
dec esi
inc r12
and r8d, r13d
shr r8d, cl
add r8d, eax
mov rax, qword [r15 + 0x50]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, edi
ja 0x1400126e7
movzx ecx, r11b
shr r13d, cl
sub edi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr r13d, cl
sub edi, ecx
mov ecx, eax
shr ecx, 0x10
mov dword [r15 + 0x40], ecx
test al, al
jne 0x140012779
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x30]
mov dword [r15], 0x17
jmp 0x140012bb9
test al, 0x20
je 0x140012791
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x30]
mov dword [r15], 0xb
jmp 0x140012bb9
test al, 0x40
je 0x1400127a9
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x30]
lea rax, str.invalid_literal_length_code
jmp 0x140012bae
movzx ecx, al
mov dword [r15], 0x13
and ecx, 0xf
mov dword [r15 + 0x48], ecx
mov edx, dword [r15 + 0x48]
test edx, edx
je 0x1400127ff
cmp edi, edx
jae 0x1400127e8
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, dword [r15 + 0x48]
jb 0x1400127c6
mov ecx, edx
mov eax, 1
shl eax, cl
dec eax
and eax, r13d
shr r13d, cl
add dword [r15 + 0x40], eax
sub edi, edx
mov dword [r15], 0x14
mov ecx, dword [r15 + 0x64]
mov r11, qword [r15 + 0x58]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r13d
and rcx, rax
mov eax, dword [r11 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x140012873
nop
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r15 + 0x64]
dec esi
add r13d, eax
mov eax, 1
inc r12
shl eax, cl
lea ecx, [rax - 1]
mov eax, r13d
and rcx, rax
mov rax, qword [r15 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x140012830
test al, 0xf0
jne 0x140012934
mov r10d, eax
movzx ecx, al
mov dword [rbp - 0x50], eax
shr r10d, 8
mov r9d, 1
mov edx, eax
movzx r8d, r10b
shr eax, 0x10
add ecx, r8d
shl r9d, cl
mov ecx, r8d
dec r9d
and r9d, r13d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
movzx r11d, byte [rbp - 0x4f]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, edi
jbe 0x14001292b
movzx r10d, word [rbp - 0x4e]
nop
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
movzx r9d, r11b
shl eax, cl
mov r8d, 1
movzx ecx, dl
add ecx, r9d
add r13d, eax
movzx eax, r10w
shl r8d, cl
mov ecx, r9d
add edi, 8
dec r8d
dec esi
inc r12
and r8d, r13d
shr r8d, cl
add r8d, eax
mov rax, qword [r15 + 0x58]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, edi
ja 0x1400128d0
movzx ecx, r11b
shr r13d, cl
sub edi, ecx
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x30]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr r13d, cl
sub edi, ecx
test al, 0x40
je 0x140012959
lea rax, str.invalid_distance_code
jmp 0x140012bae
mov r8d, dword [rbp - 0x4c]
mov ecx, eax
mov dword [r15], 0x15
shr ecx, 0x10
mov dword [r15 + 0x44], ecx
movzx ecx, al
and ecx, 0xf
mov dword [r15 + 0x48], ecx
mov edx, dword [r15 + 0x48]
test edx, edx
je 0x1400129bc
cmp edi, edx
jae 0x1400129a5
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, dword [r15 + 0x48]
jb 0x140012983
mov ecx, edx
mov eax, 1
shl eax, cl
dec eax
and eax, r13d
shr r13d, cl
add dword [r15 + 0x44], eax
sub edi, edx
mov eax, dword [r15 + 0x24]
sub eax, r10d
add eax, r8d
cmp dword [r15 + 0x44], eax
jbe 0x1400129d8
lea rax, str.invalid_distance_too_far_back
jmp 0x140012bae
mov dword [r15], 0x16
test r10d, r10d
je 0x140012c32
mov ecx, dword [r15 + 0x44]
mov eax, r8d
sub eax, r10d
cmp ecx, eax
jbe 0x140012a1c
sub ecx, eax
mov eax, dword [r15 + 0x28]
cmp ecx, eax
jbe 0x140012a0a
mov edx, dword [r15 + 0x20]
sub ecx, eax
sub edx, ecx
jmp 0x140012a0e
sub eax, ecx
mov edx, eax
mov eax, dword [r15 + 0x40]
add rdx, qword [r15 + 0x30]
cmp ecx, eax
jbe 0x140012a28
jmp 0x140012a26
mov eax, dword [r15 + 0x40]
mov rdx, r9
sub rdx, rcx
mov ecx, eax
cmp ecx, r10d
cmova ecx, r10d
sub r10d, ecx
sub eax, ecx
sub rdx, r9
mov dword [rbp + 0x30], r10d
mov dword [r15 + 0x40], eax
nop
movzx eax, byte [rdx + r9]
inc r9
dec ecx
mov byte [r9 - 1], al
jne 0x140012a40
mov qword [rbp - 0x40], r9
cmp dword [r15 + 0x40], ecx
jne 0x140012bb9
mov dword [r15], 0x12
jmp 0x140012bb9
test r10d, r10d
je 0x140012c32
movzx eax, byte [r15 + 0x40]
inc r9
dec r10d
mov byte [r9 - 1], al
mov dword [rbp + 0x30], r10d
mov qword [rbp - 0x40], r9
mov dword [r15], 0x12
jmp 0x140012bb9
cmp dword [r15 + 8], 0
je 0x140012b5d
cmp edi, 0x20
jae 0x140012ac7
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x140012aa6
sub r8d, r10d
add dword [rbx + 0x1c], r8d
add dword [r15 + 0x18], r8d
test r8d, r8d
je 0x140012b14
cmp dword [r15 + 0x10], 0
mov eax, r8d
mov rdx, r9
je 0x140012af9
sub rdx, rax
jne 0x140012aee
mov eax, r14d
jmp 0x140012b0d
mov ecx, dword [r15 + 0x14]
call fcn.14000fde0
jmp 0x140012b05
mov ecx, dword [r15 + 0x14]
sub rdx, rax
call fcn.14000fc70
mov r10d, dword [rbp + 0x30]
mov r9, qword [rbp - 0x40]
mov dword [r15 + 0x14], eax
mov dword [rbx + 0x4c], eax
cmp dword [r15 + 0x10], 0
mov dword [rbp - 0x4c], r10d
mov ecx, r13d
jne 0x140012b48
and ecx, 0xff00
mov eax, r13d
shl eax, 0x10
add ecx, eax
mov eax, r13d
shr eax, 8
shl ecx, 8
and eax, 0xff00
add ecx, eax
mov eax, r13d
shr eax, 0x18
add ecx, eax
cmp ecx, dword [r15 + 0x14]
je 0x140012b57
lea rax, str.incorrect_data_check
jmp 0x140012bae
mov r13d, r14d
mov edi, r14d
mov dword [r15], 0x19
cmp dword [r15 + 8], 0
je 0x140012c1b
cmp dword [r15 + 0x10], 0
je 0x140012c1b
cmp edi, 0x20
jae 0x140012ba1
nop
test esi, esi
je 0x140012c32
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x140012b80
cmp r13d, dword [r15 + 0x18]
je 0x140012c15
lea rax, str.incorrect_length_check
mov qword [rbx + 0x20], rax
mov dword [r15], 0x1b
mov eax, dword [r15]
cmp eax, 0x1c
ja case.default.0x1400119fe
mov r8d, dword [rbp - 0x4c]
xor r14d, r14d
lea r11d, [r14 + 0xc]
jmp 0x1400119eb
mov qword [rbx + 0x10], r9
mov dword [rbx + 0x18], r10d
mov qword [rbx], r12
mov dword [rbx + 8], esi
mov eax, 2
mov dword [r15 + 0x38], r13d
mov dword [r15 + 0x3c], edi
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov r14, qword [rsp + 0x58]
add rsp, 0x80
pop r15
pop rbx
pop rbp
ret
mov r13d, r14d
mov edi, r14d
mov dword [r15], 0x1a
mov r14d, 1
jmp 0x140012c36
mov r14d, 0xfffffffd
jmp 0x140012c36
mov r14d, dword [rbp + 0x28]
mov rbx, qword [rbp + 0x20]
mov rax, qword [rbp - 0x40]
mov qword [rbx + 0x10], rax
mov eax, dword [rbp + 0x30]
mov qword [rbx], r12
mov dword [rbx + 0x18], eax
mov dword [rbx + 8], esi
cmp dword [r15 + 0x20], 0
mov dword [r15 + 0x3c], edi
mov edi, dword [rbp - 0x4c]
mov dword [r15 + 0x38], r13d
jne 0x140012c6b
cmp dword [r15], 0x18
jge 0x140012c8a
cmp edi, dword [rbx + 0x18]
je 0x140012c8a
mov edx, edi
mov rcx, rbx
call fcn.140011840
test eax, eax
je 0x140012c8a
mov dword [r15], 0x1c
mov eax, 0xfffffffc
jmp 0x140012bf0
sub edi, dword [rbx + 0x18]
mov r8d, dword [rbp - 0x48]
sub r8d, dword [rbx + 8]
add dword [rbx + 0x1c], edi
add dword [rbx + 0xc], r8d
add dword [r15 + 0x18], edi
cmp dword [r15 + 8], 0
mov dword [rbp - 0x48], r8d
je 0x140012ced
test edi, edi
je 0x140012ced
cmp dword [r15 + 0x10], 0
mov rdx, qword [rbx + 0x10]
mov eax, edi
je 0x140012cd3
sub rdx, rax
jne 0x140012cc5
xor eax, eax
jmp 0x140012ce6
mov ecx, dword [r15 + 0x14]
mov r8d, edi
call fcn.14000fde0
jmp 0x140012ce2
mov ecx, dword [r15 + 0x14]
sub rdx, rax
mov r8d, edi
call fcn.14000fc70
mov r8d, dword [rbp - 0x48]
mov dword [r15 + 0x14], eax
mov dword [rbx + 0x4c], eax
mov eax, dword [r15 + 4]
mov edx, 0x80
neg eax
mov eax, 0
sbb ecx, ecx
and ecx, 0x40
cmp dword [r15], 0xb
cmove eax, edx
add ecx, eax
add ecx, dword [r15 + 0x3c]
mov dword [rbx + 0x48], ecx
test r8d, r8d
jne 0x140012d27
test edi, edi
jne 0x140012d27
mov eax, 0xfffffffb
test r14d, r14d
cmove r14d, eax
mov eax, r14d
jmp 0x140012bf0
mov eax, 0xfffffffe
jmp 0x140012bf0
mov eax, 0xfffffffe
add rsp, 0x80
pop r15
pop rbx
pop rbp
ret