Function at 0x100ad660
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], 0xf
mov ebx, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], edx
jbe 0x100ad685
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x100ad6a9
mov edi, dword [ebp - 0xc]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x100ad694
mov edi, dword [ebp - 0x14]
push esi
push edx
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.100ad5d0
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x100ad6ce
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
je 0x100ad84f
push 0x28
call fcn.101042ab
mov edi, eax
add esp, 4
mov eax, dword [ebp - 4]
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [edi + 8], xmm0
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
vxorps xmm0, xmm0, xmm0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov eax, dword [ebx + 8]
vmovss xmm1, dword [ebx]
inc eax
vcvtsi2sd xmm0, xmm0, eax
shr eax, 0x1f
vaddsd xmm0, xmm0, qword [eax*8 + 0x101253b0]
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 + 0x101253b0]
vcvtsd2ss xmm0, xmm0, xmm0
vdivss xmm0, xmm2, xmm0
vcomiss xmm0, xmm1
jbe 0x100ad7ec
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.10104850
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x100ad7d0
cmp eax, 0x200
jae 0x100ad7ce
shl eax, 3
cmp eax, ecx
jae 0x100ad7d0
mov eax, ecx
push eax
mov ecx, ebx
call fcn.100ad860
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 8]
push eax
call fcn.100ad5d0
mov edx, dword [eax]
jmp 0x100ad7ef
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x100ad817
mov dword [ecx + eax*8], edi
jmp 0x100ad839
cmp esi, edx
jne 0x100ad830
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 0x100ad83d
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
push str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3