Function at 0x1001c0c7
Capabilities:
Compress data using lzo

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax - 0xd]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
xor eax, eax
inc eax
shl eax, 1
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + eax + 1]
shl eax, 6
xor ecx, ecx
inc ecx
shl ecx, 0
mov edx, dword [ebp - 8]
movzx ecx, byte [edx + ecx + 1]
xor eax, ecx
shl eax, 5
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 8]
movzx ecx, byte [edx + ecx + 1]
xor eax, ecx
shl eax, 5
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 8]
movzx ecx, byte [edx + ecx]
xor eax, ecx
imul eax, eax, 0x21
shr eax, 5
and eax, 0x3fff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jb 0x1001c17f
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
je 0x1001c17f
cmp dword [ebp - 0xc], 0xbfff
jbe 0x1001c184
jmp 0x1001c245
cmp dword [ebp - 0xc], 0x800
jbe 0x1001c1ab
xor eax, eax
inc eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + eax]
xor ecx, ecx
inc ecx
imul ecx, ecx, 3
mov edx, dword [ebp - 8]
movzx ecx, byte [edx + ecx]
cmp eax, ecx
jne 0x1001c1ad
jmp 0x1001c215
lfence
mov eax, dword [ebp - 0x20]
and eax, 0x7ff
xor eax, 0x201f
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jb 0x1001c1e8
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
je 0x1001c1e8
cmp dword [ebp - 0xc], 0xbfff
jbe 0x1001c1ea
jmp 0x1001c245
cmp dword [ebp - 0xc], 0x800
jbe 0x1001c211
xor eax, eax
inc eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + eax]
xor ecx, ecx
inc ecx
imul ecx, ecx, 3
mov edx, dword [ebp - 8]
movzx ecx, byte [edx + ecx]
cmp eax, ecx
jne 0x1001c213
jmp 0x1001c215
jmp 0x1001c245
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
mov ecx, dword [ebp - 8]
movzx ecx, word [ecx]
cmp eax, ecx
je 0x1001c227
jmp 0x1001c245
xor eax, eax
inc eax
shl eax, 1
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + eax]
xor ecx, ecx
inc ecx
shl ecx, 1
mov edx, dword [ebp - 8]
movzx ecx, byte [edx + ecx]
cmp eax, ecx
jne 0x1001c245
jmp 0x1001c26a
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x30]
jb 0x1001c265
jmp 0x1001c67f
jmp 0x1001c104
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x18]
je 0x1001c347
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
ja 0x1001c2ba
xor eax, eax
inc eax
imul eax, eax, 0xfffffffe
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
movzx ecx, cl
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax]
or eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0xfffffffe
mov edx, dword [ebp - 4]
mov byte [edx + ecx], al
jmp 0x1001c326
cmp dword [ebp - 0x1c], 0x12
ja 0x1001c2d9
mov eax, dword [ebp - 0x1c]
sub eax, 3
and eax, 0xff
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
jmp 0x1001c326
mov eax, dword [ebp - 0x1c]
sub eax, 0x12
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x28], 0xff
jbe 0x1001c312
mov eax, dword [ebp - 0x28]
sub eax, 0xff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
jmp 0x1001c2ef
mov eax, dword [ebp - 0x28]
and eax, 0xff
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx]
mov byte [eax], cl
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
jne 0x1001c326
mov eax, dword [ebp - 8]
add eax, 3
mov dword [ebp - 8], eax
xor eax, eax
inc eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x3c]
jne 0x1001c44c
xor eax, eax
inc eax
shl eax, 2
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + eax]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x44]
jne 0x1001c44c
xor eax, eax
inc eax
imul eax, eax, 5
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + eax]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x4c]
jne 0x1001c44c
xor eax, eax
inc eax
imul eax, eax, 6
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x54]
jne 0x1001c44c
xor eax, eax
inc eax
imul eax, eax, 7
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x5c]
jne 0x1001c44c
xor eax, eax
inc eax
shl eax, 3
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x64]
je 0x1001c513
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0xc], 0x800
ja 0x1001c4a8
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
dec eax
shl eax, 5
mov ecx, dword [ebp - 0xc]
and ecx, 7
shl ecx, 2
or eax, ecx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
shr eax, 3
and eax, 0xff
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
jmp 0x1001c50e
cmp dword [ebp - 0xc], 0x4000
ja 0x1001c4d8
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
dec eax
dec eax
or eax, 0x20
and eax, 0xff
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
jmp 0x1001c639
mov eax, dword [ebp - 0xc]
sub eax, 0x4000
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
and eax, 0x4000
shr eax, 0xb
or eax, 0x10
mov ecx, dword [ebp - 0x14]
dec ecx
dec ecx
or eax, ecx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
jmp 0x1001c639
jmp 0x1001c66a
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x10]
add eax, 9
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x68]
jae 0x1001c54a
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx]
cmp eax, ecx
jne 0x1001c54a
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
jmp 0x1001c522
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0xc], 0x4000
ja 0x1001c5a1
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 0x21
ja 0x1001c584
mov eax, dword [ebp - 0x14]
dec eax
dec eax
or eax, 0x20
and eax, 0xff
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
jmp 0x1001c59c
mov eax, dword [ebp - 0x14]
sub eax, 0x21
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov byte [eax], 0x20
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
jmp 0x1001c602
jmp 0x1001c639
mov eax, dword [ebp - 0xc]
sub eax, 0x4000
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 9
ja 0x1001c5da
mov eax, dword [ebp - 0xc]
and eax, 0x4000
shr eax, 0xb
or eax, 0x10
mov ecx, dword [ebp - 0x14]
dec ecx
dec ecx
or eax, ecx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
jmp 0x1001c639
mov eax, dword [ebp - 0x14]
sub eax, 9
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
and eax, 0x4000
shr eax, 0xb
or eax, 0x10
and eax, 0xff
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], 0xff
jbe 0x1001c625
mov eax, dword [ebp - 0x14]
sub eax, 0xff
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
jmp 0x1001c602
mov eax, dword [ebp - 0x14]
and eax, 0xff
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
and eax, 0x3f
shl eax, 2
and eax, 0xff
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
shr eax, 6
and eax, 0xff
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x30]
jb 0x1001c67a
jmp 0x1001c67f
jmp 0x1001c104
mov eax, dword [ebp - 4]
sub eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x18]
leave
ret