Function at 0x10048870
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov dword [ebp - 0x24], edx
mov ebx, ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
movzx ecx, byte [edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [edx + 2]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [edx + 3]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 0x30], eax
and ecx, eax
mov esi, dword [ebx + 0xc]
mov edi, dword [esi + ecx*8 + 4]
mov dword [ebp - 0x1c], ebx
cmp edi, dword [ebx + 4]
je 0x100488e7
mov ebx, dword [ebp - 0x24]
mov eax, dword [edx]
mov dword [ebp - 0x18], edi
cmp eax, dword [edi + 8]
jne 0x10048a4d
xor edx, edx
mov ecx, dword [ebp - 0x18]
mov eax, ebx
jmp 0x10048c7e
mov esi, edi
mov edi, dword [ebp - 0x1c]
mov ebx, edx
cmp dword [edi + 8], 0x71c71c7
je 0x10048c8b
mov dword [esp], 0x24
call dword [sym.imp.mozglue.dll_moz_xmalloc]
mov edx, dword [ebx]
mov dword [eax + 8], edx
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], 0xf
mov dword [ebp - 0x18], eax
mov byte [eax + 0xc], 0
mov eax, dword [edi + 8]
inc eax
movss xmm0, dword [edi]
movq xmm2, qword [0x102c3120]
movd xmm1, eax
por xmm1, xmm2
subsd xmm1, xmm2
cvtsd2ss xmm1, xmm1
movss xmm3, dword [edi + 0x1c]
orpd xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
movaps xmm3, xmm1
divss xmm3, xmm2
ucomiss xmm3, xmm0
jbe 0x10048c1e
mov dword [ebp - 0x2c], edx
mov esi, dword [edi + 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 - 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 0x100489c9
lea ecx, [esi*8]
cmp ecx, eax
cmovb ecx, eax
cmp esi, 0x200
cmovae ecx, eax
mov esi, ecx
cmp esi, 0x10000001
jae 0x10048c97
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 edx, 2
shl edx, cl
mov esi, dword [edi + 0xc]
mov ebx, dword [edi + 0x10]
mov dword [ebp - 0x14], ebx
sub ebx, esi
sar ebx, 2
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], ebx
cmp ebx, edx
jae 0x10048a74
cmp edx, 0x40000000
jae 0x10048ca3
mov eax, 8
shl eax, cl
cmp edx, 0x400
mov dword [ebp - 0x28], edx
jb 0x10048a89
cmp edx, 0x3ffffff8
jae 0x10048ca3
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 0x10048a94
add ecx, ecx
mov esi, dword [esi + ecx*4]
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ebx, edx
cmp ecx, esi
je 0x100488ee
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x10048a5a
xor edx, edx
mov eax, dword [ebp - 0x24]
jmp 0x10048c7e
mov eax, dword [ebp - 0x14]
cmp esi, eax
mov ebx, dword [ebp - 0x10]
je 0x10048aed
mov dword [esi], ebx
add esi, 4
cmp esi, eax
jne 0x10048a7e
jmp 0x10048aed
mov dword [esp], eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
mov edx, eax
cmp dword [ebp - 0x14], esi
mov ecx, dword [ebp - 0x28]
je 0x10048acf
mov eax, dword [edi + 0xc]
test dword [ebp - 0x34], 0x3ffffc00
je 0x10048abf
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x10048ca8
mov esi, edx
mov eax, ecx
jmp 0x10048ac1
mov esi, edx
mov dword [esp], eax
call dword [sym.imp.mozglue.dll_free]
mov ecx, dword [ebp - 0x28]
mov edx, esi
mov dword [edi + 0xc], edx
lea eax, [edx + ecx*4]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
shl ecx, 2
xor eax, eax
mov ebx, dword [ebp - 0x10]
mov dword [edx + eax], ebx
add eax, 4
cmp ecx, eax
jne 0x10048ae3
mov eax, dword [ebp - 0x20]
lea edx, [eax - 1]
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], eax
mov esi, dword [edi + 4]
mov ecx, dword [esi]
cmp ecx, ebx
mov ebx, dword [ebp - 0x2c]
je 0x10048bf8
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 edx, dword [edi + 0xc]
lea edi, [ecx + ecx]
lea esi, [ecx + ecx]
inc esi
mov ebx, dword [edx + ecx*8]
mov ecx, dword [eax]
cmp ebx, dword [ebp - 0x10]
je 0x10048bb8
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], esi
mov esi, dword [edx + esi*4]
mov edi, dword [eax + 8]
cmp edi, dword [esi + 8]
jne 0x10048b90
mov esi, dword [esi]
cmp esi, eax
je 0x10048b8b
mov edi, dword [eax + 4]
mov dword [ebp - 0x20], 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 - 0x20]
mov dword [ecx + 4], esi
mov dword [eax + 4], edi
mov esi, dword [ebp - 0x14]
jmp 0x10048bde
cmp ebx, esi
je 0x10048bbd
mov esi, dword [esi + 4]
cmp edi, dword [esi + 8]
jne 0x10048b90
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 0x10048be1
mov dword [edx + edi*4], eax
jmp 0x10048bde
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 - 0x20]
mov dword [edx + esi*4], eax
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
jne 0x10048b09
mov esi, dword [edi + 4]
mov edx, dword [edi + 0x18]
mov ebx, dword [ebp - 0x2c]
and edx, dword [ebp - 0x30]
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + edx*8 + 4]
cmp eax, esi
je 0x10048c1e
cmp ebx, dword [eax + 8]
je 0x10048c1c
add edx, edx
mov esi, dword [ecx + edx*4]
cmp eax, esi
je 0x10048c1e
mov eax, dword [eax + 4]
cmp ebx, dword [eax + 8]
jne 0x10048c10
mov esi, dword [eax]
mov eax, dword [esi + 4]
inc dword [edi + 8]
mov edx, dword [ebp - 0x18]
mov dword [edx], esi
mov dword [edx + 4], eax
mov dword [ebp - 0x14], eax
mov dword [eax], edx
mov dword [esi + 4], edx
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x30]
and ecx, dword [edi + 0x18]
lea ebx, [eax + ecx*8]
mov dword [ebp - 0x10], ebx
mov ebx, edi
lea edi, [eax + ecx*8]
add edi, 4
mov eax, dword [edi - 4]
cmp eax, dword [ebx + 4]
je 0x10048c6d
cmp eax, esi
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
je 0x10048c77
mov dl, 1
mov esi, edi
mov ecx, dword [ebp - 0x14]
cmp dword [edi], ecx
je 0x10048c77
mov ecx, dword [ebp - 0x18]
jmp 0x10048c7e
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
mov esi, edi
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
mov dword [esi], ecx
mov dl, 1
mov dword [eax], ecx
mov byte [eax + 4], dl
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
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