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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x100c0040]
xor eax, esp
mov dword [esp + 0x2c], eax
cmp dword [0x100c0678], 0
push esi
push edi
je 0x1008e423
cmp dword [0x100c0670], 0
je 0x1008e423
cmp dword [0x100c0674], 0x1f
je 0x1008e423
cmp dword [0x100c02a8], 0
je 0x1008e423
cmp byte [0x100c02ac], 0
je 0x1008e423
test byte [0x100c06d4], 2
jne 0x1008e423
test byte [0x100c02b0], 1
je 0x1008e423
cmp byte [0x100c1154], 0
je 0x1008e423
push 0
push dword [0x100c120c]
push dword [0x100c1208]
call fcn.100a3800
mov ecx, dword [0x100c120c]
cmp eax, ecx
jne 0x1008e41e
test byte [0x100c02b0], 1
jne 0x1008e044
mov eax, dword [0x100c1284]
cmp eax, 0xffffffff
je 0x1008e044
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x100d1478]
test al, al
jne 0x1008e41e
push 1
push ecx
push dword [0x100c1208]
call fcn.100a3800
cmp eax, dword [0x100c120c]
je 0x1008e423
mov eax, dword [0x100ffd50]
mov ecx, dword [0x100c02a8]
add eax, 0xffffffb7
xor eax, 0x33d69841
cmp byte [eax + ecx], 0
mov eax, dword [0x100c0678]
jbe 0x1008e086
movss xmm4, dword [eax + 0x130]
jmp 0x1008e08e
movss xmm4, dword [eax + 0x12c]
mulss xmm4, dword [0x100b61d8]
mov eax, dword [0x100ffcc8]
movss xmm2, dword [0x100b6408]
add eax, 0xffffffd9
movss xmm1, dword [0x100b63fc]
xor eax, 0x33d6981f
andps xmm2, xmm4
movss xmm3, dword [0x100b623c]
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.10020390
comiss xmm5, xmm0
jbe 0x1008e182
mov eax, dword [0x100c06c8]
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 [0x100b632c]
jbe 0x1008e423
comiss xmm1, xmm5
jbe 0x1008e423
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.100a3a0c
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 [0x100c06c8]
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.10020390
movaps xmm2, xmm0
xorps xmm1, xmm1
comiss xmm2, xmm1
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x10], xmm1
jbe 0x1008e21e
xorps xmm0, xmmword [0x100b6560]
movaps xmm1, xmm2
call fcn.10020340
mulss xmm0, dword [0x100b6358]
movaps xmm1, xmm3
movss dword [esp + 0xc], xmm0
movaps xmm0, xmm4
call fcn.10020340
mulss xmm0, dword [0x100b6358]
movss dword [esp + 0x10], xmm0
jmp 0x1008e23b
comiss xmm0, xmm1
jbe 0x1008e22d
movss xmm0, dword [0x100b6450]
jmp 0x1008e235
movss xmm0, dword [0x100b6378]
movss dword [esp + 0xc], xmm0
mov ecx, dword [0x100ffac8]
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 [0x100b6178]
call fcn.10020370
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x100b6178]
movss dword [esp + 0x10], xmm0
call fcn.10020370
mulss xmm0, dword [esp + 0xc]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10020380
mulss xmm0, dword [esp + 0xc]
mov ecx, dword [0x10105438]
movss dword [esp + 0x14], xmm0
test cl, 1
jne 0x1008e338
or ecx, 1
mov dword [0x10105438], ecx
mov eax, dword [0x100ffac4]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1008e31e
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1008e2e0
xor edx, edx
test ecx, ecx
je 0x1008e30d
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1008e2f0
mov eax, dword [esp + 0xc]
cmp esi, 0x7939b3a7
je 0x1008e32b
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1008e2d0
mov ecx, dword [0x10105438]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [0x1010542c], eax
jmp 0x1008e341
mov ecx, dword [0x10105438]
mov dword [0x1010542c], eax
jmp 0x1008e341
mov eax, dword [0x1010542c]
mov dword [esp + 0xc], eax
test cl, 2
jne 0x1008e3af
or ecx, 2
mov dword [0x10105438], ecx
mov eax, dword [0x100ffac4]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1008e3a8
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1008e370
xor edx, edx
test ecx, ecx
je 0x1008e39d
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1008e380
mov eax, dword [esp + 0x10]
cmp esi, 0xda6a172f
je 0x1008e3aa
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1008e360
xor eax, eax
mov dword [0x10105434], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x10105434]
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 [0x100c06c8]
fmul dword [esp + 0x14]
xorps xmm1, xmmword [0x100b6560]
movss dword [eax + 0x24], xmm1
mov eax, dword [0x100c06c8]
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
xorps xmm0, xmmword [0x100b6560]
movss dword [eax + 0x28], xmm0
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100a3a0c
mov esp, ebp
pop ebp
ret
call fcn.1008dd10
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.100a3a0c
mov esp, ebp
pop ebp
ret