Function at 0x140006740
Capabilities:
Compress data via zlib inflate or deflate
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov r13, rcx
test rcx, rcx
je case.0x140006803.29
mov r12, qword [rcx + 0x28]
test r12, r12
je case.0x140006803.29
cmp qword [rcx + 0x10], 0
je case.0x140006803.29
cmp qword [rcx], 0
jne 0x140006788
cmp dword [rcx + 8], 0
jne case.0x140006803.29
mov eax, dword [r12]
cmp eax, 0xb
jne 0x14000679e
mov dword [r12], 0xc
mov eax, 0xc
mov r11d, dword [rcx + 0x18]
xor r15d, r15d
mov r10, qword [rcx + 0x10]
mov r8d, r11d
mov esi, dword [rcx + 8]
mov rbp, qword [rcx]
mov r14d, dword [r12 + 0x40]
mov ebx, dword [r12 + 0x44]
mov qword [rsp + 0x40], r10
mov dword [rsp + 0xb8], r11d
mov dword [rsp + 0x38], esi
mov dword [rsp + 0xa0], r11d
mov dword [rsp + 0xb0], r15d
cmp eax, 0x1d
ja case.0x140006803.29
lea rdx, [0x140000000]
cdqe
lea r9, [r12 + 0x6c]
lea rdi, [r12 + 0x68]
mov ecx, dword [rdx + rax*4 + 0x7d88]
add rcx, rdx
jmp rcx
mov edx, dword [r12 + 8]
test edx, edx
jne 0x14000681b
mov dword [r12], 0xc
jmp 0x140006e6f
cmp ebx, 0x10
jae 0x140006840
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, 0x10
jb 0x140006820
test dl, 2
je 0x14000689a
cmp r14d, 0x8b1f
jne 0x14000689a
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140008380
mov dword [r12 + 0x18], eax
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x30], r14b
mov r8d, 2
shr r14d, 8
mov byte [rsp + 0x31], r14b
mov ecx, dword [r12 + 0x18]
call fcn.140008380
mov dword [r12 + 0x18], eax
mov r14d, r15d
mov ebx, r15d
mov dword [r12], 1
jmp 0x140006e62
mov rax, qword [r12 + 0x20]
mov dword [r12 + 0x10], r15d
test rax, rax
je 0x1400068b0
mov dword [rax + 0x40], 0xffffffff
test byte [r12 + 8], 1
je 0x140006977
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 0x140006977
mov eax, r14d
and al, 0xf
cmp al, 8
je 0x140006909
lea rax, str.unknown_compression_method
mov qword [r13 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x140006e6f
shr r14d, 4
add ebx, 0xfffffffc
mov ecx, r14d
and ecx, 0xf
add ecx, 8
cmp ecx, dword [r12 + 0x28]
jbe 0x140006938
lea rax, str.invalid_window_size
mov qword [r13 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x140006e6f
mov eax, 1
xor r8d, r8d
shl eax, cl
xor edx, edx
xor ecx, ecx
mov dword [r12 + 0x14], eax
call fcn.1400080a0
shr r14d, 8
mov ebx, r15d
not r14d
mov dword [r12 + 0x18], eax
and r14d, 2
mov dword [r13 + 0x4c], eax
or r14d, 9
mov dword [r12], r14d
mov r14d, r15d
jmp 0x140006e62
lea rax, str.incorrect_header_check
mov qword [r13 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x140006e6f
cmp ebx, 0x10
jae 0x1400069b4
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, 0x10
jb 0x140006994
mov dword [r12 + 0x10], r14d
cmp r14b, 8
jne 0x1400068f1
test r14d, 0xe000
je 0x1400069e4
lea rax, str.unknown_header_flags_set
mov qword [r13 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x140006e6f
mov rdx, qword [r12 + 0x20]
mov ecx, r14d
shr ecx, 8
test rdx, rdx
je 0x1400069fb
mov eax, ecx
and eax, 1
mov dword [rdx], eax
test dword [r12 + 0x10], 0x200
je 0x140006a29
mov byte [rsp + 0x30], r14b
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x31], cl
mov r8d, 2
mov ecx, dword [r12 + 0x18]
call fcn.140008380
mov dword [r12 + 0x18], eax
mov r14d, r15d
mov dword [r12], 2
mov ebx, r15d
jmp 0x140006a40
cmp ebx, 0x20
jae 0x140006a60
nop
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, 0x20
jb 0x140006a40
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x140006a6e
mov dword [rax + 4], r14d
test dword [r12 + 0x10], 0x200
je 0x140006ab5
mov eax, r14d
mov byte [rsp + 0x30], r14b
shr eax, 8
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x31], al
mov r8d, 4
mov eax, r14d
shr r14d, 0x18
shr eax, 0x10
mov byte [rsp + 0x32], al
mov byte [rsp + 0x33], r14b
mov ecx, dword [r12 + 0x18]
call fcn.140008380
mov dword [r12 + 0x18], eax
mov r14d, r15d
mov dword [r12], 3
mov ebx, r15d
jmp 0x140006ad0
cmp ebx, 0x10
jae 0x140006af0
nop word [rax + rax]
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, 0x10
jb 0x140006ad0
mov rdx, qword [r12 + 0x20]
mov ecx, r14d
shr ecx, 8
test rdx, rdx
je 0x140006b0f
movzx eax, r14b
mov dword [rdx + 8], eax
mov rax, qword [r12 + 0x20]
mov dword [rax + 0xc], ecx
test dword [r12 + 0x10], 0x200
je 0x140006b3d
mov byte [rsp + 0x30], r14b
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x31], cl
mov r8d, 2
mov ecx, dword [r12 + 0x18]
call fcn.140008380
mov dword [r12 + 0x18], eax
mov r14d, r15d
mov dword [r12], 4
mov ebx, r15d
test dword [r12 + 0x10], 0x400
je 0x140006bce
cmp ebx, 0x10
jae 0x140006b80
nop dword [rax + rax]
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, 0x10
jb 0x140006b60
mov rax, qword [r12 + 0x20]
mov dword [r12 + 0x48], r14d
test rax, rax
je 0x140006b93
mov dword [rax + 0x18], r14d
test dword [r12 + 0x10], 0x200
je 0x140006bc6
mov byte [rsp + 0x30], r14b
lea rdx, [rsp + 0x30]
shr r14d, 8
mov r8d, 2
mov byte [rsp + 0x31], r14b
mov ecx, dword [r12 + 0x18]
call fcn.140008380
mov dword [r12 + 0x18], eax
mov r14d, r15d
mov ebx, r15d
jmp 0x140006bdc
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x140006bdc
mov qword [rax + 0x10], r15
mov dword [r12], 5
test dword [r12 + 0x10], 0x400
je 0x140006c7d
mov eax, dword [r12 + 0x48]
mov edi, esi
cmp eax, esi
cmovbe edi, eax
test edi, edi
je 0x140006c75
mov rcx, qword [r12 + 0x20]
test rcx, rcx
je 0x140006c44
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x140006c44
mov r8d, dword [rcx + 0x1c]
mov edx, r8d
mov r9d, dword [rcx + 0x18]
sub r9d, eax
mov eax, edi
sub edx, r9d
lea ecx, [rdi + r9]
cmp ecx, r8d
mov ecx, r9d
cmova eax, edx
add rcx, r10
mov r8d, eax
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
test dword [r12 + 0x10], 0x200
je 0x140006c64
mov ecx, dword [r12 + 0x18]
mov r8d, edi
mov rdx, rbp
call fcn.140008380
mov dword [r12 + 0x18], eax
mov eax, edi
sub esi, edi
add rbp, rax
sub dword [r12 + 0x48], edi
mov eax, dword [r12 + 0x48]
test eax, eax
jne 0x140007c68
mov dword [r12 + 0x48], r15d
mov dword [r12], 6
test dword [r12 + 0x10], 0x800
je 0x140006d0d
test esi, esi
je 0x140007c68
mov edi, r15d
mov eax, edi
inc edi
movzx r15d, byte [rax + rbp]
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x140006ccf
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x140006ccf
mov ecx, dword [r12 + 0x48]
cmp ecx, dword [rax + 0x28]
jae 0x140006ccf
mov byte [rcx + rdx], r15b
inc dword [r12 + 0x48]
test r15b, r15b
je 0x140006cd8
cmp edi, esi
jb 0x140006ca0
test dword [r12 + 0x10], 0x200
je 0x140006cf8
mov ecx, dword [r12 + 0x18]
mov r8d, edi
mov rdx, rbp
call fcn.140008380
mov dword [r12 + 0x18], eax
mov eax, edi
sub esi, edi
add rbp, rax
test r15b, r15b
jne 0x140007c68
xor r15d, r15d
jmp 0x140006d1b
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x140006d1b
mov qword [rax + 0x20], r15
mov dword [r12 + 0x48], r15d
mov dword [r12], 7
test dword [r12 + 0x10], 0x1000
je 0x140006dad
test esi, esi
je 0x140007c68
mov edi, r15d
nop
mov eax, edi
inc edi
movzx r15d, byte [rax + rbp]
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x140006d6f
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x140006d6f
mov ecx, dword [r12 + 0x48]
cmp ecx, dword [rax + 0x38]
jae 0x140006d6f
mov byte [rcx + rdx], r15b
inc dword [r12 + 0x48]
test r15b, r15b
je 0x140006d78
cmp edi, esi
jb 0x140006d40
test dword [r12 + 0x10], 0x200
je 0x140006d98
mov ecx, dword [r12 + 0x18]
mov r8d, edi
mov rdx, rbp
call fcn.140008380
mov dword [r12 + 0x18], eax
mov eax, edi
sub esi, edi
add rbp, rax
test r15b, r15b
jne 0x140007c68
xor r15d, r15d
jmp 0x140006dbb
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x140006dbb
mov qword [rax + 0x30], r15
mov r10, qword [rsp + 0x40]
mov r11d, dword [rsp + 0xb8]
mov dword [r12], 8
mov edx, dword [r12 + 0x10]
bt edx, 9
jae 0x140006e26
cmp ebx, 0x10
jae 0x140006e00
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, 0x10
jb 0x140006de0
movzx eax, word [r12 + 0x18]
cmp r14d, eax
je 0x140006e20
lea rax, str.header_crc_mismatch
mov qword [r13 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x140006e6f
mov r14d, r15d
mov ebx, r15d
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x140006e45
sar edx, 9
and edx, 1
mov dword [rax + 0x3c], edx
mov rax, qword [r12 + 0x20]
mov dword [rax + 0x40], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140008380
mov dword [r12 + 0x18], eax
mov dword [r13 + 0x4c], eax
mov dword [r12], 0xb
mov r11d, dword [rsp + 0xb8]
mov r10, qword [rsp + 0x40]
mov eax, dword [r12]
cmp eax, 0x1d
ja case.0x140006803.29
mov r8d, dword [rsp + 0xa0]
xor r15d, r15d
jmp 0x1400067e6
cmp ebx, 0x20
jae 0x140006eb1
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, 0x20
jb 0x140006e91
mov ecx, r14d
mov eax, r14d
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov ebx, r15d
mov eax, r14d
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr r14d, 0x18
add eax, ecx
add eax, r14d
mov r14d, r15d
mov dword [r12 + 0x18], eax
mov dword [r13 + 0x4c], eax
mov dword [r12], 0xa
cmp dword [r12 + 0xc], 0
je 0x140007c10
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400080a0
mov r10, qword [rsp + 0x40]
lea r9, [r12 + 0x6c]
mov r11d, dword [rsp + 0xb8]
mov dword [r12 + 0x18], eax
mov dword [r13 + 0x4c], eax
mov dword [r12], 0xb
cmp dword [rsp + 0xa8], 5
je 0x140007c68
cmp dword [r12 + 4], 0
je 0x140006f58
mov ecx, ebx
mov dword [r12], 0x18
and ecx, 7
shr r14d, cl
sub ebx, ecx
jmp 0x140006e6f
cmp ebx, 3
jae 0x140006f80
nop dword [rax]
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, 3
jb 0x140006f60
mov eax, r14d
shr r14d, 1
and eax, 1
mov dword [r12 + 4], eax
mov eax, r14d
and eax, 3
je 0x140007011
sub eax, 1
je 0x140006fd8
sub eax, 1
je 0x140006fc4
cmp eax, 1
jne 0x140007019
lea rax, str.invalid_block_type
shr r14d, 2
mov qword [r13 + 0x20], rax
add ebx, 0xfffffffd
mov dword [r12], 0x1b
jmp 0x140006e6f
shr r14d, 2
add ebx, 0xfffffffd
mov dword [r12], 0xf
jmp 0x140006e6f
lea rax, [0x140040da0]
shr r14d, 2
mov qword [r12 + 0x58], rax
add ebx, 0xfffffffd
lea rax, [0x1400415a0]
mov dword [rdi], 9
mov qword [r12 + 0x60], rax
mov dword [r9], 5
mov dword [r12], 0x12
jmp 0x140006e6f
mov dword [r12], 0xd
shr r14d, 2
add ebx, 0xfffffffd
jmp 0x140006e6f
mov ecx, ebx
and ecx, 7
shr r14d, cl
sub ebx, ecx
cmp ebx, 0x20
jae 0x140007054
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, 0x20
jb 0x140007034
mov eax, r14d
movzx ecx, r14w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x14000707c
lea rax, str.invalid_stored_block_lengths
mov qword [r13 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x140006e6f
mov dword [r12 + 0x48], ecx
mov r14d, r15d
mov ebx, r15d
mov dword [r12], 0xe
mov ecx, dword [r12 + 0x48]
test ecx, ecx
je 0x1400070f3
cmp ecx, esi
mov eax, esi
mov r15d, r11d
cmovbe eax, ecx
cmp eax, r11d
cmovbe r15d, eax
test r15d, r15d
je 0x140007c68
mov r8d, r15d
mov rdx, rbp
mov rcx, r10
mov edi, r15d
call sub.VCRUNTIME140.dll_memcpy
mov r11d, dword [rsp + 0xb8]
sub esi, r15d
mov r10, qword [rsp + 0x40]
sub r11d, r15d
add r10, rdi
mov dword [rsp + 0xb8], r11d
add rbp, rdi
mov qword [rsp + 0x40], r10
sub dword [r12 + 0x48], r15d
jmp 0x140006e6f
mov dword [r12], 0xb
jmp 0x140006e6f
cmp ebx, 0xe
jae 0x140007125
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, 0xe
jb 0x140007105
mov ecx, r14d
add ebx, 0xfffffff2
shr r14d, 5
and ecx, 0x1f
mov edx, r14d
add ecx, 0x101
shr r14d, 5
and edx, 0x1f
mov eax, r14d
mov dword [r12 + 0x74], ecx
and eax, 0xf
shr r14d, 4
add eax, 4
inc edx
mov dword [r12 + 0x78], edx
mov dword [r12 + 0x70], eax
cmp ecx, 0x11e
ja 0x140007290
cmp edx, 0x1e
ja 0x140007290
mov dword [r12 + 0x7c], r15d
lea rdx, [0x140000000]
mov dword [r12], 0x10
mov eax, dword [r12 + 0x7c]
cmp eax, dword [r12 + 0x70]
jae 0x1400071f6
cmp ebx, 3
jae 0x1400071c0
nop word [rax + rax]
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, 3
jb 0x1400071a0
mov eax, dword [r12 + 0x7c]
movzx ecx, r14w
and cx, 7
shr r14d, 3
add ebx, 0xfffffffd
movzx eax, word [rdx + rax*2 + 0x41620]
mov word [r12 + rax*2 + 0x88], cx
inc dword [r12 + 0x7c]
mov eax, dword [r12 + 0x7c]
cmp eax, dword [r12 + 0x70]
jb 0x140007195
cmp eax, 0x13
jae 0x140007222
nop dword [rax + rax]
movzx eax, word [rdx + rax*2 + 0x41620]
mov word [r12 + rax*2 + 0x88], r15w
mov eax, dword [r12 + 0x7c]
inc eax
mov dword [r12 + 0x7c], eax
cmp eax, 0x13
jb 0x140007200
lea rax, [r12 + 0x548]
mov dword [rdi], 7
lea r9, [r12 + 0x80]
mov qword [r12 + 0x58], rax
xor ecx, ecx
mov qword [r9], rax
lea rax, [r12 + 0x308]
mov qword [rsp + 0x28], rax
lea rdx, [r12 + 0x88]
mov qword [rsp + 0x20], rdi
lea r8d, [rcx + 0x13]
call fcn.1400086b0
mov r11d, dword [rsp + 0xb8]
mov dword [rsp + 0xb0], eax
test eax, eax
je 0x1400072a8
lea rax, str.invalid_code_lengths_set
mov qword [r13 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x140006e6a
lea rax, str.too_many_length_or_distance_symbols
mov qword [r13 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x140006e6f
mov dword [r12 + 0x7c], r15d
mov dword [r12], 0x11
mov eax, dword [r12 + 0x78]
add eax, dword [r12 + 0x74]
cmp dword [r12 + 0x7c], eax
jae 0x140007502
nop word [rax + rax]
mov ecx, dword [rdi]
mov r9d, 1
mov r10, qword [r12 + 0x58]
shl r9d, cl
dec r9d
mov eax, r14d
mov ecx, r9d
and rcx, rax
mov eax, dword [r10 + rcx*4]
mov edx, eax
shr edx, 8
mov r8d, eax
movzx ecx, dl
shr r8d, 0x10
mov dword [rsp + 0x34], eax
cmp ecx, ebx
jbe 0x140007346
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
mov eax, r9d
add ebx, 8
mov ecx, r14d
and rcx, rax
mov eax, dword [r10 + rcx*4]
mov edx, eax
shr edx, 8
mov r8d, eax
movzx ecx, dl
shr r8d, 0x10
mov dword [rsp + 0x34], eax
cmp ecx, ebx
ja 0x140007307
cmp r8w, 0x10
jae 0x1400073ab
shr eax, 8
movzx r8d, dl
movzx r9d, al
cmp ebx, r8d
jae 0x140007380
nop dword [rax]
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, r8d
jb 0x140007360
movzx eax, word [rsp + 0x36]
mov ecx, r9d
shr r14d, cl
sub ebx, r9d
mov ecx, dword [r12 + 0x7c]
mov word [r12 + rcx*2 + 0x88], ax
inc dword [r12 + 0x7c]
mov r8d, dword [r12 + 0x7c]
jmp 0x1400074ef
movzx edx, dl
jne 0x140007415
movzx r8d, byte [rsp + 0x35]
add edx, 2
cmp ebx, edx
jae 0x1400073df
nop dword [rax]
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, edx
jb 0x1400073c0
mov eax, dword [r12 + 0x7c]
mov ecx, r8d
shr r14d, cl
sub ebx, r8d
test eax, eax
je 0x140007581
mov edx, r14d
add ebx, 0xfffffffe
and edx, 3
shr r14d, 2
add edx, 3
dec eax
movzx r9d, word [r12 + rax*2 + 0x88]
jmp 0x1400074b3
cmp r8w, 0x11
movzx r8d, byte [rsp + 0x35]
jne 0x14000746c
add edx, 3
cmp ebx, edx
jae 0x14000744f
nop dword [rax]
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, edx
jb 0x140007430
mov ecx, r8d
mov eax, 0xfffffffd
shr r14d, cl
mov r9d, r15d
mov edx, r14d
and edx, 7
add edx, 3
shr r14d, 3
jmp 0x1400074ae
add edx, 7
cmp ebx, edx
jae 0x140007492
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, edx
jb 0x140007473
mov ecx, r8d
mov eax, 0xfffffff9
shr r14d, cl
movzx r9d, r15w
mov edx, r14d
and edx, 0x7f
add edx, 0xb
shr r14d, 7
sub eax, r8d
add ebx, eax
mov r8d, dword [r12 + 0x7c]
mov ecx, dword [r12 + 0x78]
add ecx, dword [r12 + 0x74]
lea eax, [r8 + rdx]
cmp eax, ecx
ja 0x140007581
nop
mov eax, r8d
mov word [r12 + rax*2 + 0x88], r9w
mov r8d, dword [r12 + 0x7c]
lea r8d, [r8 + 1]
mov dword [r12 + 0x7c], r8d
add edx, 0xffffffff
jne 0x1400074d0
mov eax, dword [r12 + 0x78]
add eax, dword [r12 + 0x74]
cmp r8d, eax
jb 0x1400072d0
cmp dword [r12], 0x1b
je 0x140006e6a
mov r8d, dword [r12 + 0x74]
lea rax, [r12 + 0x548]
mov qword [r12 + 0x80], rax
lea r15, [r12 + 0x308]
mov qword [r12 + 0x58], rax
lea rdx, [r12 + 0x88]
lea rax, [r12 + 0x68]
mov qword [rsp + 0x28], r15
lea r9, [r12 + 0x80]
mov dword [rax], 9
mov ecx, 1
mov qword [rsp + 0x20], rax
call fcn.1400086b0
mov dword [rsp + 0xb0], eax
test eax, eax
je 0x140007599
lea rax, str.invalid_literal_lengths_set
mov qword [r13 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x140006e62
lea rax, str.invalid_bit_length_repeat
mov qword [r13 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x140006e6a
mov rax, qword [r12 + 0x80]
lea rcx, [r12 + 0x6c]
mov r8d, dword [r12 + 0x78]
lea r9, [r12 + 0x80]
mov qword [r12 + 0x60], rax
mov eax, dword [r12 + 0x74]
add rax, 0x44
mov dword [rcx], 6
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
mov ecx, 2
lea rdx, [r12 + rax*2]
call fcn.1400086b0
mov r10, qword [rsp + 0x40]
mov r11d, dword [rsp + 0xb8]
mov dword [rsp + 0xb0], eax
test eax, eax
je 0x14000760f
lea rax, str.invalid_distances_set
mov qword [r13 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x140006e6f
mov r8d, dword [rsp + 0xa0]
lea rdi, [r12 + 0x68]
mov dword [r12], 0x12
cmp esi, 6
jb 0x140007683
cmp r11d, 0x102
jb 0x140007683
mov qword [r13 + 0x10], r10
mov edx, r8d
mov dword [r13 + 0x18], r11d
mov rcx, r13
mov qword [r13], rbp
mov dword [r13 + 8], esi
mov dword [r12 + 0x40], r14d
mov dword [r12 + 0x44], ebx
call fcn.140008c80
mov r10, qword [r13 + 0x10]
mov r11d, dword [r13 + 0x18]
mov rbp, qword [r13]
mov esi, dword [r13 + 8]
mov r14d, dword [r12 + 0x40]
mov ebx, dword [r12 + 0x44]
mov qword [rsp + 0x40], r10
mov dword [rsp + 0xb8], r11d
jmp 0x140006e6f
mov ecx, dword [rdi]
mov edx, 1
mov r9, qword [r12 + 0x58]
shl edx, cl
dec edx
mov eax, r14d
mov ecx, edx
and rcx, rax
mov eax, dword [r9 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x1400076e3
nop dword [rax + rax]
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
mov eax, edx
add ebx, 8
mov ecx, r14d
and rcx, rax
mov eax, dword [r9 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x1400076b0
test al, al
je 0x14000777a
test al, 0xf0
jne 0x14000777a
mov ecx, eax
mov r10d, eax
shr ecx, 8
mov r11d, 1
movzx r8d, cl
movzx ecx, al
add ecx, r8d
shr r10d, 0x10
shl r11d, cl
mov ecx, r8d
lea eax, [r11 - 1]
and eax, r14d
shr eax, cl
add eax, r10d
mov eax, dword [r9 + rax*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
add edx, r8d
cmp edx, ebx
jbe 0x140007771
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
mov ecx, r8d
lea eax, [r11 - 1]
inc rbp
and eax, r14d
add ebx, 8
shr eax, cl
add eax, r10d
mov eax, dword [r9 + rax*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
add edx, r8d
cmp edx, ebx
ja 0x140007734
mov ecx, r8d
shr r14d, cl
sub ebx, r8d
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr r14d, cl
sub ebx, ecx
mov ecx, eax
shr ecx, 0x10
mov dword [r12 + 0x48], ecx
test al, al
jne 0x1400077a2
mov dword [r12], 0x17
jmp 0x140006e62
test al, 0x20
jne 0x140006e5a
test al, 0x40
je 0x1400077c6
lea rax, str.invalid_literal_length_code
mov qword [r13 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x140006e62
movzx ecx, al
lea r9, [r12 + 0x6c]
and ecx, 0xf
mov dword [r12], 0x13
mov dword [r12 + 0x50], ecx
mov edx, dword [r12 + 0x50]
test edx, edx
je 0x140007827
cmp ebx, edx
jae 0x14000780f
nop dword [rax + rax]
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, edx
jb 0x1400077f0
mov ecx, edx
mov eax, 1
shl eax, cl
dec eax
and eax, r14d
shr r14d, cl
add dword [r12 + 0x48], eax
sub ebx, edx
mov dword [r12], 0x14
mov ecx, dword [r9]
mov edx, 1
mov r9, qword [r12 + 0x60]
shl edx, cl
dec edx
mov eax, r14d
mov ecx, edx
and rcx, rax
mov eax, dword [r9 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x14000788b
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
mov ecx, r14d
add ebx, 8
mov eax, edx
and rax, rcx
mov eax, dword [r9 + rax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x140007858
test al, 0xf0
jne 0x14000791a
mov ecx, eax
mov r10d, eax
shr ecx, 8
mov r11d, 1
movzx r8d, cl
movzx ecx, al
add ecx, r8d
shr r10d, 0x10
shl r11d, cl
mov ecx, r8d
lea eax, [r11 - 1]
and eax, r14d
shr eax, cl
add eax, r10d
mov eax, dword [r9 + rax*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
add edx, r8d
cmp edx, ebx
jbe 0x140007911
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
mov ecx, r8d
lea eax, [r11 - 1]
inc rbp
and eax, r14d
add ebx, 8
shr eax, cl
add eax, r10d
mov eax, dword [r9 + rax*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
add edx, r8d
cmp edx, ebx
ja 0x1400078d4
mov ecx, r8d
shr r14d, cl
sub ebx, r8d
mov r10, qword [rsp + 0x40]
mov ecx, eax
mov r11d, dword [rsp + 0xb8]
shr ecx, 8
movzx ecx, cl
shr r14d, cl
sub ebx, ecx
test al, 0x40
je 0x140007950
lea rax, str.invalid_distance_code
mov qword [r13 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x140006e6f
mov r8d, dword [rsp + 0xa0]
mov ecx, eax
shr ecx, 0x10
mov dword [r12 + 0x4c], ecx
movzx ecx, al
and ecx, 0xf
mov dword [r12], 0x15
mov dword [r12 + 0x50], ecx
mov edx, dword [r12 + 0x50]
test edx, edx
je 0x1400079b9
cmp ebx, edx
jae 0x1400079a1
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, edx
jb 0x140007982
mov ecx, edx
mov eax, 1
shl eax, cl
dec eax
and eax, r14d
shr r14d, cl
add dword [r12 + 0x4c], eax
sub ebx, edx
mov eax, dword [r12 + 0x30]
sub eax, r11d
add eax, r8d
cmp dword [r12 + 0x4c], eax
jbe 0x1400079e3
lea rax, str.invalid_distance_too_far_back
mov qword [r13 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x140006e6f
mov dword [r12], 0x16
test r11d, r11d
je 0x140007c68
mov eax, dword [r12 + 0x4c]
mov ecx, r8d
sub ecx, r11d
cmp eax, ecx
jbe 0x140007a2f
sub eax, ecx
mov ecx, dword [r12 + 0x34]
cmp eax, ecx
jbe 0x140007a15
sub eax, ecx
mov ecx, dword [r12 + 0x2c]
mov r8d, dword [r12 + 0x48]
sub ecx, eax
cmp eax, r8d
mov edx, ecx
mov r9d, r8d
cmovbe r9d, eax
add rdx, qword [r12 + 0x38]
jmp 0x140007a3d
mov r8d, dword [r12 + 0x48]
mov rdx, r10
sub rdx, rax
mov r9d, r8d
cmp r9d, r11d
mov ecx, r11d
cmovbe ecx, r9d
sub r11d, ecx
sub r8d, ecx
mov dword [rsp + 0xb8], r11d
sub rdx, r10
mov dword [r12 + 0x48], r8d
nop dword [rax]
movzx eax, byte [rdx + r10]
mov byte [r10], al
inc r10
add ecx, 0xffffffff
jne 0x140007a60
mov qword [rsp + 0x40], r10
cmp dword [r12 + 0x48], ecx
jne 0x140006e6f
mov dword [r12], 0x12
jmp 0x140006e6f
test r11d, r11d
je 0x140007c68
movzx eax, byte [r12 + 0x48]
mov byte [r10], al
inc r10
dec r11d
mov qword [rsp + 0x40], r10
mov dword [rsp + 0xb8], r11d
mov dword [r12], 0x12
jmp 0x140006e6f
cmp dword [r12 + 8], 0
je 0x140007ba4
cmp ebx, 0x20
jae 0x140007af0
test esi, esi
je 0x140007c68
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, 0x20
jb 0x140007ad0
sub r8d, r11d
add dword [r13 + 0x1c], r8d
add dword [r12 + 0x1c], r8d
test r8d, r8d
je 0x140007b39
mov ecx, dword [r12 + 0x18]
mov rdx, r10
mov eax, r8d
sub rdx, rax
cmp dword [r12 + 0x10], 0
je 0x140007b1e
call fcn.140008380
jmp 0x140007b23
call fcn.1400080a0
mov r10, qword [rsp + 0x40]
mov r11d, dword [rsp + 0xb8]
mov dword [r12 + 0x18], eax
mov dword [r13 + 0x4c], eax
cmp dword [r12 + 0x10], 0
mov edi, r11d
mov dword [rsp + 0xa0], r11d
mov ecx, r14d
jne 0x140007b75
and ecx, 0xff00
mov eax, r14d
shl eax, 0x10
add ecx, eax
mov eax, r14d
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
mov eax, r14d
shr eax, 0x18
add ecx, eax
cmp ecx, dword [r12 + 0x18]
je 0x140007b94
lea rax, str.incorrect_data_check
mov qword [r13 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x140006e6f
mov r14d, r15d
mov dword [r12], 0x19
mov ebx, r15d
jmp 0x140007bbc
mov edi, dword [rsp + 0xa0]
mov dword [r12], 0x19
jmp 0x140007bbc
mov edi, dword [rsp + 0xa0]
cmp dword [r12 + 8], 0
je 0x140007c3a
cmp dword [r12 + 0x10], 0
je 0x140007c3a
cmp ebx, 0x20
jae 0x140007bf1
test esi, esi
je 0x140007c6f
movzx eax, byte [rbp]
mov ecx, ebx
shl eax, cl
dec esi
add r14d, eax
inc rbp
add ebx, 8
cmp ebx, 0x20
jb 0x140007bd1
cmp r14d, dword [r12 + 0x1c]
je 0x140007c34
lea rax, str.incorrect_length_check
mov qword [r13 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x140006e6f
mov qword [r13 + 0x10], r10
mov eax, 2
mov dword [r13 + 0x18], r11d
mov qword [r13], rbp
mov dword [r13 + 8], esi
mov dword [r12 + 0x40], r14d
mov dword [r12 + 0x44], ebx
jmp 0x140007d76
mov r14d, r15d
mov ebx, r15d
mov dword [r12], 0x1a
mov r15d, 1
jmp 0x140007c77
mov edi, dword [rsp + 0xa0]
mov r15d, 1
jmp 0x140007c77
mov edi, dword [rsp + 0xa0]
mov r15d, 0xfffffffd
jmp 0x140007c77
mov edi, dword [rsp + 0xa0]
mov r15d, dword [rsp + 0xb0]
mov rax, qword [rsp + 0x40]
mov qword [r13 + 0x10], rax
mov eax, dword [rsp + 0xb8]
mov dword [r13 + 0x18], eax
mov qword [r13], rbp
mov dword [r13 + 8], esi
cmp dword [r12 + 0x2c], 0
mov dword [r12 + 0x40], r14d
mov dword [r12 + 0x44], ebx
jne 0x140007cb2
cmp dword [r12], 0x18
jge 0x140007cd2
cmp edi, dword [r13 + 0x18]
je 0x140007cd2
mov edx, edi
mov rcx, r13
call fcn.140007f80
test eax, eax
je 0x140007cd2
mov dword [r12], 0x1c
mov eax, 0xfffffffc
jmp 0x140007d76
sub edi, dword [r13 + 0x18]
add dword [r13 + 0x1c], edi
mov ebx, dword [rsp + 0x38]
sub ebx, dword [r13 + 8]
add dword [r13 + 0xc], ebx
add dword [r12 + 0x1c], edi
cmp dword [r12 + 8], 0
je 0x140007d25
test edi, edi
je 0x140007d25
mov rdx, qword [r13 + 0x10]
mov r8d, edi
mov ecx, dword [r12 + 0x18]
mov eax, edi
sub rdx, rax
cmp dword [r12 + 0x10], 0
je 0x140007d17
call fcn.140008380
jmp 0x140007d1c
call fcn.1400080a0
mov dword [r12 + 0x18], eax
mov dword [r13 + 0x4c], eax
mov eax, dword [r12 + 4]
mov edx, 0x80
neg eax
mov eax, 0
sbb ecx, ecx
and ecx, 0x40
cmp dword [r12], 0xb
cmove eax, edx
add ecx, eax
add ecx, dword [r12 + 0x44]
mov dword [r13 + 0x48], ecx
test ebx, ebx
jne 0x140007d56
test edi, edi
je 0x140007d60
cmp dword [rsp + 0xa8], 4
jne 0x140007d6c
test r15d, r15d
mov eax, 0xfffffffb
cmove r15d, eax
mov eax, r15d
jmp 0x140007d76
mov eax, 0xfffffffe
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret