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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x1038000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [edi + 8]
mov eax, dword [edi + 0x38]
cmp eax, dword [edi + 0x3c]
je 0x1005578c
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.1021f0a0
add esp, 8
cmp eax, 0xffffffff
mov dword [ebp - 0x3c], esi
je 0x100555d8
test eax, eax
jne 0x1005578c
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [edi + 0x18]
cmp eax, esi
cmovb esi, eax
cmp dword [edi + 0x1c], 0x10
mov dword [ebp - 0x34], ebx
jb 0x1005558d
mov ebx, dword [edi + 8]
cmp esi, 0x10
jb 0x10055662
test esi, esi
js 0x100559dd
mov dword [ebp - 0x30], ebx
mov eax, esi
or eax, 0xf
cmp eax, 0x17
mov ebx, 0x16
cmovae ebx, eax
cmp ebx, 0xfff
jb 0x100556a0
lea eax, [ebx + 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 0x100556af
mov dword [ebp - 0x34], ebx
mov esi, dword [edi + 0x18]
cmp dword [edi + 0x1c], 0x10
jb 0x100555ea
mov eax, dword [edi + 8]
mov dword [ebp - 0x34], eax
mov eax, 0x811c9dc5
test esi, esi
je 0x10055609
xor ecx, ecx
mov edi, dword [ebp - 0x34]
movzx edx, byte [edi + ecx]
xor edx, eax
imul eax, edx, 0x1000193
inc ecx
cmp esi, ecx
jne 0x100555f8
mov ecx, dword [ebp - 0x3c]
and eax, dword [ecx + 0x18]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov edi, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x30], edx
cmp edi, edx
je 0x10055833
add eax, eax
mov eax, dword [ecx + eax*4]
mov ebx, eax
cmp esi, dword [edi + 0x18]
jne 0x10055655
cmp dword [edi + 0x1c], 0x10
jb 0x1005563b
mov eax, dword [edi + 8]
jmp 0x1005563e
lea eax, [edi + 8]
push esi
push eax
push dword [ebp - 0x34]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov eax, ebx
je 0x10055824
cmp edi, eax
je 0x10055833
mov edi, dword [edi + 4]
jmp 0x1005562b
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 ebx, dword [edi + 0x14]
mov eax, dword [edi]
mov esi, dword [edi + 0x10]
cmp ebx, 0x10
setae byte [ebp - 0x35]
cmovae edi, eax
test esi, esi
mov dword [ebp - 0x48], eax
jne 0x100556d0
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], edi
mov eax, 0x811c9dc5
xor esi, esi
jmp 0x100556ee
lea eax, [ebx + 1]
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
push esi
push dword [ebp - 0x30]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [edi + esi], 0
mov dword [ebp - 0x28], edi
mov byte [ebp - 0x35], 1
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], ebx
mov eax, 0x811c9dc5
xor ecx, ecx
movzx edx, byte [edi + ecx]
xor edx, eax
imul eax, edx, 0x1000193
inc ecx
cmp esi, ecx
jne 0x100556da
mov dword [ebp - 0x30], edi
mov ecx, dword [ebp - 0x3c]
and eax, dword [ecx + 0x18]
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov edi, dword [ecx + eax*8 + 4]
mov dl, 1
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x4c], ebx
cmp edi, ebx
je 0x10055740
add eax, eax
mov ebx, dword [ecx + eax*4]
cmp esi, dword [edi + 0x18]
jne 0x10055737
cmp dword [edi + 0x1c], 0x10
jb 0x1005571f
mov eax, dword [edi + 8]
jmp 0x10055722
lea eax, [edi + 8]
push esi
push eax
push dword [ebp - 0x30]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1005594b
cmp edi, ebx
je 0x10055740
mov edi, dword [edi + 4]
jmp 0x1005570f
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x3c]
cmp byte [ebp - 0x35], 0
mov edi, dword [ebp + 8]
je 0x10055782
add ecx, 0xfffff001
cmp ecx, 0xffffefff
ja 0x10055775
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jb 0x10055778
jmp 0x100559a4
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
cmp byte [ebp - 0x44], 0
je 0x100559b7
mov eax, edi
mov edi, dword [edi + 0x18]
cmp dword [eax + 0x1c], 0x10
jb 0x1005579a
mov ebx, dword [eax + 8]
mov eax, 0x811c9dc5
test edi, edi
je 0x100557b6
xor ecx, ecx
movzx edx, byte [ebx + ecx]
xor edx, eax
imul eax, edx, 0x1000193
inc ecx
cmp edi, ecx
jne 0x100557a5
mov dword [ebp - 0x34], ebx
and eax, dword [esi + 0x18]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov esi, dword [ecx + eax*8 + 4]
xor ebx, ebx
dec ebx
mov dword [ebp - 0x30], edx
cmp esi, edx
je 0x100559ba
add eax, eax
mov ebx, dword [ecx + eax*4]
cmp edi, dword [esi + 0x18]
jne 0x100557fd
cmp dword [esi + 0x1c], 0x10
jb 0x100557e9
mov eax, dword [esi + 8]
jmp 0x100557ec
lea eax, [esi + 8]
push edi
push eax
push dword [ebp - 0x34]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1005580e
cmp esi, ebx
je 0x10055806
mov esi, dword [esi + 4]
jmp 0x100557d9
xor ebx, ebx
dec ebx
jmp 0x100559ba
cmp esi, dword [ebp - 0x30]
mov ebx, 0xffffffff
je 0x100559ba
mov ebx, dword [esi + 0x20]
jmp 0x100559ba
cmp edi, dword [ebp - 0x30]
je 0x10055833
cmp byte [edi + 0x24], 0
je 0x100559d5
cmp esi, 0x7ffffffd
jge 0x100559dd
lea ebx, [ebp - 0x28]
mov dword [ebx], 0
lea ecx, [esi + 3]
mov edx, 0xf
cmp ecx, 0x10
jb 0x100558ab
mov dword [ebp - 0x30], ecx
mov eax, ecx
or eax, 0xf
cmp eax, 0x17
mov ecx, 0x16
cmovae ecx, eax
mov eax, 0x7fffffff
cmp ecx, eax
cmovae ecx, eax
mov edi, ecx
cmp ecx, 0xfff
jb 0x10055894
lea eax, [ecx + 0x24]
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x100558a3
lea eax, [ecx + 1]
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ebx, eax
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp - 0x30]
mov edx, edi
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
push esi
push dword [ebp - 0x34]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebx + esi], 0x5d305b
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ecx
cmp ecx, 0x10
lea esi, [ebp - 0x28]
mov dword [ebp - 0x40], eax
cmovae esi, eax
mov eax, 0x811c9dc5
test ebx, ebx
je 0x100558fc
xor ecx, ecx
movzx edx, byte [esi + ecx]
xor edx, eax
imul eax, edx, 0x1000193
inc ecx
cmp ebx, ecx
jne 0x100558eb
mov dword [ebp - 0x34], esi
and eax, dword [edi + 0x18]
mov ecx, dword [edi + 4]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + eax*8 + 4]
xor edx, edx
dec edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x3c], ecx
cmp esi, ecx
je 0x10055980
add eax, eax
mov edi, dword [edi + eax*4]
cmp ebx, dword [esi + 0x18]
jne 0x10055942
cmp dword [esi + 0x1c], 0x10
jb 0x1005592e
mov eax, dword [esi + 8]
jmp 0x10055931
lea eax, [esi + 8]
push ebx
push eax
push dword [ebp - 0x34]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10055975
cmp esi, edi
je 0x10055980
mov esi, dword [esi + 4]
jmp 0x1005591e
mov ecx, dword [ebp - 0x40]
cmp edi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x3c]
je 0x100559d0
cmp byte [edi + 0x24], 0
jne 0x10055749
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], 0
jmp 0x10055749
cmp esi, dword [ebp - 0x3c]
je 0x10055980
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x100559b7
add eax, 0xfffff001
cmp eax, 0xffffefff
ja 0x100559aa
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jb 0x100559ad
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 ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10212780
mov eax, ebx
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret 4
jmp 0x10055749
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x30], eax
jmp 0x100559b7
call fcn.102136b0
int3