Function at 0x10040380
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e2a45
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x1011100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x14], edx
mov esi, dword [ebp + 0xc]
lea edi, [edx + 4]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], edi
movzx eax, byte [esi]
xor eax, 0x811c9dc5
mov edi, dword [edi]
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
mov dword [ebp - 0x24], ebx
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x1c], eax
and eax, dword [edx + 0x18]
mov esi, dword [ecx + eax*8 + 4]
cmp esi, edi
jne 0x1004040b
mov esi, edi
mov dword [ebp - 0x18], edi
jmp 0x10040445
mov ecx, dword [ecx + eax*8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, dword [esi + 8]
je 0x10040424
cmp esi, ecx
je 0x10040440
mov esi, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x10040418
mov dword [ebx], esi
mov eax, ebx
mov byte [ebx + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, esi
mov dword [ebp - 0x18], esi
cmp dword [edx + 8], 0xfffffff
jne 0x10040459
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x28], 0
call fcn.100e0205
mov ebx, eax
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], ebx
mov eax, dword [eax]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 1
vxorps xmm0, xmm0, xmm0
mov eax, dword [edx + 8]
vmovss xmm1, dword [edx]
inc eax
vcvtsi2sd xmm0, xmm0, eax
shr eax, 0x1f
vaddsd xmm0, xmm0, qword [eax*8 + 0x100fff10]
mov eax, dword [edx + 0x1c]
vcvtsd2ss xmm2, xmm0, xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2sd xmm0, xmm0, eax
mov dword [ebp - 0x10], eax
shr eax, 0x1f
vaddsd xmm0, xmm0, qword [eax*8 + 0x100fff10]
vcvtsd2ss xmm0, xmm0, xmm0
vdivss xmm0, xmm2, xmm0
vcomiss xmm0, xmm1
jbe 0x1004054a
vdivss xmm0, xmm2, xmm1
call fcn.10025130
call fcn.100e1550
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x10]
cmp eax, ecx
jae 0x1004050c
cmp eax, 0x200
jae 0x1004050a
shl eax, 3
cmp eax, ecx
jae 0x1004050c
mov eax, ecx
mov ecx, dword [ebp - 0x14]
push eax
call fcn.10035ba0
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
and esi, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
mov edi, dword [edx + 4]
mov eax, dword [ecx + esi*8 + 4]
cmp eax, edi
je 0x10040545
mov esi, dword [ecx + esi*8]
mov ecx, dword [ebx + 8]
cmp ecx, dword [eax + 8]
je 0x10040543
cmp eax, esi
je 0x10040594
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x10040537
mov edi, dword [eax]
mov esi, edi
mov dword [ebp - 0x18], edi
mov eax, dword [esi + 4]
inc dword [edx + 8]
mov dword [ebx + 4], eax
mov dword [ebx], edi
mov dword [eax], ebx
mov dword [esi + 4], ebx
mov ecx, dword [edx + 0xc]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
and eax, dword [edx + 0x18]
mov edx, dword [ecx + eax*8]
cmp edx, dword [esi]
jne 0x10040598
mov dword [ecx + eax*8], ebx
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [ebp - 0x24]
mov dword [eax], ebx
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, eax
jmp 0x10040545
cmp edx, dword [ebp - 0x18]
jne 0x100405bd
mov dword [ecx + eax*8], ebx
mov eax, dword [ebp - 0x24]
mov dword [eax], ebx
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x100405ca
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [ebp - 0x24]
mov dword [eax], ebx
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8