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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bdcad
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x10210050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebx + 0xc]
mov esi, 0x811c9dc5
mov edi, dword [ebx + 8]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edi
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
xor ecx, ecx
test edx, edx
je 0x10164ac4
mov edi, eax
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10164ab0
mov edi, dword [ebp - 0x20]
push esi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
call fcn.101649a0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10164ae5
mov dword [edi], eax
mov eax, edi
mov byte [edi + 4], 0
jmp 0x10164c5f
cmp dword [0x102b1d78], 0xaaaaaaa
je 0x10164c75
mov dword [ebp - 0x28], 0x102b1d74
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
push 0x18
mov dword [ebp - 0x24], 0
call fcn.1016fd4c
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 4], 1
mov edx, dword [0x102b1d78]
mov ecx, dword [0x102b1d8c]
inc edx
mov eax, edx
movss xmm2, dword [0x102b1d70]
shr eax, 0x1f
movd xmm0, edx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x101ede20]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x101ede20]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm2
jbe 0x10164bfc
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x101ede20]
cvtpd2ps xmm0, xmm0
divss xmm0, xmm2
call fcn.1003eb00
call fcn.101a0050
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x102b1d8c]
cmp eax, ecx
jae 0x10164bde
cmp eax, 0x200
jae 0x10164bdc
shl eax, 3
cmp eax, ecx
jae 0x10164bde
mov eax, ecx
push eax
call fcn.10164cb0
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.101649a0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
jmp 0x10164bff
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [0x102b1d78]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [0x102b1d7c]
mov dword [ebp - 0x14], eax
mov eax, dword [0x102b1d88]
and eax, esi
mov dword [ebp - 0x24], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x102b1d74]
jne 0x10164c39
mov dword [ecx + eax*8], edi
jmp 0x10164c4b
cmp esi, edx
jne 0x10164c42
mov dword [ecx + eax*8], edi
jmp 0x10164c4f
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10164c4f
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp - 0x20]
mov dword [eax], edi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push str.unordered_map_set_too_long
call fcn.1016e2ab
int3