Function at 0x10015190
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x20], edx
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x1038000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ecx + 0x2c], ebx
mov dword [ebp - 0x2c], ecx
jbe 0x100151c5
mov eax, dword [ecx + 0x30]
mov esi, dword [eax + ebx*4]
cmp esi, 0xffffffff
jne 0x10015259
jmp 0x10015261
mov eax, ebx
shr eax, 0x18
mov dword [ebp - 0x24], 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 - 0x28], 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 - 0x24]
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 - 0x24], edx
cmp ecx, edx
je 0x10015261
mov edx, ebx
and edx, 0xff000000
shl edi, 0x10
or edi, edx
shl eax, 8
or eax, edi
add eax, dword [ebp - 0x28]
cmp eax, dword [ecx + 8]
je 0x10015251
add esi, esi
mov edx, dword [ebp - 0x30]
mov edx, dword [edx + esi*4]
cmp ecx, edx
je 0x10015261
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x10015245
cmp ecx, dword [ebp - 0x24]
je 0x10015261
mov esi, dword [ecx + 0xc]
test esi, esi
jne 0x10015403
test ebx, ebx
je 0x1001529f
mov esi, dword [ebp + 8]
push 0x400
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, eax
push ebx
push dword [ebp - 0x20]
push esi
call fcn.1003d120
mov edi, dword [ebp - 0x2c]
cmp dword [edi + 0x2c], ebx
jbe 0x100152a6
mov eax, dword [edi + 0x30]
cmp dword [eax + ebx*4], 0xffffffff
jne 0x1001534f
jmp 0x10015346
xor esi, esi
jmp 0x10015403
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 - 0x28], 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 0x10015346
mov edi, ebx
and edi, 0xff000000
shl edx, 0x10
or edx, edi
shl eax, 8
or eax, edx
add eax, dword [ebp - 0x28]
cmp eax, dword [ecx + 8]
jne 0x10015327
mov edi, dword [ebp - 0x2c]
jmp 0x10015341
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 0x10015346
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x10015335
cmp ecx, dword [ebp - 0x20]
jne 0x1001534f
lea ecx, [edi + 4]
push ebx
call fcn.1004af80
mov dword [ebp - 0x1c], ebx
cmp ebx, 0x3fff
ja 0x100153e7
mov eax, dword [edi + 0x2c]
cmp eax, ebx
ja 0x100153df
mov ecx, edi
mov edi, eax
add eax, eax
cmp edi, ebx
jbe 0x10015367
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 - 0x28], 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 - 0x28]
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 0x100153df
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
shl ebx, 2
add ebx, dword [edi + 0x30]
jmp 0x100153fe
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 - 0x24]
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