Function at 0x10002758
Capabilities:
Decompress data using lzo

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
add eax, esi
push edi
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x14]
push 4
mov ecx, esi
and dword [eax], 0
mov dl, byte [esi]
mov eax, dword [ebp + 0x10]
cmp dl, 0x11
pop ebx
jbe 0x1000279a
movzx edi, dl
sub edi, 0x11
lea ecx, [esi + 1]
cmp edi, ebx
jb 0x10002834
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
dec edi
jne 0x1000278f
jmp 0x100027f6
movzx esi, byte [ecx]
inc ecx
cmp esi, 0x10
jae 0x10002854
test esi, esi
jne 0x100027c1
jmp 0x100027b4
add esi, 0xff
inc ecx
cmp byte [ecx], 0
je 0x100027ad
movzx edx, byte [ecx]
inc ecx
lea esi, [esi + edx + 0xf]
mov edx, dword [ecx]
add ecx, ebx
mov dword [eax], edx
add eax, ebx
dec esi
je 0x100027f6
cmp esi, ebx
jb 0x100027ed
mov edx, dword [ecx]
sub esi, ebx
mov dword [eax], edx
add eax, ebx
add ecx, ebx
cmp esi, ebx
jae 0x100027d0
test esi, esi
jbe 0x100027f6
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
dec esi
jne 0x100027e2
jmp 0x100027f6
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
dec esi
jne 0x100027ed
movzx esi, byte [ecx]
inc ecx
cmp esi, 0x10
jae 0x10002854
movzx edx, byte [ecx]
shr esi, 2
mov edi, eax
sub edi, esi
shl edx, 2
sub edi, edx
sub edi, 0x801
inc ecx
mov dl, byte [edi]
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 0x1000279a
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
cmp edi, 1
jbe 0x10002850
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
cmp edi, 2
jbe 0x10002850
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
movzx esi, byte [ecx]
inc ecx
cmp esi, 0x40
jb 0x1000288a
mov edx, esi
mov edi, eax
shr edx, 2
and edx, 7
sub edi, edx
movzx edx, 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
inc eax
inc edi
mov dl, byte [edi]
mov byte [eax], dl
inc eax
inc edi
mov dl, byte [edi]
mov byte [eax], dl
inc eax
inc edi
dec esi
jne 0x1000287f
jmp 0x10002826
cmp esi, 0x20
jb 0x100028b9
and esi, 0x1f
jne 0x100028aa
jmp 0x1000289d
add esi, 0xff
inc ecx
cmp byte [ecx], 0
je 0x10002896
movzx edx, byte [ecx]
inc ecx
lea esi, [esi + edx + 0x1f]
movzx edx, word [ecx]
shr edx, 2
mov edi, eax
sub edi, edx
dec edi
inc ecx
inc ecx
jmp 0x100028f9
cmp esi, 0x10
mov edi, eax
jb 0x1000293c
mov edx, esi
and edx, 8
shl edx, 0xb
sub edi, edx
and esi, 7
jne 0x100028e5
jmp 0x100028d8
add esi, 0xff
inc ecx
cmp byte [ecx], 0
je 0x100028d1
movzx edx, byte [ecx]
inc ecx
lea esi, [esi + edx + 7]
movzx edx, word [ecx]
shr edx, 2
sub edi, edx
inc ecx
inc ecx
cmp edi, eax
je 0x10002950
sub edi, 0x4000
cmp esi, 6
jb 0x10002873
mov edx, eax
sub edx, edi
cmp edx, ebx
jl 0x10002873
mov edx, dword [edi]
add edi, ebx
mov dword [eax], edx
add eax, ebx
dec esi
dec esi
mov edx, dword [edi]
sub esi, ebx
mov dword [eax], edx
add eax, ebx
add edi, ebx
cmp esi, ebx
jae 0x10002918
test esi, esi
jbe 0x10002826
mov dl, byte [edi]
mov byte [eax], dl
inc eax
inc edi
dec esi
jne 0x1000292e
jmp 0x10002826
movzx edx, byte [ecx]
shr esi, 2
sub edi, esi
shl edx, 2
sub edi, edx
dec edi
inc ecx
jmp 0x1000281b
sub eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
pop edi
pop esi
mov dword [edx], eax
mov eax, ecx
sub eax, dword [ebp + 8]
cmp ecx, dword [ebp + 8]
pop ebx
sbb ecx, ecx
and ecx, 0xfffffffc
add ecx, 0xfffffffc
neg eax
sbb eax, eax
and eax, ecx
pop ebp
ret