Function at 0x1003b210
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
cmp edx, 0x10000001
jae 0x1003b423
mov edi, ecx
dec edx
or edx, 1
bsr ecx, edx
xor ecx, 0xffffffe0
add ecx, 0x21
xor eax, eax
inc eax
shl eax, cl
mov dword [ebp - 0x1c], eax
mov ebx, 2
shl ebx, cl
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x14], edx
sub edx, esi
sar edx, 2
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], edx
cmp edx, ebx
jae 0x1003b2a0
cmp ebx, 0x40000000
jae 0x1003b42d
mov eax, 8
shl eax, cl
cmp ebx, 0x400
mov dword [ebp - 0x24], ebx
jb 0x1003b2b5
cmp ebx, 0x3ffffff8
jae 0x1003b42d
add eax, 0x23
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x1003b2c1
mov eax, dword [ebp - 0x14]
cmp esi, eax
mov edx, dword [ebp - 0x10]
je 0x1003b310
mov dword [esi], edx
add esi, 4
cmp esi, eax
jne 0x1003b2aa
jmp 0x1003b310
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ebx, eax
cmp dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x24]
je 0x1003b2f2
mov eax, dword [edi + 0xc]
test dword [ebp - 0x20], 0x3ffffc00
je 0x1003b2e8
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1003b432
mov eax, ecx
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov dword [edi + 0xc], ebx
lea eax, [ebx + esi*4]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
shl esi, 2
xor eax, eax
mov edx, dword [ebp - 0x10]
mov dword [ebx + eax], edx
add eax, 4
cmp esi, eax
jne 0x1003b306
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx - 1]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [edi + 4]
mov ecx, dword [eax]
cmp ecx, edx
je 0x1003b41b
mov ebx, edx
mov dword [ebp - 0x18], edi
mov eax, ecx
movzx ecx, byte [ecx + 8]
xor ecx, 0x811c9dc5
imul ecx, ecx, 0x1000193
movzx edx, byte [eax + 9]
xor edx, ecx
imul ecx, edx, 0x1000193
movzx edx, byte [eax + 0xa]
xor edx, ecx
imul ecx, edx, 0x1000193
movzx edx, byte [eax + 0xb]
xor edx, ecx
imul ecx, edx, 0x1000193
and ecx, dword [edi + 0x18]
mov esi, dword [edi + 0xc]
lea edx, [ecx + ecx]
lea edi, [ecx + ecx]
inc edi
mov dword [ebp - 0x14], edi
mov edi, dword [esi + ecx*8]
mov ecx, dword [eax]
cmp edi, ebx
je 0x1003b3b9
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
mov edx, dword [ebp - 0x14]
mov esi, dword [esi + edx*4]
mov ebx, dword [eax + 8]
cmp ebx, dword [esi + 8]
je 0x1003b3c1
cmp edi, esi
je 0x1003b3ea
mov esi, dword [esi + 4]
cmp ebx, dword [esi + 8]
jne 0x1003b391
mov edx, dword [esi]
mov esi, dword [eax + 4]
mov dword [esi], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov dword [edx + 4], edi
mov dword [ecx + 4], esi
mov dword [eax + 4], ebx
jmp 0x1003b40d
mov dword [esi + edx*4], eax
mov edx, dword [ebp - 0x14]
jmp 0x1003b3e5
mov esi, dword [esi]
cmp esi, eax
je 0x1003b3df
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], esi
mov edi, dword [esi + 4]
mov dword [edi], eax
mov dword [esi + 4], ebx
mov dword [ecx + 4], edx
mov dword [eax + 4], edi
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
mov dword [esi + edx*4], eax
jmp 0x1003b40d
mov esi, dword [eax + 4]
mov dword [esi], ecx
mov edx, esi
mov ebx, dword [ecx + 4]
mov dword [ebx], edi
mov esi, dword [edi + 4]
mov dword [esi], eax
mov dword [edi + 4], ebx
mov dword [ecx + 4], edx
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [edx + esi*4], eax
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x10]
cmp ecx, ebx
jne 0x1003b32e
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
push str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
call fcn.102133d0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3