Function at 0x10035ef0
Capabilities:
Compress data using lzo

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx - 0xd]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
add edx, 4
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 3]
shl ecx, 6
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 2]
xor ecx, eax
shl ecx, 5
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 1]
xor ecx, eax
shl ecx, 5
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
xor ecx, eax
imul ecx, ecx, 0x21
shr ecx, 5
and ecx, 0x3fff
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp + 8]
jb 0x10035f8e
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
je 0x10035f8e
cmp dword [ebp - 0x1c], 0xbfff
jbe 0x10035f93
jmp 0x10036031
cmp dword [ebp - 0x1c], 0x800
jbe 0x10035fae
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 3]
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 3]
cmp ecx, eax
jne 0x10035fb0
jmp 0x1003600b
mov ecx, dword [ebp - 0x28]
and ecx, 0x7ff
xor ecx, 0x201f
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp + 8]
jb 0x10035fea
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
je 0x10035fea
cmp dword [ebp - 0x1c], 0xbfff
jbe 0x10035fec
jmp 0x10036031
cmp dword [ebp - 0x1c], 0x800
jbe 0x10036007
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 3]
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 3]
cmp edx, ecx
jne 0x10036009
jmp 0x1003600b
jmp 0x10036031
mov edx, dword [ebp - 0x20]
movzx eax, word [edx]
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
cmp eax, edx
je 0x1003601d
jmp 0x10036031
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 2]
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 2]
cmp ecx, eax
jne 0x10036031
jmp 0x10036058
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 4]
jb 0x10036053
jmp 0x10036451
jmp 0x10035f2d
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
je 0x1003613a
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 3
ja 0x1003609c
mov edx, dword [ebp - 0x2c]
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx - 2]
or edx, eax
mov eax, dword [ebp - 0x14]
mov byte [eax - 2], dl
jmp 0x10036113
cmp dword [ebp - 0x2c], 0x12
ja 0x100360be
mov ecx, dword [ebp - 0x2c]
sub ecx, 3
and ecx, 0xff
mov edx, dword [ebp - 0x14]
mov byte [edx], cl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x10036113
mov ecx, dword [ebp - 0x2c]
sub ecx, 0x12
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x14]
mov byte [edx], 0
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x30], 0xff
jbe 0x100360fc
mov ecx, dword [ebp - 0x30]
sub ecx, 0xff
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x14]
mov byte [edx], 0
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x100360d6
mov ecx, dword [ebp - 0x30]
and ecx, 0xff
mov edx, dword [ebp - 0x14]
mov byte [edx], cl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
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 - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
jne 0x10036113
mov ecx, dword [ebp - 0x10]
add ecx, 3
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 3]
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp edx, eax
jne 0x100361e7
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 4]
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp edx, eax
jne 0x100361e7
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 5]
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp edx, eax
jne 0x100361e7
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 6]
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp edx, eax
jne 0x100361e7
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 7]
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp edx, eax
jne 0x100361e7
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 8]
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp edx, eax
je 0x100362c5
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x1c], 0x800
ja 0x1003624e
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x24]
sub edx, 1
shl edx, 5
mov eax, dword [ebp - 0x1c]
and eax, 7
shl eax, 2
or edx, eax
and edx, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], dl
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x1c]
shr eax, 3
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x100362c0
cmp dword [ebp - 0x1c], 0x4000
ja 0x10036284
mov eax, dword [ebp - 0x1c]
sub eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x24]
sub ecx, 2
or ecx, 0x20
and ecx, 0xff
mov edx, dword [ebp - 0x14]
mov byte [edx], cl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x10036405
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x4000
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
and edx, 0x4000
shr edx, 0xb
or edx, 0x10
mov eax, dword [ebp - 0x24]
sub eax, 2
or edx, eax
and edx, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], dl
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x10036405
jmp 0x1003643c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x20]
add ecx, 9
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x34]
jae 0x10036300
mov eax, dword [ebp - 0x38]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
cmp ecx, eax
jne 0x10036300
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
jmp 0x100362d4
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x1c], 0x4000
ja 0x1003635f
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x24], 0x21
ja 0x10036340
mov edx, dword [ebp - 0x24]
sub edx, 2
or edx, 0x20
and edx, 0xff
mov eax, dword [ebp - 0x14]
mov byte [eax], dl
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x1003635a
mov edx, dword [ebp - 0x24]
sub edx, 0x21
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x14]
mov byte [eax], 0x20
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x100363c8
jmp 0x10036405
mov edx, dword [ebp - 0x1c]
sub edx, 0x4000
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x24], 9
ja 0x1003639c
mov eax, dword [ebp - 0x1c]
and eax, 0x4000
shr eax, 0xb
or eax, 0x10
mov ecx, dword [ebp - 0x24]
sub ecx, 2
or eax, ecx
and eax, 0xff
mov edx, dword [ebp - 0x14]
mov byte [edx], al
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x10036405
mov ecx, dword [ebp - 0x24]
sub ecx, 9
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x1c]
and edx, 0x4000
shr edx, 0xb
or edx, 0x10
and edx, 0xff
mov eax, dword [ebp - 0x14]
mov byte [eax], dl
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x24], 0xff
jbe 0x100363ee
mov edx, dword [ebp - 0x24]
sub edx, 0xff
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x100363c8
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov eax, dword [ebp - 0x14]
mov byte [eax], dl
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x1c]
and edx, 0x3f
shl edx, 2
and edx, 0xff
mov eax, dword [ebp - 0x14]
mov byte [eax], dl
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x1c]
shr edx, 6
and edx, 0xff
mov eax, dword [ebp - 0x14]
mov byte [eax], dl
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jb 0x1003644c
jmp 0x10036451
jmp 0x10035f2d
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x14