Function at 0x494000
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 0x494063
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 0x494045
jmp 0x4943bc
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 0x494045
jmp 0x49411f
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 0x49407b
jmp 0x49419a
cmp dword [ebp - 4], 0
jne 0x4940a8
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
jne 0x494098
add dword [ebp - 4], 0xff
inc dword [ebp - 8]
jmp 0x494081
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 0x49411f
cmp dword [ebp - 4], 4
jb 0x494106
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 0x4940c9
cmp dword [ebp - 4], 0
jbe 0x494104
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 0x4940eb
jmp 0x49411f
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 0x494106
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 0x494134
jmp 0x49419a
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 0x4943a6
cmp dword [ebp - 4], 0x40
jb 0x4941e7
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 0x49436d
cmp dword [ebp - 4], 0x20
jb 0x49423e
and dword [ebp - 4], 0x1f
jne 0x49421a
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
jne 0x49420a
add dword [ebp - 4], 0xff
inc dword [ebp - 8]
jmp 0x4941f3
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 0x494309
cmp dword [ebp - 4], 0x10
jb 0x4942b7
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 0x494289
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
jne 0x494279
add dword [ebp - 4], 0xff
inc dword [ebp - 8]
jmp 0x494262
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 0x4942ae
jmp 0x4943ec
sub dword [ebp - 0xc], 0x4000
jmp 0x494309
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 0x4943a6
cmp dword [ebp - 4], 6
jb 0x49436d
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
cmp eax, 4
jl 0x49436d
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 0x494330
cmp dword [ebp - 4], 0
jbe 0x49436b
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 0x494352
jmp 0x4943a6
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 0x49438d
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 0x4943bc
jmp 0x4943e7
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 0x4943bc
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
mov dword [ebp - 4], ecx
inc dword [ebp - 8]
jmp 0x49419a
jmp 0x494063
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x14], eax
je 0x4943fb
mov eax, 0xffffffff
jmp 0x494403
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp + 0x10]
jmp 0x494403
pop edi
pop esi
pop ebx
leave
ret 0xc