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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbcad
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 0x40a9f3
mov edx, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
mov dword [ebp - 0x10], ebx
add eax, eax
je 0x40aa1a
mov esi, eax
movzx eax, byte [ecx + edx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, esi
jb 0x40aa03
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.0040b070
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x40aa4a
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 0x40ac4b
lea eax, [esi + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x24], 0
call fcn.004b57fb
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.00409600
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 0x40ab3b
mov esi, eax
sub esi, ecx
sar esi, 5
push esi
call fcn.0040b2a0
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.004096e0
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 0x40aaf3
push ecx
mov edx, esi
mov ecx, esi
call fcn.0040b110
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 + 0x5370d0]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x5370d0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x40abe8
divss xmm2, xmm3
push ecx
movss dword [esp], xmm2
call fcn.004037c0
add esp, 4
fstp dword [ebp + 0xc]
movss xmm0, dword [ebp + 0xc]
call fcn.004b5020
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [edi + 0x1c]
cmp eax, ecx
jae 0x40abcc
cmp eax, 0x200
jae 0x40abca
shl eax, 3
cmp eax, ecx
jae 0x40abcc
mov eax, ecx
push eax
mov ecx, edi
call fcn.0040ae20
push ebx
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040b070
mov edx, dword [eax]
jmp 0x40abeb
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 0x40ac19
mov dword [ecx + eax*8], esi
jmp 0x40ac2b
cmp edi, edx
jne 0x40ac22
mov dword [ecx + eax*8], esi
jmp 0x40ac2f
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x40ac2f
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.004b3e6b
int3