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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 0x18]
mov cl, al
shr eax, 1
and cl, 1
not eax
movss xmm1, dword [0x10b0c650]
and eax, 1
mov byte [ebp + 0x1b], cl
push ebx
push esi
mov esi, dword [0x10309a38]
movd xmm0, eax
mov al, cl
cvtdq2ps xmm0, xmm0
xor al, 1
mov dword [ebp - 0x48], 0x3f800000
lea ecx, [esi + 0x1a9c]
movzx eax, al
push edi
mov dword [ebp - 0x38], 0
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x44], xmm0
movss dword [ebp - 0x40], xmm0
movd xmm0, eax
lea eax, [ebp - 0x38]
cvtdq2ps xmm0, xmm0
push eax
addss xmm0, dword [0x1025805c]
mulss xmm0, dword [0x10257ff4]
mulss xmm0, xmm1
movss dword [ebp - 0x3c], xmm0
movups xmm0, xmmword [esi + 0x15c0]
movups xmmword [ebp - 0x34], xmm0
call fcn.100a05b0
mov ebx, dword [0x10309a38]
movups xmm0, xmmword [ebp - 0x48]
mov dword [ebp - 0x1c], ebx
movups xmmword [esi + 0x15c0], xmm0
mov eax, dword [ebx + 0x19b0]
mov byte [eax + 0x8c], 1
mov eax, dword [ebx + 0x19b0]
mov dword [ebp - 0xc], eax
cmp byte [eax + 0x8f], 0
jne 0x100ec4fd
mov ecx, dword [eax + 0xcc]
xor edx, edx
mov eax, dword [eax + 0xd4]
mov edi, dword [ebp + 8]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.10090080
mov esi, eax
add esp, 4
cmp dword [ebx + 0x19ec], esi
jne 0x100ec144
mov dword [ebx + 0x19f0], esi
cmp dword [ebx + 0x1a20], esi
jne 0x100ec153
mov byte [ebx + 0x1a24], 1
mov ecx, edi
cmp edi, 0xffffffff
jae 0x100ec176
nop word [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x100ec176
cmp dl, 0x23
jne 0x100ec170
cmp byte [ecx + 1], dl
je 0x100ec176
inc ecx
cmp ecx, 0xffffffff
jb 0x100ec160
movss xmm2, dword [ebx + 0x18c4]
cmp edi, ecx
jne 0x100ec190
mov dword [ebp - 0x24], 0
movss dword [ebp - 0x20], xmm2
jmp 0x100ec1d1
push ecx
push ecx
push edi
push ecx
mov ecx, dword [ebx + 0x18c0]
lea eax, [ebp - 0x14]
mov dword [esp], 0xbf800000
push eax
call fcn.100aec30
movss xmm0, dword [ebp - 0x14]
addss xmm0, dword [0x1025804c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [ebp - 0x20], xmm0
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x2c]
movss xmm2, dword [eax + 0xd8]
movss xmm3, dword [eax + 0xdc]
movaps xmm0, xmm2
mov eax, dword [ebp + 0xc]
movaps xmm1, xmm3
movss dword [ebp - 0xc], xmm2
movss dword [ebp - 0x10], xmm3
movss dword [ebp - 0x48], xmm2
addss xmm1, dword [eax + 4]
addss xmm0, dword [eax]
movss dword [ebp - 0x44], xmm3
addss xmm1, dword [0x10258110]
movss dword [ebp - 0x40], xmm0
subss xmm0, xmm2
movss dword [ebp - 0x3c], xmm1
subss xmm1, xmm3
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x28], xmm1
movss xmm1, dword [ebx + 0x154c]
call fcn.10092d90
push 0
mov edx, esi
lea ecx, [ebp - 0x48]
call fcn.10092ec0
add esp, 4
test al, al
je 0x100ec4fd
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x34]
movss xmm2, dword [ebp - 0xc]
mov edx, esi
movss xmm3, dword [ebp - 0x10]
movaps xmm1, xmm2
movaps xmm0, xmm3
movss dword [ebp - 0x34], xmm2
addss xmm1, dword [eax]
addss xmm0, dword [eax + 4]
push 0
lea eax, [ebp - 5]
movss dword [ebp - 0x30], xmm3
push eax
lea eax, [ebp + 0xf]
movss dword [ebp - 0x2c], xmm1
push eax
movss dword [ebp - 0x28], xmm0
call fcn.100b4b40
add esp, 0xc
mov byte [ebp - 6], al
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x100ec2a6
xor edx, edx
test ecx, ecx
je 0x100ec2c4
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100ec2b3
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
mov ecx, 0x10b0c610
call fcn.100ec5f0
mov ecx, dword [0x1031b004]
mov bl, byte [ebp + 0xf]
add ecx, 0xe57b4e31
movss xmm0, dword [eax + 4]
xor ecx, 0x147cb0fe
lea esi, [eax + 4]
movzx eax, bl
movss xmm2, dword [ecx + 4]
mulss xmm2, dword [0x10258118]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.10028e10
movss xmm6, dword [0x1025805c]
lea ecx, [ebp + 0xc]
xorps xmm2, xmm2
movss dword [esi], xmm0
comiss xmm0, xmm2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x3f800000
mov dword [ebp + 0xc], 0
cmovae ecx, esi
comiss xmm6, xmm0
cmovae eax, ecx
cmp byte [ebp + 0x1b], 0
movss xmm3, dword [eax]
movss dword [esi], xmm3
jne 0x100ec35f
test bl, bl
je 0x100ec35f
cmp byte [ebp - 5], 0
je 0x100ec35f
movss xmm1, dword [0x10258228]
jmp 0x100ec367
movss xmm1, dword [0x10258178]
movaps xmm0, xmm3
movss xmm4, dword [0x102582c4]
mulss xmm3, dword [0x102581b0]
lea ecx, [ebp + 0xc]
mov bl, 0xd9
mov dword [ebp + 0xc], 0
mulss xmm0, dword [0x102583e0]
addss xmm3, xmm1
movss xmm7, dword [0x10257ff4]
cvttss2si eax, xmm0
mulss xmm3, dword [ebp - 0x18]
sub bl, al
mov dword [ebp - 0x18], 0xff
lea eax, [ebp + 0x18]
cvttss2si edx, xmm3
test edx, edx
mov dword [ebp + 0x18], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x18]
cmovle eax, ecx
mov cl, byte [eax]
movzx eax, bl
movd xmm3, eax
movzx eax, cl
cvtdq2ps xmm3, xmm3
movd xmm5, eax
mulss xmm3, dword [0x10257f14]
cvtdq2ps xmm5, xmm5
comiss xmm2, xmm3
mulss xmm5, dword [0x10257f14]
jbe 0x100ec3f9
xor ecx, ecx
xorps xmm3, xmm3
jmp 0x100ec42b
movaps xmm0, xmm3
movaps xmm1, xmm3
minss xmm0, xmm6
minss xmm1, xmm6
minss xmm3, xmm6
mulss xmm0, xmm4
mulss xmm1, xmm4
addss xmm0, xmm7
addss xmm1, xmm7
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
shl ecx, 8
or ecx, eax
shl ecx, 8
mulss xmm3, xmm4
addss xmm3, xmm7
cvttss2si eax, xmm3
or ecx, eax
comiss xmm2, xmm5
ja 0x100ec445
movaps xmm2, xmm5
minss xmm2, xmm6
mulss xmm2, xmm4
push 0xf
push ecx
mov dword [esp], 0x40800000
addss xmm2, xmm7
cvttss2si eax, xmm2
shl eax, 0x18
or eax, ecx
mov ecx, dword [0x10b0bba4]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100aad30
mov ebx, edi
cmp ebx, 0xffffffff
jae 0x100ec496
nop dword [eax + eax]
mov cl, byte [edi]
test cl, cl
je 0x100ec496
cmp cl, 0x23
jne 0x100ec490
cmp byte [edi + 1], cl
je 0x100ec496
inc edi
cmp edi, 0xffffffff
jb 0x100ec480
mov eax, edi
sub eax, ebx
je 0x100ec4e7
mov esi, dword [0x10309a38]
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x34]
add eax, 0x1594
mov ecx, dword [esi + 0x19b0]
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ecx + 0x284]
lea eax, [ebp - 0x2c]
push edi
push ebx
push eax
call fcn.100911d0
add esp, 0x18
cmp byte [esi + 0x2d60], 0
je 0x100ec4e7
push edi
mov edx, ebx
lea ecx, [ebp - 0x34]
call fcn.1009f510
add esp, 4
mov ecx, 1
call fcn.1009ab00
mov al, byte [ebp - 6]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, 1
call fcn.1009ab00
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14