Function at 0x100c0900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
mov esi, edx
mov dword [esp + 0x24], ecx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [0x10453c48]
xor edx, edx
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], 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 + 0x28]
call fcn.10155bc0
mov ecx, dword [edi]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x100c09a9
inc ecx
test eax, eax
je 0x100c0997
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x100c099c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100c0490
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], edx
inc dword [edi]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100c09da
mov ecx, dword [esp + 0x24]
mov edx, eax
call fcn.10172b50
movss xmm1, dword [0x102021d8]
xorps xmm0, xmm0
call fcn.10161e80
mov edi, dword [esp + 0x18]
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 edi, edi
je 0x100c0a06
movss xmm0, dword [edi]
jmp 0x100c0a0e
movss xmm0, dword [0x10202060]
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.101809e0
mov byte [esp + 0x13], al
call fcn.10166930
cmp dword [esp + 0x14], 0
je 0x100c0adb
test al, al
je 0x100c0b71
xor edx, edx
mov ecx, str._COL3F
call fcn.101669b0
test edi, edi
je 0x100c0a9c
test eax, eax
je 0x100c0a88
push 0xc
push dword [eax]
push esi
call fcn.101a1ab0
add esp, 0xc
mov dword [edi], 0x3f800000
xor edx, edx
mov ecx, str._COL4F
call fcn.101669b0
test eax, eax
je 0x100c0aca
push 0x10
jmp 0x100c0abf
test eax, eax
je 0x100c0aad
push 0xc
push dword [eax]
push esi
call fcn.101a1ab0
add esp, 0xc
xor edx, edx
mov ecx, str._COL4F
call fcn.101669b0
test eax, eax
je 0x100c0aca
push 0xc
push dword [eax]
push esi
call fcn.101a1ab0
add esp, 0xc
mov eax, dword [0x10453c48]
mov byte [eax + 0x1e9e], 0
jmp 0x100c0b71
test al, al
je 0x100c0b54
xor edx, edx
mov ecx, str._COL3F
call fcn.101669b0
test edi, edi
je 0x100c0b1a
test eax, eax
je 0x100c0b06
push 0xc
push dword [eax]
push esi
call fcn.101a1ab0
add esp, 0xc
mov dword [edi], 0x3f800000
xor edx, edx
mov ecx, str._COL4F
call fcn.101669b0
test eax, eax
je 0x100c0b48
push 0x10
jmp 0x100c0b3d
test eax, eax
je 0x100c0b2b
push 0xc
push dword [eax]
push esi
call fcn.101a1ab0
add esp, 0xc
xor edx, edx
mov ecx, str._COL4F
call fcn.101669b0
test eax, eax
je 0x100c0b48
push 0xc
push dword [eax]
push esi
call fcn.101a1ab0
add esp, 0xc
mov eax, dword [0x10453c48]
mov byte [eax + 0x1e9e], 0
movss xmm1, dword [0x102021d8]
xorps xmm0, xmm0
call fcn.10161e80
mov ecx, dword [esp + 0x24]
xor edx, edx
push 1
call fcn.10170460
cmp byte [esp + 0x13], 0
mov edi, 4
mov eax, dword [0x1022b6e0]
je 0x100c0dae
cmp byte [0x101f5cbf], 0
mov eax, dword [0x101f5cb8]
mov ecx, dword [0x101f5cbc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
je 0x100c0ce0
xor edx, edx
cmp dword [0x1022b6e0], 2
mov dword [esp + 0x14], edx
jl 0x100c0cb0
movaps xmm2, xmmword [0x102025e0]
mov edx, 0x1f
movaps xmm3, xmmword [0x10202ac0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, edi
psrad xmm1, xmm4
movd xmm5, edx
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10202640]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10202620]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.2222222222222222777777777777777788888888888888889999999999999999]
movd xmm0, eax
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x34], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10202640]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.2222222222222222777777777777777788888888888888889999999999999999]
movd xmm0, ecx
pxor xmm1, xmm0
movd dword [esp + 0x38], xmm1
jmp 0x100c0ce0
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x14]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x34], cl
inc edx
mov dword [esp + 0x14], edx
cmp edx, 8
jl 0x100c0cb0
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
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c0d00
sub ecx, edx
lea eax, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.10027e90
mov eax, dword [0x10453c48]
lea ecx, [esp + 0x60]
cmp dword [esp + 0x74], 0x10
mov edi, dword [esp + 0x60]
cmovae 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.10155bc0
mov ecx, eax
mov eax, dword [0x10453c48]
cmp dword [eax + 0x1c24], ecx
jne 0x100c0d5f
mov dword [eax + 0x1c28], ecx
cmp dword [eax + 0x1c5c], ecx
jne 0x100c0d6e
mov byte [eax + 0x1c60], 1
xor edx, edx
call fcn.10162d10
mov eax, dword [esp + 0x74]
cmp eax, 0x10
jb 0x100c0da9
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100c0d9f
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c1528
push ecx
push edi
call fcn.101a043c
add esp, 8
mov eax, dword [0x1022b6e0]
cmp byte [0x101f5cbf], 0
mov ecx, dword [0x101f5cb8]
mov edi, dword [0x101f5cbc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edi
je 0x100c0f10
xor edx, edx
mov dword [esp + 0x14], edx
cmp eax, 2
jl 0x100c0ee0
movaps xmm2, xmmword [0x102025e0]
mov eax, 4
movaps xmm4, xmmword [0x10202ac0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [str.2222222222222222777777777777777788888888888888889999999999999999]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10202640]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10202620]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, ecx
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x34], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10202640]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, edi
pxor xmm1, xmm0
movd dword [esp + 0x38], xmm1
jmp 0x100c0f10
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x14]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x34], cl
inc edx
mov dword [esp + 0x14], edx
cmp edx, 8
jl 0x100c0ee0
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]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c0f30
sub ecx, edx
lea eax, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.10027e90
cmp dword [esp + 0x54], 0x10
lea eax, [esp + 0x40]
mov edi, dword [0x10453c48]
mov ecx, dword [esp + 0x40]
cmovae eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x1d30]
cmp eax, dword [edi + 0x1d3c]
jg 0x100c0f81
mov dword [edi + 0x1c74], 0
mov byte [esp + 0x13], 0
jmp 0x100c0fd3
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.10155bc0
cmp dword [edi + 0x1c24], eax
jne 0x100c0fb0
mov dword [edi + 0x1c28], eax
cmp dword [edi + 0x1c5c], eax
jne 0x100c0fbf
mov byte [edi + 0x1c60], 1
mov edx, 0x141
mov ecx, eax
call fcn.10163050
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jb 0x100c1007
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100c0ffd
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c1528
push edx
push ecx
call fcn.101a043c
add esp, 8
cmp byte [esp + 0x13], 0
je 0x100c1501
mov edi, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x18], edx
test edi, edi
je 0x100c114b
movss xmm0, dword [esi]
mov al, byte [0x101f5cb4]
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 [0x101f5cac]
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x3c], al
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 0x18]
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x34], cl
inc edx
mov dword [esp + 0x18], edx
cmp edx, 9
jl 0x100c1065
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 0x100c10b0
sub ecx, edx
lea eax, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.10027e90
cmp dword [esp + 0x74], 0x10
lea ecx, [esp + 0x60]
push 0
cmovae ecx, dword [esp + 0x64]
lea edx, [esp + 0x44]
push 0x450100
call fcn.1017df70
mov ecx, dword [esp + 0x74]
cmp ecx, 0x10
jb 0x100c111c
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100c1112
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c152d
push ecx
push edx
call fcn.101a043c
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 0x100c1268
movq xmm0, qword [0x101f5cac]
mov al, byte [0x101f5cb4]
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x3c], al
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 0x18]
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x34], cl
inc edx
mov dword [esp + 0x18], edx
cmp edx, 9
jl 0x100c1162
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 word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c11b0
sub ecx, edx
lea eax, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.10027e90
movss xmm0, dword [esi]
lea ecx, [esp + 0x60]
cmp dword [esp + 0x74], 0x10
lea edx, [esp + 0x40]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 4]
cmovae 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.1017df70
test al, al
je 0x100c1232
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, 0x10
jb 0x100c1268
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100c125e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c1532
push ecx
push edx
call fcn.101a043c
add esp, 8
movss xmm4, dword [0x1020244c]
xorps xmm0, xmm0
movaps xmm1, xmm4
call fcn.10161e80
cmp dword [esp + 0x2c], 0
mov edi, dword [esp + 0x28]
jne 0x100c129b
cmp dword [esp + 0x20], 0
jne 0x100c129b
test edi, edi
jne 0x100c129b
cmp dword [esp + 0x1c], edi
je 0x100c14c1
movaps xmm1, xmm4
xorps xmm0, xmm0
call fcn.10161e80
mov esi, dword [0x10453c48]
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.10155bc0
cmp dword [esi + 0x1c24], eax
jne 0x100c12f9
mov dword [esi + 0x1c28], eax
cmp dword [esi + 0x1c5c], eax
jne 0x100c1308
mov byte [esi + 0x1c60], 1
push 0
push 0
lea edx, [esp + 0x3c]
mov ecx, str.child
push edx
mov edx, eax
call fcn.1015c740
test al, al
je 0x100c14bc
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100c1339
mov edx, eax
mov ecx, str.Rainbow
call fcn.10172b50
movss xmm0, dword [0x1020231c]
call fcn.10161f40
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100c1387
movss xmm0, dword [0x10201f7c]
lea ecx, [esp + 0x34]
push 0
push str.Speed__.1f
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0xc2c80000
push ecx
push eax
mov edx, 8
mov dword [esp + 0x48], 0x42c80000
mov ecx, str.speed
call fcn.10175a50
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x100c1397
test edi, edi
je 0x100c1470
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0x1bec]
cmp byte [ecx + 0xab], 0
jne 0x100c13bd
mov ecx, dword [ecx + 0x1dc]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.10173470
test esi, esi
je 0x100c1414
movss xmm0, dword [0x10201f7c]
lea eax, [esp + 0x34]
push 0
push str.Corner__.1f
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push esi
mov edx, 8
mov dword [esp + 0x48], 0x42c80000
mov ecx, str.rounding
call fcn.10175a50
movss xmm0, dword [esi]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x100c140c
movss xmm0, xmm0
jmp 0x100c1410
movss xmm0, xmm1
movss dword [esi], xmm0
test edi, edi
je 0x100c1470
movss xmm0, dword [0x10201f7c]
lea eax, [esp + 0x34]
push 0
push str.Thick__.2f
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x3f800000
push eax
push edi
mov edx, 8
mov dword [esp + 0x48], 0x41200000
mov ecx, str.thickness
call fcn.10175a50
movss xmm0, dword [edi]
movss xmm1, dword [0x10202060]
comiss xmm1, xmm0
ja 0x100c1468
movss xmm0, xmm0
jmp 0x100c146c
movss xmm0, xmm1
movss dword [edi], xmm0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100c1484
mov edx, eax
mov ecx, str.Outline
call fcn.10172b50
mov ecx, dword [0x10453c48]
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.1015c940
mov esi, dword [0x10453c48]
mov eax, dword [esi + 0x1bec]
cmp dword [esi + 0x1d54], eax
jne 0x100c14e5
mov dword [esi + 0x1e58], eax
mov dword [esi + 0x1e5c], 2
test dword [eax + 8], 0x1000000
je 0x100c14f5
mov byte [esi + 0x1b9e], 1
call fcn.101610e0
mov byte [esi + 0x1b9e], 0
mov eax, dword [0x10453c48]
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
mov eax, dword [eax + 0x1bec]
xor ecx, esp
dec dword [eax + 0xe0]
call fcn.101a0143
mov esp, ebp
pop ebp
ret 0x1c
call fcn.101a56c6
call fcn.101a56c6
call fcn.101a56c6
int3