Function at 0x41eb70
Capabilities:
Compress data using lzo

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
lea eax, [ecx + edx]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
lea ebx, [ecx + 4]
push esi
mov dword [ebp - 0x20], eax
mov esi, ecx
add eax, 0xfffffff3
mov dword [ebp - 0x18], esi
push edi
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 3]
mov dword [ebp - 0x2c], eax
lea edi, [ebx + 1]
mov al, byte [eax]
movzx ecx, al
mov byte [ebp - 1], al
movzx eax, byte [ebx + 2]
shl ecx, 6
xor ecx, eax
mov dword [ebp - 0x28], edi
movzx eax, byte [edi]
shl ecx, 5
xor ecx, eax
movzx eax, byte [ebx]
shl ecx, 5
xor ecx, eax
mov eax, ecx
shl eax, 5
add eax, ecx
mov ecx, dword [ebp + 0x10]
shr eax, 5
and eax, 0x3fff
lea edi, [ecx + eax*4]
mov dword [ebp - 0xc], edi
mov edi, dword [edi]
mov dword [ebp - 0x14], edi
cmp edi, dword [ebp - 0x10]
jb 0x41ee6b
mov ecx, ebx
sub ecx, edi
mov dword [ebp - 8], ecx
je 0x41ee6b
cmp ecx, 0xbfff
ja 0x41ee6b
cmp ecx, 0x800
jbe 0x41ec5d
mov cl, byte [ebp - 1]
cmp byte [edi + 3], cl
je 0x41ec5d
mov ecx, dword [ebp + 0x10]
and eax, 0x7ff
xor eax, 0x201f
lea edi, [ecx + eax*4]
mov dword [ebp - 0xc], edi
mov edi, dword [edi]
mov dword [ebp - 0x14], edi
cmp edi, dword [ebp - 0x10]
jb 0x41ee6b
mov ecx, ebx
sub ecx, edi
mov dword [ebp - 8], ecx
je 0x41ee6b
cmp ecx, 0xbfff
ja 0x41ee6b
cmp ecx, 0x800
jbe 0x41ec5d
mov al, byte [ebp - 1]
cmp byte [edi + 3], al
jne 0x41ee6b
mov ax, word [edi]
cmp ax, word [ebx]
jne 0x41ee6b
mov al, byte [ebx + 2]
cmp byte [edi + 2], al
jne 0x41ee6b
mov eax, dword [ebp - 0xc]
mov dword [eax], ebx
sub ebx, esi
je 0x41ecfa
cmp ebx, 3
ja 0x41ec88
or byte [edx - 2], bl
jmp 0x41ecf1
cmp ebx, 0x12
ja 0x41ec93
mov al, bl
sub al, 3
jmp 0x41ecee
lea eax, [ebx - 0x12]
mov byte [edx], 0
inc edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], edx
cmp eax, 0xff
jbe 0x41ecee
lea ecx, [eax - 0x100]
mov eax, 0x80808081
mul ecx
xor eax, eax
shr edx, 7
inc edx
mov ecx, edx
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0xc]
mov esi, ecx
shr ecx, 2
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x28]
mov ecx, esi
add edx, ecx
lea esp, [esp]
sub eax, 0xff
dec ecx
jne 0x41ece0
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov byte [edx], al
inc edx
mov al, byte [esi]
inc esi
mov byte [edx], al
inc edx
dec ebx
jne 0x41ecf1
mov ebx, dword [ebp - 0x2c]
mov al, byte [ebx]
inc ebx
cmp byte [edi + 3], al
jne 0x41ee01
mov al, byte [ebx]
inc ebx
cmp byte [edi + 4], al
jne 0x41ee01
mov al, byte [ebx]
inc ebx
cmp byte [edi + 5], al
jne 0x41ee01
mov al, byte [ebx]
inc ebx
cmp byte [edi + 6], al
jne 0x41ee01
mov al, byte [ebx]
inc ebx
cmp byte [edi + 7], al
jne 0x41ee01
mov al, byte [ebx]
inc ebx
cmp byte [edi + 8], al
jne 0x41ee01
lea ecx, [edi + 9]
mov edi, dword [ebp - 0x20]
cmp ebx, edi
jae 0x41ed5c
nop
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x41ed5c
inc ebx
inc ecx
cmp ebx, edi
jb 0x41ed50
mov eax, dword [ebp - 8]
mov ecx, ebx
sub ecx, esi
cmp eax, 0x4000
ja 0x41ed8a
dec eax
mov dword [ebp - 8], eax
cmp ecx, 0x21
ja 0x41ed82
sub cl, 2
or cl, 0x20
mov byte [edx], cl
mov ecx, eax
jmp 0x41ee53
sub ecx, 0x21
mov byte [edx], 0x20
jmp 0x41edb0
sub eax, 0x4000
mov dword [ebp - 8], eax
shr eax, 0xb
and al, 8
cmp ecx, 9
ja 0x41eda9
sub cl, 2
or al, cl
mov ecx, dword [ebp - 8]
jmp 0x41ee4f
sub ecx, 9
or al, 0x10
mov byte [edx], al
inc edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], edx
cmp ecx, 0xff
jbe 0x41edfa
add ecx, 0xffffff00
mov eax, 0x80808081
mul ecx
xor eax, eax
shr edx, 7
inc edx
mov ecx, edx
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0xc]
mov esi, ecx
shr ecx, 2
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 0x14]
mov eax, esi
add edx, eax
sub ecx, 0xff
dec eax
jne 0x41edf1
mov byte [edx], cl
mov ecx, dword [ebp - 8]
jmp 0x41ee53
mov ecx, dword [ebp - 8]
dec ebx
mov eax, ebx
sub eax, esi
mov dword [ebp - 0xc], eax
cmp ecx, 0x800
ja 0x41ee2c
dec al
dec ecx
shl al, 3
mov dword [ebp - 0xc], eax
mov al, cl
and al, 7
or byte [ebp - 0xc], al
mov eax, dword [ebp - 0xc]
shr ecx, 3
jmp 0x41ee59
cmp ecx, 0x4000
ja 0x41ee3b
sub al, 2
dec ecx
or al, 0x20
jmp 0x41ee51
sub byte [ebp - 0xc], 2
sub ecx, 0x4000
mov eax, ecx
shr eax, 0xb
and al, 8
or al, byte [ebp - 0xc]
or al, 0x10
mov byte [edx], al
inc edx
mov al, cl
shr ecx, 6
shl al, 2
mov esi, ebx
mov byte [edx], al
mov byte [edx + 1], cl
add edx, 2
mov dword [ebp - 0x18], esi
jmp 0x41ee73
mov eax, dword [ebp - 0xc]
mov dword [eax], ebx
mov ebx, dword [ebp - 0x28]
cmp ebx, dword [ebp - 0x1c]
jb 0x41eb93
sub edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x20]
pop edi
sub eax, esi
pop esi
mov dword [ecx], edx
pop ebx
mov esp, ebp
pop ebp
ret