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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov ebx, dword [ebp + 8]
mov eax, dword [0x1038000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [ebx + 0x10]
cmp dword [ebx + 0x14], 0x10
jb 0x10054da4
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
test esi, esi
mov dword [ebp - 0x58], edx
mov edi, 0x811c9dc5
je 0x10054dc3
xor eax, eax
movzx edx, byte [ebx + eax]
xor edx, edi
imul edi, edx, 0x1000193
inc eax
cmp esi, eax
jne 0x10054db2
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x60], edi
and eax, edi
mov edx, dword [ecx + 0xc]
mov edi, dword [edx + eax*8 + 4]
mov dword [ebp - 0x34], ecx
cmp edi, dword [ecx + 4]
je 0x10054e15
mov dword [ebp - 0x38], ebx
add eax, eax
mov ebx, dword [edx + eax*4]
cmp esi, dword [edi + 0x18]
jne 0x10054e0a
cmp dword [edi + 0x1c], 0x10
jb 0x10054df2
mov eax, dword [edi + 8]
jmp 0x10054df5
lea eax, [edi + 8]
push esi
push eax
push dword [ebp - 0x38]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10054e97
cmp edi, ebx
je 0x10054e13
mov edi, dword [edi + 4]
jmp 0x10054de2
mov edi, ebx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 8], 0x6666666
mov ebx, dword [ebp + 8]
je 0x1005545f
push 0x28
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x54], ecx
cmp dword [ebx + 0x14], 0x10
mov esi, ebx
jb 0x10054e43
mov esi, dword [ebx]
mov ecx, eax
add ecx, 8
mov ebx, dword [ebp - 0x54]
cmp ebx, 0xf
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
ja 0x10054e63
movups xmm0, xmmword [esi]
movups xmmword [ecx], xmm0
mov ecx, 0xf
jmp 0x10054ec8
mov ecx, ebx
or ecx, 0xf
mov eax, 0x7fffffff
cmp ecx, eax
cmovae ecx, eax
cmp ecx, 0xfff
mov dword [ebp - 0x50], ecx
jb 0x10054ea2
lea eax, [ecx + 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 0x10054eaf
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x58]
jmp 0x100552b7
lea eax, [ecx + 1]
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
lea ecx, [ebx + 1]
push ecx
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x18], ebx
mov dword [ebp - 0x50], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], 0xffffffff
mov byte [eax + 0x24], 0
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx + 8]
inc eax
movss xmm0, dword [ebx]
movq xmm2, qword [0x102c3120]
movd xmm1, eax
por xmm1, xmm2
subsd xmm1, xmm2
cvtsd2ss xmm1, xmm1
movss xmm3, dword [ebx + 0x1c]
orpd xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
movaps xmm3, xmm1
divss xmm3, xmm2
ucomiss xmm3, xmm0
jbe 0x10055257
mov esi, dword [ebx + 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 - 0x68]
movss xmm0, dword [ebp - 0x68]
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
mov edx, ebx
jae 0x10054f8a
lea ecx, [esi*8]
cmp ecx, eax
cmovb ecx, eax
cmp esi, 0x200
cmovae ecx, eax
mov esi, ecx
cmp esi, 0x10000001
jae 0x10055469
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 - 0x38], eax
mov ebx, 2
shl ebx, cl
mov esi, dword [edx + 0xc]
mov edi, dword [edx + 0x10]
mov eax, edx
mov edx, edi
sub edx, esi
sar edx, 2
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], edx
cmp edx, ebx
jae 0x10055010
mov dword [ebp - 0x3c], edi
cmp ebx, 0x40000000
jae 0x10055473
mov eax, 8
shl eax, cl
cmp ebx, 0x400
jb 0x10055022
cmp ebx, 0x3ffffff8
jae 0x10055473
add eax, 0x23
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x1005502e
cmp esi, edi
mov ecx, dword [ebp - 0x40]
je 0x10055080
mov dword [esi], ecx
add esi, 4
cmp esi, edi
jne 0x10055017
jmp 0x10055080
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov edi, eax
cmp dword [ebp - 0x3c], esi
je 0x1005505f
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xc]
test dword [ebp - 0x30], 0x3ffffc00
je 0x10055055
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1005543a
mov eax, ecx
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0xc], edi
lea eax, [edi + ebx*4]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
shl ebx, 2
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov dword [edi + eax], ecx
add eax, 4
cmp ebx, eax
jne 0x10055076
mov edx, dword [ebp - 0x38]
lea eax, [edx - 1]
mov ebx, dword [ebp - 0x34]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
mov edi, dword [ebx + 4]
mov esi, dword [edi]
cmp esi, ecx
je 0x10055200
mov edx, esi
mov edi, ebx
mov ebx, esi
mov eax, ebx
cmp dword [ebx + 0x1c], 0x10
jb 0x100550af
mov ebx, dword [eax + 8]
jmp 0x100550b2
lea ebx, [eax + 8]
mov dword [ebp - 0x30], eax
mov esi, dword [eax + 0x18]
mov eax, 0x811c9dc5
test esi, esi
je 0x100550d4
xor ecx, ecx
movzx edx, byte [ebx + ecx]
xor edx, eax
imul eax, edx, 0x1000193
inc ecx
cmp esi, ecx
jne 0x100550c3
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov dword [ebp - 0x44], edx
and eax, dword [edi + 0x18]
mov edx, dword [edi + 0xc]
lea edi, [eax + eax]
mov dword [ebp - 0x64], edi
lea edi, [eax + eax]
inc edi
mov dword [ebp - 0x3c], edi
mov eax, dword [edx + eax*8]
cmp eax, dword [ebp - 0x40]
je 0x10055113
mov ecx, dword [ebp - 0x3c]
mov edi, dword [edx + ecx*4]
cmp esi, dword [edi + 0x18]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x38], eax
jne 0x1005513f
cmp dword [edi + 0x1c], 0x10
jb 0x10055127
mov eax, dword [edi + 8]
jmp 0x1005512a
mov eax, dword [ebp - 0x64]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x3c]
mov dword [edx + eax*4], ecx
mov ebx, dword [ebp - 0x44]
jmp 0x100551ec
lea eax, [edi + 8]
push esi
push eax
push ebx
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x38]
je 0x100551b6
cmp eax, edi
je 0x1005518d
mov edi, dword [edi + 4]
cmp esi, dword [edi + 0x18]
jne 0x1005513f
cmp dword [edi + 0x1c], 0x10
jb 0x10055156
mov eax, dword [edi + 8]
jmp 0x10055159
lea eax, [edi + 8]
push esi
push eax
push ebx
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x38]
jne 0x1005513f
mov eax, dword [edi]
mov edi, dword [ebp - 0x30]
mov ecx, dword [edi + 4]
mov ebx, dword [ebp - 0x44]
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 dword [ebx + 4], ecx
mov dword [edi + 4], esi
jmp 0x100551ec
mov esi, dword [ebp - 0x30]
mov edi, dword [esi + 4]
mov ebx, dword [ebp - 0x44]
mov dword [edi], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
mov edx, dword [eax + 4]
mov dword [edx], esi
mov dword [eax + 4], ecx
mov dword [ebx + 4], edi
mov dword [esi + 4], edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + eax*4], esi
jmp 0x100551ec
mov eax, dword [edi]
mov ecx, dword [ebp - 0x30]
cmp eax, ecx
mov ebx, dword [ebp - 0x44]
je 0x100551e6
mov ecx, dword [ecx + 4]
mov dword [ecx], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov esi, dword [eax + 4]
mov edi, dword [ebp - 0x30]
mov dword [esi], edi
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x5c]
mov dword [ebx + 4], ecx
mov eax, dword [ebp - 0x30]
mov dword [eax + 4], esi
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
mov dword [edx + eax*4], ecx
mov edi, dword [ebp - 0x34]
cmp ebx, dword [ebp - 0x40]
jne 0x100550a2
mov ebx, edi
mov edi, dword [edi + 4]
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x60]
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax*8 + 4]
cmp esi, edi
je 0x10055257
add eax, eax
cmp dword [ebp - 0x50], 0x10
jb 0x1005521e
mov edx, dword [ebp - 0x48]
mov edx, dword [edx]
mov dword [ebp - 0x48], edx
mov ebx, dword [ebp - 0x54]
mov edi, dword [ecx + eax*4]
cmp ebx, dword [esi + 0x18]
jne 0x10055249
cmp dword [esi + 0x1c], 0x10
jb 0x10055234
mov eax, dword [esi + 8]
jmp 0x10055237
lea eax, [esi + 8]
mov ecx, dword [ebp - 0x48]
push ebx
push eax
push ecx
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10055252
cmp esi, edi
je 0x10055254
mov esi, dword [esi + 4]
jmp 0x10055224
mov edi, dword [esi]
mov ebx, dword [ebp - 0x34]
mov eax, dword [edi + 4]
inc dword [ebx + 8]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov dword [ebp - 0x30], eax
mov dword [eax], ecx
mov dword [edi + 4], ecx
mov edx, dword [ebx + 0xc]
mov esi, dword [ebp - 0x60]
and esi, dword [ebx + 0x18]
lea eax, [edx + esi*8]
mov dword [ebp - 0x38], eax
lea edx, [edx + esi*8]
add edx, 4
mov esi, dword [edx - 4]
cmp esi, dword [ebx + 4]
je 0x100552a5
cmp esi, edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x38]
je 0x100552b2
mov ecx, edx
mov eax, dword [ebp - 0x30]
cmp dword [edx], eax
je 0x100552b2
mov edi, dword [ebp - 0x4c]
jmp 0x100552b7
mov eax, dword [ebp - 0x38]
mov dword [eax], ecx
mov ecx, edx
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x4c]
mov dword [ecx], edi
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], 0
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.1021f0a0
add esp, 8
test eax, eax
jne 0x1005544d
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [ebx + 0x10]
cmp eax, esi
cmovb esi, eax
cmp dword [ebx + 0x14], 0x10
jb 0x100552fb
mov ebx, dword [ebx]
cmp esi, 0x10
jb 0x1005533b
test esi, esi
js 0x10055478
mov eax, esi
or eax, 0xf
cmp eax, 0x17
mov ecx, 0x16
cmovae ecx, eax
cmp ecx, 0xfff
mov dword [ebp - 0x3c], ecx
jb 0x10055376
lea eax, [ecx + 0x24]
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10055385
lea edi, [ebp - 0x28]
mov dword [edi + 0x10], esi
push esi
push ebx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [ebp + esi - 0x28], 0
mov eax, dword [edi + 0x14]
mov ecx, dword [edi]
mov esi, dword [edi + 0x10]
cmp eax, 0x10
setae byte [ebp - 0x30]
mov dword [ebp - 0x40], ecx
cmovae edi, ecx
test esi, esi
mov dword [ebp - 0x3c], eax
jne 0x100553a7
mov eax, 0x811c9dc5
xor esi, esi
jmp 0x100553bf
lea eax, [ecx + 1]
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
push esi
push ebx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [edi + esi], 0
mov dword [ebp - 0x28], edi
mov byte [ebp - 0x30], 1
mov dword [ebp - 0x40], edi
mov eax, 0x811c9dc5
xor ecx, ecx
movzx edx, byte [edi + ecx]
xor edx, eax
imul eax, edx, 0x1000193
inc ecx
cmp esi, ecx
jne 0x100553ae
mov ecx, dword [ebp - 0x34]
and eax, dword [ecx + 0x18]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov ebx, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x44], edx
cmp ebx, edx
je 0x10055415
add eax, eax
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x38], eax
cmp esi, dword [ebx + 0x18]
jne 0x10055403
cmp dword [ebx + 0x1c], 0x10
jb 0x100553ee
mov eax, dword [ebx + 8]
jmp 0x100553f1
lea eax, [ebx + 8]
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x38]
je 0x1005540c
cmp ebx, eax
je 0x10055415
mov ebx, dword [ebx + 4]
jmp 0x100553de
cmp ebx, dword [ebp - 0x44]
je 0x10055415
mov byte [ebx + 0x24], 1
cmp byte [ebp - 0x30], 0
je 0x1005544d
mov eax, dword [ebp - 0x3c]
add eax, 0xfffff001
cmp eax, 0xffffefff
ja 0x10055440
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jb 0x10055443
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10212780
add esp, 0x5c
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 fcn.102136b0
int3