Function at 0x10078b20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov ebx, ecx
mov edi, dword [ebp + 8]
add ecx, 4
call fcn.1004ac80
mov esi, eax
mov dword [edi], eax
push 0x20
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov edi, eax
mov ecx, eax
push esi
push dword [ebp + 0xc]
call fcn.1004d990
mov dword [ebp - 0x30], edi
inc dword [edi + 4]
cmp esi, 0x3fff
mov dword [ebp - 0x1c], ebx
ja 0x10078bfc
mov eax, dword [ebx + 0x2c]
cmp eax, esi
mov edi, ebx
mov ebx, dword [ebp + 8]
ja 0x10078bf1
mov ebx, eax
add eax, eax
cmp ebx, esi
jbe 0x10078b73
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebx*4]
xor ecx, ecx
dec ecx
cmp ebx, 0x40000000
cmovb ecx, eax
push ecx
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ecx, eax
mov dword [ebp - 0x14], eax
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax + 0x2c]
lea eax, [ecx + edi*4]
mov ecx, ebx
sub ecx, edi
shl ecx, 2
push ecx
push 0xff
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
shl edi, 2
push edi
mov edi, dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov dword [edi + 0x2c], ebx
test eax, eax
mov ebx, dword [ebp + 8]
je 0x10078bf1
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
shl esi, 2
add esi, dword [edi + 0x30]
jmp 0x10079032
mov eax, esi
shr eax, 0x18
mov dword [ebp - 0x14], eax
mov edi, esi
shr edi, 0x10
mov edx, esi
shr edx, 8
mov ecx, esi
mov eax, 0xff
and ecx, eax
and edx, eax
and edi, eax
mov dword [ebp - 0x10], ecx
xor ecx, 0x811c9dc5
imul ecx, ecx, 0x1000193
xor ecx, edx
imul ecx, ecx, 0x1000193
xor ecx, edi
imul ecx, ecx, 0x1000193
xor ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x1000193
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x28], ecx
and eax, ecx
mov ecx, dword [ebx + 0x40]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x20], ecx
cmp ecx, dword [ebx + 0x38]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], edi
je 0x10078ca4
mov ecx, esi
and ecx, 0xff000000
shl edi, 0x10
or edi, ecx
mov ecx, edx
shl ecx, 8
or ecx, edi
mov edx, dword [ebp - 0x10]
or ecx, edx
mov ebx, dword [ebp - 0x20]
cmp ecx, dword [ebx + 8]
je 0x1007902a
add eax, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + eax*4]
mov edi, dword [ebp - 0x1c]
cmp ebx, eax
je 0x10078ca9
mov ebx, dword [ebx + 4]
cmp ecx, dword [ebx + 8]
jne 0x10078c93
jmp 0x1007902a
mov eax, dword [ebp - 0x20]
mov edi, ebx
mov dword [ebp - 0x14], eax
cmp dword [edi + 0x3c], 0xfffffff
je 0x10079043
push 0x10
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ebx, eax
and esi, 0xff000000
mov ecx, dword [ebp - 0x18]
shl ecx, 0x10
or ecx, esi
mov eax, dword [ebp - 0x24]
shl eax, 8
or eax, ecx
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
mov eax, dword [edi + 0x3c]
inc eax
movd xmm1, eax
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
mov edx, dword [ebp - 0x14]
jbe 0x10078fea
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 - 0x34]
movss xmm0, dword [ebp - 0x34]
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 0x10078d99
lea ecx, [esi*8]
cmp ecx, eax
cmovb ecx, eax
cmp esi, 0x200
cmovae ecx, eax
mov esi, ecx
cmp esi, 0x10000001
jae 0x1007904d
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 - 0x20], eax
mov eax, 2
shl eax, cl
mov dword [ebp - 0x10], eax
mov esi, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
mov dword [ebp - 0x14], edx
sub edx, esi
sar edx, 2
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], edx
cmp edx, dword [ebp - 0x10]
jae 0x10078e22
cmp dword [ebp - 0x10], 0x40000000
jae 0x10079057
mov eax, 8
shl eax, cl
cmp dword [ebp - 0x10], 0x400
jb 0x10078e37
cmp dword [ebp - 0x10], 0x3ffffff8
jae 0x10079057
add eax, 0x23
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x10078e43
mov eax, dword [ebp - 0x14]
cmp esi, eax
mov edx, dword [ebp - 0x18]
je 0x10078e98
mov dword [esi], edx
add esi, 4
cmp esi, eax
jne 0x10078e2c
jmp 0x10078e98
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ecx, eax
cmp dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x10]
je 0x10078e7a
mov dword [ebp - 0x14], ecx
mov eax, dword [edi + 0x40]
test dword [ebp - 0x2c], 0x3ffffc00
je 0x10078e6d
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1007905c
mov eax, ecx
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x40], ecx
lea eax, [ecx + esi*4]
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
shl esi, 2
xor eax, eax
mov edx, dword [ebp - 0x18]
mov dword [ecx + eax], edx
add eax, 4
cmp esi, eax
jne 0x10078e8e
mov eax, dword [ebp - 0x20]
lea ecx, [eax - 1]
mov dword [ebp - 0x10], ecx
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x50], eax
mov eax, dword [edi + 0x38]
mov ecx, dword [eax]
cmp ecx, edx
mov esi, edx
mov edx, eax
mov eax, dword [ebp - 0x10]
je 0x10078fb8
mov dword [ebp - 0x20], ebx
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]
mov dword [ebp - 0x10], edi
lea edi, [ecx + ecx]
inc edi
mov ebx, dword [edx + ecx*8]
mov ecx, dword [eax]
cmp ebx, esi
je 0x10078f6f
mov dword [ebp - 0x14], edi
mov esi, dword [edx + edi*4]
mov edi, dword [eax + 8]
cmp edi, dword [esi + 8]
jne 0x10078f47
mov dword [ebp - 0x10], edx
mov esi, dword [esi]
cmp esi, eax
je 0x10078f3c
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 - 0x10]
mov dword [esi + edx*4], eax
jmp 0x10078fa1
cmp ebx, esi
je 0x10078f7d
mov esi, dword [esi + 4]
cmp edi, dword [esi + 8]
jne 0x10078f47
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 0x10078fa1
mov ebx, dword [ebp - 0x10]
mov dword [edx + ebx*4], eax
mov dword [edx + edi*4], eax
mov edi, dword [ebp - 0x1c]
jmp 0x10078fa7
mov esi, dword [eax + 4]
mov dword [ebp - 0x14], esi
mov dword [esi], ecx
mov edi, dword [ecx + 4]
mov dword [edi], ebx
mov esi, dword [ebx + 4]
mov dword [esi], eax
mov dword [ebx + 4], edi
mov edi, dword [ebp - 0x14]
mov dword [ecx + 4], edi
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x10]
mov dword [edx + esi*4], eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
cmp ecx, esi
jne 0x10078ebe
mov edx, dword [edi + 0x38]
mov eax, dword [edi + 0x4c]
mov ebx, dword [ebp - 0x20]
and eax, dword [ebp - 0x28]
mov ecx, dword [edi + 0x40]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + eax*8 + 4]
cmp eax, edx
je 0x10078fea
mov esi, dword [ebp - 0x24]
cmp esi, dword [eax + 8]
je 0x10078fe8
mov edx, dword [ebp - 0x10]
add edx, edx
mov edx, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x24]
cmp eax, edx
je 0x10078fea
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x10078fdc
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
mov eax, dword [edx + 4]
inc dword [edi + 0x3c]
mov dword [ebx], edx
mov dword [ebx + 4], eax
mov dword [eax], ebx
mov dword [edx + 4], ebx
mov edx, dword [edi + 0x40]
mov esi, dword [ebp - 0x28]
and esi, dword [edi + 0x4c]
lea ecx, [edx + esi*8]
lea edx, [edx + esi*8]
add edx, 4
mov esi, dword [edx - 4]
cmp esi, dword [edi + 0x38]
je 0x10079024
cmp esi, dword [ebp - 0x14]
je 0x10079028
mov ecx, edx
cmp dword [edx], eax
jne 0x1007902a
jmp 0x10079028
mov dword [ecx], ebx
mov ecx, edx
mov dword [ecx], ebx
add ebx, 0xc
mov esi, ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [esi], eax
mov eax, ebx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret 8
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