Function at 0x530e80
Capabilities:
Compress data using lzo

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx - 0xd]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
add edx, 4
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 3]
shl ecx, 6
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 2]
xor ecx, eax
shl ecx, 5
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 1]
xor ecx, eax
shl ecx, 5
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
xor ecx, eax
imul ecx, ecx, 0x21
shr ecx, 5
and ecx, 0x3fff
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
sub edx, ecx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jb 0x530f35
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
je 0x530f35
cmp dword [ebp - 0x1c], 0xbfff
ja 0x530f35
mov dword [ebp - 0x3c], 0
jmp 0x530f3c
mov dword [ebp - 0x3c], 1
cmp dword [ebp - 0x3c], 0
je 0x530f47
jmp 0x531007
cmp dword [ebp - 0x1c], 0x800
jbe 0x530f62
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 3]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 3]
cmp eax, edx
jne 0x530f64
jmp 0x530fe1
mov eax, dword [ebp - 0x28]
and eax, 0x7ff
xor eax, 0x201f
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
sub edx, ecx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jb 0x530fb3
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
je 0x530fb3
cmp dword [ebp - 0x1c], 0xbfff
ja 0x530fb3
mov dword [ebp - 0x40], 0
jmp 0x530fba
mov dword [ebp - 0x40], 1
cmp dword [ebp - 0x40], 0
je 0x530fc2
jmp 0x531007
cmp dword [ebp - 0x1c], 0x800
jbe 0x530fdd
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 3]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 3]
cmp eax, edx
jne 0x530fdf
jmp 0x530fe1
jmp 0x531007
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp ecx, eax
je 0x530ff3
jmp 0x531007
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 2]
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 2]
cmp edx, ecx
jne 0x531007
jmp 0x53102e
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jb 0x531029
jmp 0x5313d9
jmp 0x530ebd
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0xc]
je 0x5310fc
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 3
ja 0x53106a
movzx eax, byte [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx - 2]
or edx, eax
mov eax, dword [ebp - 0x14]
mov byte [eax - 2], dl
jmp 0x5310d5
cmp dword [ebp - 0x2c], 0x12
ja 0x531086
mov ecx, dword [ebp - 0x2c]
sub ecx, 3
mov edx, dword [ebp - 0x14]
mov byte [edx], cl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x5310d5
mov ecx, dword [ebp - 0x2c]
sub ecx, 0x12
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x14]
mov byte [edx], 0
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x30], 0xff
jbe 0x5310c4
mov ecx, dword [ebp - 0x30]
sub ecx, 0xff
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x14]
mov byte [edx], 0
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x53109e
mov ecx, dword [ebp - 0x14]
mov dl, byte [ebp - 0x30]
mov byte [ecx], dl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
jne 0x5310d5
mov ecx, dword [ebp - 0x10]
add ecx, 3
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 3]
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp edx, eax
jne 0x5311a9
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 4]
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp edx, eax
jne 0x5311a9
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 5]
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp edx, eax
jne 0x5311a9
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 6]
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp edx, eax
jne 0x5311a9
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 7]
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp edx, eax
jne 0x5311a9
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 8]
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp edx, eax
je 0x531270
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x1c], 0x800
ja 0x531205
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x24]
sub edx, 1
shl edx, 5
mov eax, dword [ebp - 0x1c]
and eax, 7
shl eax, 2
or edx, eax
mov ecx, dword [ebp - 0x14]
mov byte [ecx], dl
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x1c]
shr eax, 3
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x53126b
cmp dword [ebp - 0x1c], 0x4000
ja 0x531235
mov eax, dword [ebp - 0x1c]
sub eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x24]
sub ecx, 2
or ecx, 0x20
mov edx, dword [ebp - 0x14]
mov byte [edx], cl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x531399
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x4000
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
and edx, 0x4000
shr edx, 0xb
or edx, 0x10
mov eax, dword [ebp - 0x24]
sub eax, 2
or edx, eax
mov ecx, dword [ebp - 0x14]
mov byte [ecx], dl
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x531399
jmp 0x5313c4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x20]
add ecx, 9
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x34]
jae 0x5312ab
mov eax, dword [ebp - 0x38]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
cmp ecx, eax
jne 0x5312ab
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
jmp 0x53127f
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x1c], 0x4000
ja 0x531304
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x24], 0x21
ja 0x5312e5
mov edx, dword [ebp - 0x24]
sub edx, 2
or edx, 0x20
mov eax, dword [ebp - 0x14]
mov byte [eax], dl
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x5312ff
mov edx, dword [ebp - 0x24]
sub edx, 0x21
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x14]
mov byte [eax], 0x20
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x531362
jmp 0x531399
mov edx, dword [ebp - 0x1c]
sub edx, 0x4000
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x24], 9
ja 0x53133c
mov eax, dword [ebp - 0x1c]
and eax, 0x4000
shr eax, 0xb
or eax, 0x10
mov ecx, dword [ebp - 0x24]
sub ecx, 2
or eax, ecx
mov edx, dword [ebp - 0x14]
mov byte [edx], al
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x531399
mov ecx, dword [ebp - 0x24]
sub ecx, 9
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x1c]
and edx, 0x4000
shr edx, 0xb
or edx, 0x10
mov eax, dword [ebp - 0x14]
mov byte [eax], dl
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x24], 0xff
jbe 0x531388
mov edx, dword [ebp - 0x24]
sub edx, 0xff
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x531362
mov edx, dword [ebp - 0x14]
mov al, byte [ebp - 0x24]
mov byte [edx], al
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x1c]
and edx, 0x3f
shl edx, 2
mov eax, dword [ebp - 0x14]
mov byte [eax], dl
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x1c]
shr edx, 6
mov eax, dword [ebp - 0x14]
mov byte [eax], dl
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jb 0x5313d4
jmp 0x5313d9
jmp 0x530ebd
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret