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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100ca040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100ca2ac], 0
push ebx
push esi
push edi
je 0x100a9e52
mov eax, dword [0x10111820]
test al, 1
jne 0x100a98ec
or eax, 1
mov dword [0x10111820], eax
mov ebx, dword [0x1010ba4c]
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x100a98d5
nop
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100a98a0
xor edx, edx
test ecx, ecx
je 0x100a98c9
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100a98b0
cmp esi, 0xa0f6f854
je 0x100a98df
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x100a9890
mov eax, dword [0x10111820]
xor ebx, ebx
mov dword [0x10111700], ebx
jmp 0x100a98f2
mov eax, dword [0x10111820]
mov dword [0x10111700], ebx
jmp 0x100a98f2
mov ebx, dword [0x10111700]
test al, 2
jne 0x100a995d
or eax, 2
mov dword [0x10111820], eax
mov eax, dword [0x1010ba4c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100a9956
nop dword [eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100a9920
xor edx, edx
test ecx, ecx
je 0x100a994c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100a9930
mov eax, dword [ebp - 0x10]
cmp esi, 0x7ac0d5a
je 0x100a9958
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x100a9910
xor eax, eax
mov dword [0x1011182c], eax
mov eax, dword [ebx]
movss xmm0, dword [0x100d4770]
push ecx
mov ecx, ebx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [0x10111700]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
mov ecx, dword [0x1011182c]
neg eax
sbb edx, edx
neg edx
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x1010bab0]
movss xmm0, dword [eax]
mulss xmm0, dword [0x100d1f20]
movss dword [ebp - 0x10], xmm0
call fcn.10023370
movss xmm2, dword [0x100bf850]
movaps xmm3, xmm0
mulss xmm3, dword [0x100bf758]
movss xmm1, dword [0x100bf848]
addss xmm3, dword [0x100bf7f8]
andps xmm2, xmm3
movaps xmm0, xmm3
xorps xmm0, xmm2
movaps xmm4, xmm3
cmpltss xmm0, xmm1
andps xmm1, xmm0
orps xmm1, xmm2
addss xmm4, xmm1
subss xmm4, xmm1
movss xmm1, dword [0x100bf674]
movaps xmm0, xmm4
subss xmm0, xmm3
cmpnless xmm0, xmm2
andps xmm0, xmm1
subss xmm4, xmm0
movss xmm0, dword [ebp - 0x10]
addss xmm0, dword [0x100bf6b0]
movss dword [ebp - 0x18], xmm4
call fcn.10023370
movss xmm2, dword [0x100bf850]
movaps xmm3, xmm0
mulss xmm3, dword [0x100bf758]
movss xmm1, dword [0x100bf848]
addss xmm3, dword [0x100bf7f8]
andps xmm2, xmm3
movaps xmm0, xmm3
xorps xmm0, xmm2
movaps xmm4, xmm3
cmpltss xmm0, xmm1
andps xmm1, xmm0
movss xmm0, dword [0x100bf674]
orps xmm1, xmm2
addss xmm4, xmm1
subss xmm4, xmm1
movaps xmm1, xmm4
subss xmm1, xmm3
cmpnless xmm1, xmm2
andps xmm1, xmm0
movss xmm0, dword [ebp - 0x10]
addss xmm0, dword [0x100bf6f8]
subss xmm4, xmm1
movss dword [ebp - 0x14], xmm4
call fcn.10023370
movss xmm3, dword [0x100bf850]
movaps xmm1, xmm0
mulss xmm1, dword [0x100bf758]
movss xmm2, dword [0x100bf848]
addss xmm1, dword [0x100bf7f8]
andps xmm3, xmm1
movaps xmm0, xmm1
xorps xmm0, xmm3
cmpltss xmm0, xmm2
cmp dword [0x100ca2a8], 0
andps xmm2, xmm0
movaps xmm4, xmm1
orps xmm2, xmm3
addss xmm4, xmm2
subss xmm4, xmm2
movaps xmm0, xmm4
subss xmm0, xmm1
movss xmm1, dword [0x100bf674]
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm4, xmm0
movss dword [ebp - 0x10], xmm4
je 0x100a9b2a
cmp byte [0x100d1bc0], 0
je 0x100a9b2a
mov ecx, dword [0x1010ba50]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100a9b2a
mov eax, dword [0x1011104c]
mov ecx, dword [0x10111048]
jmp 0x100a9b44
mov ecx, dword [0x10111048]
mov eax, dword [0x1011104c]
cmp ecx, eax
je 0x100a9e52
mov eax, ecx
mov dword [0x1011104c], eax
cmp ecx, eax
je 0x100a9e52
cmp dword [0x1010ba7c], 0
je 0x100a9e52
mov ecx, dword [0x1010ba80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1cc]
call eax
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x100a9e52
mov esi, dword [0x10111048]
mov edi, dword [0x1011104c]
cmp esi, edi
je 0x100a9e52
lea ebx, [esi + 0x1898]
xorps xmm3, xmm3
cmp dword [esi + 0x54], 0
je 0x100a9e3e
cmp dword [esi + 0x50], 0
je 0x100a9e3e
cmp dword [esi + 0x48], 0
je 0x100a9e3e
cmp dword [esi + 0x4c], 0
je 0x100a9e3e
cmp dword [esi + 0x1c], 0
je 0x100a9e3e
cmp dword [esi + 0x24], 0
je 0x100a9e3e
cmp dword [esi + 0x20], 0
je 0x100a9e3e
mov eax, dword [0x1010bab0]
movss xmm2, dword [0x100bf674]
movaps xmm1, xmm2
movss xmm0, dword [eax]
subss xmm0, dword [esi + 0x1864]
comiss xmm0, xmm3
jbe 0x100a9d6b
comiss xmm0, xmm2
subss xmm1, xmm0
jbe 0x100a9d6b
cmp ebx, edi
je 0x100a9d5a
lea ecx, [esi + 0x18b0]
nop word [eax + eax]
mov eax, dword [ecx - 0x18]
mov edx, 0x80
mov dword [ecx - 0x18b0], eax
mov eax, dword [ecx - 0x14]
mov dword [ecx - 0x18ac], eax
mov eax, dword [ecx - 0x10]
mov dword [ecx - 0x18a8], eax
mov eax, dword [ecx - 0xc]
mov dword [ecx - 0x18a4], eax
mov eax, dword [ecx - 8]
mov dword [ecx - 0x18a0], eax
mov eax, dword [ecx - 4]
mov dword [ecx - 0x189c], eax
mov eax, dword [ecx]
mov dword [ecx - 0x1898], eax
mov eax, dword [ecx + 4]
mov dword [ecx - 0x1894], eax
mov eax, dword [ecx + 8]
mov dword [ecx - 0x1890], eax
mov eax, dword [ecx + 0xc]
mov dword [ecx - 0x188c], eax
mov eax, dword [ecx + 0x10]
mov dword [ecx - 0x1888], eax
mov eax, dword [ecx + 0x14]
mov dword [ecx - 0x1884], eax
mov eax, dword [ecx + 0x18]
mov dword [ecx - 0x1880], eax
mov eax, dword [ecx + 0x1c]
mov dword [ecx - 0x187c], eax
mov eax, dword [ecx + 0x20]
mov dword [ecx - 0x1878], eax
mov eax, dword [ecx + 0x24]
mov dword [ecx - 0x1874], eax
mov eax, dword [ecx + 0x28]
mov dword [ecx - 0x1870], eax
mov ax, word [ecx + 0x2c]
mov word [ecx - 0x186c], ax
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [ecx - 0x1868], xmm0
movq xmm0, qword [ecx + 0x40]
movq qword [ecx - 0x1858], xmm0
mov eax, dword [ecx + 0x48]
mov dword [ecx - 0x1850], eax
lea eax, [ecx - 0x184c]
nop
lea eax, [eax + 0x30]
movups xmm0, xmmword [eax + 0x1868]
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [eax + 0x1878]
movups xmmword [eax - 0x20], xmm0
movups xmm0, xmmword [eax + 0x1888]
movups xmmword [eax - 0x10], xmm0
sub edx, 1
jne 0x100a9cf0
mov eax, dword [ecx + 0x184c]
mov dword [ecx - 0x4c], eax
movups xmm0, xmmword [ecx + 0x1850]
movups xmmword [ecx - 0x48], xmm0
movups xmm0, xmmword [ecx + 0x1860]
movups xmmword [ecx - 0x38], xmm0
movups xmm0, xmmword [ecx + 0x1870]
movups xmmword [ecx - 0x28], xmm0
add ecx, 0x1898
lea eax, [ecx - 0x18]
cmp eax, edi
jne 0x100a9c20
mov edi, dword [0x1011104c]
sub edi, 0x1898
mov dword [0x1011104c], edi
jmp 0x100a9e4a
mov ecx, dword [0x1010ba74]
movss xmm0, dword [0x100d1da8]
mulss xmm0, dword [0x100bf594]
mov edi, dword [0x100d1d04]
mov eax, dword [ecx]
push ecx
mulss xmm0, xmm1
mov eax, dword [eax + 0x10]
movss dword [esp], xmm0
call eax
push 4
push dword [0x100cfeac]
push dword [0x100cfea8]
call fcn.100ac5b0
push 1
cmp eax, dword [0x100cfeac]
je 0x100a9de0
cvttss2si eax, dword [ebp - 0x10]
movzx ecx, al
cvttss2si eax, dword [ebp - 0x14]
or ecx, 0xffffff00
shl ecx, 8
movzx eax, al
or ecx, eax
cvttss2si eax, dword [ebp - 0x18]
shl ecx, 8
movzx eax, al
or ecx, eax
push ecx
jmp 0x100a9de1
push edi
mov ecx, dword [0x100d1c74]
mov eax, dword [0x1010a0b0]
push dword [eax + ecx*4]
call fcn.1002ff60
mov ecx, dword [0x1010ba7c]
lea eax, [esi + 0x64]
push eax
lea eax, [esi + 4]
push eax
lea eax, [esi + 0x48]
push eax
mov eax, dword [ecx]
push dword [ebp - 0x1c]
mov eax, dword [eax + 0x54]
call eax
mov ecx, dword [0x1010ba7c]
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [eax + 4]
call eax
mov edi, dword [0x1011104c]
xorps xmm3, xmm3
add esi, 0x1898
add ebx, 0x1898
cmp esi, edi
jne 0x100a9b91
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac7b6
mov esp, ebp
pop ebp
ret