Function at 0x1002cb69
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 0x1002cc06
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
je 0x1002cc06
cmp dword [ebp - 0x1c], 0xbfff
jbe 0x1002cc0b
jmp 0x1002cca7
cmp dword [ebp - 0x1c], 0x800
jbe 0x1002cc26
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 3]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + 3]
cmp eax, ecx
jne 0x1002cc28
jmp 0x1002cc81
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 0x1002cc60
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
je 0x1002cc60
cmp dword [ebp - 0x1c], 0xbfff
jbe 0x1002cc62
jmp 0x1002cca7
cmp dword [ebp - 0x1c], 0x800
jbe 0x1002cc7d
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 3]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + 3]
cmp eax, ecx
jne 0x1002cc7f
jmp 0x1002cc81
jmp 0x1002cca7
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
mov ecx, dword [ebp - 0x10]
movzx ecx, word [ecx]
cmp eax, ecx
je 0x1002cc93
jmp 0x1002cca7
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 2]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + 2]
cmp eax, ecx
jne 0x1002cca7
jmp 0x1002cccc
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 0x1002ccc7
jmp 0x1002d06c
jmp 0x1002cba6
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 0x1002cd9c
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
ja 0x1002cd0f
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 0x1002cd7b
cmp dword [ebp - 0x2c], 0x12
ja 0x1002cd2e
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 0x1002cd7b
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 0x1002cd67
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 0x1002cd44
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 0x1002cd7b
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 0x1002ce39
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 0x1002ce39
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 0x1002ce39
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 0x1002ce39
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 0x1002ce39
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 0x1002cf00
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 0x1002ce95
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 0x1002cefb
cmp dword [ebp - 0x1c], 0x4000
ja 0x1002cec5
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 0x1002d026
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 0x1002d026
jmp 0x1002d057
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 0x1002cf37
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx]
cmp eax, ecx
jne 0x1002cf37
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 0x1002cf0f
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x1c], 0x4000
ja 0x1002cf8e
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], 0x21
ja 0x1002cf71
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 0x1002cf89
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 0x1002cfef
jmp 0x1002d026
mov eax, dword [ebp - 0x1c]
sub eax, 0x4000
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], 9
ja 0x1002cfc7
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 0x1002d026
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 0x1002d012
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 0x1002cfef
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 0x1002d067
jmp 0x1002d06c
jmp 0x1002cba6
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