Function at 0x1003b870
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov esi, ecx
mov edi, dword [ebp + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
movzx ecx, byte [edi + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [edi + 2]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [edi + 3]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x28], eax
and ecx, eax
mov edx, dword [esi + 0xc]
mov ebx, dword [edx + ecx*8 + 4]
cmp ebx, dword [esi + 4]
mov dword [ebp - 0x1c], esi
je 0x1003b8f1
mov eax, dword [edi]
mov esi, ebx
cmp eax, dword [ebx + 8]
je 0x1003ba3c
add ecx, ecx
mov ebx, dword [edx + ecx*4]
mov edx, esi
mov esi, dword [ebp - 0x1c]
cmp edx, ebx
je 0x1003b8f1
mov edx, dword [edx + 4]
cmp eax, dword [edx + 8]
jne 0x1003b8de
xor ecx, ecx
jmp 0x1003bc4e
cmp dword [esi + 8], 0x15555555
je 0x1003bc60
mov dword [esp], 0xc
call dword [sym.imp.mozglue.dll_moz_xmalloc]
mov ecx, dword [edi]
mov dword [ebp - 0x20], eax
mov dword [eax + 8], ecx
mov eax, dword [esi + 8]
inc eax
movss xmm0, dword [esi]
movq xmm2, qword [0x102c3120]
movd xmm1, eax
por xmm1, xmm2
subsd xmm1, xmm2
cvtsd2ss xmm1, xmm1
movss xmm3, dword [esi + 0x1c]
orpd xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
movaps xmm3, xmm1
divss xmm3, xmm2
ucomiss xmm3, xmm0
jbe 0x1003bbf2
mov dword [ebp - 0x24], ecx
mov edi, dword [esi + 0x1c]
divss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x30]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x102c3128]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp edx, 9
mov eax, 8
cmovae eax, edx
cmp edi, eax
jae 0x1003b9b9
lea ecx, [edi*8]
cmp ecx, eax
cmovb ecx, eax
cmp edi, 0x200
cmovae ecx, eax
mov edi, ecx
cmp edi, 0x10000001
jae 0x1003bc6c
dec edi
or edi, 1
bsr ecx, edi
xor ecx, 0xffffffe0
add ecx, 0x21
xor eax, eax
inc eax
shl eax, cl
mov dword [ebp - 0x18], eax
mov edx, 2
shl edx, cl
mov ebx, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x14], edi
sub edi, ebx
sar edi, 2
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], eax
cmp edi, edx
jae 0x1003ba45
mov dword [ebp - 0x2c], edi
cmp edx, 0x40000000
jae 0x1003bc78
mov eax, 8
shl eax, cl
cmp edx, 0x400
mov edi, edx
jb 0x1003ba5a
cmp edx, 0x3ffffff8
jae 0x1003bc78
add eax, 0x23
mov dword [esp], eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
lea edx, [eax + 0x23]
and edx, 0xffffffe0
mov dword [edx - 4], eax
jmp 0x1003ba65
xor ecx, ecx
mov edx, esi
jmp 0x1003bc4e
mov eax, dword [ebp - 0x14]
cmp ebx, eax
mov edi, dword [ebp - 0x10]
je 0x1003babc
mov dword [ebx], edi
add ebx, 4
cmp ebx, eax
jne 0x1003ba4f
jmp 0x1003babc
mov dword [esp], eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
mov edx, eax
cmp dword [ebp - 0x14], ebx
mov ecx, edi
je 0x1003ba9e
mov eax, dword [esi + 0xc]
test dword [ebp - 0x2c], 0x3ffffc00
je 0x1003ba8f
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1003bc7d
mov ebx, edx
mov eax, ecx
jmp 0x1003ba91
mov ebx, edx
mov dword [esp], eax
call dword [sym.imp.mozglue.dll_free]
mov ecx, edi
mov edx, ebx
mov dword [esi + 0xc], edx
lea eax, [edx + ecx*4]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
shl ecx, 2
xor eax, eax
mov edi, dword [ebp - 0x10]
mov dword [edx + eax], edi
add eax, 4
cmp ecx, eax
jne 0x1003bab2
mov eax, dword [ebp - 0x18]
lea edx, [eax - 1]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov ebx, dword [esi + 4]
mov ecx, dword [ebx]
cmp ecx, edi
mov edi, dword [ebp - 0x24]
je 0x1003bbcc
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 [esi + 0x18]
mov ebx, dword [esi + 0xc]
lea esi, [ecx + ecx]
lea edx, [ecx + ecx]
inc edx
mov edi, dword [ebx + ecx*8]
mov ecx, dword [eax]
cmp edi, dword [ebp - 0x10]
je 0x1003bb5e
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebx + edx*4]
mov esi, dword [eax + 8]
cmp esi, dword [ebx + 8]
je 0x1003bb66
cmp edi, ebx
je 0x1003bb92
mov ebx, dword [ebx + 4]
cmp esi, dword [ebx + 8]
jne 0x1003bb36
mov edx, dword [ebx]
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 0x1003bbb5
mov dword [ebx + esi*4], eax
mov dword [ebx + edx*4], eax
jmp 0x1003bbb5
mov dword [ebp - 0x14], edx
mov esi, dword [ebx]
cmp esi, eax
je 0x1003bb87
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 - 0x18]
mov dword [esi + edx*4], eax
jmp 0x1003bbb5
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 - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [edx + esi*4], eax
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
jne 0x1003bad8
mov ebx, dword [esi + 4]
mov edx, dword [esi + 0x18]
mov edi, dword [ebp - 0x24]
and edx, dword [ebp - 0x28]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + edx*8 + 4]
cmp eax, ebx
je 0x1003bbf2
cmp edi, dword [eax + 8]
je 0x1003bbf0
add edx, edx
mov ebx, dword [ecx + edx*4]
cmp eax, ebx
je 0x1003bbf2
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
jne 0x1003bbe4
mov ebx, dword [eax]
mov eax, dword [ebx + 4]
inc dword [esi + 8]
mov edi, dword [ebp - 0x20]
mov dword [edi], ebx
mov dword [edi + 4], eax
mov dword [ebp - 0x18], eax
mov dword [eax], edi
mov dword [ebx + 4], edi
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp - 0x28]
and eax, dword [esi + 0x18]
lea edx, [ecx + eax*8]
mov dword [ebp - 0x10], edx
mov edx, esi
lea esi, [ecx + eax*8]
add esi, 4
mov ecx, dword [esi - 4]
cmp ecx, dword [edx + 4]
je 0x1003bc3e
cmp ecx, ebx
mov edx, dword [ebp - 0x10]
je 0x1003bc45
mov cl, 1
mov edx, esi
mov eax, dword [ebp - 0x18]
cmp dword [esi], eax
je 0x1003bc45
mov edx, dword [ebp - 0x20]
jmp 0x1003bc4e
mov eax, dword [ebp - 0x10]
mov dword [eax], edi
mov edx, esi
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov edx, eax
mov cl, 1
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov byte [eax + 4], cl
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [esp], str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
mov dword [esp], 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