Function at 0x32b051
Capabilities:
Compress data using lzo

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
add eax, esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], eax
add esi, 4
movzx ecx, byte [esi + 2]
lea eax, [esi + 3]
mov dword [ebp - 0x1c], eax
mov al, byte [eax]
movzx eax, al
shl eax, 6
xor eax, ecx
shl eax, 5
lea edx, [esi + 1]
movzx ecx, byte [edx]
xor eax, ecx
movzx ecx, byte [esi]
shl eax, 5
xor eax, ecx
mov ecx, dword [ebp + 0x14]
imul eax, eax, 0x21
shr eax, 5
and eax, 0x3fff
lea ecx, [ecx + eax*4]
mov ebx, dword [ecx]
mov dword [ebp - 0x20], edx
cmp ebx, dword [ebp + 8]
jb 0x32b30a
mov edx, esi
sub edx, ebx
mov dword [ebp - 8], edx
dec edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edx
cmp edx, 0xbffe
ja 0x32b307
cmp dword [ebp - 8], 0x800
jbe 0x32b128
mov edx, dword [ebp - 0x1c]
mov dl, byte [edx]
mov byte [ebp - 1], dl
cmp byte [ebx + 3], dl
je 0x32b128
mov ecx, dword [ebp + 0x14]
and eax, 0x7ff
xor eax, 0x201f
lea ecx, [ecx + eax*4]
mov ebx, dword [ecx]
cmp ebx, dword [ebp + 8]
jb 0x32b307
mov eax, esi
sub eax, ebx
lea edx, [eax - 1]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], edx
cmp edx, 0xbffe
ja 0x32b307
cmp eax, 0x800
jbe 0x32b128
mov al, byte [ebp - 1]
cmp byte [ebx + 3], al
jne 0x32b307
mov ax, word [ebx]
cmp ax, word [esi]
jne 0x32b307
mov al, byte [esi + 2]
cmp byte [ebx + 2], al
jne 0x32b307
mov dword [ecx], esi
sub esi, dword [ebp - 0xc]
je 0x32b1ae
mov edx, esi
mov dword [ebp - 0x20], edx
cmp edx, 3
ja 0x32b156
or byte [edi - 2], dl
jmp 0x32b1a0
cmp edx, 0x12
ja 0x32b160
lea eax, [edx - 3]
jmp 0x32b19d
lea eax, [edx - 0x12]
mov byte [edi], 0
mov ecx, 0xff
inc edi
mov dword [ebp - 0x18], eax
cmp eax, ecx
jbe 0x32b19d
add eax, 0xffffff00
xor edx, edx
div ecx
lea esi, [eax + 1]
push esi
push 0
push edi
call sub.ntdll.dll_memset
add esp, 0xc
add edi, esi
sub dword [ebp - 0x18], 0xff
dec esi
jne 0x32b18d
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov byte [edi], al
inc edi
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
mov byte [edi], al
inc edi
inc dword [ebp - 0xc]
dec edx
jne 0x32b1a0
mov esi, dword [ebp - 0x1c]
mov al, byte [esi]
inc esi
cmp byte [ebx + 3], al
jne 0x32b297
mov al, byte [esi]
inc esi
cmp byte [ebx + 4], al
jne 0x32b297
mov al, byte [esi]
inc esi
cmp byte [ebx + 5], al
jne 0x32b297
mov al, byte [esi]
inc esi
cmp byte [ebx + 6], al
jne 0x32b297
mov al, byte [esi]
inc esi
cmp byte [ebx + 7], al
jne 0x32b297
mov al, byte [esi]
inc esi
cmp byte [ebx + 8], al
jne 0x32b297
add ebx, 9
jmp 0x32b206
mov al, byte [ebx]
cmp al, byte [esi]
jne 0x32b20b
inc ebx
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x32b1fe
mov ebx, esi
sub ebx, dword [ebp - 0xc]
mov eax, 0x4000
cmp dword [ebp - 8], eax
ja 0x32b23a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
cmp ebx, 0x21
ja 0x32b232
sub bl, 2
or bl, 0x20
mov byte [edi], bl
jmp 0x32b2ee
sub ebx, 0x21
mov byte [edi], 0x20
jmp 0x32b25f
sub dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 0xb
and al, 8
cmp ebx, 9
ja 0x32b258
sub bl, 2
or al, bl
or al, 0x10
mov byte [edi], al
jmp 0x32b2ee
sub ebx, 9
or al, 0x10
mov byte [edi], al
inc edi
cmp ebx, 0xff
jbe 0x32b22b
xor edx, edx
mov ecx, 0xff
lea eax, [ebx - 0x100]
div ecx
inc eax
push eax
push 0
push edi
mov dword [ebp - 0x18], eax
call sub.ntdll.dll_memset
add esp, 0xc
add edi, dword [ebp - 0x18]
sub ebx, 0xff
dec dword [ebp - 0x18]
jne 0x32b28a
jmp 0x32b22b
dec esi
mov eax, esi
sub eax, dword [ebp - 0xc]
cmp dword [ebp - 8], 0x800
ja 0x32b2c2
mov ecx, dword [ebp - 0x14]
dec al
mov dl, cl
shl al, 3
and dl, 7
or al, dl
shl al, 2
shr ecx, 3
mov byte [edi], al
mov byte [edi + 1], cl
jmp 0x32b2ff
mov ecx, 0x4000
sub al, 2
cmp dword [ebp - 8], ecx
ja 0x32b2db
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
or al, 0x20
jmp 0x32b251
sub dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
shr ecx, 0xb
and cl, 8
or cl, al
or cl, 0x10
mov byte [edi], cl
mov eax, dword [ebp - 8]
mov cl, al
inc edi
shl cl, 2
shr eax, 6
mov byte [edi], cl
mov byte [edi + 1], al
add edi, 2
mov dword [ebp - 0xc], esi
jmp 0x32b30e
mov edx, dword [ebp - 0x20]
mov dword [ecx], esi
mov esi, edx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff3
cmp esi, eax
jb 0x32b06b
sub edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret