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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100cf360]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101cce2c]
mov ecx, dword [0x100cf3d0]
add eax, 0xffffffc7
xor eax, 0x533929d6
push esi
push edi
test byte [eax + ecx], 1
je 0x1008f930
test byte [0x100cf3d8], 1
je 0x1008f930
mov eax, dword [0x100cfb0c]
test dword [eax + 0x30], 0x61a
jne 0x1008f930
mov eax, dword [0x101ccdec]
add eax, 0xffffffd7
xor eax, 0x533929c6
movq xmm0, qword [eax + ecx]
mov eax, dword [eax + ecx + 8]
movq qword [ebp - 0x2c], xmm0
movss xmm3, dword [ebp - 0x2c]
movss xmm4, dword [ebp - 0x28]
movaps xmm0, xmm3
movaps xmm1, xmm4
mulss xmm0, xmm3
mov dword [ebp - 0x24], eax
mulss xmm1, xmm4
addss xmm0, xmm1
call fcn.1001e500
movaps xmm1, xmm0
comiss xmm1, dword [0x100c457c]
jbe 0x1008f930
movss xmm0, dword [ebp - 0x24]
xorps xmm0, xmmword [0x100c4790]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.1001e490
mulss xmm0, dword [0x100c45bc]
movaps xmm1, xmm3
movss dword [ebp - 0x14], xmm0
movaps xmm0, xmm4
call fcn.1001e490
mov ecx, dword [0x101ccc00]
lea edx, [ebp - 0x10]
mulss xmm0, dword [0x100c45bc]
push edx
mov eax, dword [ecx]
movss dword [ebp - 0x18], xmm0
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [ebp - 0x14]
mulss xmm0, dword [0x100c4344]
call fcn.1001e4c0
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 0xc]
subss xmm0, dword [ebp - 0x18]
mulss xmm0, dword [0x100c4344]
movss dword [ebp - 0x18], xmm0
call fcn.1001e4c0
mulss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x18]
call fcn.1001e4f0
mulss xmm0, dword [ebp - 0x14]
mov ecx, dword [0x101d4ec8]
movss dword [ebp - 0x1c], xmm0
test cl, 1
jne 0x1008f855
or ecx, 1
mov dword [0x101d4ec8], ecx
mov eax, dword [0x101ccbfc]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1008f83c
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1008f800
xor edx, edx
test ecx, ecx
je 0x1008f82c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1008f810
mov eax, dword [ebp - 0x18]
cmp esi, 0x7939b3a7
je 0x1008f848
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x1008f7f0
mov ecx, dword [0x101d4ec8]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [0x101d4ed0], eax
jmp 0x1008f85d
mov ecx, dword [0x101d4ec8]
mov dword [0x101d4ed0], eax
jmp 0x1008f85d
mov eax, dword [0x101d4ed0]
mov dword [ebp - 0x18], eax
test cl, 2
jne 0x1008f8cd
or ecx, 2
mov dword [0x101d4ec8], ecx
mov eax, dword [0x101ccbfc]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1008f8c6
nop word [eax + eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1008f890
xor edx, edx
test ecx, ecx
je 0x1008f8bc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1008f8a0
mov eax, dword [ebp - 0x14]
cmp esi, 0xda6a172f
je 0x1008f8c8
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1008f880
xor eax, eax
mov dword [0x101d4ec0], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
call dword [ebp - 0x14]
mov ecx, dword [0x101d4ec0]
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
xorps xmm0, xmmword [0x100c4790]
mov eax, dword [ecx]
movss dword [ebp - 0x18], xmm0
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
call dword [ebp - 0x14]
movss xmm1, dword [ebp - 0x20]
mov eax, dword [0x100cfb0c]
fmul dword [ebp - 0x1c]
mulss xmm1, dword [ebp - 0x18]
movss dword [eax + 0x24], xmm1
mov eax, dword [0x100cfb0c]
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
xorps xmm0, xmmword [0x100c4790]
movss dword [eax + 0x28], xmm0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100af496
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4