Function at 0x401030
Capabilities:
Decompress data using lzo

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
cmp ecx, 0x11
jle 0x4010db
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
sub eax, 0x11
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x14], 4
jae 0x40108a
jmp 0x40169d
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jae 0x40109a
jmp 0x4017a4
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
add ecx, 1
cmp eax, ecx
jae 0x4010af
jmp 0x401792
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jne 0x4010af
jmp 0x40124d
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 4]
jae 0x40174e
mov eax, 1
test eax, eax
je 0x40174e
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x14], 0x10
jb 0x401111
jmp 0x401313
cmp dword [ebp - 0x14], 0
jne 0x401171
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x10]
cmp ecx, 1
jae 0x401127
jmp 0x401792
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
test eax, eax
jne 0x401158
mov ecx, dword [ebp - 0x14]
add ecx, 0xff
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x10]
cmp eax, 1
jae 0x401156
jmp 0x401792
jmp 0x401127
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x14]
lea ecx, [eax + edx + 0xf]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
add ecx, 3
cmp eax, ecx
jae 0x401186
jmp 0x4017a4
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add eax, 4
cmp edx, eax
jae 0x40119b
jmp 0x401792
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
add edx, 4
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
je 0x40124d
cmp dword [ebp - 0x14], 4
jb 0x401226
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
add edx, 4
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
sub eax, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jae 0x4011cc
cmp dword [ebp - 0x14], 0
jbe 0x401224
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
jne 0x4011fd
jmp 0x40124d
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
jne 0x401226
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x14], 0x10
jb 0x40126a
jmp 0x401313
mov ecx, dword [ebp - 0x18]
sub ecx, 0x801
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
shr edx, 2
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
shl edx, 2
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x10]
jb 0x4012ae
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jb 0x4012b3
jmp 0x4017b6
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x18]
cmp ecx, 3
jae 0x4012c3
jmp 0x4017a4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x401689
cmp dword [ebp - 0x14], 0x40
jb 0x40138d
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
shr edx, 2
and edx, 7
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
shl edx, 3
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
shr edx, 5
sub edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jb 0x401369
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x18]
jb 0x40136e
jmp 0x4017b6
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 2
cmp edx, eax
jae 0x401383
jmp 0x4017a4
jmp 0x40162a
cmp dword [ebp - 0x14], 0x20
jb 0x401424
mov ecx, dword [ebp - 0x14]
and ecx, 0x1f
mov dword [ebp - 0x14], ecx
jne 0x4013fc
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
cmp edx, 1
jae 0x4013b2
jmp 0x401792
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
test ecx, ecx
jne 0x4013e3
mov edx, dword [ebp - 0x14]
add edx, 0xff
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x10]
cmp ecx, 1
jae 0x4013e1
jmp 0x401792
jmp 0x4013b2
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax + 0x1f]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
sar eax, 2
mov ecx, dword [ebp - 8]
sub ecx, eax
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
jmp 0x40156c
cmp dword [ebp - 0x14], 0x10
jb 0x4014e2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
and ecx, 8
shl ecx, 0xb
mov edx, dword [ebp - 8]
sub edx, ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
and eax, 7
mov dword [ebp - 0x14], eax
jne 0x4014aa
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x10]
cmp ecx, 1
jae 0x401460
jmp 0x401792
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
test eax, eax
jne 0x401491
mov ecx, dword [ebp - 0x14]
add ecx, 0xff
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x10]
cmp eax, 1
jae 0x40148f
jmp 0x401792
jmp 0x401460
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x14]
lea ecx, [eax + edx + 7]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
sar ecx, 2
mov edx, dword [ebp - 8]
sub edx, ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x18]
jne 0x4014d1
jmp 0x401760
mov edx, dword [ebp - 8]
sub edx, 0x4000
mov dword [ebp - 8], edx
jmp 0x40156c
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
shr ecx, 2
mov edx, dword [ebp - 8]
sub edx, ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
shl ecx, 2
mov edx, dword [ebp - 8]
sub edx, ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jb 0x401523
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x18]
jb 0x401528
jmp 0x4017b6
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x18]
cmp eax, 2
jae 0x401538
jmp 0x4017a4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x401689
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jb 0x40157c
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x18]
jb 0x401581
jmp 0x4017b6
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
add ecx, 2
cmp eax, ecx
jae 0x401596
jmp 0x4017a4
cmp dword [ebp - 0x14], 6
jb 0x40162a
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 8]
cmp edx, 4
jl 0x40162a
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
sub edx, 2
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
sub edx, 4
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 4
jae 0x4015d0
cmp dword [ebp - 0x14], 0
jbe 0x401628
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
jne 0x401601
jmp 0x401689
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
jne 0x401662
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx - 2]
and edx, 3
mov dword [ebp - 0x14], edx
jne 0x40169d
jmp 0x401749
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jae 0x4016ad
jmp 0x4017a4
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add edx, 1
cmp ecx, edx
jae 0x4016c2
jmp 0x401792
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x14], 1
jbe 0x401722
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x14], 2
jbe 0x401722
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jae 0x401749
mov ecx, 1
test ecx, ecx
jne 0x401313
jmp 0x4010db
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov eax, 0xfffffff9
jmp 0x4017c6
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jne 0x40177c
mov dword [ebp - 0x1c], 0
jmp 0x40178d
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 4]
sbb edx, edx
and edx, 0xfffffffc
add edx, 0xfffffffc
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
jmp 0x4017c6
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, 0xfffffffc
jmp 0x4017c6
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov eax, 0xfffffffb
jmp 0x4017c6
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov eax, 0xfffffffa
mov esp, ebp
pop ebp
ret