Function at 0x10006530
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 0x100065e5
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
je 0x100065e5
cmp dword [ebp - 0x1c], 0xbfff
ja 0x100065e5
mov dword [ebp - 0x3c], 0
jmp 0x100065ec
mov dword [ebp - 0x3c], 1
cmp dword [ebp - 0x3c], 0
je 0x100065f7
jmp 0x100066b7
cmp dword [ebp - 0x1c], 0x800
jbe 0x10006612
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 3]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 3]
cmp eax, edx
jne 0x10006614
jmp 0x10006691
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 0x10006663
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
je 0x10006663
cmp dword [ebp - 0x1c], 0xbfff
ja 0x10006663
mov dword [ebp - 0x40], 0
jmp 0x1000666a
mov dword [ebp - 0x40], 1
cmp dword [ebp - 0x40], 0
je 0x10006672
jmp 0x100066b7
cmp dword [ebp - 0x1c], 0x800
jbe 0x1000668d
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 3]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 3]
cmp eax, edx
jne 0x1000668f
jmp 0x10006691
jmp 0x100066b7
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp ecx, eax
je 0x100066a3
jmp 0x100066b7
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 2]
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 2]
cmp edx, ecx
jne 0x100066b7
jmp 0x100066de
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 0x100066d9
jmp 0x10006a89
jmp 0x1000656d
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 0x100067ac
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 3
ja 0x1000671a
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 0x10006785
cmp dword [ebp - 0x2c], 0x12
ja 0x10006736
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 0x10006785
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 0x10006774
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 0x1000674e
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 0x10006785
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 0x10006859
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 0x10006859
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 0x10006859
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 0x10006859
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 0x10006859
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 0x10006920
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 0x100068b5
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 0x1000691b
cmp dword [ebp - 0x1c], 0x4000
ja 0x100068e5
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 0x10006a49
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 0x10006a49
jmp 0x10006a74
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 0x1000695b
mov eax, dword [ebp - 0x38]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
cmp ecx, eax
jne 0x1000695b
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 0x1000692f
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x1c], 0x4000
ja 0x100069b4
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x24], 0x21
ja 0x10006995
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 0x100069af
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 0x10006a12
jmp 0x10006a49
mov edx, dword [ebp - 0x1c]
sub edx, 0x4000
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x24], 9
ja 0x100069ec
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 0x10006a49
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 0x10006a38
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 0x10006a12
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 0x10006a84
jmp 0x10006a89
jmp 0x1000656d
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