Function at 0x476760
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
mov edx, 1
mov dword [ebp - 4], ebx
mov eax, edx
shl eax, cl
mov ecx, dword [ebp + 8]
push esi
push edi
cmp ecx, eax
ja 0x47698a
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edx
mov dword [ebp + 8], esi
bsr ecx, eax
lea ecx, [ecx + 1]
shl edx, cl
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 8], edx
lea edi, [edx + edx]
mov edx, dword [ebx + 0x10]
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, edi
jae 0x47686b
cmp edi, 0x3fffffff
ja 0x476999
lea ebx, [edi*4]
test ebx, ebx
jne 0x4767d3
xor edi, edi
jmp 0x47680d
cmp ebx, 0x1000
jb 0x476802
lea eax, [ebx + 0x23]
cmp eax, ebx
jbe 0x476999
push eax
call fcn.004e9663
add esp, 4
test eax, eax
je 0x476994
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x47680d
push ebx
call fcn.004e9663
add esp, 4
mov edi, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x14]
sub ecx, eax
sar ecx, 2
test ecx, ecx
je 0x47684a
shl ecx, 2
cmp ecx, 0x1000
jb 0x476840
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476994
mov eax, edx
push ecx
push eax
call fcn.004e9693
add esp, 8
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], edi
lea eax, [ebx + edi]
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
cmp edi, eax
je 0x476879
mov dword [edi], esi
add edi, 4
cmp edi, eax
jne 0x476860
jmp 0x476879
cmp ecx, edx
je 0x476879
nop
mov dword [ecx], esi
add ecx, 4
cmp ecx, edx
jne 0x476870
mov ecx, dword [ebp - 8]
mov dword [ebx + 0x1c], ecx
lea eax, [ecx - 1]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x47695d
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x4768e3
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x476953
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x47691d
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x476915
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
jmp 0x476950
cmp edi, edx
je 0x47692d
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x476966
cmp edi, edx
jne 0x476921
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x476894
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x476950
push str.invalid_hash_bucket_count
call fcn.004e72d1
call fcn.004ee89f
call fcn.00401a00
int3