Function at 0x10006c30
Capabilities:
Decompress data using lzo

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, dword [esp + 0x10]
mov dword [ebx], 0
push edi
mov dl, byte [esi]
lea ebp, [esi + eax]
mov eax, dword [esp + 0x1c]
cmp dl, 0x11
mov ecx, esi
jbe 0x10006c78
and edx, 0xff
lea ecx, [esi + 1]
sub edx, 0x11
mov edi, edx
cmp edi, 4
jb 0x10006d2a
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
dec edi
jne 0x10006c6d
jmp 0x10006ce4
xor edx, edx
mov dl, byte [ecx]
inc ecx
mov esi, edx
cmp esi, 0x10
jae 0x10006d4d
test esi, esi
jne 0x10006ca8
cmp byte [ecx], 0
jne 0x10006c9f
mov dl, byte [ecx + 1]
add esi, 0xff
inc ecx
test dl, dl
je 0x10006c91
xor edx, edx
mov dl, byte [ecx]
inc ecx
lea esi, [esi + edx + 0xf]
mov edx, dword [ecx]
mov dword [eax], edx
add eax, 4
add ecx, 4
dec esi
je 0x10006ce4
cmp esi, 4
jb 0x10006cdb
mov edx, dword [ecx]
mov dword [eax], edx
sub esi, 4
add eax, 4
add ecx, 4
cmp esi, 4
jae 0x10006cba
test esi, esi
jbe 0x10006ce4
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
dec esi
jne 0x10006cd0
jmp 0x10006ce4
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
dec esi
jne 0x10006cdb
xor edx, edx
mov dl, byte [ecx]
inc ecx
mov esi, edx
cmp esi, 0x10
jae 0x10006d4d
xor edx, edx
mov edi, eax
mov dl, byte [ecx]
shr esi, 2
sub edi, esi
shl edx, 2
sub edi, edx
mov dl, byte [edi - 0x801]
sub edi, 0x801
inc ecx
mov byte [eax], dl
inc eax
inc edi
mov dl, byte [edi]
mov byte [eax], dl
mov dl, byte [edi + 1]
inc eax
mov byte [eax], dl
inc eax
mov dl, byte [ecx - 2]
and edx, 3
mov edi, edx
je 0x10006c78
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
cmp edi, 1
jbe 0x10006d46
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
cmp edi, 2
jbe 0x10006d46
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
xor edx, edx
mov dl, byte [ecx]
inc ecx
mov esi, edx
cmp esi, 0x40
jb 0x10006d85
mov edx, esi
mov edi, eax
shr edx, 2
and edx, 7
sub edi, edx
xor edx, edx
mov dl, byte [ecx]
shl edx, 3
sub edi, edx
dec edi
inc ecx
shr esi, 5
dec esi
mov dl, byte [edi]
mov byte [eax], dl
mov dl, byte [edi + 1]
inc eax
inc edi
mov byte [eax], dl
inc eax
inc edi
mov dl, byte [edi]
mov byte [eax], dl
inc eax
inc edi
dec esi
jne 0x10006d7a
jmp 0x10006d1c
cmp esi, 0x20
jb 0x10006dc1
and esi, 0x1f
jne 0x10006dab
cmp byte [ecx], 0
jne 0x10006da2
mov dl, byte [ecx + 1]
add esi, 0xff
inc ecx
test dl, dl
je 0x10006d94
xor edx, edx
mov dl, byte [ecx]
inc ecx
lea esi, [esi + edx + 0x1f]
lea edi, [eax - 1]
mov dx, word [ecx]
and edx, 0xffff
shr edx, 2
sub edi, edx
add ecx, 2
jmp 0x10006e12
cmp esi, 0x10
jb 0x10006e5d
mov edx, esi
mov edi, eax
and edx, 8
shl edx, 0xb
sub edi, edx
and esi, 7
jne 0x10006df7
cmp byte [ecx], 0
jne 0x10006dee
mov dl, byte [ecx + 1]
add esi, 0xff
inc ecx
test dl, dl
je 0x10006de0
xor edx, edx
mov dl, byte [ecx]
inc ecx
lea esi, [esi + edx + 7]
mov dx, word [ecx]
and edx, 0xffff
shr edx, 2
sub edi, edx
add ecx, 2
cmp edi, eax
je 0x10006e74
sub edi, 0x4000
cmp esi, 6
jb 0x10006d6d
mov edx, eax
sub edx, edi
cmp edx, 4
jl 0x10006d6d
mov edx, dword [edi]
mov dword [eax], edx
add eax, 4
add edi, 4
sub esi, 2
mov edx, dword [edi]
mov dword [eax], edx
sub esi, 4
add eax, 4
add edi, 4
cmp esi, 4
jae 0x10006e35
test esi, esi
jbe 0x10006d1c
mov dl, byte [edi]
mov byte [eax], dl
inc eax
inc edi
dec esi
jne 0x10006e4f
jmp 0x10006d1c
xor edx, edx
mov edi, eax
mov dl, byte [ecx]
shr esi, 2
sub edi, esi
shl edx, 2
sub edi, edx
dec edi
inc ecx
jmp 0x10006d11
mov edx, dword [esp + 0x1c]
sub eax, edx
cmp ecx, ebp
mov dword [ebx], eax
jne 0x10006e87
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
sbb eax, eax
pop edi
and al, 0xfc
pop esi
pop ebp
add eax, 0xfffffffc
pop ebx
ret