Function at 0x10014ea0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov al, byte [ebp + 8]
mov edx, dword [0x1038000c]
xor edx, ebp
mov dword [ebp - 0x10], edx
cmp al, 0xb
je 0x10015170
mov edi, dword [ebp + 0xc]
movzx eax, al
test edi, edi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], eax
je 0x10014efa
mov edx, dword [ecx + 0x136c]
mov esi, dword [ecx + 0x1d14]
cmp dword [edx + 0x2c], edi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], esi
jbe 0x10014f06
mov eax, dword [edx + 0x30]
mov ebx, dword [eax + edi*4]
cmp ebx, 0xffffffff
jne 0x10014f9c
jmp 0x10014fa4
mov ebx, dword [ecx + eax*8 + 0x1e04]
jmp 0x1001513f
mov eax, edi
shr eax, 0x18
mov dword [ebp - 0x20], eax
mov ebx, edi
shr ebx, 0x10
mov eax, edi
shr eax, 8
mov esi, edi
mov ecx, 0xff
and esi, ecx
and eax, ecx
and ebx, ecx
mov dword [ebp - 0x24], esi
xor esi, 0x811c9dc5
imul esi, esi, 0x1000193
xor esi, eax
imul esi, esi, 0x1000193
xor esi, ebx
imul esi, esi, 0x1000193
xor esi, dword [ebp - 0x20]
imul ecx, esi, 0x1000193
and ecx, dword [edx + 0x4c]
mov esi, dword [edx + 0x38]
mov edx, dword [edx + 0x40]
mov dword [ebp - 0x30], ecx
mov ecx, dword [edx + ecx*8 + 4]
mov dword [ebp - 0x20], esi
cmp ecx, esi
je 0x10014fa4
mov esi, edx
mov edx, edi
and edx, 0xff000000
shl ebx, 0x10
or ebx, edx
shl eax, 8
or eax, ebx
add eax, dword [ebp - 0x24]
cmp eax, dword [ecx + 8]
je 0x10014f94
mov edx, dword [ebp - 0x30]
add edx, edx
mov edx, dword [esi + edx*4]
cmp ecx, edx
je 0x10014fa4
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x10014f88
cmp ecx, dword [ebp - 0x20]
je 0x10014fa4
mov ebx, dword [ecx + 0xc]
test ebx, ebx
jne 0x1001513f
push 0x210
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov esi, eax
mov ecx, eax
push dword [ebp - 0x34]
push edi
push dword [ebp - 0x28]
call fcn.1008d730
mov dword [ebp - 0x28], esi
inc dword [esi + 4]
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx + 0x2c], edi
jbe 0x10014fe2
mov eax, dword [ebx + 0x30]
cmp dword [eax + edi*4], 0xffffffff
jne 0x1001508b
jmp 0x10015082
mov eax, edi
shr eax, 0x18
mov dword [ebp - 0x20], eax
mov edx, edi
shr edx, 0x10
mov eax, edi
shr eax, 8
mov esi, edi
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 [ebx + 0x4c]
mov esi, dword [ebx + 0x38]
mov dword [ebp - 0x20], esi
mov esi, dword [ebx + 0x40]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x38], esi
mov ecx, dword [esi + ecx*8 + 4]
cmp ecx, dword [ebp - 0x20]
je 0x10015082
mov ebx, edi
and ebx, 0xff000000
shl edx, 0x10
or edx, ebx
shl eax, 8
or eax, edx
add eax, dword [ebp - 0x24]
cmp eax, dword [ecx + 8]
jne 0x10015063
mov ebx, dword [ebp - 0x2c]
jmp 0x1001507d
mov edx, dword [ebp - 0x30]
add edx, edx
mov esi, dword [ebp - 0x38]
mov edx, dword [esi + edx*4]
mov ebx, dword [ebp - 0x2c]
cmp ecx, edx
je 0x10015082
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x10015071
cmp ecx, dword [ebp - 0x20]
jne 0x1001508b
lea ecx, [ebx + 4]
push edi
call fcn.1004af80
mov dword [ebp - 0x1c], edi
cmp edi, 0x3fff
ja 0x10015123
mov eax, dword [ebx + 0x2c]
cmp eax, edi
ja 0x1001511b
mov ecx, ebx
mov ebx, eax
add eax, eax
cmp ebx, edi
jbe 0x100150a3
mov esi, ecx
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x20], eax
lea eax, [ebx*4]
xor ecx, ecx
dec ecx
cmp ebx, 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, 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 - 0x20]
push esi
push dword [ebp - 0x24]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x2c], ebx
mov ebx, ecx
test esi, esi
je 0x1001511b
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
shl edi, 2
add edi, dword [ebx + 0x30]
jmp 0x1001513a
add ebx, 0x34
lea eax, [ebp - 0x1c]
lea esi, [ebp - 0x18]
mov ecx, ebx
push eax
push esi
call fcn.1002d210
mov edi, dword [esi]
add edi, 0xc
mov ebx, dword [ebp - 0x28]
mov dword [edi], ebx
mov esi, dword [ebp - 0x3c]
mov eax, dword [esi + 0x151c]
mov edx, dword [ebp - 0x34]
lea ecx, [edx + edx*2]
mov ecx, dword [esi + ecx*4 + 0x1520]
cmp ebx, dword [ecx + eax*8 + 4]
je 0x10015170
lea ecx, [esi + 8]
push ebx
push edx
push esi
call fcn.10085db0
mov dword [esi + 0x2000], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10212780
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret 8