Function at 0x418000
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 0x418063
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 0x418045
jmp 0x4183bc
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 0x418045
jmp 0x41811f
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 0x41807b
jmp 0x41819a
cmp dword [ebp - 4], 0
jne 0x4180a8
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
jne 0x418098
add dword [ebp - 4], 0xff
inc dword [ebp - 8]
jmp 0x418081
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 0x41811f
cmp dword [ebp - 4], 4
jb 0x418106
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 0x4180c9
cmp dword [ebp - 4], 0
jbe 0x418104
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 0x4180eb
jmp 0x41811f
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 0x418106
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 0x418134
jmp 0x41819a
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 0x4183a6
cmp dword [ebp - 4], 0x40
jb 0x4181e7
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 0x41836d
cmp dword [ebp - 4], 0x20
jb 0x41823e
and dword [ebp - 4], 0x1f
jne 0x41821a
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
jne 0x41820a
add dword [ebp - 4], 0xff
inc dword [ebp - 8]
jmp 0x4181f3
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 0x418309
cmp dword [ebp - 4], 0x10
jb 0x4182b7
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 0x418289
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
jne 0x418279
add dword [ebp - 4], 0xff
inc dword [ebp - 8]
jmp 0x418262
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 0x4182ae
jmp 0x4183ec
sub dword [ebp - 0xc], 0x4000
jmp 0x418309
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 0x4183a6
cmp dword [ebp - 4], 6
jb 0x41836d
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
cmp eax, 4
jl 0x41836d
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 0x418330
cmp dword [ebp - 4], 0
jbe 0x41836b
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 0x418352
jmp 0x4183a6
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 0x41838d
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 0x4183bc
jmp 0x4183e7
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 0x4183bc
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
mov dword [ebp - 4], ecx
inc dword [ebp - 8]
jmp 0x41819a
jmp 0x418063
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x14], eax
je 0x4183fb
mov eax, 0xffffffff
jmp 0x418403
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp + 0x10]
jmp 0x418403
pop edi
pop esi
pop ebx
leave
ret 0xc