Function at 0x1002f2bc
Capabilities:
Compress data using lzo

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax - 0xd]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 3]
shl eax, 6
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + 2]
xor eax, ecx
shl eax, 5
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + 1]
xor eax, ecx
shl eax, 5
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx]
xor eax, ecx
imul eax, eax, 0x21
shr eax, 5
and eax, 0x3fff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jb 0x1002f359
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
je 0x1002f359
cmp dword [ebp - 0x1c], 0xbfff
jbe 0x1002f35e
jmp 0x1002f3fa
cmp dword [ebp - 0x1c], 0x800
jbe 0x1002f379
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 3]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + 3]
cmp eax, ecx
jne 0x1002f37b
jmp 0x1002f3d4
mov eax, dword [ebp - 0x28]
and eax, 0x7ff
xor eax, 0x201f
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jb 0x1002f3b3
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
je 0x1002f3b3
cmp dword [ebp - 0x1c], 0xbfff
jbe 0x1002f3b5
jmp 0x1002f3fa
cmp dword [ebp - 0x1c], 0x800
jbe 0x1002f3d0
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 3]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + 3]
cmp eax, ecx
jne 0x1002f3d2
jmp 0x1002f3d4
jmp 0x1002f3fa
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
mov ecx, dword [ebp - 0x10]
movzx ecx, word [ecx]
cmp eax, ecx
je 0x1002f3e6
jmp 0x1002f3fa
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 2]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + 2]
cmp eax, ecx
jne 0x1002f3fa
jmp 0x1002f41f
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jb 0x1002f41a
jmp 0x1002f7bf
jmp 0x1002f2f9
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
je 0x1002f4ef
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
ja 0x1002f462
mov eax, dword [ebp - 0x2c]
and eax, 0xff
movzx eax, al
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx - 2]
or ecx, eax
mov eax, dword [ebp - 0x14]
mov byte [eax - 2], cl
jmp 0x1002f4ce
cmp dword [ebp - 0x2c], 0x12
ja 0x1002f481
mov eax, dword [ebp - 0x2c]
sub eax, 3
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1002f4ce
mov eax, dword [ebp - 0x2c]
sub eax, 0x12
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x30], 0xff
jbe 0x1002f4ba
mov eax, dword [ebp - 0x30]
sub eax, 0xff
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1002f497
mov eax, dword [ebp - 0x30]
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov cl, byte [ecx]
mov byte [eax], cl
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
jne 0x1002f4ce
mov eax, dword [ebp - 0x10]
add eax, 3
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ecx + 3]
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
cmp ecx, eax
jne 0x1002f58c
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ecx + 4]
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
cmp ecx, eax
jne 0x1002f58c
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ecx + 5]
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
cmp ecx, eax
jne 0x1002f58c
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ecx + 6]
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
cmp ecx, eax
jne 0x1002f58c
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ecx + 7]
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
cmp ecx, eax
jne 0x1002f58c
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ecx + 8]
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
cmp ecx, eax
je 0x1002f653
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x1c], 0x800
ja 0x1002f5e8
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
dec eax
shl eax, 5
mov ecx, dword [ebp - 0x1c]
and ecx, 7
shl ecx, 2
or eax, ecx
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
shr eax, 3
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1002f64e
cmp dword [ebp - 0x1c], 0x4000
ja 0x1002f618
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
dec eax
dec eax
or eax, 0x20
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1002f779
mov eax, dword [ebp - 0x1c]
sub eax, 0x4000
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
and eax, 0x4000
shr eax, 0xb
or eax, 0x10
mov ecx, dword [ebp - 0x24]
dec ecx
dec ecx
or eax, ecx
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1002f779
jmp 0x1002f7aa
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
add eax, 9
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x34]
jae 0x1002f68a
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx]
cmp eax, ecx
jne 0x1002f68a
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x1002f662
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x1c], 0x4000
ja 0x1002f6e1
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], 0x21
ja 0x1002f6c4
mov eax, dword [ebp - 0x24]
dec eax
dec eax
or eax, 0x20
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1002f6dc
mov eax, dword [ebp - 0x24]
sub eax, 0x21
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov byte [eax], 0x20
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1002f742
jmp 0x1002f779
mov eax, dword [ebp - 0x1c]
sub eax, 0x4000
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], 9
ja 0x1002f71a
mov eax, dword [ebp - 0x1c]
and eax, 0x4000
shr eax, 0xb
or eax, 0x10
mov ecx, dword [ebp - 0x24]
dec ecx
dec ecx
or eax, ecx
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1002f779
mov eax, dword [ebp - 0x24]
sub eax, 9
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
and eax, 0x4000
shr eax, 0xb
or eax, 0x10
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x24], 0xff
jbe 0x1002f765
mov eax, dword [ebp - 0x24]
sub eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1002f742
mov eax, dword [ebp - 0x24]
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
shl eax, 2
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
shr eax, 6
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jb 0x1002f7ba
jmp 0x1002f7bf
jmp 0x1002f2f9
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc]
leave
ret 0x14