Function at 0x40eb80
Capabilities:
Decompress data using lzo

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp edx, 0x11
jle 0x40ebfb
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
sub ecx, 0x11
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x10], 4
jae 0x40ebcf
jmp 0x40f0aa
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
jne 0x40ebcf
jmp 0x40ed43
mov eax, 1
test eax, eax
je 0x40f12e
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], 0x10
jb 0x40ec25
jmp 0x40ede3
cmp dword [ebp - 0x10], 0
jne 0x40ec64
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
test edx, edx
jne 0x40ec4b
mov eax, dword [ebp - 0x10]
add eax, 0xff
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x40ec2b
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax + 0xf]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
add edx, 2
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
add eax, 3
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
je 0x40ed43
cmp dword [ebp - 0x10], 4
jb 0x40ed1c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 2
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
add ecx, 3
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
sub edx, 2
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 4
jae 0x40eca7
cmp dword [ebp - 0x10], 0
jbe 0x40ed1a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
jne 0x40ecf3
jmp 0x40ed43
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
jne 0x40ed1c
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x10], 0x10
jb 0x40ed60
jmp 0x40ede3
mov eax, dword [ebp - 0x14]
sub eax, 0x801
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
shr ecx, 2
mov edx, dword [ebp - 8]
sub edx, ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
shl ecx, 2
mov edx, dword [ebp - 8]
sub edx, ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x40f099
cmp dword [ebp - 0x10], 0x40
jb 0x40ee33
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
shr ecx, 2
and ecx, 7
mov edx, dword [ebp - 8]
sub edx, ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
shl ecx, 3
mov edx, dword [ebp - 8]
sub edx, ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
shr ecx, 5
sub ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x40f03a
cmp dword [ebp - 0x10], 0x20
jb 0x40eea6
mov edx, dword [ebp - 0x10]
and edx, 0x1f
mov dword [ebp - 0x10], edx
jne 0x40ee7e
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
test ecx, ecx
jne 0x40ee65
mov edx, dword [ebp - 0x10]
add edx, 0xff
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x40ee44
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x10]
lea ecx, [eax + edx + 0x1f]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
sar edx, 2
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [ebp - 0xc], ecx
jmp 0x40efa6
cmp dword [ebp - 0x10], 0x10
jb 0x40ef41
mov edx, dword [ebp - 0x14]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
and eax, 8
shl eax, 0xb
mov ecx, dword [ebp - 8]
sub ecx, eax
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
and edx, 7
mov dword [ebp - 0x10], edx
jne 0x40ef0c
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
test ecx, ecx
jne 0x40eef3
mov edx, dword [ebp - 0x10]
add edx, 0xff
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x40eed2
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x10]
lea ecx, [eax + edx + 7]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
sar ecx, 2
mov edx, dword [ebp - 8]
sub edx, ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add eax, 2
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x14]
jne 0x40ef33
jmp 0x40f12e
mov edx, dword [ebp - 8]
sub edx, 0x4000
mov dword [ebp - 8], edx
jmp 0x40efa6
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
shr ecx, 2
mov edx, dword [ebp - 8]
sub edx, ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
shl ecx, 2
mov edx, dword [ebp - 8]
sub edx, ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x40f099
cmp dword [ebp - 0x10], 6
jb 0x40f03a
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 8]
cmp ecx, 4
jl 0x40f03a
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 2
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 4
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 4
jae 0x40efe0
cmp dword [ebp - 0x10], 0
jbe 0x40f038
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
jne 0x40f011
jmp 0x40f099
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
jne 0x40f072
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax - 2]
and ecx, 3
mov dword [ebp - 0x10], ecx
jne 0x40f0aa
jmp 0x40f129
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], 1
jbe 0x40f10a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x10], 2
jbe 0x40f10a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, 1
test edx, edx
jne 0x40ede3
jmp 0x40ebfb
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 4]
jne 0x40f14a
mov dword [ebp - 0x18], 0
jmp 0x40f15b
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
sbb ecx, ecx
and ecx, 0xfffffffc
add ecx, 0xfffffffc
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret