Function at 0x410467
Capabilities:
Decompress data using lzo

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov dl, byte [esi]
add eax, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [eax], 0
mov eax, dword [ebp + 8]
push edi
push 4
pop ebx
cmp dl, 0x11
jbe 0x4104a4
movzx edi, dl
sub edi, 0x11
lea ecx, [esi + 1]
cmp edi, ebx
jb 0x41053d
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
dec edi
jne 0x410499
jmp 0x410500
movzx esi, byte [ecx]
inc ecx
cmp esi, 0x10
jae 0x41055d
test esi, esi
jne 0x4104cb
jmp 0x4104be
add esi, 0xff
inc ecx
cmp byte [ecx], 0
je 0x4104b7
movzx edx, byte [ecx]
lea esi, [esi + edx + 0xf]
inc ecx
mov edx, dword [ecx]
mov dword [eax], edx
add eax, ebx
add ecx, ebx
dec esi
je 0x410500
cmp esi, ebx
jb 0x4104f7
mov edx, dword [ecx]
mov dword [eax], edx
sub esi, ebx
add eax, ebx
add ecx, ebx
cmp esi, ebx
jae 0x4104da
test esi, esi
jbe 0x410500
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
dec esi
jne 0x4104ec
jmp 0x410500
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
dec esi
jne 0x4104f7
movzx esi, byte [ecx]
inc ecx
cmp esi, 0x10
jae 0x41055d
movzx edx, byte [ecx]
shr esi, 2
shl edx, 2
mov edi, eax
sub edi, esi
sub edi, edx
sub edi, 0x801
mov dl, byte [edi]
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
movzx edi, byte [ecx - 2]
and edi, 3
je 0x4104a4
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
cmp edi, 1
jbe 0x410559
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
cmp edi, 2
jbe 0x410559
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
movzx esi, byte [ecx]
inc ecx
cmp esi, 0x40
jb 0x410593
mov edx, esi
shr edx, 2
and edx, 7
mov edi, eax
sub edi, edx
movzx edx, byte [ecx]
shl edx, 3
sub edi, edx
dec edi
shr esi, 5
inc ecx
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 0x410588
jmp 0x410530
cmp esi, 0x20
jb 0x4105c2
and esi, 0x1f
jne 0x4105b3
jmp 0x4105a6
add esi, 0xff
inc ecx
cmp byte [ecx], 0
je 0x41059f
movzx edx, byte [ecx]
lea esi, [esi + edx + 0x1f]
inc ecx
movzx edx, word [ecx]
shr edx, 2
mov edi, eax
sub edi, edx
dec edi
inc ecx
inc ecx
jmp 0x410602
mov edi, eax
cmp esi, 0x10
jb 0x410645
mov edx, esi
and edx, 8
shl edx, 0xb
sub edi, edx
and esi, 7
jne 0x4105ee
jmp 0x4105e1
add esi, 0xff
inc ecx
cmp byte [ecx], 0
je 0x4105da
movzx edx, byte [ecx]
lea esi, [esi + edx + 7]
inc ecx
movzx edx, word [ecx]
shr edx, 2
sub edi, edx
inc ecx
inc ecx
cmp edi, eax
je 0x410659
sub edi, 0x4000
cmp esi, 6
jb 0x41057c
mov edx, eax
sub edx, edi
cmp edx, ebx
jl 0x41057c
mov edx, dword [edi]
mov dword [eax], edx
add eax, ebx
add edi, ebx
dec esi
dec esi
mov edx, dword [edi]
mov dword [eax], edx
sub esi, ebx
add eax, ebx
add edi, ebx
cmp esi, ebx
jae 0x410621
test esi, esi
jbe 0x410530
mov dl, byte [edi]
mov byte [eax], dl
inc eax
inc edi
dec esi
jne 0x410637
jmp 0x410530
movzx edx, byte [ecx]
shr esi, 2
sub edi, esi
shl edx, 2
sub edi, edx
dec edi
inc ecx
jmp 0x410525
sub eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, ecx
sub eax, dword [ebp - 4]
cmp ecx, dword [ebp - 4]
pop edi
sbb ecx, ecx
and ecx, 0xfffffffc
add ecx, 0xfffffffc
neg eax
sbb eax, eax
pop esi
and eax, ecx
pop ebx
leave
ret