Function at 0x10036a20
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 0x10036abe
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
je 0x10036abe
cmp dword [ebp - 0x1c], 0xbfff
jbe 0x10036ac3
jmp 0x10036b61
cmp dword [ebp - 0x1c], 0x800
jbe 0x10036ade
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 3]
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 3]
cmp ecx, eax
jne 0x10036ae0
jmp 0x10036b3b
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 0x10036b1a
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
je 0x10036b1a
cmp dword [ebp - 0x1c], 0xbfff
jbe 0x10036b1c
jmp 0x10036b61
cmp dword [ebp - 0x1c], 0x800
jbe 0x10036b37
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 3]
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 3]
cmp edx, ecx
jne 0x10036b39
jmp 0x10036b3b
jmp 0x10036b61
mov edx, dword [ebp - 0x20]
movzx eax, word [edx]
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
cmp eax, edx
je 0x10036b4d
jmp 0x10036b61
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 2]
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 2]
cmp ecx, eax
jne 0x10036b61
jmp 0x10036b88
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 0x10036b83
jmp 0x10036f81
jmp 0x10036a5d
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 0x10036c6a
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 3
ja 0x10036bcc
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 0x10036c43
cmp dword [ebp - 0x2c], 0x12
ja 0x10036bee
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 0x10036c43
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 0x10036c2c
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 0x10036c06
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 0x10036c43
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 0x10036d17
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 0x10036d17
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 0x10036d17
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 0x10036d17
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 0x10036d17
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 0x10036df5
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 0x10036d7e
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 0x10036df0
cmp dword [ebp - 0x1c], 0x4000
ja 0x10036db4
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 0x10036f35
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 0x10036f35
jmp 0x10036f6c
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 0x10036e30
mov eax, dword [ebp - 0x38]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
cmp ecx, eax
jne 0x10036e30
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 0x10036e04
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x1c], 0x4000
ja 0x10036e8f
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x24], 0x21
ja 0x10036e70
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 0x10036e8a
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 0x10036ef8
jmp 0x10036f35
mov edx, dword [ebp - 0x1c]
sub edx, 0x4000
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x24], 9
ja 0x10036ecc
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 0x10036f35
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 0x10036f1e
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 0x10036ef8
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 0x10036f7c
jmp 0x10036f81
jmp 0x10036a5d
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