Function at 0x10016360
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov edi, dword [ebp + 8]
mov eax, dword [0x1038100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ecx + 0x1df4], edi
mov dword [ebp - 0x20], ecx
jbe 0x10016398
mov eax, dword [ecx + 0x1df8]
mov ebx, dword [eax + edi*4]
cmp ebx, 0xffffffff
jne 0x1001642f
jmp 0x10016437
mov eax, edi
shr eax, 0x18
mov edx, edi
shr edx, 0x10
mov ebx, edi
shr ebx, 8
mov esi, 0xff
and edi, esi
xor edi, 0x811c9dc5
imul edi, edi, 0x1000193
and ebx, esi
xor edi, ebx
imul edi, edi, 0x1000193
and edx, esi
xor edi, edx
imul esi, edi, 0x1000193
xor esi, eax
imul ecx, esi, 0x1000193
mov esi, dword [ebp - 0x20]
and ecx, dword [esi + 0x1e14]
mov eax, dword [esi + 0x1e00]
mov edi, esi
shl edx, 0x10
mov esi, dword [ebp + 8]
and esi, 0xff0000ff
or esi, edx
mov edx, dword [edi + 0x1e08]
shl ebx, 8
or esi, ebx
mov edi, dword [edx + ecx*8]
add ecx, ecx
inc ecx
mov dword [ebp - 0x24], ecx
mov ecx, edi
cmp eax, edi
je 0x10016419
mov ebx, dword [ebp - 0x24]
mov ebx, dword [edx + ebx*4]
mov ebx, dword [ebx]
jmp 0x1001641b
mov ebx, edi
cmp ecx, ebx
je 0x10016437
cmp dword [ecx + 8], esi
je 0x10016428
mov ecx, dword [ecx]
jmp 0x1001640b
cmp ecx, eax
je 0x10016437
mov ebx, dword [ecx + 0xc]
test ebx, ebx
jne 0x10016544
push 0x160
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ebx, eax
mov ecx, eax
mov edi, dword [ebp - 0x20]
push dword [edi + 0x9c]
push dword [edi + 0x238]
mov esi, dword [ebp + 8]
push esi
push dword [edi + 0x1bf4]
call fcn.100944e0
mov al, byte [edi + 0x1eed]
mov byte [ebx + 0x15c], al
mov dword [ebp - 0x1c], esi
cmp esi, 0x3fff
ja 0x10016522
mov eax, dword [edi + 0x1df4]
cmp eax, esi
ja 0x10016514
mov dword [ebp - 0x24], ebx
mov ecx, dword [ebp + 8]
mov ebx, eax
add eax, eax
cmp ebx, ecx
jbe 0x10016496
xor ecx, ecx
dec ecx
mov edx, 4
mov eax, ebx
mul edx
cmovo eax, ecx
mov esi, dword [edi + 0x1df8]
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ecx, eax
mov dword [ebp - 0x28], eax
mov dword [edi + 0x1df8], eax
mov eax, dword [ebp - 0x20]
mov edi, dword [eax + 0x1df4]
lea eax, [ecx + edi*4]
mov ecx, ebx
sub ecx, edi
shl ecx, 2
push ecx
push 0xff
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
shl edi, 2
push edi
mov edi, dword [ebp - 0x20]
push esi
push dword [ebp - 0x28]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [edi + 0x1df4], ebx
test esi, esi
mov ebx, dword [ebp - 0x24]
je 0x10016514
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp + 8]
shl eax, 2
add eax, dword [edi + 0x1df8]
jmp 0x10016542
lea ecx, [edi + 0x1dfc]
lea eax, [ebp - 0x1c]
mov esi, ebx
lea ebx, [ebp - 0x18]
mov edx, ebx
push eax
call fcn.10032d90
add esp, 4
mov eax, dword [ebx]
mov ebx, esi
add eax, 0xc
mov dword [eax], ebx
mov esi, dword [ebp - 0x20]
lea ecx, [esi + 8]
push ebx
push esi
call fcn.100800b0
lea ecx, [esi + 0x2048]
lea eax, [ebx + 8]
test ebx, ebx
cmove eax, ebx
push eax
call fcn.100545d0
cmp dword [esi + 0x14], 2
jae 0x10016579
mov dword [ebp - 0x18], 0xff
mov ecx, 0xff
jmp 0x1001658d
mov eax, dword [esi + 0x1414]
test eax, eax
je 0x100166e5
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x18], ecx
mov esi, dword [esi + 0x1428]
mov edx, dword [esi + 0x88]
mov eax, edx
not eax
mov edi, dword [esi + 0x80]
and edi, ecx
and eax, edi
and edi, edx
mov ebx, dword [ebp - 0x20]
mov dword [ebx + 0x1efc], edi
mov edi, 0xffff
and eax, edi
mov ebx, dword [ebp - 0x20]
mov dword [ebx + 0x1ef8], eax
and ecx, edi
mov ebx, esi
mov edi, dword [esi + 0x80]
not edi
and ecx, edi
mov esi, dword [ebp - 0x20]
mov dword [esi + 0x1f00], ecx
and edx, dword [ebx + 0x80]
setne byte [esi + 0x1f04]
cmp byte [esi + 0x1eed], 0
je 0x100166c2
mov ecx, dword [esi + 0x1428]
mov dword [ebp - 0x34], ecx
movaps xmm0, xmmword [0x102b42b0]
movups xmmword [esi + 0x1f08], xmm0
test eax, eax
je 0x100166c2
cmp dword [ebp - 0x34], 0
je 0x100166c2
mov dword [ebp - 0x30], 0x7fffffff
xor ecx, ecx
dec ecx
bsf ebx, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x38], 0x7fffffff
mov dword [ebp - 0x24], eax
mov ecx, ebx
shl ecx, 5
mov edx, dword [ebp - 0x34]
mov edi, dword [edx + 0x54]
mov esi, dword [edx + 0x74]
mov edx, dword [edi + ecx + 0x14]
lea edx, [edx + edx*2]
cmp dword [esi + edx*8 + 4], 0
mov esi, dword [edi + ecx + 0x1c]
mov ecx, dword [edi + ecx + 0x18]
je 0x10016686
mov edi, dword [ebp - 0x28]
cmp ecx, edi
mov edx, esi
mov eax, dword [ebp - 0x38]
sbb edx, eax
cmovl edi, ecx
cmovl eax, esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov dword [esi + 0x1f14], eax
mov dword [ebp - 0x28], edi
mov dword [esi + 0x1f10], edi
jmp 0x100166b3
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x2c]
cmp ecx, ebx
mov edx, esi
mov edi, dword [ebp - 0x30]
sbb edx, edi
cmovl ebx, ecx
cmovl edi, esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x30], edi
mov dword [esi + 0x1f0c], edi
mov dword [ebp - 0x2c], ebx
mov dword [esi + 0x1f08], ebx
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x24]
btr eax, ebx
bsf ebx, eax
jne 0x10016636
xor eax, eax
inc eax
mov dword [esi + 0x1f18], eax
mov dword [esi + 0x1f1c], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1021e470
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret 4
xor eax, eax
mov dword [esi + 0x1ef8], eax
mov dword [esi + 0x1efc], eax
mov dword [esi + 0x1f00], eax
jmp 0x100165e6