Function at 0x5d3530
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 0x5d35ab
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 0x5d357f
jmp 0x5d3a2b
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 0x5d357f
jmp 0x5d36c6
mov eax, 1
test eax, eax
je 0x5d3aaf
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 0x5d35d5
jmp 0x5d3767
cmp dword [ebp - 0x10], 0
jne 0x5d3614
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
test edx, edx
jne 0x5d35fb
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 0x5d35db
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, 4
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
add edx, 4
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
je 0x5d36c6
cmp dword [ebp - 0x10], 4
jb 0x5d369f
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, 4
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
add edx, 4
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
sub eax, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jae 0x5d3645
cmp dword [ebp - 0x10], 0
jbe 0x5d369d
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
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
jne 0x5d3676
jmp 0x5d36c6
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
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
jne 0x5d369f
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 0x5d36e3
jmp 0x5d3767
mov ecx, dword [ebp - 0x14]
sub ecx, 0x801
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
shr edx, 2
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
shl edx, 2
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], 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
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
jmp 0x5d3a1a
cmp dword [ebp - 0x10], 0x40
jb 0x5d37b7
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
shr edx, 2
and edx, 7
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
shl edx, 3
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
shr edx, 5
sub edx, 1
mov dword [ebp - 0x10], edx
jmp 0x5d39bb
cmp dword [ebp - 0x10], 0x20
jb 0x5d3829
mov eax, dword [ebp - 0x10]
and eax, 0x1f
mov dword [ebp - 0x10], eax
jne 0x5d3801
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
test edx, edx
jne 0x5d37e8
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 0x5d37c8
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax + 0x1f]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
movzx eax, word [edx]
sar eax, 2
mov ecx, dword [ebp - 8]
sub ecx, eax
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
add edx, 2
mov dword [ebp - 0xc], edx
jmp 0x5d3927
cmp dword [ebp - 0x10], 0x10
jb 0x5d38c2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
and ecx, 8
shl ecx, 0xb
mov edx, dword [ebp - 8]
sub edx, ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
and eax, 7
mov dword [ebp - 0x10], eax
jne 0x5d388e
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
test edx, edx
jne 0x5d3875
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 0x5d3855
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax + 7]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], 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
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x14]
jne 0x5d38b5
jmp 0x5d3aaf
mov eax, dword [ebp - 8]
sub eax, 0x4000
mov dword [ebp - 8], eax
jmp 0x5d3927
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
shr edx, 2
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
shl edx, 2
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], 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
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
jmp 0x5d3a1a
cmp dword [ebp - 0x10], 6
jb 0x5d39bb
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 8]
cmp edx, 4
jl 0x5d39bb
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
sub edx, 2
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
sub edx, 4
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 4
jae 0x5d3961
cmp dword [ebp - 0x10], 0
jbe 0x5d39b9
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 0x5d3992
jmp 0x5d3a1a
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
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 - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
jne 0x5d39f3
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx - 2]
and edx, 3
mov dword [ebp - 0x10], edx
jne 0x5d3a2b
jmp 0x5d3aaa
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
cmp dword [ebp - 0x10], 1
jbe 0x5d3a8b
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], 2
jbe 0x5d3a8b
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
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
mov eax, 1
test eax, eax
jne 0x5d3767
jmp 0x5d35ab
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jne 0x5d3acb
mov dword [ebp - 0x18], 0
jmp 0x5d3adc
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 4]
sbb edx, edx
and edx, 0xfffffffc
add edx, 0xfffffffc
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret