Function at 0x100bce90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
mov esi, edx
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [0x10468558]
xor edx, edx
mov edi, dword [ebp + 8]
mov dword [esp + 0x1c], edi
mov edi, dword [eax + 0x1bec]
mov eax, dword [edi + 0xe8]
add edi, 0xe0
mov ecx, dword [edi]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x18]
call fcn.1016c3a0
mov ecx, dword [edi]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x100bcf39
inc ecx
test eax, eax
je 0x100bcf27
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x100bcf2c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100bca20
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], edx
inc dword [edi]
mov edi, dword [esp + 0x34]
test edi, edi
je 0x100bcf6a
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.101882a0
movss xmm1, dword [0x102145b8]
xorps xmm0, xmm0
call fcn.10177a40
mov eax, dword [esp + 0x1c]
movss xmm1, dword [esi]
movss xmm2, dword [esi + 4]
movss xmm3, dword [esi + 8]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
test eax, eax
je 0x100bcf96
movss xmm0, dword [eax]
jmp 0x100bcf9e
movss xmm0, dword [0x1021445c]
movss dword [esp + 0x40], xmm1
lea edx, [esp + 0x40]
movss xmm1, dword [esp + 0x38]
mov ecx, str.btn
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x34]
push 0x40040
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x4c], xmm3
call fcn.10196240
mov byte [esp + 0x13], al
call fcn.1017c5d0
test edi, edi
je 0x100bd06c
test al, al
je 0x100bd106
mov edi, dword [esp + 0x1c]
xor edx, edx
mov ecx, str._COL3F
call fcn.1017c650
test edi, edi
je 0x100bd02d
test eax, eax
je 0x100bd019
push 0xc
push dword [eax]
push esi
call fcn.101b6a90
add esp, 0xc
mov dword [edi], 0x3f800000
xor edx, edx
mov ecx, str._COL4F
call fcn.1017c650
test eax, eax
je 0x100bd05b
push 0x10
jmp 0x100bd050
test eax, eax
je 0x100bd03e
push 0xc
push dword [eax]
push esi
call fcn.101b6a90
add esp, 0xc
xor edx, edx
mov ecx, str._COL4F
call fcn.1017c650
test eax, eax
je 0x100bd05b
push 0xc
push dword [eax]
push esi
call fcn.101b6a90
add esp, 0xc
mov eax, dword [0x10468558]
mov byte [eax + 0x1e9e], 0
jmp 0x100bd106
test al, al
je 0x100bd0e9
mov edi, dword [esp + 0x1c]
xor edx, edx
mov ecx, str._COL3F
call fcn.1017c650
test edi, edi
je 0x100bd0af
test eax, eax
je 0x100bd09b
push 0xc
push dword [eax]
push esi
call fcn.101b6a90
add esp, 0xc
mov dword [edi], 0x3f800000
xor edx, edx
mov ecx, str._COL4F
call fcn.1017c650
test eax, eax
je 0x100bd0dd
push 0x10
jmp 0x100bd0d2
test eax, eax
je 0x100bd0c0
push 0xc
push dword [eax]
push esi
call fcn.101b6a90
add esp, 0xc
xor edx, edx
mov ecx, str._COL4F
call fcn.1017c650
test eax, eax
je 0x100bd0dd
push 0xc
push dword [eax]
push esi
call fcn.101b6a90
add esp, 0xc
mov eax, dword [0x10468558]
mov byte [eax + 0x1e9e], 0
movss xmm1, dword [0x102145b8]
xorps xmm0, xmm0
call fcn.10177a40
mov ecx, dword [esp + 0x14]
xor edx, edx
push 1
call fcn.10185bd0
cmp byte [esp + 0x13], 0
mov eax, dword [0x10240d90]
je 0x100bd344
cmp byte [0x102074af], 0
mov eax, dword [0x102074a8]
mov edx, dword [0x102074ac]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
je 0x100bd277
xor ecx, ecx
cmp dword [0x10240d90], 2
mov dword [esp + 0x14], ecx
jl 0x100bd240
movaps xmm2, xmmword [0x102149a0]
movaps xmm3, xmmword [0x10214e10]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10214a40]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x102149e0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214ac0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10214b20]
movd xmm0, eax
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x34], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10214a40]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214ac0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10214b20]
movd xmm0, edx
xorps xmm1, xmm0
movd dword [esp + 0x38], xmm1
jmp 0x100bd277
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [esp + 0x14]
shl cl, 3
sub al, cl
mov ecx, dword [esp + 0x14]
add al, 0x37
xor byte [esp + ecx + 0x34], al
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 8
jl 0x100bd240
xorps xmm0, xmm0
mov dword [esp + 0x70], 0
lea ecx, [esp + 0x34]
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x74], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bd296
sub ecx, edx
lea eax, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.10027870
mov eax, dword [0x10468558]
lea ecx, [esp + 0x60]
cmp dword [esp + 0x74], 0xf
mov edi, dword [esp + 0x60]
cmova ecx, edi
mov eax, dword [eax + 0x1bec]
mov edx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.1016c3a0
mov ecx, eax
mov eax, dword [0x10468558]
cmp dword [eax + 0x1c24], ecx
jne 0x100bd2f5
mov dword [eax + 0x1c28], ecx
cmp dword [eax + 0x1c5c], ecx
jne 0x100bd304
mov byte [eax + 0x1c60], 1
xor edx, edx
call fcn.101788d0
mov eax, dword [esp + 0x74]
cmp eax, 0xf
jbe 0x100bd33f
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100bd335
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bdaba
push ecx
push edi
call fcn.101b5563
add esp, 8
mov eax, dword [0x10240d90]
cmp byte [0x102074af], 0
mov edx, dword [0x102074a8]
mov edi, dword [0x102074ac]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edi
je 0x100bd4a7
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp eax, 2
jl 0x100bd470
movaps xmm2, xmmword [0x102149a0]
movaps xmm4, xmmword [0x10214e10]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
mov eax, dword [0x10214b20]
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10214a40]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x102149e0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, edx
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x34], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10214a40]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, edi
xorps xmm1, xmm0
movd dword [esp + 0x38], xmm1
jmp 0x100bd4a7
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [esp + 0x14]
shl cl, 3
sub al, cl
mov ecx, dword [esp + 0x14]
add al, 0x37
xor byte [esp + ecx + 0x34], al
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 8
jl 0x100bd470
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x34]
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x54], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bd4c6
sub ecx, edx
lea eax, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.10027870
cmp dword [esp + 0x54], 0xf
lea eax, [esp + 0x40]
mov edi, dword [0x10468558]
mov ecx, dword [esp + 0x40]
cmova eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x1d30]
cmp eax, dword [edi + 0x1d3c]
jg 0x100bd517
mov dword [edi + 0x1c74], 0
mov byte [esp + 0x13], 0
jmp 0x100bd569
mov eax, dword [edi + 0x1bec]
mov ecx, dword [esp + 0x34]
mov edx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.1016c3a0
cmp dword [edi + 0x1c24], eax
jne 0x100bd546
mov dword [edi + 0x1c28], eax
cmp dword [edi + 0x1c5c], eax
jne 0x100bd555
mov byte [edi + 0x1c60], 1
mov edx, 0x141
mov ecx, eax
call fcn.10178c10
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x54]
cmp eax, 0xf
jbe 0x100bd59d
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100bd593
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bdaba
push edx
push ecx
call fcn.101b5563
add esp, 8
cmp byte [esp + 0x13], 0
je 0x100bda93
mov edi, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x14], ecx
test edi, edi
je 0x100bd6f0
movss xmm0, dword [esi]
mov al, byte [0x102074b8]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 4]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 8]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x4c], xmm0
movq xmm0, qword [0x102074b0]
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x3c], al
nop dword [eax + eax]
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [esp + 0x14]
shl cl, 3
sub al, cl
mov ecx, dword [esp + 0x14]
add al, 0x37
xor byte [esp + ecx + 0x34], al
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 9
jl 0x100bd600
xorps xmm0, xmm0
mov dword [esp + 0x70], 0
lea ecx, [esp + 0x34]
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x74], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bd655
sub ecx, edx
lea eax, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.10027870
cmp dword [esp + 0x74], 0xf
lea ecx, [esp + 0x60]
push 0
cmova ecx, dword [esp + 0x64]
lea edx, [esp + 0x44]
push 0x450100
call fcn.101937b0
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x100bd6c1
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100bd6b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bdabf
push ecx
push edx
call fcn.101b5563
add esp, 8
movss xmm0, dword [esp + 0x40]
movss dword [esi], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esi + 4], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esi + 8], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [edi], xmm0
jmp 0x100bd818
movq xmm0, qword [0x102074b0]
mov al, byte [0x102074b8]
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x3c], al
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [esp + 0x14]
shl cl, 3
sub al, cl
mov ecx, dword [esp + 0x14]
add al, 0x37
xor byte [esp + ecx + 0x34], al
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 9
jl 0x100bd707
xorps xmm0, xmm0
mov dword [esp + 0x70], 0
lea ecx, [esp + 0x34]
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x74], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bd760
sub ecx, edx
lea eax, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.10027870
movss xmm0, dword [esi]
lea ecx, [esp + 0x60]
cmp dword [esp + 0x74], 0xf
lea edx, [esp + 0x40]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 4]
cmova ecx, dword [esp + 0x60]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 8]
push 0
push 0x400102
movss dword [esp + 0x50], xmm0
mov dword [esp + 0x54], 0x3f800000
call fcn.101937b0
test al, al
je 0x100bd7e2
movss xmm0, dword [esp + 0x40]
movss dword [esi], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esi + 4], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esi + 8], xmm0
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x100bd818
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100bd80e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bdac4
push ecx
push edx
call fcn.101b5563
add esp, 8
movss xmm4, dword [0x1021482c]
xorps xmm0, xmm0
movaps xmm1, xmm4
call fcn.10177a40
cmp dword [esp + 0x24], 0
mov edi, dword [esp + 0x20]
jne 0x100bd84b
cmp dword [esp + 0x28], 0
jne 0x100bd84b
test edi, edi
jne 0x100bd84b
cmp dword [esp + 0x2c], edi
je 0x100bda53
movaps xmm1, xmm4
xorps xmm0, xmm0
call fcn.10177a40
mov esi, dword [0x10468558]
xor edx, edx
mov dword [esp + 0x34], 0x43160000
mov dword [esp + 0x38], 0
mov eax, dword [esi + 0x1bec]
mov byte [eax + 0xa8], 1
mov eax, dword [esi + 0x1bec]
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, str.child
call fcn.1016c3a0
cmp dword [esi + 0x1c24], eax
jne 0x100bd8a9
mov dword [esi + 0x1c28], eax
cmp dword [esi + 0x1c5c], eax
jne 0x100bd8b8
mov byte [esi + 0x1c60], 1
push 0
push 0
lea edx, [esp + 0x3c]
mov ecx, str.child
push edx
mov edx, eax
call fcn.101722e0
test al, al
je 0x100bda4e
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100bd8e9
mov edx, eax
mov ecx, str.Rainbow
call fcn.101882a0
movss xmm0, dword [0x102146f8]
call fcn.10177b00
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100bd937
movss xmm0, dword [0x10214374]
lea ecx, [esp + 0x34]
push 0
push str.Speed__.1f
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0xc2c80000
push ecx
push eax
mov edx, 8
mov dword [esp + 0x48], 0x42c80000
mov ecx, str.speed
call fcn.1018b170
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x100bd947
test edi, edi
je 0x100bda02
mov eax, dword [0x10468558]
mov ecx, dword [eax + 0x1bec]
cmp byte [ecx + 0xab], 0
jne 0x100bd96d
mov ecx, dword [ecx + 0x1dc]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.10188bc0
test esi, esi
je 0x100bd9b5
movss xmm0, dword [0x10214374]
lea eax, [esp + 0x34]
push 0
push str.Corner__.1f
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push esi
mov edx, 8
mov dword [esp + 0x48], 0x42c80000
mov ecx, str.rounding
call fcn.1018b170
xorps xmm0, xmm0
maxss xmm0, dword [esi]
movss dword [esi], xmm0
test edi, edi
je 0x100bda02
movss xmm0, dword [0x10214374]
lea eax, [esp + 0x34]
push 0
push str.Thick__.2f
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x3f800000
push eax
push edi
mov edx, 8
mov dword [esp + 0x48], 0x41200000
mov ecx, str.thickness
call fcn.1018b170
movss xmm0, dword [0x1021445c]
maxss xmm0, dword [edi]
movss dword [edi], xmm0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100bda16
mov edx, eax
mov ecx, str.Outline
call fcn.101882a0
mov ecx, dword [0x10468558]
mov eax, dword [ecx + 0x1bec]
mov byte [eax + 0xa8], 1
mov edx, dword [ecx + 0x1bec]
mov ecx, dword [edx + 0x1f8]
mov eax, dword [edx + 0x200]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1f0], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1f8], eax
call fcn.101724e0
mov esi, dword [0x10468558]
mov eax, dword [esi + 0x1bec]
cmp dword [esi + 0x1d54], eax
jne 0x100bda77
mov dword [esi + 0x1e58], eax
mov dword [esi + 0x1e5c], 2
test dword [eax + 8], 0x1000000
je 0x100bda87
mov byte [esi + 0x1b9e], 1
call fcn.10176c90
mov byte [esi + 0x1b9e], 0
mov eax, dword [0x10468558]
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
mov eax, dword [eax + 0x1bec]
xor ecx, esp
dec dword [eax + 0xe0]
call fcn.101b526a
mov esp, ebp
pop ebp
ret 0x1c
call fcn.101ba696
call fcn.101ba696
call fcn.101ba696
int3