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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x100c1040]
xor eax, esp
mov dword [esp + 0x2c], eax
cmp dword [0x100c1678], 0
push esi
push edi
je 0x1008ea03
cmp dword [0x100c1670], 0
je 0x1008ea03
cmp dword [0x100c1674], 0x1f
je 0x1008ea03
cmp dword [0x100c12a8], 0
je 0x1008ea03
cmp byte [0x100c12ac], 0
je 0x1008ea03
test byte [0x100c16d4], 2
jne 0x1008ea03
test byte [0x100c12b0], 1
je 0x1008ea03
cmp byte [0x100c2154], 0
je 0x1008ea03
push 0
push dword [0x100c220c]
push dword [0x100c2208]
call fcn.100a4690
mov ecx, dword [0x100c220c]
cmp eax, ecx
jne 0x1008e9fe
test byte [0x100c12b0], 1
jne 0x1008e624
mov eax, dword [0x100c2284]
cmp eax, 0xffffffff
je 0x1008e624
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x100d25b8]
test al, al
jne 0x1008e9fe
push 1
push ecx
push dword [0x100c2208]
call fcn.100a4690
cmp eax, dword [0x100c220c]
je 0x1008ea03
mov eax, dword [0x100ffc90]
mov ecx, dword [0x100c12a8]
add eax, 0xffffffb7
xor eax, 0x708a64a9
cmp byte [eax + ecx], 0
mov eax, dword [0x100c1678]
jbe 0x1008e666
movss xmm4, dword [eax + 0x130]
jmp 0x1008e66e
movss xmm4, dword [eax + 0x12c]
mulss xmm4, dword [0x100b7258]
mov eax, dword [0x100ffc08]
movss xmm2, dword [0x100b7484]
add eax, 0xffffffd9
movss xmm1, dword [0x100b7478]
xor eax, 0x708a6487
andps xmm2, xmm4
movss xmm3, dword [0x100b72bc]
movaps xmm0, xmm4
movaps xmm5, xmm4
xorps xmm0, xmm2
cmpltss xmm0, xmm1
andps xmm1, xmm0
orps xmm1, xmm2
addss xmm5, xmm1
subss xmm5, xmm1
movss xmm1, dword [eax + ecx + 4]
mulss xmm1, xmm1
movaps xmm0, xmm5
subss xmm0, xmm4
cmpnless xmm0, xmm2
andps xmm0, xmm3
subss xmm5, xmm0
movss xmm0, dword [eax + ecx]
mulss xmm0, xmm0
addss xmm0, xmm1
call fcn.10020580
comiss xmm5, xmm0
jbe 0x1008e762
mov eax, dword [0x100c16c8]
movss xmm3, dword [eax + 0x28]
movss xmm2, dword [eax + 0x24]
movaps xmm0, xmm3
movaps xmm1, xmm2
mulss xmm0, xmm3
and dword [eax + 0x30], 0xfffdffff
mulss xmm1, xmm2
addss xmm1, xmm0
sqrtss xmm1, xmm1
comiss xmm1, dword [0x100b73a0]
jbe 0x1008ea03
comiss xmm1, xmm5
jbe 0x1008ea03
divss xmm2, xmm1
divss xmm3, xmm1
movaps xmm0, xmm1
minss xmm0, xmm5
mulss xmm2, xmm0
mulss xmm3, xmm0
movss dword [eax + 0x24], xmm2
movss dword [eax + 0x28], xmm3
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100a489c
mov esp, ebp
pop ebp
ret
movq xmm0, qword [eax + ecx]
mov eax, dword [eax + ecx + 8]
movq qword [esp + 0x1c], xmm0
movss xmm3, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x20]
mov dword [esp + 0x24], eax
movaps xmm1, xmm4
mov eax, dword [0x100c16c8]
mulss xmm1, xmm4
movq xmm0, qword [eax + 0xc]
movq qword [esp + 0x28], xmm0
movaps xmm0, xmm3
mov eax, dword [eax + 0x14]
mulss xmm0, xmm3
mov dword [esp + 0x30], eax
addss xmm0, xmm1
call fcn.10020580
movaps xmm2, xmm0
xorps xmm1, xmm1
comiss xmm2, xmm1
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x10], xmm1
jbe 0x1008e7fe
xorps xmm0, xmmword [0x100b75e0]
movaps xmm1, xmm2
call fcn.10020530
mulss xmm0, dword [0x100b73c8]
movaps xmm1, xmm3
movss dword [esp + 0xc], xmm0
movaps xmm0, xmm4
call fcn.10020530
mulss xmm0, dword [0x100b73c8]
movss dword [esp + 0x10], xmm0
jmp 0x1008e81b
comiss xmm0, xmm1
jbe 0x1008e80d
movss xmm0, dword [0x100b74c8]
jmp 0x1008e815
movss xmm0, dword [0x100b73ec]
movss dword [esp + 0xc], xmm0
mov ecx, dword [0x100ffa08]
lea edx, [esp + 0x28]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [0x100b71f8]
call fcn.10020560
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x100b71f8]
movss dword [esp + 0x10], xmm0
call fcn.10020560
mulss xmm0, dword [esp + 0xc]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10020570
mulss xmm0, dword [esp + 0xc]
mov ecx, dword [0x101056b0]
movss dword [esp + 0x14], xmm0
test cl, 1
jne 0x1008e918
or ecx, 1
mov dword [0x101056b0], ecx
mov eax, dword [0x100ffa04]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1008e8fe
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1008e8c0
xor edx, edx
test ecx, ecx
je 0x1008e8ed
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1008e8d0
mov eax, dword [esp + 0xc]
cmp esi, 0x7939b3a7
je 0x1008e90b
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1008e8b0
mov ecx, dword [0x101056b0]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [0x101056a4], eax
jmp 0x1008e921
mov ecx, dword [0x101056b0]
mov dword [0x101056a4], eax
jmp 0x1008e921
mov eax, dword [0x101056a4]
mov dword [esp + 0xc], eax
test cl, 2
jne 0x1008e98f
or ecx, 2
mov dword [0x101056b0], ecx
mov eax, dword [0x100ffa04]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1008e988
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1008e950
xor edx, edx
test ecx, ecx
je 0x1008e97d
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1008e960
mov eax, dword [esp + 0x10]
cmp esi, 0xda6a172f
je 0x1008e98a
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1008e940
xor eax, eax
mov dword [0x101056ac], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x101056ac]
fstp dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
movss xmm1, dword [esp + 0x18]
mulss xmm1, dword [esp + 0xc]
mov eax, dword [0x100c16c8]
fmul dword [esp + 0x14]
xorps xmm1, xmmword [0x100b75e0]
movss dword [eax + 0x24], xmm1
mov eax, dword [0x100c16c8]
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
xorps xmm0, xmmword [0x100b75e0]
movss dword [eax + 0x28], xmm0
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100a489c
mov esp, ebp
pop ebp
ret
call fcn.1008e2f0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.100a489c
mov esp, ebp
pop ebp
ret