Function at 0x4a51c0
Capabilities:
Compress data using lzo

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x2c]
lea ecx, [eax + ebp]
mov dword [esp + 0x10], ebp
push edi
mov dword [esp + 0x1c], ecx
add ebp, 4
lea ecx, [ecx]
mov dl, byte [ebp + 3]
mov cl, byte [ebp + 2]
movzx ecx, cl
movzx eax, dl
shl eax, 6
xor eax, ecx
movzx ecx, byte [ebp + 1]
shl eax, 5
xor eax, ecx
movzx ecx, byte [ebp]
shl eax, 5
xor eax, ecx
mov ecx, dword [esp + 0x38]
imul eax, eax, 0x21
shr eax, 5
and eax, 0x3fff
mov ebx, dword [ecx + eax*4]
lea edi, [ecx + eax*4]
cmp ebx, dword [esp + 0x2c]
jb 0x4a54df
mov ecx, ebp
sub ecx, ebx
mov dword [esp + 0x10], ecx
je 0x4a54df
cmp ecx, 0xbfff
ja 0x4a54df
cmp ecx, 0x800
jbe 0x4a5294
cmp byte [ebx + 3], dl
je 0x4a5294
mov ecx, dword [esp + 0x38]
and eax, 0x7ff
xor eax, 0x201f
mov ebx, dword [ecx + eax*4]
lea edi, [ecx + eax*4]
cmp ebx, dword [esp + 0x2c]
jb 0x4a54df
mov eax, ebp
sub eax, ebx
mov dword [esp + 0x10], eax
je 0x4a54df
cmp eax, 0xbfff
ja 0x4a54df
cmp eax, 0x800
jbe 0x4a5290
cmp byte [ebx + 3], dl
jne 0x4a54df
mov ecx, dword [esp + 0x10]
mov dx, word [ebx]
cmp dx, word [ebp]
jne 0x4a54df
mov al, byte [ebp + 2]
cmp byte [ebx + 2], al
jne 0x4a54df
mov edx, dword [esp + 0x14]
mov eax, ebp
sub eax, edx
mov dword [edi], ebp
je 0x4a5355
cmp eax, 3
mov dword [esp + 0x24], eax
ja 0x4a52cb
or byte [esi - 2], al
jmp 0x4a5340
cmp eax, 0x12
ja 0x4a52d7
mov dl, al
sub dl, 3
jmp 0x4a533d
lea edx, [eax - 0x12]
mov byte [esi], 0
inc esi
cmp edx, 0xff
mov dword [esp + 0x18], edx
jbe 0x4a5339
mov eax, edx
lea ecx, [eax - 0x100]
mov eax, 0x80808081
mul ecx
mov ecx, edx
shr ecx, 7
inc ecx
mov dword [esp + 0x20], ecx
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
add esi, eax
lea esp, [esp]
mov edx, dword [esp + 0x18]
sub edx, 0xff
dec eax
mov dword [esp + 0x18], edx
jne 0x4a5320
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov dl, byte [esp + 0x18]
mov byte [esi], dl
inc esi
mov edx, dword [esp + 0x14]
mov dl, byte [edx]
mov edi, dword [esp + 0x14]
mov byte [esi], dl
inc esi
inc edi
dec eax
mov dword [esp + 0x14], edi
jne 0x4a5340
mov al, byte [ebp + 3]
mov dl, byte [ebx + 3]
add ebp, 3
inc ebp
cmp dl, al
jne 0x4a5474
mov dl, byte [ebp]
mov al, byte [ebx + 4]
inc ebp
cmp al, dl
jne 0x4a5474
mov al, byte [ebp]
mov dl, byte [ebx + 5]
inc ebp
cmp dl, al
jne 0x4a5474
mov dl, byte [ebp]
mov al, byte [ebx + 6]
inc ebp
cmp al, dl
jne 0x4a5474
mov al, byte [ebp]
mov dl, byte [ebx + 7]
inc ebp
cmp dl, al
jne 0x4a5474
mov dl, byte [ebp]
mov al, byte [ebx + 8]
inc ebp
cmp al, dl
jne 0x4a5474
mov eax, dword [esp + 0x1c]
add ebx, 9
cmp ebp, eax
jae 0x4a53cd
lea ecx, [ecx]
mov cl, byte [ebx]
cmp cl, byte [ebp]
jne 0x4a53cd
inc ebx
inc ebp
cmp ebp, eax
jb 0x4a53c0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ebx, ebp
sub ebx, edx
cmp eax, 0x4000
ja 0x4a5401
dec eax
cmp ebx, 0x21
mov dword [esp + 0x10], eax
ja 0x4a53f9
sub bl, 2
or bl, 0x20
mov byte [esi], bl
mov ecx, eax
jmp 0x4a54ca
sub ebx, 0x21
mov byte [esi], 0x20
jmp 0x4a542d
sub eax, 0x4000
mov dword [esp + 0x10], eax
shr eax, 0xb
and al, 8
cmp ebx, 9
ja 0x4a5426
mov ecx, dword [esp + 0x10]
sub bl, 2
or al, bl
or al, 0x10
mov byte [esi], al
jmp 0x4a54ca
sub ebx, 9
or al, 0x10
mov byte [esi], al
inc esi
cmp ebx, 0xff
jbe 0x4a546c
lea edx, [ebx - 0x100]
mov eax, 0x80808081
mul edx
mov ecx, edx
shr ecx, 7
inc ecx
mov dword [esp + 0x24], ecx
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
add esi, eax
sub ebx, 0xff
dec eax
jne 0x4a5463
mov ecx, dword [esp + 0x10]
mov byte [esi], bl
jmp 0x4a54ca
mov edi, dword [esp + 0x14]
dec ebp
mov eax, ebp
sub eax, edi
cmp ecx, 0x800
ja 0x4a54a4
dec ecx
dec al
shl al, 3
mov dl, cl
and dl, 7
or al, dl
shl al, 2
shr ecx, 3
mov byte [esi], al
inc esi
mov byte [esi], cl
inc esi
mov dword [esp + 0x14], ebp
jmp 0x4a54e2
sub al, 2
cmp ecx, 0x4000
ja 0x4a54b5
dec ecx
or al, 0x20
mov byte [esi], al
jmp 0x4a54ca
sub ecx, 0x4000
mov edx, ecx
shr edx, 0xb
and dl, 8
or dl, al
or dl, 0x10
mov byte [esi], dl
mov al, cl
inc esi
shl al, 2
shr ecx, 6
mov byte [esi], al
inc esi
mov byte [esi], cl
inc esi
mov dword [esp + 0x14], ebp
jmp 0x4a54e2
mov dword [edi], ebp
inc ebp
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff3
cmp ebp, eax
jb 0x4a51e0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
sub esi, edx
pop edi
mov dword [ecx], esi
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
sub eax, ecx
pop ebx
add esp, 0x18
ret