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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rbx
push r14
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
test rcx, rcx
je 0x6708035c
mov r14, qword [rcx + 0x28]
test r14, r14
je 0x6708035c
cmp qword [rcx + 0x10], 0
je 0x6708035c
cmp qword [rcx], 0
jne 0x6707ed3b
cmp dword [rcx + 8], 0
jne 0x6708035c
mov eax, dword [r14]
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rdi
mov edi, dword [r14 + 0x44]
mov qword [rsp + 0x68], r12
cmp eax, 0xb
mov qword [rsp + 0x60], r13
mov r13d, dword [r14 + 0x40]
mov ecx, 0xc
cmove eax, ecx
mov qword [rsp + 0x58], r15
xor r15d, r15d
mov dword [r14], eax
mov r10d, dword [rbx + 0x18]
mov r9, qword [rbx + 0x10]
mov esi, dword [rbx + 8]
mov r12, qword [rbx]
mov qword [rbp - 0x40], r9
mov dword [rbp + 0x38], r10d
mov dword [rbp - 0x44], esi
mov r8d, r10d
mov dword [rbp - 0x48], r10d
mov dword [rbp + 0x30], r15d
cmp eax, 0x1e
ja case.default.0x6707edb1
lea r11, [0x67000000]
cdqe
mov ecx, dword [r11 + rax*4 + 0x80370]
add rcx, r11
jmp rcx
mov edx, dword [r14 + 8]
test edx, edx
jne 0x6707edc7
mov dword [r14], 0xc
jmp 0x6707f3cf
cmp edi, 0x10
jae 0x6707edf1
nop dword [rax]
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x6707edd0
test dl, 2
je 0x6707ee3d
cmp r13d, 0x8b1f
jne 0x6707ee3d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sym.QtCoreVBox4.dll_crc32
lea rdx, [rbp - 0x50]
mov r8d, 2
mov dword [r14 + 0x18], eax
mov word [rbp - 0x50], r13w
mov ecx, dword [r14 + 0x18]
call sym.QtCoreVBox4.dll_crc32
mov r13d, r15d
mov edi, r15d
mov dword [r14 + 0x18], eax
mov dword [r14], 1
jmp 0x6707f3c7
mov rax, qword [r14 + 0x20]
mov dword [r14 + 0x10], r15d
test rax, rax
je 0x6707ee51
mov dword [rax + 0x40], 0xffffffff
test byte [r14 + 8], 1
je 0x6707ef1a
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 0x6707ef1a
mov eax, r13d
and al, 0xf
cmp al, 8
je 0x6707eea8
lea rax, str.unknown_compression_method
mov qword [rbx + 0x20], rax
mov dword [r14], 0x1d
jmp 0x6707f3cf
mov eax, dword [r14 + 0x28]
shr r13d, 4
add edi, 0xfffffffc
mov ecx, r13d
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x6707eeff
mov dword [r14 + 0x28], ecx
mov eax, 1
xor r8d, r8d
xor edx, edx
shl eax, cl
xor ecx, ecx
mov dword [r14 + 0x14], eax
call sym.QtCoreVBox4.dll_adler32
shr r13d, 8
not r13d
mov dword [r14 + 0x18], eax
mov dword [rbx + 0x4c], eax
and r13d, 2
mov edi, r15d
or r13d, 9
mov dword [r14], r13d
mov r13d, r15d
jmp 0x6707f3c7
cmp ecx, eax
jbe 0x6707eec4
lea rax, str.invalid_window_size
mov qword [rbx + 0x20], rax
mov dword [r14], 0x1d
jmp 0x6707f3cf
lea rax, str.incorrect_header_check
mov qword [rbx + 0x20], rax
mov dword [r14], 0x1d
jmp 0x6707f3cf
cmp edi, 0x10
jae 0x6707ef57
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x6707ef36
mov dword [r14 + 0x10], r13d
cmp r13b, 8
jne 0x6707ee91
test r13d, 0xe000
je 0x6707ef85
lea rax, str.unknown_header_flags_set
mov qword [rbx + 0x20], rax
mov dword [r14], 0x1d
jmp 0x6707f3cf
mov rcx, qword [r14 + 0x20]
test rcx, rcx
je 0x6707ef99
mov eax, r13d
shr eax, 8
and eax, 1
mov dword [rcx], eax
test dword [r14 + 0x10], 0x200
je 0x6707efc6
mov byte [rbp - 0x50], r13b
shr r13d, 8
lea rdx, [rbp - 0x50]
mov byte [rbp - 0x4f], r13b
mov ecx, dword [r14 + 0x18]
mov r8d, 2
call sym.QtCoreVBox4.dll_crc32
mov dword [r14 + 0x18], eax
mov r13d, r15d
mov edi, r15d
mov dword [r14], 2
jmp 0x6707efe0
cmp edi, 0x20
jae 0x6707f001
nop word [rax + rax]
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x6707efe0
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x6707f00e
mov dword [rax + 4], r13d
test dword [r14 + 0x10], 0x200
je 0x6707f04d
mov eax, r13d
mov byte [rbp - 0x50], r13b
lea rdx, [rbp - 0x50]
shr eax, 8
mov r8d, 4
mov byte [rbp - 0x4f], al
mov eax, r13d
shr r13d, 0x18
shr eax, 0x10
mov byte [rbp - 0x4d], r13b
mov byte [rbp - 0x4e], al
mov ecx, dword [r14 + 0x18]
call sym.QtCoreVBox4.dll_crc32
mov dword [r14 + 0x18], eax
mov r13d, r15d
mov edi, r15d
mov dword [r14], 3
jmp 0x6707f061
cmp edi, 0x10
jae 0x6707f082
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x6707f061
mov rcx, qword [r14 + 0x20]
test rcx, rcx
je 0x6707f09f
movzx eax, r13b
mov dword [rcx + 8], eax
mov rax, qword [r14 + 0x20]
mov ecx, r13d
shr ecx, 8
mov dword [rax + 0xc], ecx
test dword [r14 + 0x10], 0x200
je 0x6707f0cc
mov byte [rbp - 0x50], r13b
shr r13d, 8
lea rdx, [rbp - 0x50]
mov byte [rbp - 0x4f], r13b
mov ecx, dword [r14 + 0x18]
mov r8d, 2
call sym.QtCoreVBox4.dll_crc32
mov dword [r14 + 0x18], eax
mov r13d, r15d
mov edi, r15d
mov dword [r14], 4
test dword [r14 + 0x10], 0x400
je 0x6707f14f
cmp edi, 0x10
jae 0x6707f109
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x6707f0e8
mov rax, qword [r14 + 0x20]
mov dword [r14 + 0x48], r13d
test rax, rax
je 0x6707f11a
mov dword [rax + 0x18], r13d
test dword [r14 + 0x10], 0x200
je 0x6707f147
mov byte [rbp - 0x50], r13b
shr r13d, 8
lea rdx, [rbp - 0x50]
mov byte [rbp - 0x4f], r13b
mov ecx, dword [r14 + 0x18]
mov r8d, 2
call sym.QtCoreVBox4.dll_crc32
mov dword [r14 + 0x18], eax
mov r13d, r15d
mov edi, r15d
jmp 0x6707f15c
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x6707f15c
mov qword [rax + 0x10], r15
mov dword [r14], 5
test dword [r14 + 0x10], 0x400
je 0x6707f1e6
mov ecx, dword [r14 + 0x48]
cmp ecx, esi
mov ebx, ecx
cmova ebx, esi
test ebx, ebx
je 0x6707f1db
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x6707f1b3
mov r9, qword [rax + 0x10]
test r9, r9
je 0x6707f1b3
mov edx, dword [rax + 0x18]
sub edx, ecx
mov ecx, dword [rax + 0x1c]
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x6707f1a1
sub ecx, edx
jmp 0x6707f1a3
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, r12
add rcx, r9
call sub.MSVCR100.dll_memcpy
test dword [r14 + 0x10], 0x200
je 0x6707f1d0
mov ecx, dword [r14 + 0x18]
mov r8d, ebx
mov rdx, r12
call sym.QtCoreVBox4.dll_crc32
mov dword [r14 + 0x18], eax
mov eax, ebx
sub esi, ebx
add r12, rax
sub dword [r14 + 0x48], ebx
cmp dword [r14 + 0x48], 0
jne 0x6707f56b
mov dword [r14 + 0x48], r15d
mov dword [r14], 6
test dword [r14 + 0x10], 0x800
je 0x6707f278
test esi, esi
je 0x6707f56b
mov r8, r12
nop word [rax + rax]
mov rax, qword [r14 + 0x20]
movzx ebx, byte [r8]
inc r15d
inc r8
test rax, rax
je 0x6707f23c
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x6707f23c
mov ecx, dword [r14 + 0x48]
cmp ecx, dword [rax + 0x28]
jae 0x6707f23c
mov byte [rcx + rdx], bl
inc dword [r14 + 0x48]
test ebx, ebx
je 0x6707f245
cmp r15d, esi
jb 0x6707f210
test dword [r14 + 0x10], 0x200
je 0x6707f262
mov ecx, dword [r14 + 0x18]
mov r8d, r15d
mov rdx, r12
call sym.QtCoreVBox4.dll_crc32
mov dword [r14 + 0x18], eax
mov eax, r15d
sub esi, r15d
add r12, rax
test ebx, ebx
jne 0x6707f56b
xor r15d, r15d
jmp 0x6707f285
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x6707f285
mov qword [rax + 0x20], r15
mov dword [r14 + 0x48], r15d
mov dword [r14], 7
test dword [r14 + 0x10], 0x1000
je 0x6707f318
test esi, esi
je 0x6707f56b
mov r8, r12
nop word [rax + rax]
mov rax, qword [r14 + 0x20]
movzx ebx, byte [r8]
inc r15d
inc r8
test rax, rax
je 0x6707f2dc
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x6707f2dc
mov ecx, dword [r14 + 0x48]
cmp ecx, dword [rax + 0x38]
jae 0x6707f2dc
mov byte [rcx + rdx], bl
inc dword [r14 + 0x48]
test ebx, ebx
je 0x6707f2e5
cmp r15d, esi
jb 0x6707f2b0
test dword [r14 + 0x10], 0x200
je 0x6707f302
mov ecx, dword [r14 + 0x18]
mov r8d, r15d
mov rdx, r12
call sym.QtCoreVBox4.dll_crc32
mov dword [r14 + 0x18], eax
mov eax, r15d
sub esi, r15d
add r12, rax
test ebx, ebx
jne 0x6707f56b
xor r15d, r15d
jmp 0x6707f325
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x6707f325
mov qword [rax + 0x30], r15
mov rbx, qword [rbp + 0x20]
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x38]
mov dword [r14], 8
test dword [r14 + 0x10], 0x200
je 0x6707f38c
cmp edi, 0x10
jae 0x6707f368
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x6707f347
movzx eax, word [r14 + 0x18]
cmp r13d, eax
je 0x6707f386
lea rax, str.header_crc_mismatch
mov qword [rbx + 0x20], rax
mov dword [r14], 0x1d
jmp 0x6707f3cf
mov r13d, r15d
mov edi, r15d
mov rcx, qword [r14 + 0x20]
test rcx, rcx
je 0x6707f3ad
mov eax, dword [r14 + 0x10]
sar eax, 9
and eax, 1
mov dword [rcx + 0x3c], eax
mov rax, qword [r14 + 0x20]
mov dword [rax + 0x40], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sym.QtCoreVBox4.dll_crc32
mov dword [r14 + 0x18], eax
mov dword [rbx + 0x4c], eax
mov dword [r14], 0xb
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x38]
mov eax, dword [r14]
cmp eax, 0x1e
ja case.default.0x6707edb1
mov r8d, dword [rbp - 0x48]
mov edx, dword [rbp + 0x28]
xor r15d, r15d
jmp 0x6707ed9d
cmp edi, 0x20
jae 0x6707f411
nop
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x6707f3f0
mov ecx, r13d
mov eax, r13d
mov edi, r15d
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, r15d
mov dword [r14 + 0x18], eax
mov dword [rbx + 0x4c], eax
mov dword [r14], 0xa
cmp dword [r14 + 0xc], 0
je 0x67080255
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sym.QtCoreVBox4.dll_adler32
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x38]
mov edx, dword [rbp + 0x28]
mov dword [r14 + 0x18], eax
mov dword [rbx + 0x4c], eax
mov dword [r14], 0xb
cmp edx, 5
je 0x6707f56b
cmp edx, 6
je 0x6707f56b
cmp dword [r14 + 4], 0
je 0x6707f4ac
mov ecx, edi
mov dword [r14], 0x1a
and ecx, 7
shr r13d, cl
sub edi, ecx
jmp 0x6707f3cf
cmp edi, 3
jae 0x6707f4d2
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 3
jb 0x6707f4b1
mov eax, r13d
shr r13d, 1
dec edi
and eax, 1
mov dword [r14 + 4], eax
mov eax, r13d
and eax, 3
je 0x6707f5ef
dec eax
je 0x6707f52e
dec eax
je 0x6707f51b
dec eax
jne 0x6707f5f6
lea rax, str.invalid_block_type
shr r13d, 2
add edi, 0xfffffffe
mov qword [rbx + 0x20], rax
mov dword [r14], 0x1d
jmp 0x6707f3cf
shr r13d, 2
mov dword [r14], 0x10
add edi, 0xfffffffe
jmp 0x6707f3cf
lea rax, [0x671ec190]
mov dword [r14 + 0x68], 9
mov dword [r14 + 0x6c], 5
mov qword [r14 + 0x58], rax
lea rax, [0x671ec990]
mov dword [r14], 0x13
mov qword [r14 + 0x60], rax
cmp edx, 6
jne 0x6707f5f6
shr r13d, 2
add edi, 0xfffffffe
mov r15d, dword [rbp + 0x30]
mov rbx, qword [rbp + 0x20]
mov rax, qword [rbp - 0x40]
mov qword [rbx + 0x10], rax
mov eax, dword [rbp + 0x38]
mov qword [rbx], r12
mov dword [rbx + 0x18], eax
mov dword [rbx + 8], esi
cmp dword [r14 + 0x2c], 0
mov dword [r14 + 0x44], edi
mov edi, dword [rbp - 0x48]
mov dword [r14 + 0x40], r13d
jne 0x6707f5ac
cmp dword [r14], 0x1a
jge 0x67080298
cmp edi, dword [rbx + 0x18]
je 0x67080298
mov edx, edi
mov rcx, rbx
call fcn.6707ebf0
test eax, eax
je 0x67080298
mov dword [r14], 0x1e
mov eax, 0xfffffffc
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov r15, qword [rsp + 0x58]
add rsp, 0x80
pop r14
pop rbx
pop rbp
ret
mov dword [r14], 0xd
shr r13d, 2
add edi, 0xfffffffe
jmp 0x6707f3cf
mov ecx, edi
and ecx, 7
sub edi, ecx
shr r13d, cl
cmp edi, 0x20
jae 0x6707f632
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x6707f611
mov eax, r13d
movzx ecx, r13w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x6707f659
lea rax, str.invalid_stored_block_lengths
mov qword [rbx + 0x20], rax
mov dword [r14], 0x1d
jmp 0x6707f3cf
mov dword [r14 + 0x48], ecx
mov r13d, r15d
mov edi, r15d
mov dword [r14], 0xe
cmp edx, 6
je 0x6707f56b
mov dword [r14], 0xf
mov r15d, dword [r14 + 0x48]
test r15d, r15d
je 0x6707f6d4
cmp r15d, esi
cmova r15d, esi
cmp r15d, r10d
cmova r15d, r10d
test r15d, r15d
je 0x6707f56b
mov r8d, r15d
mov rdx, r12
mov rcx, r9
mov ebx, r15d
call sub.MSVCR100.dll_memcpy
mov r10d, dword [rbp + 0x38]
mov r9, qword [rbp - 0x40]
sub r10d, r15d
add r12, rbx
add r9, rbx
mov rbx, qword [rbp + 0x20]
sub esi, r15d
sub dword [r14 + 0x48], r15d
mov dword [rbp + 0x38], r10d
mov qword [rbp - 0x40], r9
jmp 0x6707f3cf
mov dword [r14], 0xb
jmp 0x6707f3cf
cmp edi, 0xe
jae 0x6707f706
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0xe
jb 0x6707f6e5
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 [r14 + 0x74], ecx
mov dword [r14 + 0x78], edx
mov dword [r14 + 0x70], eax
cmp ecx, 0x11e
ja 0x6707f851
cmp edx, 0x1e
ja 0x6707f851
mov dword [r14 + 0x7c], r15d
mov dword [r14], 0x11
mov eax, dword [r14 + 0x70]
cmp dword [r14 + 0x7c], eax
jae 0x6707f7c4
cmp edi, 3
jae 0x6707f791
nop dword [rax]
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 3
jb 0x6707f770
mov eax, dword [r14 + 0x7c]
movzx ecx, r13w
add edi, 0xfffffffd
movzx eax, word [r11 + rax*2 + 0x1eca10]
and cx, 7
shr r13d, 3
mov word [r14 + rax*2 + 0x88], cx
inc dword [r14 + 0x7c]
mov eax, dword [r14 + 0x70]
cmp dword [r14 + 0x7c], eax
jb 0x6707f768
cmp dword [r14 + 0x7c], 0x13
jae 0x6707f7f1
nop dword [rax + rax]
mov eax, dword [r14 + 0x7c]
movzx eax, word [r11 + rax*2 + 0x1eca10]
mov word [r14 + rax*2 + 0x88], r15w
inc dword [r14 + 0x7c]
cmp dword [r14 + 0x7c], 0x13
jb 0x6707f7d0
lea rcx, [r14 + 0x68]
lea rax, [r14 + 0x548]
lea r9, [r14 + 0x80]
mov qword [r9], rax
mov qword [r14 + 0x58], rax
lea rax, [r14 + 0x308]
mov qword [rsp + 0x28], rax
mov dword [rcx], 7
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea rdx, [r14 + 0x88]
lea r8d, [rcx + 0x13]
call fcn.670809a0
mov dword [rbp + 0x30], eax
test eax, eax
je 0x6707f868
lea rax, str.invalid_code_lengths_set
mov qword [rbx + 0x20], rax
mov dword [r14], 0x1d
jmp 0x6707f3c7
lea rax, str.too_many_length_or_distance_symbols
mov qword [rbx + 0x20], rax
mov dword [r14], 0x1d
jmp 0x6707f3cf
mov dword [r14 + 0x7c], r15d
mov dword [r14], 0x12
mov eax, dword [r14 + 0x78]
add eax, dword [r14 + 0x74]
cmp dword [r14 + 0x7c], eax
jae 0x6707fab8
nop word [rax + rax]
mov ecx, dword [r14 + 0x68]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r13d
and rcx, rax
mov rax, qword [r14 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
mov dword [rbp - 0x4c], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x6707f906
nop word [rax + rax]
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r14 + 0x68]
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 [r14 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
mov dword [rbp - 0x4c], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x6707f8c0
mov ecx, eax
shr ecx, 0x10
cmp cx, 0x10
jae 0x6707f965
movzx edx, byte [rbp - 0x4b]
shr eax, 8
movzx ecx, al
cmp edi, ecx
jae 0x6707f943
nop
test esi, esi
je 0x6707f56b
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 0x6707f920
movzx eax, word [rbp - 0x4a]
movzx ecx, dl
shr r13d, cl
sub edi, ecx
mov ecx, dword [r14 + 0x7c]
mov word [r14 + rcx*2 + 0x88], ax
inc dword [r14 + 0x7c]
jmp 0x6707faa6
movzx eax, word [rbp - 0x4a]
cmp ax, 0x10
jne 0x6707f9d7
movzx r8d, byte [rbp - 0x4b]
lea edx, [r8 + 2]
cmp edi, edx
jae 0x6707f9a0
nop dword [rax]
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, edx
jb 0x6707f980
mov eax, dword [r14 + 0x7c]
mov ecx, r8d
sub edi, r8d
shr r13d, cl
test eax, eax
je 0x6707fae4
mov r8d, r13d
dec eax
shr r13d, 2
movzx r9d, word [r14 + rax*2 + 0x88]
and r8d, 3
add r8d, 3
add edi, 0xfffffffe
jmp 0x6707fa76
movzx r10d, byte [rbp - 0x4b]
cmp ax, 0x11
jne 0x6707fa2c
lea edx, [r10 + 3]
cmp edi, edx
jae 0x6707fa10
nop word [rax + rax]
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, edx
jb 0x6707f9f0
mov ecx, r10d
mov eax, 0xfffffffd
shr r13d, cl
mov r8d, r13d
and r8d, 7
add r8d, 3
shr r13d, 3
jmp 0x6707fa6e
lea edx, [r10 + 7]
cmp edi, edx
jae 0x6707fa54
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, edx
jb 0x6707fa34
mov ecx, r10d
mov eax, 0xfffffff9
shr r13d, cl
mov r8d, r13d
and r8d, 0x7f
add r8d, 0xb
shr r13d, 7
sub eax, r10d
mov r9d, r15d
add edi, eax
mov edx, dword [r14 + 0x78]
mov eax, dword [r14 + 0x7c]
add edx, dword [r14 + 0x74]
lea ecx, [r8 + rax]
cmp ecx, edx
ja 0x6707fae4
test r8d, r8d
je 0x6707faa6
nop
mov eax, dword [r14 + 0x7c]
mov word [r14 + rax*2 + 0x88], r9w
inc dword [r14 + 0x7c]
dec r8d
jne 0x6707fa90
mov eax, dword [r14 + 0x78]
add eax, dword [r14 + 0x74]
cmp dword [r14 + 0x7c], eax
jb 0x6707f890
cmp dword [r14], 0x1d
je 0x6707f3c7
cmp word [r14 + 0x288], 0
jne 0x6707fafb
lea rax, str.invalid_code____missing_end_of_block
mov qword [rbx + 0x20], rax
mov dword [r14], 0x1d
jmp 0x6707f3c7
lea rax, str.invalid_bit_length_repeat
mov qword [rbx + 0x20], rax
mov dword [r14], 0x1d
jmp 0x6707f3c7
mov r8d, dword [r14 + 0x74]
lea rax, [r14 + 0x548]
lea r15, [r14 + 0x308]
mov qword [r14 + 0x80], rax
mov qword [r14 + 0x58], rax
lea rax, [r14 + 0x68]
lea rdx, [r14 + 0x88]
lea r9, [r14 + 0x80]
mov ecx, 1
mov qword [rsp + 0x28], r15
mov dword [rax], 9
mov qword [rsp + 0x20], rax
call fcn.670809a0
mov dword [rbp + 0x30], eax
test eax, eax
je 0x6707fb66
mov rbx, qword [rbp + 0x20]
lea rax, str.invalid_literal_lengths_set
mov qword [rbx + 0x20], rax
mov dword [r14], 0x1d
jmp 0x6707f3c7
mov rax, qword [r14 + 0x80]
mov r8d, dword [r14 + 0x78]
lea rcx, [r14 + 0x6c]
mov qword [r14 + 0x60], rax
mov eax, dword [r14 + 0x74]
mov dword [rcx], 6
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
lea r9, [r14 + 0x80]
lea rdx, [r14 + rax*2 + 0x88]
mov ecx, 2
call fcn.670809a0
mov r15d, eax
mov dword [rbp + 0x30], eax
test eax, eax
je 0x6707fbcb
mov rbx, qword [rbp + 0x20]
lea rax, str.invalid_distances_set
mov qword [rbx + 0x20], rax
mov dword [r14], 0x1d
jmp 0x6707f3c7
cmp dword [rbp + 0x28], 6
mov dword [r14], 0x13
je 0x6707f56f
mov rbx, qword [rbp + 0x20]
mov r9, qword [rbp - 0x40]
mov r8d, dword [rbp - 0x48]
mov r10d, dword [rbp + 0x38]
xor r15d, r15d
mov dword [r14], 0x14
cmp esi, 6
jb 0x6707fc5d
cmp r10d, 0x102
jb 0x6707fc5d
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 [r14 + 0x40], r13d
mov dword [r14 + 0x44], edi
call fcn.6707e470
cmp dword [r14], 0xb
mov r9, qword [rbx + 0x10]
mov r10d, dword [rbx + 0x18]
mov r12, qword [rbx]
mov esi, dword [rbx + 8]
mov r13d, dword [r14 + 0x40]
mov edi, dword [r14 + 0x44]
mov qword [rbp - 0x40], r9
mov dword [rbp + 0x38], r10d
jne 0x6707f3cf
mov dword [r14 + 0x1bdc], 0xffffffff
jmp 0x6707f3cf
mov ecx, dword [r14 + 0x68]
mov r11, qword [r14 + 0x58]
mov eax, 1
shl eax, cl
mov dword [r14 + 0x1bdc], r15d
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 0x6707fcd3
nop dword [rax]
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r14 + 0x68]
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 [r14 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x6707fc90
test al, al
je 0x6707fda2
test al, 0xf0
jne 0x6707fda2
mov r10d, eax
movzx ecx, al
mov dword [rbp - 0x4c], 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 - 0x4b]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, edi
jbe 0x6707fd92
movzx r10d, word [rbp - 0x4a]
test esi, esi
je 0x6707f56b
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 [r14 + 0x58]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, edi
ja 0x6707fd37
movzx ecx, r11b
shr r13d, cl
sub edi, ecx
mov dword [r14 + 0x1bdc], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [r14 + 0x1bdc], ecx
shr r13d, cl
sub edi, ecx
mov ecx, eax
shr ecx, 0x10
mov dword [r14 + 0x48], ecx
test al, al
jne 0x6707fdcf
mov dword [r14], 0x19
jmp 0x6707f3c7
test al, 0x20
je 0x6707fde3
mov dword [r14 + 0x1bdc], 0xffffffff
jmp 0x6707f3c0
test al, 0x40
je 0x6707fdfe
lea rax, str.invalid_literal_length_code
mov qword [rbx + 0x20], rax
mov dword [r14], 0x1d
jmp 0x6707f3c7
movzx ecx, al
mov dword [r14], 0x15
and ecx, 0xf
mov dword [r14 + 0x50], ecx
mov edx, dword [r14 + 0x50]
test edx, edx
je 0x6707fe60
cmp edi, edx
jae 0x6707fe42
nop dword [rax + rax]
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, dword [r14 + 0x50]
jb 0x6707fe20
mov ecx, edx
mov eax, 1
sub edi, edx
shl eax, cl
dec eax
and eax, r13d
shr r13d, cl
add dword [r14 + 0x48], eax
add dword [r14 + 0x1bdc], edx
mov eax, dword [r14 + 0x48]
mov dword [r14], 0x16
mov dword [r14 + 0x1be0], eax
mov ecx, dword [r14 + 0x6c]
mov r11, qword [r14 + 0x60]
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 0x6707fee3
nop word [rax + rax]
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r14 + 0x6c]
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 [r14 + 0x60]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x6707fea0
test al, 0xf0
jne 0x6707ffab
mov r10d, eax
movzx ecx, al
mov dword [rbp - 0x4c], 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 - 0x4b]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, edi
jbe 0x6707ff9b
movzx r10d, word [rbp - 0x4a]
nop
test esi, esi
je 0x6707f56b
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 [r14 + 0x60]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, edi
ja 0x6707ff40
movzx ecx, r11b
shr r13d, cl
sub edi, ecx
add dword [r14 + 0x1bdc], ecx
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x38]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [r14 + 0x1bdc], ecx
shr r13d, cl
sub edi, ecx
test al, 0x40
je 0x6707ffe2
lea rax, str.invalid_distance_code
mov qword [rbx + 0x20], rax
mov dword [r14], 0x1d
jmp 0x6707f3cf
mov r8d, dword [rbp - 0x48]
mov ecx, eax
mov dword [r14], 0x17
shr ecx, 0x10
mov dword [r14 + 0x4c], ecx
movzx ecx, al
and ecx, 0xf
mov dword [r14 + 0x50], ecx
mov edx, dword [r14 + 0x50]
test edx, edx
je 0x67080050
cmp edi, edx
jae 0x67080032
nop dword [rax]
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, dword [r14 + 0x50]
jb 0x67080010
mov ecx, edx
mov eax, 1
sub edi, edx
shl eax, cl
dec eax
and eax, r13d
shr r13d, cl
add dword [r14 + 0x4c], eax
add dword [r14 + 0x1bdc], edx
mov dword [r14], 0x18
test r10d, r10d
je 0x6707f56b
mov ecx, dword [r14 + 0x4c]
mov eax, r8d
sub eax, r10d
cmp ecx, eax
jbe 0x670800bb
sub ecx, eax
cmp ecx, dword [r14 + 0x30]
jbe 0x67080097
cmp dword [r14 + 0x1bd8], 0
je 0x67080097
lea rax, str.invalid_distance_too_far_back
mov qword [rbx + 0x20], rax
mov dword [r14], 0x1d
jmp 0x6707f3cf
mov eax, dword [r14 + 0x34]
cmp ecx, eax
jbe 0x670800a9
mov edx, dword [r14 + 0x2c]
sub ecx, eax
sub edx, ecx
jmp 0x670800ad
sub eax, ecx
mov edx, eax
mov eax, dword [r14 + 0x48]
add rdx, qword [r14 + 0x38]
cmp ecx, eax
jbe 0x670800c7
jmp 0x670800c5
mov eax, dword [r14 + 0x48]
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 + 0x38], r10d
mov dword [r14 + 0x48], eax
nop
movzx eax, byte [rdx + r9]
inc r9
dec ecx
mov byte [r9 - 1], al
jne 0x670800e0
mov qword [rbp - 0x40], r9
cmp dword [r14 + 0x48], ecx
jne 0x6707f3cf
mov dword [r14], 0x14
jmp 0x6707f3cf
test r10d, r10d
je 0x6707f56b
movzx eax, byte [r14 + 0x48]
inc r9
dec r10d
mov byte [r9 - 1], al
mov dword [rbp + 0x38], r10d
mov qword [rbp - 0x40], r9
mov dword [r14], 0x14
jmp 0x6707f3cf
cmp dword [r14 + 8], 0
je 0x670801fd
cmp edi, 0x20
jae 0x67080167
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x67080146
sub r8d, r10d
add dword [rbx + 0x1c], r8d
add dword [r14 + 0x1c], r8d
test r8d, r8d
je 0x670801a6
mov ecx, dword [r14 + 0x18]
mov eax, r8d
mov rdx, r9
sub rdx, rax
cmp dword [r14 + 0x10], 0
je 0x67080192
call sym.QtCoreVBox4.dll_crc32
jmp 0x67080197
call sym.QtCoreVBox4.dll_adler32
mov r9, qword [rbp - 0x40]
mov r10d, dword [rbp + 0x38]
mov dword [r14 + 0x18], eax
mov dword [rbx + 0x4c], eax
cmp dword [r14 + 0x10], 0
mov dword [rbp - 0x48], r10d
mov ecx, r13d
jne 0x670801da
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 [r14 + 0x18]
je 0x670801f7
lea rax, str.incorrect_data_check
mov qword [rbx + 0x20], rax
mov dword [r14], 0x1d
jmp 0x6707f3cf
mov r13d, r15d
mov edi, r15d
mov dword [r14], 0x1b
cmp dword [r14 + 8], 0
je 0x6708027b
cmp dword [r14 + 0x10], 0
je 0x6708027b
cmp edi, 0x20
jae 0x67080238
test esi, esi
je 0x6707f56b
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x67080217
cmp r13d, dword [r14 + 0x1c]
je 0x67080275
lea rax, str.incorrect_length_check
mov qword [rbx + 0x20], rax
mov dword [r14], 0x1d
jmp 0x6707f3cf
mov qword [rbx + 0x10], r9
mov dword [rbx + 0x18], r10d
mov qword [rbx], r12
mov dword [rbx + 8], esi
mov eax, 2
mov dword [r14 + 0x40], r13d
mov dword [r14 + 0x44], edi
jmp 0x6707f5ca
mov r13d, r15d
mov edi, r15d
mov dword [r14], 0x1c
mov r15d, 1
jmp 0x6707f56f
mov r15d, 0xfffffffd
jmp 0x6707f56f
sub edi, dword [rbx + 0x18]
mov r10d, dword [rbp - 0x44]
sub r10d, dword [rbx + 8]
add dword [rbx + 0x1c], edi
add dword [rbx + 0xc], r10d
add dword [r14 + 0x1c], edi
cmp dword [r14 + 8], 0
mov dword [rbp - 0x44], r10d
je 0x670802eb
test edi, edi
je 0x670802eb
mov rdx, qword [rbx + 0x10]
mov ecx, dword [r14 + 0x18]
mov eax, edi
sub rdx, rax
cmp dword [r14 + 0x10], 0
mov r8d, edi
je 0x670802db
call sym.QtCoreVBox4.dll_crc32
jmp 0x670802e0
call sym.QtCoreVBox4.dll_adler32
mov r10d, dword [rbp - 0x44]
mov dword [r14 + 0x18], eax
mov dword [rbx + 0x4c], eax
mov edx, dword [r14]
cmp edx, 0x13
je 0x67080300
cmp edx, 0xe
je 0x67080300
xor r9d, r9d
mov r8d, r9d
jmp 0x67080309
mov r8d, 0x100
xor r9d, r9d
mov eax, dword [r14 + 4]
neg eax
mov eax, 0x80
sbb ecx, ecx
and ecx, 0x40
cmp edx, 0xb
cmove r9d, eax
lea eax, [r8 + rcx]
add r9d, eax
add r9d, dword [r14 + 0x44]
mov dword [rbx + 0x48], r9d
test r10d, r10d
jne 0x67080338
test edi, edi
je 0x6708033e
cmp dword [rbp + 0x28], 4
jne 0x6708034a
mov eax, 0xfffffffb
test r15d, r15d
cmove r15d, eax
mov eax, r15d
jmp 0x6707f5ca
mov eax, 0xfffffffe
jmp 0x6707f5ca
mov eax, 0xfffffffe
add rsp, 0x80
pop r14
pop rbx
pop rbp
ret