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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov ebx, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], edx
jb 0x100985d5
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x100985f9
mov edi, dword [ebp - 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x100985e4
mov edi, dword [ebp - 0x14]
push esi
push edx
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.10007950
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1009861e
mov dword [edi], eax
mov eax, edi
mov byte [edi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x6666666
jne 0x10098632
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
push 0x28
call fcn.100eeb5b
mov edi, eax
add esp, 4
mov eax, dword [ebp - 4]
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
vmovdqu xmm0, xmmword [eax]
vmovdqu xmmword [edi + 8], xmm0
vmovq xmm0, qword [eax + 0x10]
vmovq qword [edi + 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov eax, dword [ebx + 8]
vmovss xmm1, dword [ebx]
vxorps xmm0, xmm0, xmm0
inc eax
vcvtsi2sd xmm0, xmm0, eax
shr eax, 0x1f
vaddsd xmm0, xmm0, qword [eax*8 + 0x10133ac0]
mov eax, dword [ebx + 0x1c]
vcvtsd2ss xmm2, xmm0, xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2sd xmm0, xmm0, eax
shr eax, 0x1f
vaddsd xmm0, xmm0, qword [eax*8 + 0x10133ac0]
vcvtsd2ss xmm0, xmm0, xmm0
vdivss xmm0, xmm2, xmm0
vcomiss xmm0, xmm1
jbe 0x10098741
vdivss xmm0, xmm2, xmm1
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [ebp - 8], xmm0
fld qword [ebp - 8]
vxorpd xmm0, xmm0, xmm0
fstp qword [ebp - 8]
vroundsd xmm0, xmm0, qword [ebp - 8], 2
vmovsd qword [ebp - 8], xmm0
fld qword [ebp - 8]
fstp qword [ebp - 8]
vmovsd xmm0, qword [ebp - 8]
vcvtpd2ps xmm0, xmm0
call fcn.100efd90
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x10098725
cmp eax, 0x200
jae 0x10098723
shl eax, 3
cmp eax, ecx
jae 0x10098725
mov eax, ecx
push eax
mov ecx, ebx
call fcn.100987b0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 8]
push eax
call fcn.10007950
mov edx, dword [eax]
jmp 0x10098744
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp - 4], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x10098770
mov dword [ecx + eax*8], edi
jmp 0x10098792
cmp esi, edx
jne 0x10098789
mov dword [ecx + eax*8], edi
mov eax, dword [ebp - 0x14]
mov dword [eax], edi
mov byte [eax + 4], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 4]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10098796
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp - 0x14]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 8