Function at 0x10104db0
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 [0x1100c5c8]
lea eax, [ebp - 0xb0]
push esi
mov esi, dword [0x10323708]
movss dword [ebp - 0x44], xmm0
mulss xmm0, dword [0x10270fb4]
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.100b5220
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [esi + 0x15c0], xmm0
mov esi, dword [0x10323708]
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 0x1010553f
mov ecx, dword [eax + 0xcc]
xor edx, edx
mov eax, dword [eax + 0xd4]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.100a4d40
add esp, 4
mov dword [ebp - 0x7c], eax
cmp dword [esi + 0x19ec], eax
jne 0x10104e91
mov dword [esi + 0x19f0], eax
cmp dword [esi + 0x1a20], eax
jne 0x10104ea0
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 [0x10271298]
movaps xmm2, xmm5
movss dword [ebp - 0x14], xmm5
addss xmm2, dword [0x1027112c]
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 [0x10271188]
mov eax, dword [ebp - 0x18]
movaps xmm0, xmm2
addss xmm0, dword [0x10271130]
mov dword [ebp - 0x40], eax
movss dword [ebp - 0x74], xmm4
movss dword [ebp - 0x88], xmm1
movaps xmm1, xmm5
addss xmm1, dword [0x102711ac]
movss dword [ebp - 0x84], xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x102712b4]
movss dword [ebp - 0x78], xmm5
movss dword [ebp - 0x90], xmm3
movss dword [ebp - 0x70], xmm1
addss xmm1, dword [0x102710e0]
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 [0x102713a0]
call fcn.100a7a50
mov esi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x40]
push 0
mov edx, esi
call fcn.100a7b80
add esp, 4
test al, al
je 0x1010553f
push 0
lea eax, [ebp - 2]
mov edx, esi
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x90]
call fcn.100c9790
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.100c9790
mov esi, 0x811c9dc5
add esp, 0xc
mov dword [ebp - 0x24], esi
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10104ff5
xor edx, edx
test ecx, ecx
je 0x10105016
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10105002
mov dword [ebp - 0x24], esi
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + str.color], 0
jne 0x10105020
xor edx, edx
test ecx, ecx
je 0x10105044
movsx eax, byte [edx + str.color]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10105030
add dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x1100c588
call fcn.10101a60
mov ecx, dword [0x103351b4]
movss xmm0, dword [eax + 4]
add ecx, 0x803b3c07
xor ecx, 0xc7a4cce5
lea esi, [eax + 4]
movss xmm2, dword [ecx + 4]
movzx ecx, byte [ebp - 1]
mulss xmm2, dword [0x102710e8]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
call fcn.1003ab50
movss xmm4, dword [0x10271024]
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 [0x102712b0]
movss xmm5, dword [0x10270fb4]
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 [0x10271180]
mov dword [ebp - 0x24], 0xff
mulss xmm0, dword [0x102713d0]
mov dword [ebp - 0xc], 0
addss xmm1, dword [0x10271144]
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 [0x10270ecc]
cvtdq2ps xmm6, xmm6
comiss xmm2, xmm1
mulss xmm6, dword [0x10270ecc]
jbe 0x1010515d
xor ecx, ecx
xorps xmm1, xmm1
jmp 0x1010518f
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 0x101051a9
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 [0x1100bb1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100bf9d0
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 0x1010526b
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.100a54b0
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 [0x10270fec]
subss xmm1, dword [0x10271394]
subss xmm2, dword [0x10271394]
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 [0x10270fec]
movss dword [ebp - 0x34], xmm7
test esi, 0x40000
je 0x101053df
movss xmm0, dword [0x10271024]
comiss xmm0, xmm3
jbe 0x101053df
movss dword [ebp - 0xc], xmm2
movaps xmm0, xmm1
movss xmm2, dword [0x102712b0]
movss xmm1, dword [0x102710ec]
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 [0x102710e0]
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.10102670
movaps xmm0, xmmword [ebp - 0xb0]
add esp, 0x20
addss xmm0, dword [ebp - 0x38]
push 0xf
push ecx
addss xmm0, dword [0x10271024]
lea ecx, [ebp - 0x60]
mov dword [esp], 0x40800000
mulss xmm0, dword [0x10270fb4]
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.100a5a90
push eax
lea eax, [ebp - 0x18]
jmp 0x101054c9
movss xmm1, dword [0x10271024]
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 0x101054b3
movss xmm2, dword [0x102712b0]
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 [0x102710ec]
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 [0x102710e0]
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.10102670
add esp, 0x20
jmp 0x101054dc
push 0xf
push ecx
lea ecx, [ebp - 0x60]
mov dword [esp], 0x40800000
call fcn.100a5a90
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.100bf9d0
movss xmm0, dword [ebp - 0x74]
xor edx, edx
addss xmm0, dword [0x10271118]
mov ecx, edi
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x78]
addss xmm0, dword [0x10271130]
movss dword [ebp - 0x14], xmm0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 1
call fcn.100a5b50
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x90]
add esp, 0xc
push 1
call fcn.100a69b0
add esp, 4
mov ecx, 1
call fcn.100af780
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