Function at 0x497000
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 0x497063
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 0x497045
jmp 0x4973bc
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 0x497045
jmp 0x49711f
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 0x49707b
jmp 0x49719a
cmp dword [ebp - 4], 0
jne 0x4970a8
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
jne 0x497098
add dword [ebp - 4], 0xff
inc dword [ebp - 8]
jmp 0x497081
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 0x49711f
cmp dword [ebp - 4], 4
jb 0x497106
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 0x4970c9
cmp dword [ebp - 4], 0
jbe 0x497104
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 0x4970eb
jmp 0x49711f
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 0x497106
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 0x497134
jmp 0x49719a
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 0x4973a6
cmp dword [ebp - 4], 0x40
jb 0x4971e7
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 0x49736d
cmp dword [ebp - 4], 0x20
jb 0x49723e
and dword [ebp - 4], 0x1f
jne 0x49721a
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
jne 0x49720a
add dword [ebp - 4], 0xff
inc dword [ebp - 8]
jmp 0x4971f3
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 0x497309
cmp dword [ebp - 4], 0x10
jb 0x4972b7
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 0x497289
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
jne 0x497279
add dword [ebp - 4], 0xff
inc dword [ebp - 8]
jmp 0x497262
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 0x4972ae
jmp 0x4973ec
sub dword [ebp - 0xc], 0x4000
jmp 0x497309
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 0x4973a6
cmp dword [ebp - 4], 6
jb 0x49736d
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
cmp eax, 4
jl 0x49736d
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 0x497330
cmp dword [ebp - 4], 0
jbe 0x49736b
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 0x497352
jmp 0x4973a6
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 0x49738d
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 0x4973bc
jmp 0x4973e7
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 0x4973bc
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
mov dword [ebp - 4], ecx
inc dword [ebp - 8]
jmp 0x49719a
jmp 0x497063
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x14], eax
je 0x4973fb
mov eax, 0xffffffff
jmp 0x497403
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp + 0x10]
jmp 0x497403
pop edi
pop esi
pop ebx
leave
ret 0xc