Function at 0x1008df50
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 0x1008e403
cmp dword [0x100c0670], 0
je 0x1008e403
cmp dword [0x100c0674], 0x1f
je 0x1008e403
cmp dword [0x100c02a8], 0
je 0x1008e403
cmp byte [0x100c02ac], 0
je 0x1008e403
test byte [0x100c06d4], 2
jne 0x1008e403
test byte [0x100c02b0], 1
je 0x1008e403
cmp byte [0x100c1154], 0
je 0x1008e403
push 0
push dword [0x100c120c]
push dword [0x100c1208]
call fcn.100a37d0
mov ecx, dword [0x100c120c]
cmp eax, ecx
jne 0x1008e3fe
test byte [0x100c02b0], 1
jne 0x1008e014
mov eax, dword [0x100c1284]
cmp eax, 0xffffffff
je 0x1008e014
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x100d1478]
test al, al
jne 0x1008e3fe
push 1
push ecx
push dword [0x100c1208]
call fcn.100a37d0
cmp eax, dword [0x100c120c]
je 0x1008e403
mov eax, dword [0x100ffd50]
mov ecx, dword [0x100c02a8]
add eax, 0xffffffb7
xor eax, 0xb25c212d
cmp byte [eax + ecx], 0
mov eax, dword [0x100c0678]
jbe 0x1008e056
movss xmm4, dword [eax + 0x130]
jmp 0x1008e05e
movss xmm4, dword [eax + 0x12c]
mulss xmm4, dword [0x100b61e0]
mov edx, dword [0x100ffcc8]
movss xmm2, dword [0x100b6410]
movss xmm1, dword [0x100b6404]
andps xmm2, xmm4
movss xmm3, dword [0x100b6244]
movaps xmm0, xmm4
lea eax, [edx - 0x27]
xorps xmm0, xmm2
movaps xmm5, xmm4
cmpltss xmm0, xmm1
xor eax, 0xb25c210b
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 0x1008e153
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 [0x100b6334]
jbe 0x1008e403
comiss xmm1, xmm5
jbe 0x1008e403
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.100a39dc
mov esp, ebp
pop ebp
ret
lea eax, [edx - 0x27]
xor eax, 0xb25c210b
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 0x1008e1f7
xorps xmm0, xmmword [0x100b6570]
movaps xmm1, xmm2
call fcn.10020340
mulss xmm0, dword [0x100b6360]
movaps xmm1, xmm3
movss dword [esp + 0xc], xmm0
movaps xmm0, xmm4
call fcn.10020340
mulss xmm0, dword [0x100b6360]
movss dword [esp + 0x10], xmm0
jmp 0x1008e214
comiss xmm0, xmm1
jbe 0x1008e206
movss xmm0, dword [0x100b6458]
jmp 0x1008e20e
movss xmm0, dword [0x100b6380]
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 [0x100b6180]
call fcn.10020370
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x100b6180]
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 0x1008e318
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 0x1008e2fe
nop dword [eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1008e2c0
xor edx, edx
test ecx, ecx
je 0x1008e2ed
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1008e2d0
mov eax, dword [esp + 0xc]
cmp esi, 0x7939b3a7
je 0x1008e30b
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1008e2b0
mov ecx, dword [0x10105438]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [0x1010542c], eax
jmp 0x1008e321
mov ecx, dword [0x10105438]
mov dword [0x1010542c], eax
jmp 0x1008e321
mov eax, dword [0x1010542c]
mov dword [esp + 0xc], eax
test cl, 2
jne 0x1008e38f
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 0x1008e388
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1008e350
xor edx, edx
test ecx, ecx
je 0x1008e37d
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1008e360
mov eax, dword [esp + 0x10]
cmp esi, 0xda6a172f
je 0x1008e38a
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1008e340
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 [0x100b6570]
movss dword [eax + 0x24], xmm1
mov eax, dword [0x100c06c8]
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
xorps xmm0, xmmword [0x100b6570]
movss dword [eax + 0x28], xmm0
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100a39dc
mov esp, ebp
pop ebp
ret
call fcn.1008dce0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.100a39dc
mov esp, ebp
pop ebp
ret