Function at 0x406570
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c83a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
mov ebx, dword [edi + 4]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
mov eax, dword [edi + 0xc]
imul ecx, ecx, 0x1000193
mov edx, ecx
mov dword [ebp - 0x1c], ecx
and edx, dword [edi + 0x18]
mov ecx, dword [eax + edx*8 + 4]
cmp ecx, ebx
jne 0x4065e3
lea ecx, [edi + 4]
mov dword [ebp - 0x10], ecx
jmp 0x406629
mov edx, dword [eax + edx*8]
mov eax, dword [esi]
cmp eax, dword [ecx + 8]
je 0x4065fc
nop dword [eax]
cmp ecx, edx
je 0x40661e
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x4065f0
mov ebx, dword [ecx]
test ecx, ecx
je 0x406620
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
mov ebx, ecx
lea eax, [edi + 4]
mov dword [ebp - 0x10], eax
lea ecx, [edi + 4]
cmp dword [edi + 8], 0xaaaaaaa
lea eax, [edi + 0x18]
mov dword [ebp - 0x14], eax
jne 0x406643
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
push 0x18
mov dword [ebp - 0x20], 0
call fcn.004c6b73
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 0x20], esi
add esp, 4
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 1
mov dword [ebp - 4], 1
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 + 0xbca750]
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 + 0xbca750]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x40677b
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.004c7290
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [edi + 0x1c]
cmp eax, ecx
jae 0x40672c
cmp eax, 0x200
jae 0x40672a
shl eax, 3
cmp eax, ecx
jae 0x40672c
mov eax, ecx
push eax
mov ecx, edi
call fcn.004068f0
mov edx, dword [ebp - 0x1c]
and edx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + edx*8 + 4]
mov ebx, dword [ecx]
cmp eax, ebx
jne 0x406753
mov dword [ebp - 0x20], 0
jmp 0x40676f
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx + edx*8]
mov ecx, dword [esi + 8]
cmp ecx, dword [eax + 8]
je 0x40676d
cmp eax, edx
je 0x4067a8
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x406761
mov ebx, dword [eax]
lea eax, [edi + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [edi + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
inc dword [edi + 8]
mov edx, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov dword [esi], ebx
mov dword [eax], esi
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 4], esi
mov ecx, dword [edi + 0xc]
mov eax, dword [eax]
and eax, dword [ebp - 0x1c]
mov edi, dword [ecx + eax*8]
cmp edi, dword [edx]
jne 0x4067b3
mov dword [ecx + eax*8], esi
jmp 0x4067c5
mov ebx, eax
mov dword [ebp - 0x20], 0
jmp 0x40676f
cmp edi, ebx
jne 0x4067bc
mov dword [ecx + eax*8], esi
jmp 0x4067c9
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4067c9
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