Function at 0x101042b0
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 [0x10bd8960]
lea eax, [ebp - 0xb0]
push esi
mov esi, dword [0x102ba550]
movss dword [ebp - 0x44], xmm0
mulss xmm0, dword [0x102077ec]
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.100b4780
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [esi + 0x15c0], xmm0
mov esi, dword [0x102ba550]
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 0x10104a3f
mov ecx, dword [eax + 0xcc]
xor edx, edx
mov eax, dword [eax + 0xd4]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.100a4260
add esp, 4
mov dword [ebp - 0x7c], eax
cmp dword [esi + 0x19ec], eax
jne 0x10104391
mov dword [esi + 0x19f0], eax
cmp dword [esi + 0x1a20], eax
jne 0x101043a0
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 [0x10207ac8]
movaps xmm2, xmm5
movss dword [ebp - 0x14], xmm5
addss xmm2, dword [0x10207968]
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 [0x102079c0]
mov eax, dword [ebp - 0x18]
movaps xmm0, xmm2
addss xmm0, dword [0x1020796c]
mov dword [ebp - 0x40], eax
movss dword [ebp - 0x74], xmm4
movss dword [ebp - 0x88], xmm1
movaps xmm1, xmm5
addss xmm1, dword [0x102079e8]
movss dword [ebp - 0x84], xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x10207ae4]
movss dword [ebp - 0x78], xmm5
movss dword [ebp - 0x90], xmm3
movss dword [ebp - 0x70], xmm1
addss xmm1, dword [0x10207918]
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 [0x10207bc8]
call fcn.100a6f60
mov esi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x40]
push 0
mov edx, esi
call fcn.100a7090
add esp, 4
test al, al
je 0x10104a3f
push 0
lea eax, [ebp - 2]
mov edx, esi
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x90]
call fcn.100c8ce0
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.100c8ce0
mov esi, 0x811c9dc5
add esp, 0xc
mov dword [ebp - 0x24], esi
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x101044f5
xor edx, edx
test ecx, ecx
je 0x10104516
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10104502
mov dword [ebp - 0x24], esi
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + str.color], 0
jne 0x10104520
xor edx, edx
test ecx, ecx
je 0x10104544
movsx eax, byte [edx + str.color]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10104530
add dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x10bd8920
call fcn.10100f60
mov ecx, dword [0x102cc030]
movss xmm0, dword [eax + 4]
add ecx, 0x781833fb
xor ecx, 0x567bbcf7
lea esi, [eax + 4]
movss xmm2, dword [ecx + 4]
movzx ecx, byte [ebp - 1]
mulss xmm2, dword [0x10207920]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
call fcn.1003a1e0
movss xmm4, dword [0x1020785c]
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 [0x10207ae0]
movss xmm5, dword [0x102077ec]
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 [0x102079b8]
mov dword [ebp - 0x24], 0xff
mulss xmm0, dword [0x10207bf8]
mov dword [ebp - 0xc], 0
addss xmm1, dword [0x10207980]
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 [0x1020770c]
cvtdq2ps xmm6, xmm6
comiss xmm2, xmm1
mulss xmm6, dword [0x1020770c]
jbe 0x1010465d
xor ecx, ecx
xorps xmm1, xmm1
jmp 0x1010468f
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 0x101046a9
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 [0x10bd7eb4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100bef00
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 0x1010476b
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.100a49d0
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 [0x10207824]
subss xmm1, dword [0x10207bbc]
subss xmm2, dword [0x10207bbc]
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 [0x10207824]
movss dword [ebp - 0x34], xmm7
test esi, 0x40000
je 0x101048df
movss xmm0, dword [0x1020785c]
comiss xmm0, xmm3
jbe 0x101048df
movss dword [ebp - 0xc], xmm2
movaps xmm0, xmm1
movss xmm2, dword [0x10207ae0]
movss xmm1, dword [0x10207924]
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 [0x10207918]
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.10101b70
movaps xmm0, xmmword [ebp - 0xb0]
add esp, 0x20
addss xmm0, dword [ebp - 0x38]
push 0xf
push ecx
addss xmm0, dword [0x1020785c]
lea ecx, [ebp - 0x60]
mov dword [esp], 0x40800000
mulss xmm0, dword [0x102077ec]
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.100a4fb0
push eax
lea eax, [ebp - 0x18]
jmp 0x101049c9
movss xmm1, dword [0x1020785c]
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 0x101049b3
movss xmm2, dword [0x10207ae0]
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 [0x10207924]
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 [0x10207918]
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.10101b70
add esp, 0x20
jmp 0x101049dc
push 0xf
push ecx
lea ecx, [ebp - 0x60]
mov dword [esp], 0x40800000
call fcn.100a4fb0
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.100bef00
movss xmm0, dword [ebp - 0x74]
xor edx, edx
addss xmm0, dword [0x10207954]
mov ecx, edi
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x78]
addss xmm0, dword [0x1020796c]
movss dword [ebp - 0x14], xmm0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 1
call fcn.100a5070
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x90]
add esp, 0xc
push 1
call fcn.100a5ec0
add esp, 4
mov ecx, 1
call fcn.100aecc0
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