Function at 0x496000
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 0x496063
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 0x496045
jmp 0x4963bc
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 0x496045
jmp 0x49611f
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 0x49607b
jmp 0x49619a
cmp dword [ebp - 4], 0
jne 0x4960a8
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
jne 0x496098
add dword [ebp - 4], 0xff
inc dword [ebp - 8]
jmp 0x496081
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 0x49611f
cmp dword [ebp - 4], 4
jb 0x496106
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 0x4960c9
cmp dword [ebp - 4], 0
jbe 0x496104
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 0x4960eb
jmp 0x49611f
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 0x496106
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 0x496134
jmp 0x49619a
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 0x4963a6
cmp dword [ebp - 4], 0x40
jb 0x4961e7
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 0x49636d
cmp dword [ebp - 4], 0x20
jb 0x49623e
and dword [ebp - 4], 0x1f
jne 0x49621a
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
jne 0x49620a
add dword [ebp - 4], 0xff
inc dword [ebp - 8]
jmp 0x4961f3
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 0x496309
cmp dword [ebp - 4], 0x10
jb 0x4962b7
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 0x496289
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
jne 0x496279
add dword [ebp - 4], 0xff
inc dword [ebp - 8]
jmp 0x496262
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 0x4962ae
jmp 0x4963ec
sub dword [ebp - 0xc], 0x4000
jmp 0x496309
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 0x4963a6
cmp dword [ebp - 4], 6
jb 0x49636d
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
cmp eax, 4
jl 0x49636d
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 0x496330
cmp dword [ebp - 4], 0
jbe 0x49636b
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 0x496352
jmp 0x4963a6
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 0x49638d
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 0x4963bc
jmp 0x4963e7
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 0x4963bc
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
mov dword [ebp - 4], ecx
inc dword [ebp - 8]
jmp 0x49619a
jmp 0x496063
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x14], eax
je 0x4963fb
mov eax, 0xffffffff
jmp 0x496403
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp + 0x10]
jmp 0x496403
pop edi
pop esi
pop ebx
leave
ret 0xc