Function at 0x4c269c
Capabilities:
Compress data using lzo

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
add eax, ebx
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 8], eax
add ebx, 4
mov cl, byte [ebx + 2]
lea eax, [ebx + 3]
mov dword [ebp - 0x18], eax
lea edi, [ebx + 1]
mov al, byte [eax]
mov dword [ebp - 0x1c], 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 [ebx]
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 [ecx + eax*4]
cmp ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
jb 0x4c2956
mov edx, ebx
mov dword [ebp + 0xc], ebx
sub edx, ecx
mov dword [ebp + 0xc], edx
je 0x4c2956
cmp edx, 0xbfff
ja 0x4c2956
cmp edx, 0x800
jbe 0x4c277f
mov edx, dword [ebp - 0x18]
mov dl, byte [edx]
cmp byte [ecx + 3], dl
je 0x4c277f
mov ecx, dword [ebp + 0x18]
and eax, 0x7ff
xor eax, 0x201f
lea edi, [ecx + eax*4]
mov eax, dword [ecx + eax*4]
cmp eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
jb 0x4c2956
mov ecx, ebx
sub ecx, eax
mov dword [ebp + 0xc], ecx
je 0x4c2956
cmp ecx, 0xbfff
ja 0x4c2956
cmp ecx, 0x800
jbe 0x4c277c
cmp byte [eax + 3], dl
jne 0x4c2956
mov ecx, dword [ebp - 0xc]
mov ax, word [ecx]
mov edx, dword [ebp + 0xc]
cmp ax, word [ebx]
jne 0x4c2956
mov al, byte [ebx + 2]
cmp byte [ecx + 2], al
jne 0x4c2956
mov dword [edi], ebx
sub ebx, dword [ebp - 4]
je 0x4c2817
mov eax, ebx
cmp eax, 3
mov dword [ebp - 0x1c], eax
ja 0x4c27b0
or byte [esi - 2], al
jmp 0x4c2809
cmp eax, 0x12
ja 0x4c27bf
mov bl, al
sub bl, 3
mov byte [esi], bl
inc esi
jmp 0x4c2809
and byte [esi], 0
add eax, 0xffffffee
mov ebx, 0xff
inc esi
cmp eax, ebx
mov dword [ebp - 0x14], eax
jbe 0x4c2803
dec eax
xor edx, edx
mov ecx, ebx
mov edi, esi
div ecx
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x10], ecx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esi, edx
rep stosb byte es:[edi], al
sub dword [ebp - 0x14], ebx
dec dword [ebp - 0x10]
jne 0x4c27f2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov byte [esi], al
mov eax, dword [ebp - 0x1c]
inc esi
mov edi, dword [ebp - 4]
mov bl, byte [edi]
mov byte [esi], bl
inc esi
inc dword [ebp - 4]
dec eax
jne 0x4c2809
mov ebx, dword [ebp - 0x18]
mov al, byte [ebx]
inc ebx
cmp byte [ecx + 3], al
jne 0x4c28f7
mov al, byte [ebx]
inc ebx
cmp byte [ecx + 4], al
jne 0x4c28f7
mov al, byte [ebx]
inc ebx
cmp byte [ecx + 5], al
jne 0x4c28f7
mov al, byte [ebx]
inc ebx
cmp byte [ecx + 6], al
jne 0x4c28f7
mov al, byte [ebx]
inc ebx
cmp byte [ecx + 7], al
jne 0x4c28f7
mov al, byte [ebx]
inc ebx
cmp byte [ecx + 8], al
jne 0x4c28f7
lea edi, [ecx + 9]
cmp ebx, dword [ebp - 8]
jae 0x4c2874
mov al, byte [edi]
cmp al, byte [ebx]
jne 0x4c2874
inc edi
inc ebx
jmp 0x4c2865
mov eax, ebx
mov edi, 0x4000
sub eax, dword [ebp - 4]
cmp edx, edi
ja 0x4c289a
dec edx
cmp eax, 0x21
mov dword [ebp + 0xc], edx
jbe 0x4c2927
sub eax, 0x21
mov byte [esi], 0x20
mov dword [ebp - 0xc], eax
jmp 0x4c28bb
sub edx, edi
cmp eax, 9
mov dword [ebp + 0xc], edx
jbe 0x4c2931
mov ecx, edx
sub eax, 9
shr ecx, 0xb
and cl, 8
mov dword [ebp - 0xc], eax
or cl, 0x10
mov byte [esi], cl
mov ecx, 0xff
inc esi
cmp eax, ecx
jbe 0x4c292b
dec eax
xor edx, edx
div ecx
mov edi, esi
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x14], ecx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esi, edx
rep stosb byte es:[edi], al
sub dword [ebp - 0xc], 0xff
dec dword [ebp - 0x14]
jne 0x4c28e3
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
jmp 0x4c292b
dec ebx
mov eax, ebx
sub eax, dword [ebp - 4]
cmp edx, 0x800
ja 0x4c291d
dec edx
add al, 7
mov cl, dl
and cl, 7
shl al, 5
shl cl, 2
or al, cl
mov byte [esi], al
inc esi
shr edx, 3
jmp 0x4c294e
mov ecx, 0x4000
cmp edx, ecx
ja 0x4c292f
dec edx
sub al, 2
or al, 0x20
mov byte [esi], al
jmp 0x4c2942
sub edx, ecx
mov ecx, edx
sub al, 2
shr ecx, 0xb
and cl, 8
or cl, al
or cl, 0x10
mov byte [esi], cl
mov al, dl
inc esi
shl al, 2
mov byte [esi], al
inc esi
shr edx, 6
mov byte [esi], dl
inc esi
mov dword [ebp - 4], ebx
jmp 0x4c295b
mov dword [edi], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
add eax, 0xfffffff3
cmp ebx, eax
jb 0x4c26b9
sub esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
pop edi
mov dword [eax], esi
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret