Function at 0x100b4830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x101f80c0]
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 [0x103d7bec]
xor edx, edx
mov edi, dword [ebp + 8]
mov dword [esp + 0x1c], edi
mov edi, dword [eax + 0x1bdc]
mov eax, dword [edi + 0xc8]
add edi, 0xc0
mov ecx, dword [edi]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x18]
call fcn.10145f10
mov ecx, dword [edi]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x100b48d9
inc ecx
test eax, eax
je 0x100b48c7
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x100b48cc
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100b43c0
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 0x100b490a
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.10161d10
movss xmm1, dword [0x101ea420]
xorps xmm0, xmm0
call fcn.10151580
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 0x100b4936
movss xmm0, dword [eax]
jmp 0x100b493e
movss xmm0, dword [0x101ea2dc]
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.1016f6f0
mov byte [esp + 0x13], al
call fcn.10156090
test edi, edi
je 0x100b4a0c
test al, al
je 0x100b4aa6
mov edi, dword [esp + 0x1c]
xor edx, edx
mov ecx, str._COL3F
call fcn.10156110
test edi, edi
je 0x100b49cd
test eax, eax
je 0x100b49b9
push 0xc
push dword [eax]
push esi
call fcn.1018f2d0
add esp, 0xc
mov dword [edi], 0x3f800000
xor edx, edx
mov ecx, str._COL4F
call fcn.10156110
test eax, eax
je 0x100b49fb
push 0x10
jmp 0x100b49f0
test eax, eax
je 0x100b49de
push 0xc
push dword [eax]
push esi
call fcn.1018f2d0
add esp, 0xc
xor edx, edx
mov ecx, str._COL4F
call fcn.10156110
test eax, eax
je 0x100b49fb
push 0xc
push dword [eax]
push esi
call fcn.1018f2d0
add esp, 0xc
mov eax, dword [0x103d7bec]
mov byte [eax + 0x1e8e], 0
jmp 0x100b4aa6
test al, al
je 0x100b4a89
mov edi, dword [esp + 0x1c]
xor edx, edx
mov ecx, str._COL3F
call fcn.10156110
test edi, edi
je 0x100b4a4f
test eax, eax
je 0x100b4a3b
push 0xc
push dword [eax]
push esi
call fcn.1018f2d0
add esp, 0xc
mov dword [edi], 0x3f800000
xor edx, edx
mov ecx, str._COL4F
call fcn.10156110
test eax, eax
je 0x100b4a7d
push 0x10
jmp 0x100b4a72
test eax, eax
je 0x100b4a60
push 0xc
push dword [eax]
push esi
call fcn.1018f2d0
add esp, 0xc
xor edx, edx
mov ecx, str._COL4F
call fcn.10156110
test eax, eax
je 0x100b4a7d
push 0xc
push dword [eax]
push esi
call fcn.1018f2d0
add esp, 0xc
mov eax, dword [0x103d7bec]
mov byte [eax + 0x1e8e], 0
movss xmm1, dword [0x101ea420]
xorps xmm0, xmm0
call fcn.10151580
mov ecx, dword [esp + 0x14]
xor edx, edx
push 1
call fcn.1015f640
cmp byte [esp + 0x13], 0
mov eax, dword [0x10214510]
je 0x100b4cce
cmp byte [0x101de33b], 0
mov eax, dword [0x101de334]
mov edx, dword [0x101de338]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
je 0x100b4c01
xor ecx, ecx
cmp dword [0x10214510], 2
mov dword [esp + 0x14], ecx
jl 0x100b4bd2
movaps xmm2, xmmword [0x101ea800]
movaps xmm3, xmmword [0x101eabe0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ea880]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ea840]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.44444444444444447777777777777777]
movd xmm0, eax
xorps 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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ea880]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.44444444444444447777777777777777]
movd xmm0, edx
xorps xmm1, xmm0
movd dword [esp + 0x38], xmm1
jmp 0x100b4c01
mov eax, 0x4ec4ec4f
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [esp + 0x14]
movsx eax, al
imul eax, eax, 0x34
add al, cl
xor byte [esp + ecx + 0x34], al
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 8
jl 0x100b4bd2
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 0x100b4c20
sub ecx, edx
lea eax, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.10026920
mov eax, dword [0x103d7bec]
lea ecx, [esp + 0x60]
cmp dword [esp + 0x74], 0xf
mov edi, dword [esp + 0x60]
cmova ecx, edi
mov eax, dword [eax + 0x1bdc]
mov edx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.10145f10
mov ecx, eax
mov eax, dword [0x103d7bec]
cmp dword [eax + 0x1c10], ecx
jne 0x100b4c7f
mov dword [eax + 0x1c14], ecx
cmp dword [eax + 0x1c4c], ecx
jne 0x100b4c8e
mov byte [eax + 0x1c50], 1
xor edx, edx
call fcn.101523d0
mov eax, dword [esp + 0x74]
cmp eax, 0xf
jbe 0x100b4cc9
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100b4cbf
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b541a
push ecx
push edi
call fcn.1018dda2
add esp, 8
mov eax, dword [0x10214510]
cmp byte [0x101de33b], 0
mov edx, dword [0x101de334]
mov edi, dword [0x101de338]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edi
je 0x100b4e1f
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp eax, 2
jl 0x100b4df0
movaps xmm2, xmmword [0x101ea800]
movaps xmm4, xmmword [0x101eabe0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [str.44444444444444447777777777777777]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ea880]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ea840]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
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
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ea880]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, edi
xorps xmm1, xmm0
movd dword [esp + 0x38], xmm1
jmp 0x100b4e1f
mov eax, 0x4ec4ec4f
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [esp + 0x14]
movsx eax, al
imul eax, eax, 0x34
add al, cl
xor byte [esp + ecx + 0x34], al
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 8
jl 0x100b4df0
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 0x100b4e40
sub ecx, edx
lea eax, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.10026920
cmp dword [esp + 0x54], 0xf
lea eax, [esp + 0x40]
mov edi, dword [0x103d7bec]
mov ecx, dword [esp + 0x40]
cmova eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x1d20]
cmp eax, dword [edi + 0x1d2c]
jg 0x100b4e91
mov dword [edi + 0x1c64], 0
mov byte [esp + 0x13], 0
jmp 0x100b4ee3
mov eax, dword [edi + 0x1bdc]
mov ecx, dword [esp + 0x34]
mov edx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.10145f10
cmp dword [edi + 0x1c10], eax
jne 0x100b4ec0
mov dword [edi + 0x1c14], eax
cmp dword [edi + 0x1c4c], eax
jne 0x100b4ecf
mov byte [edi + 0x1c50], 1
mov edx, 0x141
mov ecx, eax
call fcn.10152710
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x54]
cmp eax, 0xf
jbe 0x100b4f17
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100b4f0d
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b541a
push edx
push ecx
call fcn.1018dda2
add esp, 8
cmp byte [esp + 0x13], 0
je 0x100b53f3
mov edi, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x14], edx
test edi, edi
je 0x100b505b
movss xmm0, dword [esi]
mov al, byte [0x101de330]
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 [0x101de328]
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x3c], al
mov eax, 0x4ec4ec4f
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 0x14]
mov cl, dl
imul eax, eax, 0x34
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x34], cl
inc edx
mov dword [esp + 0x14], edx
cmp edx, 9
jl 0x100b4f75
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 0x100b4fc0
sub ecx, edx
lea eax, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.10026920
cmp dword [esp + 0x74], 0xf
lea ecx, [esp + 0x60]
push 0
cmova ecx, dword [esp + 0x64]
lea edx, [esp + 0x44]
push 0x450100
call fcn.1016cce0
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x100b502c
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b5022
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b541f
push ecx
push edx
call fcn.1018dda2
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 0x100b5178
movq xmm0, qword [0x101de328]
mov al, byte [0x101de330]
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x3c], al
mov eax, 0x4ec4ec4f
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 0x14]
mov cl, dl
imul eax, eax, 0x34
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x34], cl
inc edx
mov dword [esp + 0x14], edx
cmp edx, 9
jl 0x100b5072
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 0x100b50c0
sub ecx, edx
lea eax, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.10026920
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.1016cce0
test al, al
je 0x100b5142
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 0x100b5178
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b516e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b5424
push ecx
push edx
call fcn.1018dda2
add esp, 8
movss xmm4, dword [0x101ea68c]
xorps xmm0, xmm0
movaps xmm1, xmm4
call fcn.10151580
cmp dword [esp + 0x24], 0
mov edi, dword [esp + 0x20]
jne 0x100b51ab
cmp dword [esp + 0x28], 0
jne 0x100b51ab
test edi, edi
jne 0x100b51ab
cmp dword [esp + 0x2c], edi
je 0x100b53b3
movaps xmm1, xmm4
xorps xmm0, xmm0
call fcn.10151580
mov esi, dword [0x103d7bec]
xor edx, edx
mov dword [esp + 0x34], 0x43160000
mov dword [esp + 0x38], 0
mov eax, dword [esi + 0x1bdc]
mov byte [eax + 0x8c], 1
mov eax, dword [esi + 0x1bdc]
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, str.child
call fcn.10145f10
cmp dword [esi + 0x1c10], eax
jne 0x100b5209
mov dword [esi + 0x1c14], eax
cmp dword [esi + 0x1c4c], eax
jne 0x100b5218
mov byte [esi + 0x1c50], 1
push 0
push 0
lea edx, [esp + 0x3c]
mov ecx, str.child
push edx
mov edx, eax
call fcn.1014be40
test al, al
je 0x100b53ae
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100b5249
mov edx, eax
mov ecx, str.Rainbow
call fcn.10161d10
movss xmm0, dword [0x101ea558]
call fcn.10151640
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100b5297
movss xmm0, dword [0x101ea1f4]
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.10164c20
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x100b52a7
test edi, edi
je 0x100b5362
mov eax, dword [0x103d7bec]
mov ecx, dword [eax + 0x1bdc]
cmp byte [ecx + 0x8f], 0
jne 0x100b52cd
mov ecx, dword [ecx + 0x1a4]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.10162670
test esi, esi
je 0x100b5315
movss xmm0, dword [0x101ea1f4]
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.10164c20
xorps xmm0, xmm0
maxss xmm0, dword [esi]
movss dword [esi], xmm0
test edi, edi
je 0x100b5362
movss xmm0, dword [0x101ea1f4]
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.10164c20
movss xmm0, dword [0x101ea2dc]
maxss xmm0, dword [edi]
movss dword [edi], xmm0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100b5376
mov edx, eax
mov ecx, str.Outline
call fcn.10161d10
mov ecx, dword [0x103d7bec]
mov eax, dword [ecx + 0x1bdc]
mov byte [eax + 0x8c], 1
mov edx, dword [ecx + 0x1bdc]
mov ecx, dword [edx + 0x1c0]
mov eax, dword [edx + 0x1c8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1b8], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1c0], eax
call fcn.1014c040
mov esi, dword [0x103d7bec]
mov eax, dword [esi + 0x1bdc]
cmp dword [esi + 0x1d44], eax
jne 0x100b53d7
mov dword [esi + 0x1e48], eax
mov dword [esi + 0x1e4c], 2
test dword [eax + 8], 0x1000000
je 0x100b53e7
mov byte [esi + 0x1b8e], 1
call fcn.101507d0
mov byte [esi + 0x1b8e], 0
mov eax, dword [0x103d7bec]
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
mov eax, dword [eax + 0x1bdc]
xor ecx, esp
dec dword [eax + 0xc0]
call fcn.1018daa9
mov esp, ebp
pop ebp
ret 0x1c
call fcn.10192ed6
call fcn.10192ed6
call fcn.10192ed6
int3