Function at 0x100b2870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x10423820]
push esi
push edi
mov dword [esp + 0x10], ecx
mov esi, edx
mov edi, dword [eax + 0x1bdc]
xor edx, edx
mov eax, dword [edi + 0xc8]
add edi, 0xc0
mov ecx, dword [edi]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x14]
call fcn.101183b0
mov ecx, dword [edi]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x100b28d7
inc ecx
test eax, eax
je 0x100b28c5
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x100b28ca
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100b1e40
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], edx
inc dword [edi]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100b2907
mov ecx, dword [esp + 0x10]
mov edx, eax
call fcn.10134340
movss xmm1, dword [0x101ecce8]
xorps xmm0, xmm0
call fcn.10123be0
mov edi, dword [ebp + 8]
movss xmm1, dword [esi]
movss xmm2, dword [esi + 4]
movss xmm3, dword [esi + 8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
test edi, edi
je 0x100b2932
movss xmm0, dword [edi]
jmp 0x100b293a
movss xmm0, dword [0x101ecba0]
movss dword [esp + 0x20], xmm1
lea edx, [esp + 0x20]
movss xmm1, dword [esp + 0x18]
mov ecx, str.btn
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x14]
push 0x40040
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x2c], xmm3
call fcn.10141d00
mov byte [esp + 0xf], al
call fcn.101287a0
cmp dword [ebp + 0x14], 0
je 0x100b2a06
test al, al
je 0x100b2a9c
xor edx, edx
mov ecx, str._COL3F
call fcn.10128820
test edi, edi
je 0x100b29c7
test eax, eax
je 0x100b29b3
push 0xc
push dword [eax]
push esi
call fcn.10161360
add esp, 0xc
mov dword [edi], 0x3f800000
xor edx, edx
mov ecx, str._COL4F
call fcn.10128820
test eax, eax
je 0x100b29f5
push 0x10
jmp 0x100b29ea
test eax, eax
je 0x100b29d8
push 0xc
push dword [eax]
push esi
call fcn.10161360
add esp, 0xc
xor edx, edx
mov ecx, str._COL4F
call fcn.10128820
test eax, eax
je 0x100b29f5
push 0xc
push dword [eax]
push esi
call fcn.10161360
add esp, 0xc
mov eax, dword [0x10423820]
mov byte [eax + 0x1e8e], 0
jmp 0x100b2a9c
test al, al
je 0x100b2a7f
xor edx, edx
mov ecx, str._COL3F
call fcn.10128820
test edi, edi
je 0x100b2a45
test eax, eax
je 0x100b2a31
push 0xc
push dword [eax]
push esi
call fcn.10161360
add esp, 0xc
mov dword [edi], 0x3f800000
xor edx, edx
mov ecx, str._COL4F
call fcn.10128820
test eax, eax
je 0x100b2a73
push 0x10
jmp 0x100b2a68
test eax, eax
je 0x100b2a56
push 0xc
push dword [eax]
push esi
call fcn.10161360
add esp, 0xc
xor edx, edx
mov ecx, str._COL4F
call fcn.10128820
test eax, eax
je 0x100b2a73
push 0xc
push dword [eax]
push esi
call fcn.10161360
add esp, 0xc
mov eax, dword [0x10423820]
mov byte [eax + 0x1e8e], 0
movss xmm1, dword [0x101ecce8]
xorps xmm0, xmm0
call fcn.10123be0
mov ecx, dword [esp + 0x10]
xor edx, edx
push 1
call fcn.10131c10
cmp byte [esp + 0xf], 0
mov eax, dword [0x10217ca4]
je 0x100b2cd1
cmp byte [0x101b022b], 0
mov eax, dword [0x101b0224]
mov ecx, dword [0x101b0228]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
je 0x100b2c04
xor edx, edx
cmp dword [0x10217ca4], 2
mov dword [esp + 0x10], edx
jl 0x100b2bd0
movaps xmm2, xmmword [0x101ed000]
movaps xmm3, xmmword [0x101ed420]
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 [0x101ed0b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ed030]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
movd xmm0, eax
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x14], 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 [0x101ed0b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
movd xmm0, ecx
xorps xmm1, xmm0
movd dword [esp + 0x18], xmm1
jmp 0x100b2c04
mov eax, 0x8fb823ef
imul edx
add edx, dword [esp + 0x10]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x14], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 8
jl 0x100b2bd0
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x14]
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x54], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b2c23
sub ecx, edx
lea eax, [esp + 0x14]
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.100291a0
mov eax, dword [0x10423820]
lea ecx, [esp + 0x40]
cmp dword [esp + 0x54], 0xf
mov edi, dword [esp + 0x40]
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.101183b0
mov ecx, eax
mov eax, dword [0x10423820]
cmp dword [eax + 0x1c10], ecx
jne 0x100b2c82
mov dword [eax + 0x1c14], ecx
cmp dword [eax + 0x1c4c], ecx
jne 0x100b2c91
mov byte [eax + 0x1c50], 1
xor edx, edx
call fcn.10124b20
mov eax, dword [esp + 0x54]
cmp eax, 0xf
jbe 0x100b2ccc
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100b2cc2
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b342a
push ecx
push edi
call fcn.1015fe24
add esp, 8
mov eax, dword [0x10217ca4]
cmp byte [0x101b022b], 0
mov ecx, dword [0x101b0224]
mov edi, dword [0x101b0228]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edi
je 0x100b2e34
xor edx, edx
mov dword [esp + 0x10], edx
cmp eax, 2
jl 0x100b2e00
movaps xmm2, xmmword [0x101ed000]
movaps xmm4, xmmword [0x101ed420]
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 [str.4444444444444444]
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ed0b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ed030]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, ecx
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x14], 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 [0x101ed0b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, edi
xorps xmm1, xmm0
movd dword [esp + 0x18], xmm1
jmp 0x100b2e34
mov eax, 0x8fb823ef
imul edx
add edx, dword [esp + 0x10]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x14], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 8
jl 0x100b2e00
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x14]
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x34], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b2e53
sub ecx, edx
lea eax, [esp + 0x14]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.100291a0
cmp dword [esp + 0x34], 0xf
lea eax, [esp + 0x20]
mov edi, dword [0x10423820]
mov ecx, dword [esp + 0x20]
cmova eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x1d20]
cmp eax, dword [edi + 0x1d2c]
jg 0x100b2ea4
mov dword [edi + 0x1c64], 0
mov byte [esp + 0xf], 0
jmp 0x100b2ef6
mov eax, dword [edi + 0x1bdc]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.101183b0
cmp dword [edi + 0x1c10], eax
jne 0x100b2ed3
mov dword [edi + 0x1c14], eax
cmp dword [edi + 0x1c4c], eax
jne 0x100b2ee2
mov byte [edi + 0x1c50], 1
mov edx, 0x141
mov ecx, eax
call fcn.10124e60
mov ecx, dword [esp + 0x20]
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x34]
cmp eax, 0xf
jbe 0x100b2f2a
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100b2f20
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b342a
push edx
push ecx
call fcn.1015fe24
add esp, 8
cmp byte [esp + 0xf], 0
je 0x100b3411
mov edi, dword [ebp + 8]
xor edx, edx
mov dword [esp + 0x10], edx
test edi, edi
je 0x100b307d
movss xmm0, dword [esi]
mov al, byte [0x101b0234]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esi + 4]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esi + 8]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x2c], xmm0
movq xmm0, qword [0x101b022c]
movq qword [esp + 0x14], xmm0
mov byte [esp + 0x1c], al
nop word [eax + eax]
mov eax, 0x1f7047dd
mul edx
mov eax, dword [esp + 0x10]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0x10]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x14], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 9
jl 0x100b2f90
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x14]
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x54], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b2fe2
sub ecx, edx
lea eax, [esp + 0x14]
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.100291a0
cmp dword [esp + 0x54], 0xf
lea ecx, [esp + 0x40]
push 0
cmova ecx, dword [esp + 0x44]
lea edx, [esp + 0x24]
push 0x450100
call fcn.1013f2c0
mov ecx, dword [esp + 0x54]
cmp ecx, 0xf
jbe 0x100b304e
mov edx, dword [esp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b3044
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b342f
push ecx
push edx
call fcn.1015fe24
add esp, 8
movss xmm0, dword [esp + 0x20]
movss dword [esi], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esi + 4], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esi + 8], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [edi], xmm0
jmp 0x100b319e
movq xmm0, qword [0x101b022c]
mov al, byte [0x101b0234]
movq qword [esp + 0x14], xmm0
mov byte [esp + 0x1c], al
mov eax, 0x1f7047dd
mul edx
mov eax, dword [esp + 0x10]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0x10]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x14], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 9
jl 0x100b3094
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x14]
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x54], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b30e6
sub ecx, edx
lea eax, [esp + 0x14]
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.100291a0
movss xmm0, dword [esi]
lea ecx, [esp + 0x40]
cmp dword [esp + 0x54], 0xf
lea edx, [esp + 0x20]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esi + 4]
cmova ecx, dword [esp + 0x40]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esi + 8]
push 0
push 0x400102
movss dword [esp + 0x30], xmm0
mov dword [esp + 0x34], 0x3f800000
call fcn.1013f2c0
test al, al
je 0x100b3168
movss xmm0, dword [esp + 0x20]
movss dword [esi], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esi + 4], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esi + 8], xmm0
mov ecx, dword [esp + 0x54]
cmp ecx, 0xf
jbe 0x100b319e
mov edx, dword [esp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b3194
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b3434
push ecx
push edx
call fcn.1015fe24
add esp, 8
movss xmm4, dword [0x101ececc]
xorps xmm0, xmm0
movaps xmm1, xmm4
call fcn.10123be0
cmp dword [ebp + 0xc], 0
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
jne 0x100b31cf
cmp dword [ebp + 0x10], 0
jne 0x100b31cf
test esi, esi
jne 0x100b31cf
test edi, edi
je 0x100b33d1
movaps xmm1, xmm4
xorps xmm0, xmm0
call fcn.10123be0
mov ecx, dword [0x10423820]
xor edx, edx
mov dword [esp + 0x14], 0x43160000
mov dword [esp + 0x18], 0
mov eax, dword [ecx + 0x1bdc]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1bdc]
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, 0x101b0250
call fcn.101183b0
mov edx, eax
mov eax, dword [0x10423820]
cmp dword [eax + 0x1c10], edx
jne 0x100b3234
mov dword [eax + 0x1c14], edx
cmp dword [eax + 0x1c4c], edx
jne 0x100b3243
mov byte [eax + 0x1c50], 1
push 0
push 0
lea eax, [esp + 0x1c]
mov ecx, 0x101b0250
push eax
call fcn.1011e3d0
test al, al
je 0x100b33cc
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x100b326f
mov ecx, str.Rainbow
call fcn.100b2410
movss xmm0, dword [0x101ecdf0]
call fcn.10123d60
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100b32bc
movss xmm0, dword [0x101ecac4]
lea ecx, [esp + 0x14]
push 0
push str.Speed__.1f
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0xc2c80000
push ecx
push eax
mov edx, 8
mov dword [esp + 0x28], 0x42c80000
mov ecx, str.speed
call fcn.101372c0
test edi, edi
jne 0x100b32c8
test esi, esi
je 0x100b3383
mov eax, dword [0x10423820]
mov ecx, dword [eax + 0x1bdc]
cmp byte [ecx + 0x8f], 0
jne 0x100b32ee
mov ecx, dword [ecx + 0x1a4]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.10134d20
test edi, edi
je 0x100b3336
movss xmm0, dword [0x101ecac4]
lea eax, [esp + 0x14]
push 0
push str.Corner__.1f
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push edi
mov edx, 8
mov dword [esp + 0x28], 0x42c80000
mov ecx, str.rounding
call fcn.101372c0
xorps xmm0, xmm0
maxss xmm0, dword [edi]
movss dword [edi], xmm0
test esi, esi
je 0x100b3383
movss xmm0, dword [0x101ecac4]
lea eax, [esp + 0x14]
push 0
push str.Thick__.2f
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x3f800000
push eax
push esi
mov edx, 8
mov dword [esp + 0x28], 0x41200000
mov ecx, str.thickness
call fcn.101372c0
movss xmm0, dword [0x101ecba0]
maxss xmm0, dword [esi]
movss dword [esi], xmm0
mov edx, dword [ebp + 0x20]
test edx, edx
je 0x100b3394
mov ecx, str.Outline
call fcn.100b2410
mov ecx, dword [0x10423820]
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.1011e640
mov esi, dword [0x10423820]
mov eax, dword [esi + 0x1bdc]
cmp dword [esi + 0x1d44], eax
jne 0x100b33f5
mov dword [esi + 0x1e48], eax
mov dword [esi + 0x1e4c], 2
test dword [eax + 8], 0x1000000
je 0x100b3405
mov byte [esi + 0x1b8e], 1
call fcn.10122da0
mov byte [esi + 0x1b8e], 0
mov eax, dword [0x10423820]
pop edi
pop esi
mov eax, dword [eax + 0x1bdc]
dec dword [eax + 0xc0]
mov esp, ebp
pop ebp
ret 0x1c
call fcn.10164f66
call fcn.10164f66
call fcn.10164f66
int3