Function at 0x10016130
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x28], edx
mov ebx, dword [ebp + 8]
mov eax, dword [0x1038000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ecx + 0x2c], ebx
mov dword [ebp - 0x2c], ecx
jbe 0x10016165
mov eax, dword [ecx + 0x30]
mov esi, dword [eax + ebx*4]
cmp esi, 0xffffffff
jne 0x100161f9
jmp 0x10016201
mov eax, ebx
shr eax, 0x18
mov dword [ebp - 0x20], eax
mov edi, ebx
shr edi, 0x10
mov eax, ebx
shr eax, 8
mov esi, ebx
mov edx, 0xff
and esi, edx
and eax, edx
and edi, edx
mov dword [ebp - 0x24], esi
xor esi, 0x811c9dc5
imul esi, esi, 0x1000193
xor esi, eax
imul esi, esi, 0x1000193
xor esi, edi
imul esi, esi, 0x1000193
xor esi, dword [ebp - 0x20]
imul esi, esi, 0x1000193
and esi, dword [ecx + 0x4c]
mov edx, dword [ecx + 0x38]
mov ecx, dword [ecx + 0x40]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ecx + esi*8 + 4]
mov dword [ebp - 0x20], edx
cmp ecx, edx
je 0x10016201
mov edx, ebx
and edx, 0xff000000
shl edi, 0x10
or edi, edx
shl eax, 8
or eax, edi
add eax, dword [ebp - 0x24]
cmp eax, dword [ecx + 8]
je 0x100161f1
add esi, esi
mov edx, dword [ebp - 0x30]
mov edx, dword [edx + esi*4]
cmp ecx, edx
je 0x10016201
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x100161e5
cmp ecx, dword [ebp - 0x20]
je 0x10016201
mov esi, dword [ecx + 0xc]
test esi, esi
jne 0x100163a4
test ebx, ebx
je 0x10016240
push 0xb0
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov esi, eax
mov ecx, eax
push ebx
push dword [ebp - 0x28]
call fcn.100738c0
mov dword [ebp - 0x28], esi
inc dword [esi + 4]
mov edi, dword [ebp - 0x2c]
cmp dword [edi + 0x2c], ebx
jbe 0x10016247
mov eax, dword [edi + 0x30]
cmp dword [eax + ebx*4], 0xffffffff
jne 0x100162f0
jmp 0x100162e7
xor esi, esi
jmp 0x100163a4
mov eax, ebx
shr eax, 0x18
mov dword [ebp - 0x20], eax
mov edx, ebx
shr edx, 0x10
mov eax, ebx
shr eax, 8
mov esi, ebx
mov ecx, 0xff
and esi, ecx
and eax, ecx
and edx, ecx
mov dword [ebp - 0x24], esi
xor esi, 0x811c9dc5
imul esi, esi, 0x1000193
xor esi, eax
imul esi, esi, 0x1000193
xor esi, edx
imul esi, esi, 0x1000193
xor esi, dword [ebp - 0x20]
imul ecx, esi, 0x1000193
and ecx, dword [edi + 0x4c]
mov esi, dword [edi + 0x38]
mov dword [ebp - 0x20], esi
mov esi, dword [edi + 0x40]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
mov ecx, dword [esi + ecx*8 + 4]
cmp ecx, dword [ebp - 0x20]
je 0x100162e7
mov edi, ebx
and edi, 0xff000000
shl edx, 0x10
or edx, edi
shl eax, 8
or eax, edx
add eax, dword [ebp - 0x24]
cmp eax, dword [ecx + 8]
jne 0x100162c8
mov edi, dword [ebp - 0x2c]
jmp 0x100162e2
mov edx, dword [ebp - 0x30]
add edx, edx
mov esi, dword [ebp - 0x34]
mov edx, dword [esi + edx*4]
mov edi, dword [ebp - 0x2c]
cmp ecx, edx
je 0x100162e7
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x100162d6
cmp ecx, dword [ebp - 0x20]
jne 0x100162f0
lea ecx, [edi + 4]
push ebx
call fcn.1004af80
mov dword [ebp - 0x1c], ebx
cmp ebx, 0x3fff
ja 0x10016388
mov eax, dword [edi + 0x2c]
cmp eax, ebx
ja 0x10016380
mov ecx, edi
mov edi, eax
add eax, eax
cmp edi, ebx
jbe 0x10016308
mov esi, ecx
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x20], eax
lea eax, [edi*4]
xor ecx, ecx
dec ecx
cmp edi, 0x40000000
cmovb ecx, eax
push ecx
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [esi + 0x30], eax
mov esi, dword [esi + 0x2c]
lea edx, [eax + esi*4]
mov ecx, edi
sub ecx, esi
shl ecx, 2
push ecx
push 0xff
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
shl esi, 2
push esi
mov esi, dword [ebp - 0x20]
push esi
push dword [ebp - 0x24]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x2c], edi
mov edi, ecx
test esi, esi
je 0x10016380
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
shl ebx, 2
add ebx, dword [edi + 0x30]
jmp 0x1001639f
add edi, 0x34
lea eax, [ebp - 0x1c]
lea esi, [ebp - 0x18]
mov ecx, edi
push eax
push esi
call fcn.1002d210
mov ebx, dword [esi]
add ebx, 0xc
mov esi, dword [ebp - 0x28]
mov dword [ebx], esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10212780
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret