Function at 0x10002476
Capabilities:
Compress data using lzo

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
add eax, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], eax
add esi, 4
mov cl, byte [esi + 2]
lea eax, [esi + 3]
mov dword [ebp - 0x18], eax
lea edi, [esi + 1]
mov al, byte [eax]
mov dword [ebp - 0x14], edi
movzx eax, al
movzx ecx, cl
shl eax, 6
xor eax, ecx
movzx ecx, byte [edi]
shl eax, 5
xor eax, ecx
movzx ecx, byte [esi]
shl eax, 5
xor eax, ecx
mov ecx, dword [ebp + 0x18]
imul eax, eax, 0x21
shr eax, 5
and eax, 0x3fff
lea edi, [ecx + eax*4]
mov ecx, dword [edi]
cmp ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
jb 0x10002732
mov edx, esi
mov dword [ebp + 0xc], esi
sub edx, ecx
mov dword [ebp + 0xc], edx
je 0x10002732
cmp edx, 0xbfff
ja 0x10002732
cmp edx, 0x800
jbe 0x10002557
mov edx, dword [ebp - 0x18]
mov dl, byte [edx]
cmp byte [ecx + 3], dl
je 0x10002557
mov ecx, dword [ebp + 0x18]
and eax, 0x7ff
xor eax, 0x201f
lea edi, [ecx + eax*4]
mov eax, dword [edi]
cmp eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
jb 0x10002732
mov ecx, esi
sub ecx, eax
mov dword [ebp + 0xc], ecx
je 0x10002732
cmp ecx, 0xbfff
ja 0x10002732
cmp ecx, 0x800
jbe 0x10002554
cmp byte [eax + 3], dl
jne 0x10002732
mov ecx, dword [ebp - 0x10]
mov ax, word [ecx]
mov edx, dword [ebp + 0xc]
cmp ax, word [esi]
jne 0x10002732
mov al, byte [esi + 2]
cmp byte [ecx + 2], al
jne 0x10002732
mov dword [edi], esi
sub esi, dword [ebp - 4]
je 0x100025f4
cmp esi, 3
mov dword [ebp - 8], esi
ja 0x10002589
mov al, byte [ebp - 8]
or byte [ebx - 2], al
jmp 0x100025e4
cmp dword [ebp - 8], 0x12
ja 0x10002596
mov al, byte [ebp - 8]
sub al, 3
jmp 0x100025e1
mov eax, dword [ebp - 8]
and byte [ebx], 0
add eax, 0xffffffee
mov esi, 0xff
inc ebx
cmp eax, esi
mov dword [ebp - 0x14], eax
jbe 0x100025e1
add eax, 0xffffff00
xor edx, edx
div esi
mov edi, ebx
mov edx, eax
xor eax, eax
inc edx
mov ecx, edx
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
add ebx, edx
rep stosb byte es:[edi], al
sub dword [ebp - 0x14], 0xff
dec edx
jne 0x100025ce
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov byte [ebx], al
inc ebx
mov eax, dword [ebp - 4]
mov al, byte [eax]
mov byte [ebx], al
inc ebx
inc dword [ebp - 4]
dec dword [ebp - 8]
jne 0x100025e4
mov esi, dword [ebp - 0x18]
mov al, byte [esi]
inc esi
cmp byte [ecx + 3], al
jne 0x100026d6
mov al, byte [esi]
inc esi
cmp byte [ecx + 4], al
jne 0x100026d6
mov al, byte [esi]
inc esi
cmp byte [ecx + 5], al
jne 0x100026d6
mov al, byte [esi]
inc esi
cmp byte [ecx + 6], al
jne 0x100026d6
mov al, byte [esi]
inc esi
cmp byte [ecx + 7], al
jne 0x100026d6
mov al, byte [esi]
inc esi
cmp byte [ecx + 8], al
jne 0x100026d6
lea edi, [ecx + 9]
jmp 0x1000264c
mov al, byte [edi]
cmp al, byte [esi]
jne 0x10002651
inc edi
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x10002644
mov eax, esi
mov edi, 0x4000
sub eax, dword [ebp - 4]
cmp edx, edi
ja 0x10002674
dec edx
cmp eax, 0x21
mov dword [ebp + 0xc], edx
jbe 0x10002703
sub eax, 0x21
mov byte [ebx], 0x20
jmp 0x10002692
sub edx, edi
mov ecx, edx
mov dword [ebp + 0xc], edx
shr ecx, 0xb
and cl, 8
cmp eax, 9
jbe 0x10002715
sub eax, 9
or cl, 0x10
mov byte [ebx], cl
mov ecx, 0xff
inc ebx
cmp eax, ecx
mov dword [ebp - 0x10], eax
jbe 0x10002707
add eax, 0xffffff00
xor edx, edx
div ecx
mov edi, ebx
inc eax
mov ecx, eax
mov dword [ebp - 0x14], eax
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add ebx, edx
rep stosb byte es:[edi], al
sub dword [ebp - 0x10], 0xff
dec dword [ebp - 0x14]
jne 0x100026c2
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
jmp 0x10002707
dec esi
mov eax, esi
sub eax, dword [ebp - 4]
cmp edx, 0x800
ja 0x100026f9
dec edx
dec al
mov cl, dl
and cl, 7
shl al, 5
shl cl, 2
or al, cl
shr edx, 3
jmp 0x10002727
mov ecx, 0x4000
cmp edx, ecx
ja 0x1000270b
dec edx
sub al, 2
or al, 0x20
mov byte [ebx], al
jmp 0x1000271e
sub edx, ecx
mov ecx, edx
shr ecx, 0xb
and cl, 8
sub al, 2
or cl, al
or cl, 0x10
mov byte [ebx], cl
mov al, dl
inc ebx
shl al, 2
shr edx, 6
mov byte [ebx], al
inc ebx
mov dword [ebp - 4], esi
mov byte [ebx], dl
inc ebx
jmp 0x10002737
mov dword [edi], esi
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff3
cmp esi, eax
jb 0x10002493
sub ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ebx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 4]
pop ebx
leave
ret