Function at 0x10078030
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov esi, ecx
add ecx, 4
call fcn.1004ac80
mov ebx, eax
push 0x40
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov edi, eax
mov ecx, eax
push ebx
push dword [ebp + 8]
call fcn.1003c240
mov dword [ebp - 0x34], edi
inc dword [edi + 4]
cmp ebx, 0x3fff
mov dword [ebp - 0x1c], esi
ja 0x10078109
mov eax, dword [esi + 0x2c]
cmp eax, ebx
mov edi, esi
ja 0x100780fa
mov esi, eax
add eax, eax
cmp esi, ebx
jbe 0x1007807b
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x10], eax
lea eax, [esi*4]
xor ecx, ecx
dec ecx
cmp esi, 0x40000000
cmovb ecx, eax
push ecx
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x30], edi
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 0x2c]
lea eax, [edi + ebx*4]
mov ecx, esi
sub ecx, ebx
shl ecx, 2
push ecx
push 0xff
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
shl ebx, 2
push ebx
mov ebx, dword [ebp - 0x28]
push dword [ebp - 0x10]
push edi
mov edi, dword [ebp - 0x1c]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov dword [edi + 0x2c], esi
test eax, eax
je 0x100780fa
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
lea esi, [ebx*4]
add esi, dword [edi + 0x30]
jmp 0x10078544
mov eax, ebx
shr eax, 0x18
mov dword [ebp - 0x14], eax
mov eax, ebx
shr eax, 0x10
mov edx, ebx
shr edx, 8
mov ecx, ebx
mov edi, 0xff
and ecx, edi
and edx, edi
and eax, edi
mov dword [ebp - 0x10], ecx
xor ecx, 0x811c9dc5
imul ecx, ecx, 0x1000193
xor ecx, edx
imul ecx, ecx, 0x1000193
xor ecx, eax
imul ecx, ecx, 0x1000193
xor ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x1000193
mov edi, dword [esi + 0x4c]
mov dword [ebp - 0x30], ecx
and edi, ecx
mov ecx, dword [esi + 0x40]
mov dword [ebp - 0x14], edi
mov edi, dword [ecx + edi*8 + 4]
mov dword [ebp - 0x20], edi
cmp edi, dword [esi + 0x38]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edx
je 0x100781ba
mov dword [ebp - 0x2c], ecx
and ebx, 0xff000000
mov edi, eax
shl edi, 0x10
or edi, ebx
mov ecx, edx
shl ecx, 8
or ecx, edi
mov edx, dword [ebp - 0x10]
or ecx, edx
mov esi, dword [ebp - 0x20]
cmp ecx, dword [esi + 8]
je 0x1007853e
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
add eax, eax
mov edi, dword [ebp - 0x2c]
mov ebx, dword [edi + eax*4]
mov edi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x100781c7
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
jne 0x100781a9
jmp 0x1007853e
mov edi, esi
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x20]
jmp 0x100781c9
mov esi, edx
cmp dword [edi + 0x3c], 0xfffffff
je 0x10078555
push 0x10
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ecx, dword [ebp - 0x28]
and ecx, 0xff000000
mov edx, dword [ebp - 0x18]
shl edx, 0x10
or edx, ecx
mov ecx, dword [ebp - 0x24]
shl ecx, 8
or ecx, edx
or ecx, esi
mov dword [ebp - 0x24], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
mov ecx, dword [edi + 0x3c]
inc ecx
movd xmm1, ecx
movss xmm0, dword [edi + 0x34]
movq xmm2, qword [0x102c3120]
por xmm1, xmm2
subsd xmm1, xmm2
cvtsd2ss xmm1, xmm1
movss xmm3, dword [edi + 0x50]
orpd xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
movaps xmm3, xmm1
divss xmm3, xmm2
ucomiss xmm3, xmm0
jbe 0x100784ed
mov dword [ebp - 0x20], eax
mov esi, dword [edi + 0x50]
divss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
sub esp, 8
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x38]
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 esi, eax
jae 0x100782b6
lea ecx, [esi*8]
cmp ecx, eax
cmovb ecx, eax
cmp esi, 0x200
cmovae ecx, eax
mov esi, ecx
cmp esi, 0x10000001
jae 0x1007855f
dec esi
or esi, 1
bsr ecx, esi
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 [edi + 0x40]
mov esi, dword [edi + 0x44]
mov dword [ebp - 0x14], esi
sub esi, ebx
sar esi, 2
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x10], eax
cmp esi, edx
jae 0x1007833a
mov dword [ebp - 0x2c], esi
cmp edx, 0x40000000
jae 0x10078569
mov eax, 8
shl eax, cl
cmp edx, 0x400
mov esi, edx
jb 0x1007834f
cmp edx, 0x3ffffff8
jae 0x10078569
add eax, 0x23
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
lea edx, [eax + 0x23]
and edx, 0xffffffe0
mov dword [edx - 4], eax
jmp 0x1007835b
mov eax, dword [ebp - 0x14]
cmp ebx, eax
mov esi, dword [ebp - 0x10]
je 0x100783b3
mov dword [ebx], esi
add ebx, 4
cmp ebx, eax
jne 0x10078344
jmp 0x100783b3
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov edx, eax
cmp dword [ebp - 0x14], ebx
mov ecx, esi
je 0x10078395
mov eax, dword [edi + 0x40]
test dword [ebp - 0x2c], 0x3ffffc00
je 0x10078385
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1007856e
mov ebx, edx
mov eax, ecx
jmp 0x10078387
mov ebx, edx
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, esi
mov edx, ebx
mov dword [edi + 0x40], edx
lea eax, [edx + ecx*4]
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
shl ecx, 2
xor eax, eax
mov esi, dword [ebp - 0x10]
mov dword [edx + eax], esi
add eax, 4
cmp ecx, eax
jne 0x100783a9
mov eax, dword [ebp - 0x18]
lea edx, [eax - 1]
mov dword [edi + 0x4c], edx
mov dword [edi + 0x50], eax
mov ebx, dword [edi + 0x38]
mov ecx, dword [ebx]
cmp ecx, esi
mov eax, dword [ebp - 0x20]
je 0x100784c1
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 + 0x4c]
mov edx, dword [edi + 0x40]
lea edi, [ecx + ecx]
lea ebx, [ecx + ecx]
inc ebx
mov esi, dword [edx + ecx*8]
mov ecx, dword [eax]
cmp esi, dword [ebp - 0x10]
je 0x1007847e
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
mov ebx, dword [edx + ebx*4]
mov edi, dword [eax + 8]
cmp edi, dword [ebx + 8]
jne 0x10078456
mov esi, dword [ebx]
cmp esi, eax
je 0x10078451
mov edi, dword [eax + 4]
mov dword [ebp - 0x18], edi
mov dword [edi], 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 esi, dword [ebp - 0x18]
mov dword [ecx + 4], esi
mov dword [eax + 4], edi
mov esi, dword [ebp - 0x14]
jmp 0x100784a7
cmp esi, ebx
je 0x10078486
mov ebx, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jne 0x10078456
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 0x100784aa
mov dword [edx + edi*4], eax
mov dword [edx + ebx*4], eax
jmp 0x100784aa
mov edi, dword [eax + 4]
mov dword [ebp - 0x14], edi
mov dword [edi], 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 esi, dword [ebp - 0x14]
mov dword [ecx + 4], esi
mov dword [eax + 4], edi
mov esi, dword [ebp - 0x18]
mov dword [edx + esi*4], eax
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
jne 0x100783cf
mov ebx, dword [edi + 0x38]
mov edx, dword [edi + 0x4c]
mov eax, dword [ebp - 0x20]
and edx, dword [ebp - 0x30]
mov ecx, dword [edi + 0x40]
mov esi, dword [ecx + edx*8 + 4]
cmp esi, ebx
je 0x100784ed
mov ebx, dword [ebp - 0x24]
cmp ebx, dword [esi + 8]
je 0x100784eb
add edx, edx
mov ebx, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x24]
cmp esi, ebx
je 0x100784ed
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
jne 0x100784df
mov ebx, dword [esi]
mov ecx, dword [ebx + 4]
inc dword [edi + 0x3c]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
mov dword [ebx + 4], eax
mov edx, dword [edi + 0x40]
mov ecx, dword [ebp - 0x30]
and ecx, dword [edi + 0x4c]
lea esi, [edx + ecx*8]
mov dword [ebp - 0x10], esi
lea edx, [edx + ecx*8]
add edx, 4
mov ecx, eax
mov esi, dword [edx - 4]
cmp esi, dword [edi + 0x38]
je 0x10078533
cmp esi, ebx
mov esi, ecx
mov edi, dword [ebp - 0x10]
je 0x1007853c
mov edi, edx
mov eax, dword [ebp - 0x14]
cmp dword [edx], eax
jne 0x1007853e
jmp 0x1007853c
mov eax, dword [ebp - 0x10]
mov dword [eax], ecx
mov edi, edx
mov esi, ecx
mov dword [edi], esi
add esi, 0xc
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
mov dword [esi], eax
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 4
push str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
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