Function at 0x1002a5e2
Capabilities:
Decompress data using lzo

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x11
jle 0x1002a645
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
sub ecx, 0x11
mov dword [ebp - 4], ecx
inc dword [ebp - 8]
cmp dword [ebp - 4], 4
jae 0x1002a627
jmp 0x1002a99e
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov ecx, dword [ebp - 0x10]
mov byte [ecx], al
inc dword [ebp - 8]
inc dword [ebp - 0x10]
dec dword [ebp - 4]
cmp dword [ebp - 4], 0
ja 0x1002a627
jmp 0x1002a701
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
mov dword [ebp - 4], ecx
inc dword [ebp - 8]
cmp dword [ebp - 4], 0x10
jb 0x1002a65d
jmp 0x1002a77c
cmp dword [ebp - 4], 0
jne 0x1002a68a
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
jne 0x1002a67a
add dword [ebp - 4], 0xff
inc dword [ebp - 8]
jmp 0x1002a663
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
add ecx, 0xf
add dword [ebp - 4], ecx
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
add dword [ebp - 0x10], 4
add dword [ebp - 8], 4
dec dword [ebp - 4]
cmp dword [ebp - 4], 0
jbe 0x1002a701
cmp dword [ebp - 4], 4
jb 0x1002a6e8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
add dword [ebp - 0x10], 4
add dword [ebp - 8], 4
sub dword [ebp - 4], 4
cmp dword [ebp - 4], 4
jae 0x1002a6ab
cmp dword [ebp - 4], 0
jbe 0x1002a6e6
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov ecx, dword [ebp - 0x10]
mov byte [ecx], al
inc dword [ebp - 8]
inc dword [ebp - 0x10]
dec dword [ebp - 4]
cmp dword [ebp - 4], 0
ja 0x1002a6cd
jmp 0x1002a701
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov ecx, dword [ebp - 0x10]
mov byte [ecx], al
inc dword [ebp - 8]
inc dword [ebp - 0x10]
dec dword [ebp - 4]
cmp dword [ebp - 4], 0
ja 0x1002a6e8
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
mov dword [ebp - 4], ecx
inc dword [ebp - 8]
cmp dword [ebp - 4], 0x10
jb 0x1002a716
jmp 0x1002a77c
mov eax, dword [ebp - 0x10]
sub eax, 0x801
mov dword [ebp - 0xc], eax
xor eax, eax
mov ecx, dword [ebp - 4]
shr ecx, 2
sub eax, ecx
neg eax
sub dword [ebp - 0xc], eax
xor eax, eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
lea ecx, [edx*4]
sub eax, ecx
neg eax
sub dword [ebp - 0xc], eax
inc dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
mov ecx, dword [ebp - 0x10]
mov byte [ecx], al
inc dword [ebp - 0xc]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
mov ecx, dword [ebp - 0x10]
mov byte [ecx], al
inc dword [ebp - 0xc]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
mov ecx, dword [ebp - 0x10]
mov byte [ecx], al
inc dword [ebp - 0x10]
jmp 0x1002a988
cmp dword [ebp - 4], 0x40
jb 0x1002a7c9
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov ecx, dword [ebp - 4]
shr ecx, 2
and ecx, 7
sub eax, ecx
neg eax
sub dword [ebp - 0xc], eax
xor eax, eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
lea ecx, [edx*8]
sub eax, ecx
neg eax
sub dword [ebp - 0xc], eax
inc dword [ebp - 8]
mov eax, dword [ebp - 4]
shr eax, 5
dec eax
mov dword [ebp - 4], eax
jmp 0x1002a94f
cmp dword [ebp - 4], 0x20
jb 0x1002a820
and dword [ebp - 4], 0x1f
jne 0x1002a7fc
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
jne 0x1002a7ec
add dword [ebp - 4], 0xff
inc dword [ebp - 8]
jmp 0x1002a7d5
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
add ecx, 0x1f
add dword [ebp - 4], ecx
inc dword [ebp - 8]
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dx, word [ecx]
sar edx, 2
sub eax, edx
neg eax
sub dword [ebp - 0xc], eax
add dword [ebp - 8], 2
jmp 0x1002a8eb
cmp dword [ebp - 4], 0x10
jb 0x1002a899
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
xor eax, eax
mov ecx, dword [ebp - 4]
and ecx, 8
shl ecx, 0xb
sub eax, ecx
neg eax
sub dword [ebp - 0xc], eax
and dword [ebp - 4], 7
jne 0x1002a86b
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
jne 0x1002a85b
add dword [ebp - 4], 0xff
inc dword [ebp - 8]
jmp 0x1002a844
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
add ecx, 7
add dword [ebp - 4], ecx
inc dword [ebp - 8]
xor eax, eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dx, word [ecx]
sar edx, 2
sub eax, edx
neg eax
sub dword [ebp - 0xc], eax
add dword [ebp - 8], 2
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc], eax
jne 0x1002a890
jmp 0x1002a9ce
sub dword [ebp - 0xc], 0x4000
jmp 0x1002a8eb
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov ecx, dword [ebp - 4]
shr ecx, 2
sub eax, ecx
neg eax
sub dword [ebp - 0xc], eax
xor eax, eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
lea ecx, [edx*4]
sub eax, ecx
neg eax
sub dword [ebp - 0xc], eax
inc dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
mov ecx, dword [ebp - 0x10]
mov byte [ecx], al
inc dword [ebp - 0xc]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
mov ecx, dword [ebp - 0x10]
mov byte [ecx], al
inc dword [ebp - 0x10]
jmp 0x1002a988
cmp dword [ebp - 4], 6
jb 0x1002a94f
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
cmp eax, 4
jl 0x1002a94f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
add dword [ebp - 0x10], 4
add dword [ebp - 0xc], 4
sub dword [ebp - 4], 2
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
add dword [ebp - 0x10], 4
add dword [ebp - 0xc], 4
sub dword [ebp - 4], 4
cmp dword [ebp - 4], 4
jae 0x1002a912
cmp dword [ebp - 4], 0
jbe 0x1002a94d
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
mov ecx, dword [ebp - 0x10]
mov byte [ecx], al
inc dword [ebp - 0xc]
inc dword [ebp - 0x10]
dec dword [ebp - 4]
cmp dword [ebp - 4], 0
ja 0x1002a934
jmp 0x1002a988
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
mov ecx, dword [ebp - 0x10]
mov byte [ecx], al
inc dword [ebp - 0xc]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
mov ecx, dword [ebp - 0x10]
mov byte [ecx], al
inc dword [ebp - 0xc]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
mov ecx, dword [ebp - 0x10]
mov byte [ecx], al
inc dword [ebp - 0xc]
inc dword [ebp - 0x10]
dec dword [ebp - 4]
cmp dword [ebp - 4], 0
ja 0x1002a96f
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax - 2]
and ecx, 3
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x1002a99e
jmp 0x1002a9c9
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov ecx, dword [ebp - 0x10]
mov byte [ecx], al
inc dword [ebp - 8]
inc dword [ebp - 0x10]
dec dword [ebp - 4]
cmp dword [ebp - 4], 0
ja 0x1002a99e
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
mov dword [ebp - 4], ecx
inc dword [ebp - 8]
jmp 0x1002a77c
jmp 0x1002a645
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x14], eax
je 0x1002a9dd
mov eax, 0xffffffff
jmp 0x1002a9e5
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp + 0x10]
jmp 0x1002a9e5
pop edi
pop esi
pop ebx
leave
ret 0xc