Function at 0x1002d5b0
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 0x1002d7dd
lea eax, [ecx - 1]
mov edi, dword [ebx + 0xc]
or eax, edx
mov esi, dword [ebx + 4]
bsr ecx, eax
mov dword [ebp + 8], esi
lea ecx, [ecx + 1]
shl edx, cl
mov ecx, dword [ebx + 0x10]
mov eax, ecx
sub eax, edi
mov dword [ebp - 8], edx
add edx, edx
sar eax, 2
cmp eax, edx
jae 0x1002d6bb
cmp edx, 0x3fffffff
ja 0x1002d7ec
lea ebx, [edx*4]
cmp ebx, 0x1000
jb 0x1002d649
lea eax, [ebx + 0x23]
cmp eax, ebx
jbe 0x1002d7ec
push eax
call fcn.10041f9b
add esp, 4
test eax, eax
je 0x1002d7e7
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x1002d65c
test ebx, ebx
je 0x1002d65a
push ebx
call fcn.10041f9b
add esp, 4
mov edi, eax
jmp 0x1002d65c
xor edi, edi
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 0x1002d699
shl ecx, 2
cmp ecx, 0x1000
jb 0x1002d68f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d7e7
mov eax, edx
push ecx
push eax
call fcn.10041fcb
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 0x1002d6c9
nop
mov dword [edi], esi
add edi, 4
cmp edi, eax
jne 0x1002d6b0
jmp 0x1002d6c9
lea eax, [ebp + 8]
push eax
push ecx
push edi
call fcn.1002b3c0
add esp, 0xc
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 0x1002d7b0
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
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 8], edx
cmp ebx, esi
jne 0x1002d736
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1002d7a3
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1002d770
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x1002d768
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 0x1002d7a3
cmp ebx, edx
je 0x1002d780
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x1002d7b9
cmp ebx, edx
jne 0x1002d774
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 0x1002d6e4
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 0x1002d7a3
push str.invalid_hash_bucket_count
call fcn.10040f5e
call fcn.1004748f
call fcn.10005a30
int3