Function at 0x10073220
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
mov esi, eax
jb 0x1007323c
mov esi, dword [eax]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], edx
mov ebx, 0x811c9dc5
test edx, edx
je 0x10073264
xor eax, eax
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
movzx esi, byte [edx + eax]
xor esi, ebx
imul ebx, esi, 0x1000193
inc eax
cmp edi, eax
jne 0x10073253
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x3c], ebx
and eax, ebx
mov edx, dword [ecx + 0xc]
mov ebx, dword [edx + eax*8 + 4]
mov dword [ebp - 0x14], ecx
cmp ebx, dword [ecx + 4]
je 0x100732b4
add eax, eax
mov esi, dword [edx + eax*4]
mov edi, dword [ebp - 0x18]
cmp edi, dword [ebx + 0x18]
jne 0x100732ab
cmp dword [ebx + 0x1c], 0x10
jb 0x10073293
mov eax, dword [ebx + 8]
jmp 0x10073296
lea eax, [ebx + 8]
push edi
push eax
push dword [ebp - 0x10]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1007332e
cmp ebx, esi
je 0x100732b6
mov ebx, dword [ebx + 4]
jmp 0x10073283
mov esi, ebx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0x5d1745d
mov ebx, dword [ebp + 8]
je 0x10073780
push 0x2c
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov edi, dword [ebx + 0x10]
cmp dword [ebx + 0x14], 0x10
jb 0x100732df
mov ebx, dword [ebx]
mov dword [ebp - 0x1c], eax
add eax, 8
cmp edi, 0xf
mov dword [ebp - 0x34], eax
ja 0x100732fa
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
mov ebx, 0xf
jmp 0x1007335a
mov dword [ebp - 0x10], ebx
mov ebx, edi
or ebx, 0xf
mov eax, 0x7fffffff
cmp ebx, eax
cmovae ebx, eax
cmp ebx, 0xfff
jb 0x10073338
lea eax, [ebx + 0x24]
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x10073345
xor ecx, ecx
mov eax, dword [ebp - 0x30]
jmp 0x10073773
lea eax, [ebx + 1]
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
lea ecx, [edi + 1]
push ecx
push dword [ebp - 0x10]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], ebx
mov ebx, eax
xor eax, eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
inc eax
movss xmm0, dword [edx]
movq xmm2, qword [0x102c3120]
movd xmm1, eax
por xmm1, xmm2
subsd xmm1, xmm2
cvtsd2ss xmm1, xmm1
movss xmm3, dword [edx + 0x1c]
orpd xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
movaps xmm3, xmm1
divss xmm3, xmm2
ucomiss xmm3, xmm0
jbe 0x10073718
mov esi, dword [edx + 0x1c]
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 - 0x44]
movss xmm0, dword [ebp - 0x44]
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 0x1007341c
lea ecx, [esi*8]
cmp ecx, eax
cmovb ecx, eax
cmp esi, 0x200
cmovae ecx, eax
mov esi, ecx
cmp esi, 0x10000001
jae 0x1007378a
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 - 0x10], eax
mov edi, 2
shl edi, cl
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov esi, edx
sub esi, ebx
sar esi, 2
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], esi
cmp esi, edi
jae 0x100734a3
cmp edi, 0x40000000
jae 0x10073794
mov eax, 8
shl eax, cl
cmp edi, 0x400
mov dword [ebp - 0x28], edx
jb 0x100734b5
cmp edi, 0x3ffffff8
jae 0x10073794
add eax, 0x23
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x100734c1
cmp ebx, edx
mov ecx, dword [ebp - 0x20]
je 0x10073513
mov dword [ebx], ecx
add ebx, 4
cmp ebx, edx
jne 0x100734aa
jmp 0x10073513
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov esi, eax
cmp dword [ebp - 0x28], ebx
je 0x100734f2
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
test dword [ebp - 0x18], 0x3ffffc00
je 0x100734e8
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x10073799
mov eax, ecx
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], esi
lea eax, [esi + edi*4]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
shl edi, 2
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov dword [esi + eax], ecx
add eax, 4
cmp edi, eax
jne 0x10073509
mov esi, dword [ebp - 0x10]
lea eax, [esi - 1]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], esi
mov esi, dword [edx + 4]
mov ebx, dword [esi]
mov edi, ebx
cmp ebx, ecx
mov ebx, dword [ebp - 0x1c]
je 0x100736c1
mov esi, edx
mov eax, edi
cmp dword [eax + 0x1c], 0x10
jb 0x10073543
mov edi, dword [eax + 8]
jmp 0x10073546
lea edi, [eax + 8]
mov dword [ebp - 0x18], eax
mov ebx, dword [eax + 0x18]
mov eax, 0x811c9dc5
test ebx, ebx
je 0x10073568
xor ecx, ecx
movzx edx, byte [edi + ecx]
xor edx, eax
imul eax, edx, 0x1000193
inc ecx
cmp ebx, ecx
jne 0x10073557
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x24], edx
and eax, dword [esi + 0x18]
mov edx, dword [esi + 0xc]
lea esi, [eax + eax]
mov dword [ebp - 0x2c], esi
lea esi, [eax + eax]
inc esi
mov dword [ebp - 0x28], esi
mov eax, dword [edx + eax*8]
cmp eax, dword [ebp - 0x20]
je 0x100735a7
mov ecx, dword [ebp - 0x28]
mov esi, dword [edx + ecx*4]
cmp ebx, dword [esi + 0x18]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x10], eax
jne 0x100735e0
cmp dword [esi + 0x1c], 0x10
jb 0x100735c4
mov eax, dword [esi + 8]
jmp 0x100735c7
mov eax, dword [ebp - 0x2c]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x28]
mov dword [edx + eax*4], ecx
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x14]
jmp 0x10073662
lea eax, [esi + 8]
push ebx
push eax
push edi
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
je 0x1007366c
cmp eax, esi
je 0x10073630
mov esi, dword [esi + 4]
cmp ebx, dword [esi + 0x18]
jne 0x100735e0
cmp dword [esi + 0x1c], 0x10
jb 0x100735f7
mov eax, dword [esi + 8]
jmp 0x100735fa
lea eax, [esi + 8]
push ebx
push eax
push edi
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x10]
jne 0x100735e0
mov eax, dword [esi]
mov edi, dword [ebp - 0x18]
mov ecx, dword [edi + 4]
mov ebx, dword [ebp - 0x24]
mov dword [ecx], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov esi, dword [eax + 4]
mov dword [esi], edi
mov dword [eax + 4], edx
mov eax, ebx
mov dword [ebx + 4], ecx
mov dword [edi + 4], esi
jmp 0x10073659
mov esi, dword [ebp - 0x18]
mov ebx, dword [esi + 4]
mov edi, dword [ebp - 0x24]
mov dword [ebx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov edx, dword [eax + 4]
mov dword [edx], esi
mov dword [eax + 4], ecx
mov dword [edi + 4], ebx
mov eax, edi
mov dword [esi + 4], edx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x38]
mov dword [edx + ecx*4], esi
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
cmp eax, edi
jne 0x10073538
jmp 0x100736b9
mov eax, dword [esi]
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
je 0x100736ab
mov esi, dword [ecx + 4]
mov dword [ebp - 0x10], esi
mov edx, dword [ebp - 0x24]
mov dword [esi], edx
mov esi, dword [edx + 4]
mov dword [ebp - 0x2c], esi
mov dword [esi], eax
mov esi, dword [eax + 4]
mov dword [ebp - 0x40], esi
mov dword [esi], ecx
mov esi, dword [ebp - 0x2c]
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [edx + eax*4], ecx
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
jmp 0x10073662
mov edx, esi
mov esi, dword [esi + 4]
mov eax, dword [edx + 0x18]
and eax, dword [ebp - 0x3c]
mov ecx, dword [edx + 0xc]
mov edi, dword [ecx + eax*8 + 4]
cmp edi, esi
je 0x10073718
add eax, eax
cmp dword [ebx + 0x1c], 0x10
jb 0x100736dd
mov edx, dword [ebx + 8]
mov dword [ebp - 0x34], edx
mov esi, dword [ecx + eax*4]
mov ebx, dword [ebx + 0x18]
cmp ebx, dword [edi + 0x18]
jne 0x10073707
cmp dword [edi + 0x1c], 0x10
jb 0x100736f3
mov eax, dword [edi + 8]
jmp 0x100736f6
lea eax, [edi + 8]
push ebx
push eax
push dword [ebp - 0x34]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10073710
cmp edi, esi
je 0x10073712
mov edi, dword [edi + 4]
jmp 0x100736e3
mov esi, dword [edi]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [esi + 4]
inc dword [edx + 8]
mov dword [ebx], esi
mov dword [ebx + 4], eax
mov dword [ebp - 0x18], eax
mov dword [eax], ebx
mov dword [esi + 4], ebx
mov ecx, dword [edx + 0xc]
mov eax, dword [ebp - 0x3c]
and eax, dword [edx + 0x18]
lea edi, [ecx + eax*8]
mov dword [ebp - 0x10], edi
lea edi, [ecx + eax*8]
add edi, 4
mov ecx, dword [edi - 4]
cmp ecx, dword [edx + 4]
je 0x10073762
cmp ecx, esi
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x10]
je 0x1007376c
mov cl, 1
mov esi, edi
mov edx, dword [ebp - 0x18]
cmp dword [edi], edx
je 0x1007376c
mov ebx, dword [ebp - 0x1c]
jmp 0x10073773
mov eax, dword [ebp - 0x10]
mov dword [eax], ebx
mov esi, edi
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x1c]
mov dword [esi], ebx
mov cl, 1
mov dword [eax], ebx
mov byte [eax + 4], cl
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
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