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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x1038100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ebx + 0x10]
cmp dword [ebx + 0x14], 0xf
jbe 0x10064314
mov ebx, dword [ebx]
test edi, edi
mov dword [ebp - 0x30], edx
mov esi, 0x811c9dc5
je 0x10064333
xor eax, eax
movzx ecx, byte [ebx + eax]
xor ecx, esi
imul esi, ecx, 0x1000193
inc eax
cmp edi, eax
jne 0x10064322
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x24]
and esi, dword [eax + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + esi*8]
add esi, esi
mov ebx, edx
mov dword [ebp - 0x20], edx
cmp ecx, edx
mov edx, eax
je 0x10064361
lea eax, [esi*4]
or eax, 4
mov eax, dword [edx + eax]
mov ebx, dword [eax]
mov dword [ebp - 0x2c], edx
cmp ebx, ecx
mov dword [ebp - 0x1c], ecx
je 0x1006439d
mov ebx, dword [ebx + 4]
cmp edi, dword [ebx + 0x18]
jne 0x10064399
cmp dword [ebx + 0x1c], 0xf
jbe 0x1006437e
mov eax, dword [ebx + 8]
jmp 0x10064381
lea eax, [ebx + 8]
push edi
push eax
push dword [ebp - 0x28]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov ecx, dword [ebp - 0x1c]
je 0x1006441f
cmp ebx, ecx
jne 0x1006436b
mov ebx, dword [ebp + 0xc]
mov edx, ebx
mov eax, dword [ebx]
cmp ecx, eax
mov edi, dword [ebp - 0x24]
mov ebx, ecx
mov ecx, dword [ebp - 0x2c]
je 0x100643e0
mov ecx, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edx
mov ecx, dword [ebx + 4]
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 4]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [edi + 4]
mov dword [ebp - 0x20], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + esi*4]
cmp eax, dword [ebp - 0x20]
je 0x1006440e
cmp eax, dword [ebp - 0x1c]
je 0x10064472
or esi, 1
mov eax, dword [ecx + esi*4]
mov eax, dword [eax]
mov dword [ecx + esi*4], eax
cmp eax, edx
je 0x10064475
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + esi*4]
mov ecx, dword [ecx + 4]
mov dword [eax + esi*4], ecx
jmp 0x10064475
mov dword [ecx + esi*4], edx
shl esi, 2
mov eax, dword [edi + 0xc]
or esi, 4
mov dword [eax + esi], edx
jmp 0x10064475
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ecx], eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x24]
dec dword [eax + 8]
mov ecx, dword [edx + 0x1c]
cmp ecx, 0x10
jb 0x1006445c
mov eax, dword [edx + 8]
inc ecx
cmp ecx, 0x1000
jae 0x1006461f
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov esi, dword [ebp - 0x30]
mov dword [esi], ebx
xor eax, eax
jmp 0x10064603
mov dword [ecx + esi*4], edx
movss xmm0, dword [edi + 8]
movsd xmm1, qword [0x102b40e0]
orpd xmm0, xmm1
subsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss xmm2, dword [edi + 0x1c]
orpd xmm2, xmm1
subsd xmm2, xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm2
divss xmm0, xmm1
ucomiss xmm0, dword [edi]
jbe 0x100645f9
mov ebx, dword [edi + 0x1c]
xor eax, eax
cmp ebx, 0x1fffffff
setb al
cmp ebx, 0x200
mov ecx, 3
cmovae ecx, eax
shl ebx, cl
lea ecx, [edi + 0xc]
lea edx, [ebx + ebx]
mov esi, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
sub eax, esi
sar eax, 2
cmp eax, edx
jae 0x100645ac
cmp edx, 0x40000000
jae 0x1006461a
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebx*8]
cmp eax, 0x1000
jb 0x1006452d
xor ecx, ecx
dec ecx
sub eax, 0xffffffdd
cmovae eax, ecx
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 0x10064539
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov esi, eax
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
cmp ecx, eax
je 0x1006455e
sub eax, ecx
xor edx, edx
mov edi, dword [ecx + edx]
mov dword [esi + edx], edi
add edx, 4
cmp eax, edx
jne 0x10064547
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov edi, dword [ebp - 0x24]
jmp 0x10064561
mov ecx, dword [ebp - 0x1c]
test eax, eax
mov edx, dword [ebp - 0x28]
je 0x10064598
mov ecx, dword [edi + 0x14]
sub ecx, eax
cmp ecx, 0x1000
jb 0x10064588
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x10064633
mov eax, ecx
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x20]
mov dword [edi + 0xc], esi
add eax, esi
mov dword [edi + 0x10], eax
lea eax, [esi + edx*4]
mov dword [edi + 0x14], eax
mov eax, dword [edi + 4]
lea esi, [ebp - 0x18]
mov dword [esi], eax
push esi
call fcn.10032740
add esp, 4
lea eax, [ebx - 1]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ebx
mov eax, dword [edi + 4]
mov ebx, dword [eax]
cmp ebx, eax
je 0x100645f9
mov esi, edi
mov edi, dword [eax + 4]
lea eax, [ebx + 8]
lea edx, [ebp - 0x18]
mov ecx, esi
push ebx
push eax
call fcn.100642f0
add esp, 8
cmp ebx, edi
je 0x100645f9
mov eax, dword [esi + 4]
mov ebx, dword [eax]
lea eax, [ebx + 8]
mov ecx, esi
lea edx, [ebp - 0x18]
jmp 0x100645dc
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
mov al, 1
mov byte [esi + 4], al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1021e470
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.10005d40
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x10064633
mov eax, ecx
jmp 0x1006444f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3