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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x100e5364]
xor eax, esp
mov dword [esp + 0x2c], eax
cmp dword [0x1014d81c], 0
push esi
push edi
je 0x100a609d
cmp dword [0x1014d814], 0
je 0x100a609d
cmp dword [0x1014d818], 0x1f
je 0x100a609d
cmp dword [0x1014d1a0], 0
je 0x100a609d
cmp byte [0x1014d1a4], 0
je 0x100a609d
test byte [0x1014d878], 2
jne 0x100a609d
test byte [0x1014d1a8], 1
je 0x100a609d
push 0
push dword [0x10157778]
push dword [0x10157774]
call fcn.100c2420
mov ecx, dword [0x10157778]
cmp eax, ecx
jne 0x100a5ce7
test byte [0x1014d1a8], 1
jne 0x100a5cf2
call fcn.100a59e0
mov ecx, dword [0x10157778]
push 1
push ecx
push dword [0x10157774]
call fcn.100c2420
cmp eax, dword [0x10157778]
je 0x100a609d
mov eax, dword [0x101a3e8c]
mov edx, dword [0x1014d1a0]
add eax, 0xffffffb8
mov ecx, dword [0x1014d81c]
xor eax, 0x39528c57
mov al, byte [eax + edx]
mov byte [esp + 0x13], al
test al, al
je 0x100a5d3a
movss xmm2, dword [ecx + 0x130]
jmp 0x100a5d42
movss xmm2, dword [ecx + 0x12c]
mov eax, dword [0x101a3e08]
add eax, 0xffffffd9
xor eax, 0x39528c36
movss xmm1, dword [eax + edx + 4]
movss xmm0, dword [eax + edx]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10024ab0
mulss xmm2, dword [0x100d8ddc]
comiss xmm2, xmm0
jbe 0x100a5e18
cmp byte [esp + 0x13], 0
jbe 0x100a5d8d
movss xmm0, dword [ecx + 0x130]
jmp 0x100a5d95
movss xmm0, dword [ecx + 0x12c]
mov eax, dword [0x1014d86c]
cvtps2pd xmm0, xmm0
and dword [eax + 0x30], 0xfffdffff
movss xmm3, dword [eax + 0x28]
mulsd xmm0, qword [0x100d8ea8]
movss xmm2, dword [eax + 0x24]
movaps xmm1, xmm2
mulss xmm1, xmm2
cvtpd2ps xmm4, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
sqrtss xmm1, xmm1
comiss xmm1, dword [0x100d8fe4]
jbe 0x100a609d
comiss xmm1, xmm4
jbe 0x100a609d
divss xmm2, xmm1
divss xmm3, xmm1
movaps xmm0, xmm1
minss xmm0, xmm4
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.100c2626
mov esp, ebp
pop ebp
ret
movq xmm0, qword [eax + edx]
mov eax, dword [eax + edx + 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 [0x1014d86c]
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.10024ab0
movaps xmm2, xmm0
xorps xmm1, xmm1
comiss xmm2, xmm1
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0xc], xmm1
jbe 0x100a5eb4
xorps xmm0, xmmword [0x100d9290]
movaps xmm1, xmm2
call fcn.10024a40
mulss xmm0, dword [0x100d9014]
movaps xmm1, xmm3
movss dword [esp + 8], xmm0
movaps xmm0, xmm4
call fcn.10024a40
mulss xmm0, dword [0x100d9014]
movss dword [esp + 0xc], xmm0
jmp 0x100a5ed1
comiss xmm0, xmm1
jbe 0x100a5ec3
movss xmm0, dword [0x100d9160]
jmp 0x100a5ecb
movss xmm0, dword [0x100d9044]
movss dword [esp + 8], xmm0
mov ecx, dword [0x101a3bf0]
lea edx, [esp + 0x28]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [esp + 8]
mulss xmm0, dword [0x100d8d60]
call fcn.10024a70
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [esp + 0xc]
mulss xmm0, dword [0x100d8d60]
movss dword [esp + 0xc], xmm0
call fcn.10024a70
mulss xmm0, dword [esp + 8]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0xc]
call fcn.10024aa0
mulss xmm0, dword [esp + 8]
mov ecx, dword [0x101a9550]
movss dword [esp + 0x14], xmm0
test cl, 1
jne 0x100a5fc8
or ecx, 1
mov dword [0x101a9550], ecx
mov eax, dword [0x101a3bec]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
test eax, eax
je 0x100a5fae
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100a5f70
xor edx, edx
test ecx, ecx
je 0x100a5f9d
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100a5f80
mov eax, dword [esp + 8]
cmp esi, 0x7939b3a7
je 0x100a5fbb
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
test eax, eax
jne 0x100a5f62
mov ecx, dword [0x101a9550]
xor eax, eax
mov dword [esp + 8], eax
mov dword [0x101a954c], eax
jmp 0x100a5fd1
mov ecx, dword [0x101a9550]
mov dword [0x101a954c], eax
jmp 0x100a5fd1
mov eax, dword [0x101a954c]
mov dword [esp + 8], eax
test cl, 2
jne 0x100a603f
or ecx, 2
mov dword [0x101a9550], ecx
mov eax, dword [0x101a3bec]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
test eax, eax
je 0x100a6038
nop
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x100a6000
xor edx, edx
test ecx, ecx
je 0x100a602d
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100a6010
mov eax, dword [esp + 0xc]
cmp edi, 0xda6a172f
je 0x100a603a
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x100a5ff0
xor eax, eax
mov dword [0x101a9548], eax
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x101a9548]
fstp dword [esp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
call dword [esp + 0xc]
movss xmm0, dword [esp + 8]
mulss xmm0, dword [esp + 0x18]
mov eax, dword [0x1014d86c]
fmul dword [esp + 0x14]
xorps xmm0, xmmword [0x100d9290]
movss dword [eax + 0x24], xmm0
mov eax, dword [0x1014d86c]
fstp dword [esp + 0x14]
movss xmm1, dword [esp + 0x14]
xorps xmm1, xmmword [0x100d9290]
movss dword [eax + 0x28], xmm1
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.100c2626
mov esp, ebp
pop ebp
ret