Function at 0x10040fa0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6785
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x100c100c]
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 0x1004102b
mov esi, edi
mov dword [ebp - 0x18], edi
jmp 0x10041065
mov ecx, dword [ecx + eax*8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, dword [esi + 8]
je 0x10041044
cmp esi, ecx
je 0x10041060
mov esi, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x10041038
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], 0xaaaaaaa
jne 0x10041079
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 0x18
mov dword [ebp - 0x28], 0
call fcn.100a31b2
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 byte [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 1
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0x1c]
inc eax
movss xmm3, dword [edx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b6910]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100b6910]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10041195
divss xmm2, xmm3
sub esp, 8
movss dword [ebp - 0x10], xmm2
fld dword [ebp - 0x10]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.100a4540
mov edx, dword [ebp - 0x14]
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [edx + 0x1c]
cmp eax, ecx
jae 0x10041158
cmp eax, 0x200
jae 0x10041156
shl eax, 3
cmp eax, ecx
jae 0x10041158
mov eax, ecx
push eax
mov ecx, edx
call fcn.10041590
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 0x10041190
mov esi, dword [ecx + esi*8]
mov ecx, dword [ebx + 8]
cmp ecx, dword [eax + 8]
je 0x1004118e
cmp eax, esi
je 0x100411df
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x10041182
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 0x100411e3
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 0x10041190
cmp edx, dword [ebp - 0x18]
jne 0x10041208
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 0x10041215
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