Function at 0x10015a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x1009f040]
xor eax, esp
mov dword [esp + 0x44], eax
movss xmm0, dword [0x1009b384]
push esi
mov esi, dword [0x1012266c]
push edi
mov dword [esp + 0x14], esi
comiss xmm0, dword [esi + 0x1a6c]
ja 0x10015d84
cmp dword [esi + 0x1a68], 0
jne 0x10015b11
movaps xmm0, xmmword [0x1009bda0]
xor ecx, ecx
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0x8b8d94
mov byte [esp + 0x34], 1
nop dword [eax]
lea eax, [ecx - 0x13]
xor byte [esp + ecx + 0x20], al
inc ecx
cmp ecx, 0x13
jb 0x10015af0
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 0
call fcn.1001c2c0
mov dword [esi + 0x1a68], eax
movss xmm3, dword [esi + 0x10]
lea eax, [esp + 0x20]
movss xmm1, dword [esi + 0x14]
lea ecx, [esi + 0x1988]
mulss xmm1, dword [0x1009b38c]
movaps xmm2, xmm3
mov dword [esp + 0x28], 0x7f7fffff
mulss xmm2, dword [0x1009b38c]
mov dword [esp + 0x2c], 0x7f7fffff
mulss xmm3, dword [0x1009b3a4]
mov dword [esi + 0x19c8], 1
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x20], xmm2
movups xmm0, xmmword [esp + 0x20]
mov dword [esi + 0x1a08], 0
mov dword [esi + 0x1a0c], 0
movups xmmword [esi + 0x19f8], xmm0
push eax
movss xmm1, dword [esi + 0x14]
mulss xmm1, dword [0x1009b3a4]
mov dword [esi + 0x19dc], 0x3f000000
movss dword [esi + 0x19d4], xmm3
mov dword [esi + 0x19e0], 0x3f000000
movss dword [esi + 0x19d8], xmm1
mov dword [esi + 0x19b8], 1
movss xmm0, dword [esi + 0x150c]
movss xmm1, dword [esi + 0x150c]
addss xmm0, xmm0
mov dword [esp + 0x24], 1
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esi + 0x1510]
addss xmm0, xmm0
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esi + 0x1510]
movss dword [esp + 0x2c], xmm0
call fcn.100331f0
movss xmm0, dword [esp + 0x10]
xor ecx, ecx
movss dword [esi + 0x150c], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esi + 0x1510], xmm0
movaps xmm0, xmmword [0x1009bda0]
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0x8b8d94
mov byte [esp + 0x34], 1
lea eax, [ecx - 0x13]
xor byte [esp + ecx + 0x20], al
inc ecx
cmp ecx, 0x13
jb 0x10015c46
push 0xc1247
xor edx, edx
mov byte [esp + 0x38], 0
lea ecx, [esp + 0x24]
call fcn.1001d350
mov ecx, dword [esi + 0x18f4]
add esp, 4
sub ecx, 1
mov dword [esp + 0x10], ecx
js 0x10015d75
nop
mov eax, dword [esi + 0x18fc]
mov esi, dword [eax + ecx*4]
cmp byte [esi + 0x76], 0
je 0x10015d64
cmp esi, dword [esi + 0x2f8]
jne 0x10015d64
test dword [esi + 8], 0x80000
je 0x10015cb9
mov eax, dword [0x1012266c]
cmp esi, dword [eax + 0x1a24]
jne 0x10015d64
mov edi, dword [esi]
mov ecx, edi
cmp edi, 0xffffffff
jae 0x10015cdc
mov dl, byte [ecx]
test dl, dl
je 0x10015cd8
cmp dl, 0x23
jne 0x10015cd2
cmp byte [ecx + 1], dl
je 0x10015cd8
inc ecx
cmp ecx, 0xffffffff
jb 0x10015cc2
cmp edi, ecx
jne 0x10015d33
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x10015ced
mov edi, str._Popup_
jmp 0x10015d33
test eax, 0x400
je 0x10015d2e
mov ecx, str.MainMenuBar
mov eax, edi
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10015d20
test dl, dl
je 0x10015d1c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10015d20
add eax, 2
add ecx, 2
test dl, dl
jne 0x10015d00
xor eax, eax
jmp 0x10015d25
sbb eax, eax
or eax, 1
mov edi, str._Main_menu_bar_
test eax, eax
je 0x10015d33
mov edi, str._Untitled_
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x24], 0
cmp dword [eax + 0x1a60], esi
sete dl
call fcn.1002c830
mov ecx, dword [esp + 0x18]
add esp, 8
mov esi, dword [esp + 0x14]
sub ecx, 1
mov dword [esp + 0x10], ecx
jns 0x10015c80
call fcn.100207a0
mov ecx, 1
call fcn.100215b0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
call fcn.1004d560
mov esp, ebp
pop ebp
ret