Function at 0x1400119e0
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 0x140012dd9
mov r15, qword [rcx + 0x28]
test r15, r15
je 0x140012dd9
cmp qword [rcx + 0x10], 0
je 0x140012dd9
cmp qword [rcx], 0
jne 0x140011a27
cmp dword [rcx + 8], 0
jne 0x140012dd9
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.0x140011a9e
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x12dec]
add rcx, rdx
jmp rcx
mov edx, dword [r15 + 8]
test edx, edx
jne 0x140011ab0
mov dword [r15], r11d
jmp 0x140012c59
cmp edi, 0x10
jae 0x140011ad6
test esi, esi
je 0x140012cd2
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x140011ab5
and edx, 1
je 0x140011b28
cmp r13d, 0x8b1f
jne 0x140011b28
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14000fe70
lea rdx, [rbp + 0x38]
mov r8d, 2
mov ecx, eax
mov dword [r15 + 0x14], eax
mov word [rbp + 0x38], r13w
call fcn.14000fe80
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 0x140012c59
mov dword [r15 + 0x10], r14d
test edx, edx
je 0x140011bcb
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 0x140011bcb
mov eax, r13d
and al, 0xf
cmp al, 8
je 0x140011b71
lea rax, str.unknown_compression_method
jmp 0x140012c4e
shr r13d, 4
add edi, 0xfffffffc
mov eax, r13d
and eax, 0xf
add eax, 8
cmp eax, dword [r15 + 0x1c]
jbe 0x140011b93
lea rax, str.invalid_window_size
jmp 0x140012c4e
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14000fd10
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 0x140012c59
lea rax, str.incorrect_header_check
jmp 0x140012c4e
cmp edi, 0x10
jae 0x140011c01
nop dword [rax]
test esi, esi
je 0x140012cd2
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x140011be0
mov dword [r15 + 0x10], r13d
cmp r13b, 8
je 0x140011c17
lea rax, str.unknown_compression_method
jmp 0x140012c4e
test r13d, 0xe000
je 0x140011c2c
lea rax, str.unknown_header_flags_set
jmp 0x140012c4e
bt r13d, 9
jae 0x140011c56
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.14000fe80
mov dword [r15 + 0x14], eax
mov r13d, r14d
mov edi, r14d
mov dword [r15], 2
jmp 0x140011c70
cmp edi, 0x20
jae 0x140011c91
nop word [rax + rax]
test esi, esi
je 0x140012cd2
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x140011c70
test dword [r15 + 0x10], 0x200
je 0x140011cd0
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.14000fe80
mov dword [r15 + 0x14], eax
mov r13d, r14d
mov edi, r14d
mov dword [r15], 3
jmp 0x140011ce4
cmp edi, 0x10
jae 0x140011d05
test esi, esi
je 0x140012cd2
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x140011ce4
test dword [r15 + 0x10], 0x200
je 0x140011d32
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.14000fe80
mov dword [r15 + 0x14], eax
mov r13d, r14d
mov edi, r14d
mov dword [r15], 4
test dword [r15 + 0x10], 0x400
je 0x140011da8
cmp edi, 0x10
jae 0x140011d71
nop
test esi, esi
je 0x140012cd2
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x140011d50
test dword [r15 + 0x10], 0x200
mov dword [r15 + 0x40], r13d
je 0x140011da2
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.14000fe80
mov dword [r15 + 0x14], eax
mov r13d, r14d
mov edi, r14d
mov dword [r15], 5
mov eax, dword [r15 + 0x10]
bt eax, 0xa
jae 0x140011e08
mov r14d, dword [r15 + 0x40]
cmp r14d, esi
mov ebx, r14d
cmova ebx, esi
test ebx, ebx
je 0x140011dfa
bt eax, 9
jae 0x140011dec
test r12, r12
jne 0x140011dd9
xor eax, eax
jmp 0x140011de8
mov ecx, dword [r15 + 0x14]
mov r8d, ebx
mov rdx, r12
call fcn.14000fe80
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 0x140012cd2
xor r14d, r14d
mov dword [r15], 6
mov ecx, dword [r15 + 0x10]
bt ecx, 0xb
jae 0x140011e74
test esi, esi
je 0x140012cd2
mov ebx, r14d
mov rax, r12
nop word [rax + rax]
movzx r14d, byte [rax]
inc ebx
inc rax
test r14d, r14d
je 0x140011e42
cmp ebx, esi
jb 0x140011e30
bt ecx, 0xd
jae 0x140011e64
test r12, r12
jne 0x140011e51
xor eax, eax
jmp 0x140011e60
mov ecx, dword [r15 + 0x14]
mov r8d, ebx
mov rdx, r12
call fcn.14000fe80
mov dword [r15 + 0x14], eax
mov eax, ebx
sub esi, ebx
add r12, rax
test r14d, r14d
jne 0x140012cd2
mov dword [r15], 7
xor r14d, r14d
mov ecx, dword [r15 + 0x10]
bt ecx, 0xc
jae 0x140011ee4
test esi, esi
je 0x140012cd2
mov ebx, r14d
mov rax, r12
nop word [rax + rax]
movzx r14d, byte [rax]
inc ebx
inc rax
test r14d, r14d
je 0x140011eb2
cmp ebx, esi
jb 0x140011ea0
bt ecx, 0xd
jae 0x140011ed4
test r12, r12
jne 0x140011ec1
xor eax, eax
jmp 0x140011ed0
mov ecx, dword [r15 + 0x14]
mov r8d, ebx
mov rdx, r12
call fcn.14000fe80
mov dword [r15 + 0x14], eax
mov eax, ebx
sub esi, ebx
add r12, rax
test r14d, r14d
jne 0x140012cd2
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 0x140011f4d
cmp edi, 0x10
jae 0x140011f31
nop dword [rax]
test esi, esi
je 0x140012cd2
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x140011f10
movzx eax, word [r15 + 0x14]
cmp r13d, eax
je 0x140011f47
lea rax, str.header_crc_mismatch
jmp 0x140012c4e
mov r13d, r14d
mov edi, r14d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14000fe70
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 0x140012c59
cmp edi, 0x20
jae 0x140011fa1
nop dword [rax]
test esi, esi
je 0x140012cd2
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x140011f80
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 0x140012c75
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14000fd10
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 0x140012027
mov ecx, edi
mov dword [r15], 0x18
and ecx, 7
shr r13d, cl
sub edi, ecx
jmp 0x140012c59
cmp edi, 3
jae 0x140012051
nop dword [rax]
test esi, esi
je 0x140012cd2
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 3
jb 0x140012030
mov eax, r13d
shr r13d, 1
dec edi
and eax, 1
mov dword [r15 + 4], eax
mov eax, r13d
and eax, 3
je 0x1400120de
dec eax
je 0x1400120a5
dec eax
je 0x140012092
dec eax
jne 0x1400120e5
lea rax, str.invalid_block_type
shr r13d, 2
add edi, 0xfffffffe
mov qword [rbx + 0x20], rax
mov dword [r15], 0x1b
jmp 0x140012c59
shr r13d, 2
mov dword [r15], 0xf
add edi, 0xfffffffe
jmp 0x140012c59
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 0x140012c59
mov dword [r15], 0xd
shr r13d, 2
add edi, 0xfffffffe
jmp 0x140012c59
mov ecx, edi
and ecx, 7
sub edi, ecx
shr r13d, cl
cmp edi, 0x20
jae 0x140012121
test esi, esi
je 0x140012cd2
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x140012100
mov eax, r13d
movzx ecx, r13w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x14001213d
lea rax, str.invalid_stored_block_lengths
jmp 0x140012c4e
mov dword [r15 + 0x40], ecx
mov r13d, r14d
mov edi, r14d
mov dword [r15], 0xe
mov r14d, dword [r15 + 0x40]
test r14d, r14d
je 0x1400121a8
cmp r14d, esi
cmova r14d, esi
cmp r14d, r10d
cmova r14d, r10d
test r14d, r14d
je 0x140012cd2
mov r8d, r14d
mov rdx, r12
mov rcx, r9
mov ebx, r14d
call fcn.140023560
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 0x140012c59
mov dword [r15], 0xb
jmp 0x140012c59
cmp edi, 0xe
jae 0x1400121e1
nop dword [rax]
test esi, esi
je 0x140012cd2
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0xe
jb 0x1400121c0
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 0x14001232a
cmp edx, 0x1e
ja 0x14001232a
mov dword [r15 + 0x74], r14d
mov dword [r15], 0x10
lea rdx, [0x140000000]
mov eax, dword [r15 + 0x68]
cmp dword [r15 + 0x74], eax
jae 0x1400122a8
nop word [rax + rax]
cmp edi, 3
jae 0x140012276
test esi, esi
je 0x140012cd2
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 3
jb 0x140012255
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 0x140012250
cmp dword [r15 + 0x74], 0x13
jae 0x1400122d0
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 0x1400122b0
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.140012e60
mov dword [rbp + 0x28], eax
test eax, eax
je 0x140012336
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x30]
lea rax, str.invalid_code_lengths_set
jmp 0x140012c4e
lea rax, str.too_many_length_or_distance_symbols
jmp 0x140012c4e
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 0x14001259b
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 0x1400123d6
nop word [rax + rax]
test esi, esi
je 0x140012cd2
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 0x140012390
mov ecx, eax
shr ecx, 0x10
cmp cx, 0x10
jae 0x140012435
movzx edx, byte [rbp - 0x4f]
shr eax, 8
movzx ecx, al
cmp edi, ecx
jae 0x140012413
nop
test esi, esi
je 0x140012cd2
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 0x1400123f0
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 0x140012575
movzx eax, word [rbp - 0x4e]
cmp ax, 0x10
jne 0x1400124a5
movzx r8d, byte [rbp - 0x4f]
lea edx, [r8 + 2]
cmp edi, edx
jae 0x140012470
nop dword [rax]
test esi, esi
je 0x140012cd2
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, edx
jb 0x140012450
mov eax, dword [r15 + 0x74]
mov ecx, r8d
sub edi, r8d
shr r13d, cl
test eax, eax
je 0x140012589
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 0x140012540
movzx r9d, byte [rbp - 0x4f]
cmp ax, 0x11
jne 0x1400124f2
lea edx, [r9 + 3]
cmp edi, edx
jae 0x1400124d8
test esi, esi
je 0x140012cd2
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, edx
jb 0x1400124b8
mov ecx, r9d
mov eax, 0xfffffffd
shr r13d, cl
mov edx, r13d
and edx, 7
add edx, 3
shr r13d, 3
jmp 0x140012538
lea edx, [r9 + 7]
cmp edi, edx
jae 0x140012520
nop word [rax + rax]
test esi, esi
je 0x140012cd2
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, edx
jb 0x140012500
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 0x140012589
test edx, edx
je 0x140012575
nop word [rax + rax]
mov eax, dword [r15 + 0x74]
mov word [r15 + rax*2 + 0x80], r8w
inc dword [r15 + 0x74]
dec edx
jne 0x140012560
mov eax, dword [r15 + 0x70]
add eax, dword [r15 + 0x6c]
cmp dword [r15 + 0x74], eax
jb 0x140012360
jmp 0x14001259b
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.140012e60
mov dword [rbp + 0x28], eax
test eax, eax
je 0x1400125fd
mov rbx, qword [rbp + 0x20]
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x30]
lea rax, str.invalid_literal_lengths_set
jmp 0x140012c4e
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.140012e60
mov rbx, qword [rbp + 0x20]
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x30]
mov dword [rbp + 0x28], eax
test eax, eax
je 0x140012656
lea rax, str.invalid_distances_set
jmp 0x140012c4e
mov r8d, dword [rbp - 0x4c]
mov dword [r15], 0x12
cmp esi, 6
jb 0x1400126b3
cmp r10d, 0x102
jb 0x1400126b3
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.1400112c0
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 0x140012c59
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 0x140012723
nop dword [rax + rax]
test esi, esi
je 0x140012cd2
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 0x1400126e0
test al, al
je 0x1400127eb
test al, 0xf0
jne 0x1400127eb
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 0x1400127e2
movzx r10d, word [rbp - 0x4e]
test esi, esi
je 0x140012cd2
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 0x140012787
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 0x140012819
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x30]
mov dword [r15], 0x17
jmp 0x140012c59
test al, 0x20
je 0x140012831
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x30]
mov dword [r15], 0xb
jmp 0x140012c59
test al, 0x40
je 0x140012849
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x30]
lea rax, str.invalid_literal_length_code
jmp 0x140012c4e
movzx ecx, al
mov dword [r15], 0x13
and ecx, 0xf
mov dword [r15 + 0x48], ecx
mov edx, dword [r15 + 0x48]
test edx, edx
je 0x14001289f
cmp edi, edx
jae 0x140012888
test esi, esi
je 0x140012cd2
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 0x140012866
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 0x140012913
nop
test esi, esi
je 0x140012cd2
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 0x1400128d0
test al, 0xf0
jne 0x1400129d4
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 0x1400129cb
movzx r10d, word [rbp - 0x4e]
nop
test esi, esi
je 0x140012cd2
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 0x140012970
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 0x1400129f9
lea rax, str.invalid_distance_code
jmp 0x140012c4e
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 0x140012a5c
cmp edi, edx
jae 0x140012a45
test esi, esi
je 0x140012cd2
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 0x140012a23
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 0x140012a78
lea rax, str.invalid_distance_too_far_back
jmp 0x140012c4e
mov dword [r15], 0x16
test r10d, r10d
je 0x140012cd2
mov ecx, dword [r15 + 0x44]
mov eax, r8d
sub eax, r10d
cmp ecx, eax
jbe 0x140012abc
sub ecx, eax
mov eax, dword [r15 + 0x28]
cmp ecx, eax
jbe 0x140012aaa
mov edx, dword [r15 + 0x20]
sub ecx, eax
sub edx, ecx
jmp 0x140012aae
sub eax, ecx
mov edx, eax
mov eax, dword [r15 + 0x40]
add rdx, qword [r15 + 0x30]
cmp ecx, eax
jbe 0x140012ac8
jmp 0x140012ac6
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 0x140012ae0
mov qword [rbp - 0x40], r9
cmp dword [r15 + 0x40], ecx
jne 0x140012c59
mov dword [r15], 0x12
jmp 0x140012c59
test r10d, r10d
je 0x140012cd2
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 0x140012c59
cmp dword [r15 + 8], 0
je 0x140012bfd
cmp edi, 0x20
jae 0x140012b67
test esi, esi
je 0x140012cd2
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x140012b46
sub r8d, r10d
add dword [rbx + 0x1c], r8d
add dword [r15 + 0x18], r8d
test r8d, r8d
je 0x140012bb4
cmp dword [r15 + 0x10], 0
mov eax, r8d
mov rdx, r9
je 0x140012b99
sub rdx, rax
jne 0x140012b8e
mov eax, r14d
jmp 0x140012bad
mov ecx, dword [r15 + 0x14]
call fcn.14000fe80
jmp 0x140012ba5
mov ecx, dword [r15 + 0x14]
sub rdx, rax
call fcn.14000fd10
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 0x140012be8
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 0x140012bf7
lea rax, str.incorrect_data_check
jmp 0x140012c4e
mov r13d, r14d
mov edi, r14d
mov dword [r15], 0x19
cmp dword [r15 + 8], 0
je 0x140012cbb
cmp dword [r15 + 0x10], 0
je 0x140012cbb
cmp edi, 0x20
jae 0x140012c41
nop
test esi, esi
je 0x140012cd2
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x140012c20
cmp r13d, dword [r15 + 0x18]
je 0x140012cb5
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.0x140011a9e
mov r8d, dword [rbp - 0x4c]
xor r14d, r14d
lea r11d, [r14 + 0xc]
jmp 0x140011a8b
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 0x140012cd6
mov r14d, 0xfffffffd
jmp 0x140012cd6
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 0x140012d0b
cmp dword [r15], 0x18
jge 0x140012d2a
cmp edi, dword [rbx + 0x18]
je 0x140012d2a
mov edx, edi
mov rcx, rbx
call fcn.1400118e0
test eax, eax
je 0x140012d2a
mov dword [r15], 0x1c
mov eax, 0xfffffffc
jmp 0x140012c90
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 0x140012d8d
test edi, edi
je 0x140012d8d
cmp dword [r15 + 0x10], 0
mov rdx, qword [rbx + 0x10]
mov eax, edi
je 0x140012d73
sub rdx, rax
jne 0x140012d65
xor eax, eax
jmp 0x140012d86
mov ecx, dword [r15 + 0x14]
mov r8d, edi
call fcn.14000fe80
jmp 0x140012d82
mov ecx, dword [r15 + 0x14]
sub rdx, rax
mov r8d, edi
call fcn.14000fd10
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 0x140012dc7
test edi, edi
jne 0x140012dc7
mov eax, 0xfffffffb
test r14d, r14d
cmove r14d, eax
mov eax, r14d
jmp 0x140012c90
mov eax, 0xfffffffe
jmp 0x140012c90
mov eax, 0xfffffffe
add rsp, 0x80
pop r15
pop rbx
pop rbp
ret