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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491c6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edx, edi
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x40a703
mov edx, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
mov dword [ebp - 0x10], ebx
add eax, eax
je 0x40a72a
mov esi, eax
movzx eax, byte [ecx + edx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, esi
jb 0x40a713
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
push ebx
push edi
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.0040ad70
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x40a75a
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 8], 0x5d1745d
je 0x40a94a
lea eax, [esi + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x24], 0
call fcn.0046d49f
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
lea eax, [esi + 8]
push edi
mov ecx, eax
mov dword [ebp + 0xc], eax
call fcn.00402dc0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
cmp ecx, eax
je 0x40a84b
mov esi, eax
sub esi, ecx
sar esi, 5
push esi
call fcn.0040af90
mov ecx, dword [ebp + 0xc]
add ecx, 0x18
shl esi, 5
add esi, eax
mov dword [ebp - 0x20], ecx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], esi
mov esi, dword [ecx]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ecx
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
add edi, 0x1c
mov byte [ebp - 4], 3
lea eax, [edi - 0x1c]
mov ecx, esi
push eax
call fcn.004096c0
mov eax, dword [edi - 4]
lea edi, [edi + 0x20]
mov dword [esi + 0x18], eax
mov ax, word [edi - 0x20]
mov word [esi + 0x1c], ax
mov al, byte [edi - 0x1e]
mov byte [esi + 0x1e], al
add esi, 0x20
lea eax, [edi - 0x1c]
mov dword [ebp - 0x38], esi
cmp eax, ebx
jne 0x40a803
push ecx
mov edx, esi
mov ecx, esi
call fcn.0040ae10
mov ecx, dword [ebp + 0xc]
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], esi
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 4], 4
mov eax, dword [edi + 8]
inc eax
movss xmm3, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4b46b0]
mov eax, dword [edi + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x4b46b0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x40a8e7
divss xmm0, xmm3
call fcn.004038b0
call fcn.0046dc40
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [edi + 0x1c]
cmp eax, ecx
jae 0x40a8cb
cmp eax, 0x200
jae 0x40a8c9
shl eax, 3
cmp eax, ecx
jae 0x40a8cb
mov eax, ecx
push eax
mov ecx, edi
call fcn.0040ab20
push ebx
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040ad70
mov edx, dword [eax]
jmp 0x40a8ea
mov edx, dword [ebp - 0x30]
mov eax, dword [edi + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, ebx
mov dword [ebp + 0xc], ecx
mov ecx, dword [edi + 0xc]
mov ebx, dword [ebp - 0x28]
mov edi, dword [ecx + eax*8]
cmp edi, dword [ebx]
jne 0x40a918
mov dword [ecx + eax*8], esi
jmp 0x40a92a
cmp edi, edx
jne 0x40a921
mov dword [ecx + eax*8], esi
jmp 0x40a92e
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x40a92e
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0046b26b
int3