Function at 0x1001d9b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov ebx, dword [ebp + 8]
mov eax, dword [0x1038100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ecx + 0x1d9c], ebx
jbe 0x1001dac0
mov eax, dword [ecx + 0x1da0]
mov edi, dword [eax + ebx*4]
cmp edi, 0xffffffff
je 0x1001db58
mov dword [ebp - 0x24], ecx
test edi, edi
jne 0x1001dbab
push 0x38
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ebx, eax
movzx eax, byte [ebp + 0xc]
mov ecx, ebx
mov esi, dword [ebp + 8]
push esi
push eax
mov edi, dword [ebp - 0x24]
push dword [edi + 0x1bf4]
call fcn.10074b60
mov dword [ebp - 0x20], ebx
inc dword [ebx + 4]
mov dword [ebp - 0x1c], esi
cmp esi, 0x3fff
ja 0x1001db88
mov eax, dword [edi + 0x1d9c]
cmp eax, esi
ja 0x1001dab2
mov ebx, eax
add eax, eax
cmp ebx, esi
jbe 0x1001da34
xor ecx, ecx
dec ecx
mov edx, 4
mov eax, ebx
mul edx
cmovo eax, ecx
mov ecx, dword [edi + 0x1da0]
mov dword [ebp - 0x28], ecx
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [edi + 0x1da0], eax
mov esi, dword [edi + 0x1d9c]
lea edx, [eax + esi*4]
mov ecx, ebx
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 + 8]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov dword [edi + 0x1d9c], ebx
test eax, eax
je 0x1001dab2
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
shl esi, 2
add esi, dword [edi + 0x1da0]
jmp 0x1001dba6
mov eax, ebx
shr eax, 0x18
mov edx, ebx
shr edx, 0x10
mov esi, ebx
shr esi, 8
mov ebx, ecx
mov edi, dword [ebp + 8]
mov ecx, 0xff
and edi, ecx
xor edi, 0x811c9dc5
imul edi, edi, 0x1000193
and esi, ecx
mov ecx, 0xff
xor edi, esi
imul edi, edi, 0x1000193
and edx, ecx
xor edi, edx
imul ecx, edi, 0x1000193
xor ecx, eax
imul edi, ecx, 0x1000193
and edi, dword [ebx + 0x1dbc]
mov eax, dword [ebx + 0x1da8]
shl edx, 0x10
mov ecx, dword [ebp + 8]
and ecx, 0xff0000ff
or ecx, edx
mov dword [ebp - 0x24], ebx
mov edx, dword [ebx + 0x1db0]
shl esi, 8
or ecx, esi
mov esi, dword [edx + edi*8]
add edi, edi
inc edi
mov dword [ebp - 0x20], edi
mov ebx, esi
cmp eax, esi
je 0x1001db49
mov edi, dword [ebp - 0x20]
mov edi, dword [edx + edi*4]
mov edi, dword [edi]
jmp 0x1001db4b
mov edi, esi
cmp ebx, edi
je 0x1001db58
cmp dword [ebx + 8], ecx
je 0x1001db5c
mov ebx, dword [ebx]
jmp 0x1001db3b
xor edi, edi
jmp 0x1001dbab
cmp ebx, eax
mov edi, 0
je 0x1001dbab
mov edi, esi
cmp eax, esi
je 0x1001db75
mov ebx, dword [ebp - 0x20]
mov ebx, dword [edx + ebx*4]
mov ebx, dword [ebx]
jmp 0x1001db77
mov ebx, esi
cmp edi, ebx
je 0x1001d9ef
cmp dword [edi + 8], ecx
je 0x1001dbc1
mov edi, dword [edi]
jmp 0x1001db67
add edi, 0x1da4
lea eax, [ebp - 0x1c]
lea ebx, [ebp - 0x18]
mov ecx, edi
mov edx, ebx
push eax
call fcn.10032c90
add esp, 4
mov esi, dword [ebx]
add esi, 0xc
mov edi, dword [ebp - 0x20]
mov dword [esi], edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1021e470
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 8
cmp edi, eax
je 0x1001d9ef
mov edi, dword [edi + 0xc]
mov ecx, dword [ebp - 0x24]
jmp 0x1001d9e4