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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [0x100c07e8]
sub esp, 0x1c
push ebx
push esi
push edi
test edx, edx
je 0x1008acae
mov ecx, dword [0x100c0404]
test ecx, ecx
je 0x1008acae
mov eax, dword [0x100e6c34]
add eax, 0xffffffcc
xor eax, 0xe53428b2
cmp dword [eax + ecx], 0
jne 0x1008acae
cmp dword [0x100c0790], 0
je 0x1008acae
mov eax, dword [0x100e6c40]
add eax, 0xffffffc9
xor eax, 0xe53428b5
mov eax, dword [eax + ecx]
cmp eax, 8
je 0x1008acae
cmp eax, 9
je 0x1008acae
mov eax, dword [0x100e6c38]
add eax, 0xffffffcb
xor eax, 0xe53428b3
test byte [eax + ecx], 1
je 0x1008acae
test byte [edx + 0x30], 2
jne 0x1008acae
cmp byte [0x100e4ffb], 0
je 0x1008acae
cmp dword [0x100c0798], 0
je 0x1008acae
mov eax, dword [0x100e6c00]
add eax, 0xffffffd9
xor eax, 0xe53428a5
movq xmm0, qword [eax + ecx]
mov eax, dword [eax + ecx + 8]
movq qword [esp + 0x1c], xmm0
movss xmm1, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x20]
mulss xmm0, xmm0
mov dword [esp + 0x24], eax
mulss xmm1, xmm1
addss xmm0, xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1001f120
movss xmm1, dword [0x100b5f2c]
comiss xmm1, dword [0x100c0888]
movss dword [esp + 0x10], xmm0
jbe 0x1008aaa5
mov dword [edx + 0x24], 0
mov eax, dword [0x100c07e8]
mov dword [eax + 0x28], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x100ec6d0]
test al, 1
jne 0x1008ab08
or eax, 1
mov dword [0x100ec6d0], eax
mov eax, dword [0x100e6a0c]
mov ebx, dword [eax + 0x30]
jmp 0x1008aafc
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1008aad0
xor edx, edx
test ecx, ecx
je 0x1008aaf9
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1008aae0
cmp esi, 0x16cc57ac
je 0x1008ab00
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1008aac0
mov dword [0x100ec6d8], ebx
jmp 0x1008ab0e
mov ebx, dword [0x100ec6d8]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
call dword [esp + 0xc]
mov ecx, dword [0x100e6cd8]
mov eax, dword [0x100c0404]
add ecx, 0xffffffa3
xor ecx, 0xe53428db
fstp dword [esp + 0xc]
mov eax, dword [ecx + eax]
mov ecx, dword [0x100e6a14]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x6f8]
call eax
mov ecx, dword [0x100c0404]
movss xmm0, dword [eax + 0x12c]
mov eax, dword [0x100e6c88]
add eax, 0xffffffb7
xor eax, 0xe53428c7
cmp byte [eax + ecx], 0
je 0x1008abad
mov eax, dword [0x100e6cd8]
add eax, 0xffffffa3
xor eax, 0xe53428db
mov eax, dword [eax + ecx]
mov ecx, dword [0x100e6a14]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x6f8]
call eax
movss xmm0, dword [eax + 0x130]
mov eax, dword [0x100e6a6c]
movss xmm2, dword [esp + 0xc]
minss xmm0, dword [0x100b6130]
movss xmm4, dword [esp + 0x10]
mulss xmm2, dword [eax + 0x20]
movss xmm3, dword [0x100b619c]
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, xmm1
comiss xmm3, xmm0
jb 0x1008abee
mulss xmm1, xmm2
divss xmm1, xmm4
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0xc], xmm1
movss xmm1, dword [esp + 0x1c]
mulss xmm1, xmm3
mov esi, dword [0x100c07e8]
mulss xmm0, xmm3
movss dword [esp + 0x18], xmm1
mulss xmm1, xmm1
movss dword [esp + 0x14], xmm0
mulss xmm0, xmm0
fld dword [esp + 0x24]
movss xmm2, dword [esi + 0x10]
addss xmm0, xmm1
sqrtss xmm0, xmm0
movss dword [esp + 0x10], xmm0
fld dword [esp + 0x10]
fpatan
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fld dword [esp + 0x18]
fpatan
movss xmm0, dword [esp + 0x10]
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
mulss xmm1, dword [0x100b60c4]
subss xmm2, xmm1
mulss xmm2, dword [0x100b5f14]
movaps xmm1, xmm2
call fcn.100a3540
movaps xmm2, xmm0
shufps xmm2, xmm0, 0xe
movaps xmm1, xmm2
shufps xmm0, xmm0, 1
shufps xmm1, xmm2, 1
mulss xmm1, xmm0
mulss xmm2, xmm0
mulss xmm1, dword [esp + 0xc]
mulss xmm2, dword [esp + 0xc]
movss dword [esi + 0x24], xmm1
mov eax, dword [0x100c07e8]
movss dword [eax + 0x28], xmm2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret