Function at 0x100ef940
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xb8
movss xmm0, dword [0x10b0c650]
lea eax, [ebp - 0xb0]
push esi
mov esi, dword [0x10309a38]
movss dword [ebp - 0x44], xmm0
mulss xmm0, dword [0x10257ff4]
push edi
mov edi, dword [ebx + 8]
lea ecx, [esi + 0x1a9c]
push eax
movss dword [ebp - 0x54], xmm0
movups xmm0, xmmword [esi + 0x15c0]
mov dword [ebp - 0x60], 0x3f800000
mov dword [ebp - 0x5c], 0x3f800000
mov dword [ebp - 0x58], 0x3f800000
mov dword [ebp - 0xb0], 0
movups xmmword [ebp - 0xac], xmm0
call fcn.100a05b0
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [esi + 0x15c0], xmm0
mov esi, dword [0x10309a38]
mov eax, dword [esi + 0x19b0]
mov byte [eax + 0x8c], 1
mov eax, dword [esi + 0x19b0]
mov dword [ebp - 0x68], eax
cmp byte [eax + 0x8f], 0
jne 0x100f00cf
mov ecx, dword [eax + 0xcc]
xor edx, edx
mov eax, dword [eax + 0xd4]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.10090080
add esp, 4
mov dword [ebp - 0x7c], eax
cmp dword [esi + 0x19ec], eax
jne 0x100efa21
mov dword [esi + 0x19f0], eax
cmp dword [esi + 0x1a20], eax
jne 0x100efa30
mov byte [esi + 0x1a24], 1
mov ecx, dword [ebp - 0x68]
movss xmm4, dword [ecx + 0xd8]
movss xmm5, dword [ecx + 0xdc]
movaps xmm3, xmm4
addss xmm3, dword [0x102582b0]
movaps xmm2, xmm5
movss dword [ebp - 0x14], xmm5
addss xmm2, dword [0x10258160]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x10]
movaps xmm1, xmm3
movss dword [ebp - 0x18], xmm4
addss xmm1, dword [0x102581b8]
mov eax, dword [ebp - 0x18]
movaps xmm0, xmm2
addss xmm0, dword [0x10258164]
mov dword [ebp - 0x40], eax
movss dword [ebp - 0x74], xmm4
movss dword [ebp - 0x88], xmm1
movaps xmm1, xmm5
addss xmm1, dword [0x102581e0]
movss dword [ebp - 0x84], xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x102582c8]
movss dword [ebp - 0x78], xmm5
movss dword [ebp - 0x90], xmm3
movss dword [ebp - 0x70], xmm1
addss xmm1, dword [0x10258110]
movss dword [ebp - 0x6c], xmm0
movss dword [ebp - 0x38], xmm0
subss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x8c], xmm2
movss dword [ebp - 0x34], xmm1
subss xmm1, dword [ebp - 0x3c]
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0xc], xmm1
movss xmm1, dword [0x102583a8]
call fcn.10092d90
mov esi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x40]
push 0
mov edx, esi
call fcn.10092ec0
add esp, 4
test al, al
je 0x100f00cf
push 0
lea eax, [ebp - 2]
mov edx, esi
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x90]
call fcn.100b4b40
movss xmm0, dword [ebp - 0x74]
lea ecx, [ebp - 0x60]
add esp, 0xc
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [ebp - 0x78]
mov edx, esi
mov byte [ebp - 2], al
lea eax, [ebp - 0x61]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [ebp - 0x6c]
push 0
push eax
movss dword [ebp - 0x58], xmm0
lea eax, [ebp - 1]
movss xmm0, dword [ebp - 0x70]
push eax
movss dword [ebp - 0x54], xmm0
call fcn.100b4b40
mov esi, 0x811c9dc5
add esp, 0xc
mov dword [ebp - 0x24], esi
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x100efb85
xor edx, edx
test ecx, ecx
je 0x100efba6
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100efb92
mov dword [ebp - 0x24], esi
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + str.color], 0
jne 0x100efbb0
xor edx, edx
test ecx, ecx
je 0x100efbd4
movsx eax, byte [edx + str.color]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100efbc0
add dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x10b0c610
call fcn.100ec5f0
mov ecx, dword [0x1031b004]
movss xmm0, dword [eax + 4]
add ecx, 0xe57b4e31
xor ecx, 0x147cb0fe
lea esi, [eax + 4]
movss xmm2, dword [ecx + 4]
movzx ecx, byte [ebp - 1]
mulss xmm2, dword [0x10258118]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
call fcn.10028e10
movss xmm4, dword [0x1025805c]
lea ecx, [ebp - 0x48]
xorps xmm2, xmm2
movss dword [esi], xmm0
comiss xmm0, xmm2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x3f800000
mov dword [ebp - 0x48], 0
movss xmm3, dword [0x102582c4]
movss xmm5, dword [0x10257ff4]
cmovae ecx, esi
comiss xmm4, xmm0
cmovae eax, ecx
mov cl, 0xd9
movss xmm1, dword [eax]
movss dword [esi], xmm1
movaps xmm0, xmm1
mulss xmm1, dword [0x102581b0]
mov dword [ebp - 0x24], 0xff
mulss xmm0, dword [0x102583e0]
mov dword [ebp - 0xc], 0
addss xmm1, dword [0x10258178]
cvttss2si eax, xmm0
mulss xmm1, dword [ebp - 0x44]
sub cl, al
lea eax, [ebp - 0x48]
mov byte [ebp - 1], cl
lea ecx, [ebp - 0xc]
cvttss2si edx, xmm1
test edx, edx
mov dword [ebp - 0x48], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x24]
cmovle eax, ecx
mov cl, byte [eax]
movzx eax, byte [ebp - 1]
movd xmm1, eax
movzx eax, cl
cvtdq2ps xmm1, xmm1
movd xmm6, eax
mulss xmm1, dword [0x10257f14]
cvtdq2ps xmm6, xmm6
comiss xmm2, xmm1
mulss xmm6, dword [0x10257f14]
jbe 0x100efced
xor ecx, ecx
xorps xmm1, xmm1
jmp 0x100efd1f
movaps xmm0, xmm1
minss xmm0, xmm4
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
movaps xmm0, xmm1
minss xmm1, xmm4
minss xmm0, xmm4
shl eax, 0x10
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si ecx, xmm0
shl ecx, 8
or ecx, eax
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
or ecx, eax
comiss xmm2, xmm6
ja 0x100efd39
movaps xmm2, xmm6
minss xmm2, xmm4
movss xmm0, dword [ebp - 0x6c]
mulss xmm2, xmm3
push 0xf
push ecx
mov dword [esp], 0x40800000
addss xmm2, xmm5
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [ebp - 0x70]
movss dword [ebp - 0xc], xmm0
cvttss2si eax, xmm2
shl eax, 0x18
or eax, ecx
mov ecx, dword [0x10b0bba4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100aad30
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov esi, ecx
movss xmm0, dword [ebp - 0x44]
and esi, 0xfff9ffff
test cl, 2
movaps xmm3, xmm0
mulss xmm3, dword [eax + 0xc]
cmove esi, ecx
movss xmm4, dword [eax]
movss xmm5, dword [eax + 4]
movss xmm6, dword [eax + 8]
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm5
movss dword [ebp - 0x18], xmm6
movss dword [ebp - 0x14], xmm3
test esi, 0x10000000
je 0x100efdfb
lea eax, [ebp - 0x18]
movaps xmm2, xmm6
push eax
lea edx, [ebp - 0x1c]
movaps xmm1, xmm5
lea ecx, [ebp - 0x20]
movaps xmm0, xmm4
call fcn.100907f0
movss xmm3, dword [ebp - 0x14]
add esp, 4
movss xmm6, dword [ebp - 0x18]
movss xmm5, dword [ebp - 0x1c]
movss xmm4, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x44]
movaps xmm1, xmmword [ebp - 0x90]
movaps xmmword [ebp - 0x40], xmm1
movss xmm7, dword [ebp - 0x38]
movss xmm2, dword [ebp - 0x3c]
movss dword [ebp - 0x60], xmm4
movss dword [ebp - 0x5c], xmm5
movss dword [ebp - 0x58], xmm6
movss dword [ebp - 0x54], xmm0
subss xmm7, dword [0x10258024]
subss xmm1, dword [0x1025839c]
subss xmm2, dword [0x1025839c]
movss dword [ebp - 0x38], xmm7
movss xmm7, dword [ebp - 0x34]
movaps xmmword [ebp - 0xb0], xmm1
movss dword [ebp - 0x40], xmm1
movss dword [ebp - 0x3c], xmm2
subss xmm7, dword [0x10258024]
movss dword [ebp - 0x34], xmm7
test esi, 0x40000
je 0x100eff6f
movss xmm0, dword [0x1025805c]
comiss xmm0, xmm3
jbe 0x100eff6f
movss dword [ebp - 0xc], xmm2
movaps xmm0, xmm1
movss xmm2, dword [0x102582c4]
movss xmm1, dword [0x1025811c]
mov dword [ebp - 0x14], 0xbf400000
addss xmm0, xmm1
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xc0c33cca
push dword [ebp - 0x18]
mulss xmm3, xmm2
push dword [ebp - 0x34]
mulss xmm6, xmm2
push dword [ebp - 0x38]
cvttss2si ecx, xmm3
push dword [ebp - 0xc]
cvttss2si eax, xmm6
movss dword [ebp - 0x10], xmm0
push dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x44]
push ecx
movzx ecx, cl
shl ecx, 8
mulss xmm5, xmm2
movzx eax, al
or ecx, eax
mulss xmm4, xmm2
shl ecx, 8
movss xmm2, dword [0x10258110]
cvttss2si eax, xmm5
cvttss2si edx, xmm4
movzx eax, al
or ecx, eax
shl ecx, 8
movss dword [esp], xmm0
movzx eax, dl
or ecx, eax
push ecx
mov ecx, 0xf
call fcn.100ed200
movaps xmm0, xmmword [ebp - 0xb0]
add esp, 0x20
addss xmm0, dword [ebp - 0x38]
push 0xf
push ecx
addss xmm0, dword [0x1025805c]
lea ecx, [ebp - 0x60]
mov dword [esp], 0x40800000
mulss xmm0, dword [0x10257ff4]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x14], xmm0
call fcn.10090dd0
push eax
lea eax, [ebp - 0x18]
jmp 0x100f0059
movss xmm1, dword [0x1025805c]
lea eax, [ebp - 0x20]
test esi, 0x20000
lea ecx, [ebp - 0x60]
cmove eax, ecx
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x60], xmm0
shufps xmm0, xmm0, 0xff
comiss xmm1, xmm0
jbe 0x100f0043
movss xmm2, dword [0x102582c4]
mulss xmm0, xmm2
mov dword [ebp - 0x14], 0xbf400000
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xbf400000
push dword [ebp - 0x18]
cvttss2si ecx, xmm0
movss xmm0, dword [ebp - 0x58]
push dword [ebp - 0x34]
mulss xmm0, xmm2
push dword [ebp - 0x38]
movss xmm1, dword [0x1025811c]
push dword [ebp - 0x3c]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x5c]
push dword [ebp - 0x40]
mulss xmm0, xmm2
mov dword [ebp - 0xc], eax
push ecx
movzx ecx, cl
cvttss2si eax, xmm0
shl ecx, 8
movss xmm0, dword [ebp - 0x60]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc]
mulss xmm0, xmm2
movzx eax, al
movss xmm2, dword [0x10258110]
or ecx, eax
mov eax, dword [ebp - 0x48]
cvttss2si edx, xmm0
shl ecx, 8
movzx eax, al
or ecx, eax
shl ecx, 8
movss xmm0, dword [ebp - 0x44]
movzx eax, dl
or ecx, eax
movss dword [esp], xmm0
push ecx
mov ecx, 0xf
call fcn.100ed200
add esp, 0x20
jmp 0x100f006c
push 0xf
push ecx
lea ecx, [ebp - 0x60]
mov dword [esp], 0x40800000
call fcn.10090dd0
push eax
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x68]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ecx + 0x284]
call fcn.100aad30
movss xmm0, dword [ebp - 0x74]
xor edx, edx
addss xmm0, dword [0x1025814c]
mov ecx, edi
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x78]
addss xmm0, dword [0x10258164]
movss dword [ebp - 0x14], xmm0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 1
call fcn.10090e90
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x90]
add esp, 0xc
push 1
call fcn.10091cf0
add esp, 4
mov ecx, 1
call fcn.1009ab00
mov al, byte [ebp - 2]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc