Function at 0x460b80
Capabilities:
Decompress data using lzo

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
lea ebp, [eax + ecx]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov dword [ecx], 0
mov cl, byte [eax]
push esi
add edx, ebx
cmp cl, 0x11
push edi
mov dword [esp + 0x14], edx
mov esi, ebx
jbe 0x460be5
movzx ecx, cl
sub ecx, 0x11
inc eax
cmp ecx, 4
jb 0x460cf6
sub edx, ebx
cmp edx, ecx
jb 0x460f35
mov edx, ebp
sub edx, eax
lea edi, [ecx + 1]
cmp edx, edi
jb 0x460eff
mov dl, byte [eax]
mov byte [esi], dl
inc esi
inc eax
dec ecx
jne 0x460bd7
jmp 0x460c8a
cmp eax, ebp
jae 0x460f59
movzx ecx, byte [eax]
inc eax
cmp ecx, 0x10
jae 0x460d37
test ecx, ecx
jne 0x460c31
mov edi, ebp
sub edi, eax
cmp edi, 1
jb 0x460eff
cmp byte [eax], cl
jne 0x460c29
nop
add ecx, 0xff
inc eax
mov edi, ebp
sub edi, eax
cmp edi, 1
jb 0x460eff
cmp byte [eax], 0
je 0x460c10
movzx edi, byte [eax]
lea ecx, [ecx + edi + 0xf]
inc eax
sub edx, esi
lea edi, [ecx + 3]
cmp edx, edi
jb 0x460f35
mov edx, ebp
sub edx, eax
lea edi, [ecx + 4]
cmp edx, edi
jb 0x460eff
mov edx, dword [eax]
mov dword [esi], edx
add esi, 4
add eax, 4
dec ecx
je 0x460c8a
cmp ecx, 4
jb 0x460c81
nop
mov edx, dword [eax]
mov dword [esi], edx
sub ecx, 4
add esi, 4
add eax, 4
cmp ecx, 4
jae 0x460c60
test ecx, ecx
jbe 0x460c8a
mov dl, byte [eax]
mov byte [esi], dl
inc esi
inc eax
dec ecx
jne 0x460c76
jmp 0x460c8a
mov dl, byte [eax]
mov byte [esi], dl
inc esi
inc eax
dec ecx
jne 0x460c81
movzx ecx, byte [eax]
inc eax
cmp ecx, 0x10
jae 0x460d37
movzx edi, byte [eax]
shl edi, 2
mov edx, esi
sub edx, edi
shr ecx, 2
sub edx, ecx
sub edx, 0x801
inc eax
cmp edx, ebx
jb 0x460f47
cmp edx, esi
jae 0x460f47
mov ecx, dword [esp + 0x14]
sub ecx, esi
cmp ecx, 3
jb 0x460f35
mov cl, byte [edx]
mov byte [esi], cl
mov cl, byte [edx + 1]
inc esi
inc edx
mov byte [esi], cl
mov dl, byte [edx + 1]
inc esi
mov byte [esi], dl
inc esi
jmp 0x460ce4
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov cl, byte [eax - 2]
and ecx, 3
je 0x460be5
sub edx, esi
cmp edx, ecx
jb 0x460f35
mov edx, ebp
sub edx, eax
lea edi, [ecx + 1]
cmp edx, edi
jb 0x460eff
mov dl, byte [eax]
mov byte [esi], dl
inc esi
inc eax
cmp ecx, 1
jbe 0x460d2b
mov dl, byte [eax]
mov byte [esi], dl
inc esi
inc eax
cmp ecx, 2
jbe 0x460d2b
mov cl, byte [eax]
mov byte [esi], cl
inc esi
inc eax
movzx ecx, byte [eax]
inc eax
cmp eax, ebp
jae 0x460ef6
cmp ecx, 0x40
jb 0x460d92
mov edx, ecx
shr edx, 2
and edx, 7
mov edi, esi
sub edi, edx
movzx edx, byte [eax]
shl edx, 3
sub edi, edx
dec edi
shr ecx, 5
inc eax
dec ecx
cmp edi, ebx
jb 0x460f47
cmp edi, esi
jae 0x460f47
mov edx, dword [esp + 0x14]
sub edx, esi
lea ebx, [ecx + 2]
cmp edx, ebx
jb 0x460f31
mov dl, byte [edi]
mov byte [esi], dl
mov dl, byte [edi + 1]
inc esi
inc edi
mov byte [esi], dl
inc esi
inc edi
mov dl, byte [edi]
mov byte [esi], dl
inc esi
inc edi
dec ecx
jne 0x460d84
jmp 0x460ce0
cmp ecx, 0x20
jb 0x460de1
and ecx, 0x1f
jne 0x460dd1
mov edx, ebp
sub edx, eax
cmp edx, 1
jb 0x460eff
cmp byte [eax], 0
jne 0x460dc9
mov edi, edi
add ecx, 0xff
inc eax
mov edx, ebp
sub edx, eax
cmp edx, 1
jb 0x460eff
cmp byte [eax], 0
je 0x460db0
movzx edx, byte [eax]
lea ecx, [ecx + edx + 0x1f]
inc eax
movzx edx, word [eax]
shr edx, 2
mov edi, esi
sub edi, edx
dec edi
add eax, 2
jmp 0x460e4a
cmp ecx, 0x10
jb 0x460ebe
mov edx, ecx
and edx, 8
shl edx, 0xb
mov edi, esi
sub edi, edx
and ecx, 7
jne 0x460e31
mov edx, ebp
sub edx, eax
cmp edx, 1
jb 0x460eff
cmp byte [eax], 0
jne 0x460e29
lea ecx, [ecx]
add ecx, 0xff
inc eax
mov edx, ebp
sub edx, eax
cmp edx, 1
jb 0x460eff
cmp byte [eax], 0
je 0x460e10
movzx edx, byte [eax]
lea ecx, [ecx + edx + 7]
inc eax
movzx edx, word [eax]
shr edx, 2
sub edi, edx
add eax, 2
cmp edi, esi
je 0x460f11
sub edi, 0x4000
cmp edi, ebx
jb 0x460f47
cmp edi, esi
jae 0x460f47
mov edx, dword [esp + 0x14]
sub edx, esi
lea ebx, [ecx + 2]
cmp edx, ebx
jb 0x460f31
cmp ecx, 6
jb 0x460d77
mov edx, esi
sub edx, edi
cmp edx, 4
jl 0x460d77
mov edx, dword [edi]
mov dword [esi], edx
add esi, 4
add edi, 4
sub ecx, 2
mov edi, edi
mov edx, dword [edi]
mov dword [esi], edx
sub ecx, 4
add esi, 4
add edi, 4
cmp ecx, 4
jae 0x460e90
test ecx, ecx
jbe 0x460ce0
lea ebx, [ebx]
mov dl, byte [edi]
mov byte [esi], dl
inc esi
inc edi
dec ecx
jne 0x460eb0
jmp 0x460ce0
movzx edi, byte [eax]
shl edi, 2
shr ecx, 2
mov edx, esi
sub edx, edi
sub edx, ecx
dec edx
inc eax
cmp edx, ebx
jb 0x460f47
cmp edx, esi
jae 0x460f47
mov ecx, dword [esp + 0x14]
sub ecx, esi
cmp ecx, 2
jb 0x460f35
mov cl, byte [edx]
mov byte [esi], cl
mov dl, byte [edx + 1]
inc esi
mov byte [esi], dl
inc esi
jmp 0x460ce4
mov edx, dword [esp + 0x14]
jmp 0x460be5
mov eax, dword [esp + 0x20]
sub esi, ebx
pop edi
mov dword [eax], esi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
ret
mov ecx, dword [esp + 0x20]
sub esi, ebx
cmp eax, ebp
mov dword [ecx], esi
jne 0x460f24
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
sbb eax, eax
pop esi
and eax, 0xfffffffc
pop ebp
add eax, 0xfffffffc
pop ebx
ret
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub esi, ebx
pop edi
mov dword [edx], esi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
ret
mov eax, dword [esp + 0x20]
sub esi, ebx
pop edi
mov dword [eax], esi
pop esi
pop ebp
mov eax, 0xfffffffa
pop ebx
ret
mov ecx, dword [esp + 0x20]
sub esi, ebx
pop edi
mov dword [ecx], esi
pop esi
pop ebp
mov eax, 0xfffffff9
pop ebx
ret