Function at 0x100cda80
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, 0xc8
push esi
mov eax, ecx
push edi
mov edi, dword [ebx + 8]
mov dword [ebp - 0x48], eax
call fcn.100d92a0
fstp dword [ebp - 8]
movss xmm0, dword [ebp - 8]
lea eax, [ebp - 0x18]
mulss xmm0, dword [0x101a0e20]
push eax
push 0
mov dword [ebp - 0x18], 0x3f800000
mov dword [ebp - 0x14], 0x3f800000
mov dword [ebp - 0x10], 0x3f800000
movss dword [ebp - 0xc], xmm0
call fcn.100759d0
mov ecx, dword [0x10bfd778]
add esp, 8
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x8c], 1
mov esi, dword [ecx + 0x19b0]
mov dword [ebp - 0x64], esi
cmp byte [esi + 0x8f], 0
jne 0x100ce152
push 0
push edi
mov ecx, esi
call fcn.1006ed30
mov dword [ebp - 0x6c], eax
call fcn.1006ec50
movss xmm5, dword [esi + 0xd8]
lea eax, [ebp - 0xa0]
movss dword [ebp - 0x30], xmm5
movaps xmm3, xmm5
movss xmm4, dword [esi + 0xdc]
fstp st(0)
addss xmm3, dword [0x101abe4c]
movaps xmm2, xmm4
movss dword [ebp - 0x2c], xmm4
addss xmm2, dword [0x101a626c]
push ecx
mov dword [esp], 0xbf800000
movaps xmm1, xmm3
movss dword [ebp - 0x90], xmm3
addss xmm1, dword [0x101a6024]
movaps xmm0, xmm2
movss dword [ebp - 0x8c], xmm2
addss xmm0, dword [0x101a6020]
push eax
movss dword [ebp - 0xa0], xmm5
movss dword [ebp - 0x88], xmm1
movaps xmm1, xmm5
addss xmm1, dword [0x101abdf8]
movss dword [ebp - 0x84], xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x101abe34]
movss dword [ebp - 0x9c], xmm4
movss dword [ebp - 0x98], xmm1
addss xmm0, dword [0x101a0e38]
movss dword [ebp - 0x94], xmm0
call fcn.10070fd0
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0xa0]
push 0
push esi
push eax
call fcn.10070c80
add esp, 0x14
test al, al
je 0x100ce152
push 0
lea eax, [ebp - 0x41]
push eax
lea eax, [ebp - 0x42]
push eax
lea eax, [ebp - 0x90]
push esi
push eax
call fcn.100919d0
movss xmm1, dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x2c]
movaps xmm3, xmm1
addss xmm3, dword [0x101abdf8]
mov byte [ebp - 2], al
movaps xmm2, xmm0
addss xmm2, dword [0x101abe34]
push 0
lea eax, [ebp - 0x43]
movss dword [ebp - 0x18], xmm1
push eax
lea eax, [ebp - 0x80]
movss dword [ebp - 0x14], xmm0
push eax
lea eax, [ebp - 0x18]
movss dword [ebp - 0x10], xmm3
push esi
push eax
movss dword [ebp - 0xc], xmm2
call fcn.100919d0
mov eax, dword [ebp - 0x48]
mov esi, 0x811c9dc5
add eax, 0xa70
mov dword [ebp - 0x54], esi
add esp, 0x28
mov dword [ebp - 0x1c], eax
xor ecx, ecx
nop
inc ecx
cmp byte [edi + ecx], 0
jne 0x100cdc70
xor edx, edx
test ecx, ecx
je 0x100cdc94
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100cdc80
mov dword [ebp - 0x54], esi
mov ecx, 0x811c9dc5
xor edx, edx
nop dword [eax + eax]
inc edx
cmp byte [edx + str.color], 0
jne 0x100cdca0
xor esi, esi
test edx, edx
je 0x100cdcc4
movsx eax, byte [esi + str.color]
inc esi
xor eax, ecx
imul ecx, eax, 0x1000193
cmp esi, edx
jb 0x100cdcb0
add dword [ebp - 0x54], ecx
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.100ccd60
push 4
push ecx
mov ecx, dword [ebp - 0x48]
mov dword [esp], 0x3f800000
lea esi, [eax + 4]
push dword [ebp - 0x80]
push esi
call fcn.100d7a00
movss xmm1, dword [esi]
mov cl, 0xd9
movaps xmm0, xmm1
mov dword [ebp - 0x1c], 0
mulss xmm1, dword [0x101a1050]
mov dword [ebp - 0xc], 0xff
mulss xmm0, dword [0x101abdd0]
addss xmm1, dword [0x101a0f20]
cvttss2si eax, xmm0
mulss xmm1, dword [ebp - 8]
sub cl, al
lea eax, [ebp - 0x54]
mov byte [ebp - 1], cl
lea ecx, [ebp - 0x1c]
cvttss2si edx, xmm1
test edx, edx
mov dword [ebp - 0x54], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0xc]
cmovle eax, ecx
mov cl, byte [eax]
mov eax, dword [ebp - 0x48]
mov esi, dword [eax + 4]
movzx eax, byte [ebp - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, cl
mulss xmm0, dword [0x101a1038]
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x20], xmm0
movd xmm0, eax
lea eax, [ebp - 0x28]
cvtdq2ps xmm0, xmm0
push eax
mulss xmm0, dword [0x101a1038]
movss dword [ebp - 0x1c], xmm0
call fcn.1006c660
movss xmm0, dword [ebp - 0x30]
add esp, 4
addss xmm0, dword [0x101abdf8]
push 0xf
push ecx
movss dword [ebp - 0x10], xmm0
mov ecx, esi
movss xmm0, dword [ebp - 0x2c]
addss xmm0, dword [0x101abe34]
mov dword [esp], 0x40800000
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
movss dword [ebp - 0xc], xmm0
push eax
call fcn.1007cf30
mov ecx, dword [ebx + 0x10]
mov esi, ecx
mov eax, dword [ebx + 0xc]
and esi, 0xfff9ffff
test cl, 2
cmove esi, ecx
movss xmm3, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm5, dword [eax + 8]
movss dword [ebp - 0x7c], xmm3
movss dword [ebp - 0x78], xmm4
movss dword [ebp - 0x74], xmm5
movss xmm0, dword [ebp - 8]
movaps xmm7, xmm0
mulss xmm7, dword [eax + 0xc]
movss dword [ebp - 0x70], xmm7
test esi, 0x10000000
je 0x100cde5e
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm4
movss dword [esp], xmm3
call fcn.1006c710
movss xmm7, dword [ebp - 0x70]
add esp, 0x18
movss xmm5, dword [ebp - 0x74]
movss xmm4, dword [ebp - 0x78]
movss xmm3, dword [ebp - 0x7c]
movss xmm0, dword [ebp - 8]
movaps xmm2, xmmword [ebp - 0x90]
movaps xmmword [ebp - 0x40], xmm2
movss xmm6, dword [ebp - 0x3c]
movss dword [ebp - 0xa4], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0xb0], xmm3
movss dword [ebp - 0xac], xmm4
movss dword [ebp - 0xa8], xmm5
subss xmm0, dword [0x101a0ef4]
subss xmm2, dword [0x101a6ac4]
subss xmm6, dword [0x101a6ac4]
movss dword [ebp - 0xc], xmm0
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x34]
movaps xmmword [ebp - 0xc0], xmm2
movss dword [ebp - 0x40], xmm2
movss dword [ebp - 0x3c], xmm6
subss xmm0, dword [0x101a0ef4]
movss dword [ebp - 0x34], xmm0
test esi, 0x40000
je 0x100cdff1
movss xmm0, dword [0x101a0e2c]
comiss xmm0, xmm7
jbe 0x100cdff1
movss xmm0, dword [0x101a1054]
mulss xmm7, xmm0
mov dword [ebp - 0x1c], 0xbf400000
mulss xmm5, xmm0
mov dword [ebp - 0x20], 0xc0c33cca
mulss xmm4, xmm0
mulss xmm3, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x101abe28]
cvttss2si ecx, xmm7
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [ebp - 8]
push ecx
movss dword [esp], xmm0
push 0xf
push ecx
mov dword [esp], 0x40800000
push dword [ebp - 0x1c]
cvttss2si eax, xmm5
push dword [ebp - 0x20]
movzx eax, al
push ecx
movzx ecx, cl
shl ecx, 8
or ecx, eax
mov dword [esp], 0x40ab3cca
cvttss2si eax, xmm4
shl ecx, 8
cvttss2si edx, xmm3
movzx eax, al
or ecx, eax
shl ecx, 8
movss dword [ebp - 0x54], xmm6
movzx eax, dl
or ecx, eax
push ecx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.100cd5b0
mov esi, dword [ebp - 0x64]
lea eax, [ebp - 0xb0]
push eax
mov esi, dword [esi + 0x284]
call fcn.1006e910
movaps xmm0, xmmword [ebp - 0xc0]
add esp, 0x30
addss xmm0, dword [ebp - 0xc]
push 0xf
addss xmm0, dword [0x101a0e2c]
mulss xmm0, dword [0x101a0e20]
cvttss2si ecx, xmm0
push ecx
mov dword [esp], 0x40800000
push eax
movd xmm0, ecx
lea eax, [ebp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x1c], xmm0
jmp 0x100ce0e8
movss xmm1, dword [0x101a0e2c]
lea eax, [ebp - 0x7c]
test esi, 0x20000
lea ecx, [ebp - 0xb0]
cmove eax, ecx
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x60], xmm0
shufps xmm0, xmm0, 0xff
comiss xmm1, xmm0
jbe 0x100ce0c5
movss xmm1, dword [0x101a1054]
mulss xmm0, xmm1
mov dword [ebp - 0x64], 0xbf400000
mov dword [ebp - 0x68], 0xbf400000
cvttss2si ecx, xmm0
movss xmm0, dword [ebp - 0x58]
mulss xmm0, xmm1
push ecx
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x5c]
mulss xmm0, xmm1
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x60]
mulss xmm0, xmm1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
movzx eax, al
cvttss2si edx, xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
push 0xf
push ecx
mov dword [esp], 0x40800000
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push ecx
movzx ecx, cl
shl ecx, 8
or ecx, eax
mov dword [esp], 0x40ab3cca
mov eax, dword [ebp - 0x1c]
shl ecx, 8
movzx eax, al
or ecx, eax
movzx eax, dl
shl ecx, 8
or ecx, eax
push ecx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.100cd5b0
add esp, 0x2c
jmp 0x100ce0f4
mov esi, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
push eax
mov esi, dword [esi + 0x284]
call fcn.1006e910
add esp, 4
push 0xf
push ecx
mov dword [esp], 0x40800000
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.1007cf30
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [0x101a6304]
push 1
push 0
push edi
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [ebp - 0x2c]
addss xmm0, dword [0x101a6020]
movss dword [ebp - 0xc], xmm0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.10076620
mov eax, dword [ebp - 0x6c]
push 1
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.100763d0
push 1
call fcn.10075530
mov al, byte [ebp - 2]
add esp, 0x24
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