Function at 0x1003e90c
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 eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax - 0xd]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 3]
shl eax, 6
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + 2]
xor eax, ecx
shl eax, 5
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + 1]
xor eax, ecx
shl eax, 5
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx]
xor eax, ecx
imul eax, eax, 0x21
shr eax, 5
and eax, 0x3fff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jb 0x1003e9a9
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
je 0x1003e9a9
cmp dword [ebp - 0x1c], 0xbfff
jbe 0x1003e9ae
jmp 0x1003ea4a
cmp dword [ebp - 0x1c], 0x800
jbe 0x1003e9c9
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 3]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + 3]
cmp eax, ecx
jne 0x1003e9cb
jmp 0x1003ea24
mov eax, dword [ebp - 0x28]
and eax, 0x7ff
xor eax, 0x201f
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jb 0x1003ea03
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
je 0x1003ea03
cmp dword [ebp - 0x1c], 0xbfff
jbe 0x1003ea05
jmp 0x1003ea4a
cmp dword [ebp - 0x1c], 0x800
jbe 0x1003ea20
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 3]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + 3]
cmp eax, ecx
jne 0x1003ea22
jmp 0x1003ea24
jmp 0x1003ea4a
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
mov ecx, dword [ebp - 0x10]
movzx ecx, word [ecx]
cmp eax, ecx
je 0x1003ea36
jmp 0x1003ea4a
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 2]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + 2]
cmp eax, ecx
jne 0x1003ea4a
jmp 0x1003ea6f
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]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jb 0x1003ea6a
jmp 0x1003ee0f
jmp 0x1003e949
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 0x1003eb3f
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
ja 0x1003eab2
mov eax, dword [ebp - 0x2c]
and eax, 0xff
movzx eax, al
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx - 2]
or ecx, eax
mov eax, dword [ebp - 0x14]
mov byte [eax - 2], cl
jmp 0x1003eb1e
cmp dword [ebp - 0x2c], 0x12
ja 0x1003ead1
mov eax, dword [ebp - 0x2c]
sub eax, 3
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1003eb1e
mov eax, dword [ebp - 0x2c]
sub eax, 0x12
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x30], 0xff
jbe 0x1003eb0a
mov eax, dword [ebp - 0x30]
sub eax, 0xff
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1003eae7
mov eax, dword [ebp - 0x30]
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov cl, byte [ecx]
mov byte [eax], cl
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
jne 0x1003eb1e
mov eax, dword [ebp - 0x10]
add eax, 3
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ecx + 3]
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
cmp ecx, eax
jne 0x1003ebdc
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ecx + 4]
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
cmp ecx, eax
jne 0x1003ebdc
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ecx + 5]
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
cmp ecx, eax
jne 0x1003ebdc
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ecx + 6]
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
cmp ecx, eax
jne 0x1003ebdc
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ecx + 7]
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
cmp ecx, eax
jne 0x1003ebdc
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ecx + 8]
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
cmp ecx, eax
je 0x1003eca3
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x1c], 0x800
ja 0x1003ec38
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
dec eax
shl eax, 5
mov ecx, dword [ebp - 0x1c]
and ecx, 7
shl ecx, 2
or eax, ecx
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
shr eax, 3
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1003ec9e
cmp dword [ebp - 0x1c], 0x4000
ja 0x1003ec68
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
dec eax
dec eax
or eax, 0x20
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1003edc9
mov eax, dword [ebp - 0x1c]
sub eax, 0x4000
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
and eax, 0x4000
shr eax, 0xb
or eax, 0x10
mov ecx, dword [ebp - 0x24]
dec ecx
dec ecx
or eax, ecx
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1003edc9
jmp 0x1003edfa
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
add eax, 9
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x34]
jae 0x1003ecda
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx]
cmp eax, ecx
jne 0x1003ecda
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x1003ecb2
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x1c], 0x4000
ja 0x1003ed31
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], 0x21
ja 0x1003ed14
mov eax, dword [ebp - 0x24]
dec eax
dec eax
or eax, 0x20
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1003ed2c
mov eax, dword [ebp - 0x24]
sub eax, 0x21
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov byte [eax], 0x20
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1003ed92
jmp 0x1003edc9
mov eax, dword [ebp - 0x1c]
sub eax, 0x4000
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], 9
ja 0x1003ed6a
mov eax, dword [ebp - 0x1c]
and eax, 0x4000
shr eax, 0xb
or eax, 0x10
mov ecx, dword [ebp - 0x24]
dec ecx
dec ecx
or eax, ecx
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1003edc9
mov eax, dword [ebp - 0x24]
sub eax, 9
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
and eax, 0x4000
shr eax, 0xb
or eax, 0x10
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x24], 0xff
jbe 0x1003edb5
mov eax, dword [ebp - 0x24]
sub eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1003ed92
mov eax, dword [ebp - 0x24]
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
shl eax, 2
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
shr eax, 6
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jb 0x1003ee0a
jmp 0x1003ee0f
jmp 0x1003e949
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc]
leave
ret