Function at 0x10031060
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xf4
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [0x1038100c]
xor edx, ebp
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xec], ecx
mov ecx, dword [ecx + 0x1298]
push eax
call fcn.10075630
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x5c]
mov dword [eax + 0x40], eax
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0x10
cmp edi, 0x11
jb 0x100310f4
mov eax, 0x10
mov ebx, eax
add eax, eax
cmp ebx, edi
jb 0x100310b3
xor ecx, ecx
dec ecx
mov edx, 4
mov eax, ebx
mul edx
cmovo eax, ecx
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
mov dword [ebp - 0xf0], eax
je 0x10031105
mov esi, dword [ebp - 0x1c]
shl ecx, 2
push ecx
push esi
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
jmp 0x10031108
mov dword [ebp - 0x18], edi
test edi, edi
mov esi, edi
mov edi, dword [ebp - 0xec]
jne 0x10031134
jmp 0x10031152
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x5c]
cmp esi, eax
je 0x1003111d
test esi, esi
je 0x1003111d
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov esi, edi
mov edi, dword [ebp - 0xec]
xor ebx, ebx
mov ecx, dword [edi + 0x1274]
mov eax, dword [ebp + 0x10]
push dword [eax + ebx*4]
call fcn.10075630
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + ebx*4], eax
inc ebx
cmp esi, ebx
jne 0x10031136
lea eax, [ebp - 0xe8]
mov dword [eax + 0x80], eax
mov dword [eax + 0x84], 0
mov dword [eax + 0x88], 0x10
mov ecx, dword [ebp + 0x14]
cmp ecx, 0x11
jb 0x100311cd
mov eax, 0x10
mov edi, dword [ebp - 0xec]
mov ebx, eax
add eax, eax
cmp ebx, ecx
jb 0x10031185
xor ecx, ecx
dec ecx
mov edx, 8
mov eax, ebx
mul edx
cmovo eax, ecx
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ecx, dword [ebp - 0x64]
test ecx, ecx
mov dword [ebp - 0xf0], eax
je 0x10031258
mov esi, dword [ebp - 0x68]
shl ecx, 3
push ecx
push esi
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
jmp 0x1003125b
mov dword [ebp - 0x64], ecx
test ecx, ecx
mov edi, dword [ebp - 0xec]
jne 0x10031285
mov eax, dword [ebp - 0xf8]
mov edi, dword [eax + 0x18]
mov eax, dword [edi]
mov ebx, dword [eax + 0x10]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
lea edi, [ebp - 0xe8]
push edi
lea esi, [ebp - 0x5c]
push esi
push dword [ebp - 0xec]
call ebx
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x68]
cmp eax, edi
je 0x10031225
test eax, eax
je 0x10031225
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x10031241
test eax, eax
je 0x10031241
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1021e470
add esp, 0xf4
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0xe8]
cmp esi, eax
je 0x10031273
test esi, esi
je 0x10031273
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp + 0x1c]
xor edx, edx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xf4], edx
mov edx, dword [eax + edx*4]
mov ecx, dword [edi + 0x127c]
cmp dword [ecx + 0x38], edx
jbe 0x100312b7
mov eax, dword [ecx + 0x3c]
mov ecx, dword [eax + edx*4]
cmp ecx, 0xffffffff
mov eax, 0
cmove ecx, eax
jmp 0x10031376
mov eax, edx
shr eax, 0x18
mov dword [ebp - 0xf0], eax
mov esi, edx
shr esi, 0x10
mov eax, edx
shr eax, 8
mov edi, edx
mov ebx, 0xff
and edi, ebx
xor edi, 0x811c9dc5
imul edi, edi, 0x1000193
mov ebx, 0xff
and eax, ebx
mov ebx, 0xff
mov dword [ebp - 0xfc], eax
xor edi, eax
imul edi, edi, 0x1000193
and esi, ebx
xor edi, esi
imul edi, edi, 0x1000193
xor edi, dword [ebp - 0xf0]
imul ebx, edi, 0x1000193
and ebx, dword [ecx + 0x58]
mov eax, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x4c]
shl esi, 0x10
and edx, 0xff0000ff
or edx, esi
mov dword [ebp - 0xf0], ecx
mov edi, dword [ecx + ebx*8]
lea ecx, [ebx + ebx]
inc ecx
mov dword [ebp - 0x100], ecx
mov ecx, dword [ebp - 0xfc]
shl ecx, 8
or edx, ecx
mov esi, edi
cmp eax, edi
je 0x1003135c
mov ecx, dword [ebp - 0xf0]
mov ebx, dword [ebp - 0x100]
mov ecx, dword [ecx + ebx*4]
mov ebx, dword [ecx]
jmp 0x1003135e
mov ebx, edi
xor ecx, ecx
cmp esi, ebx
je 0x1003136d
cmp dword [esi + 8], edx
je 0x1003139b
mov esi, dword [esi]
jmp 0x10031345
mov edi, dword [ebp - 0xec]
mov ebx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0x68]
mov dword [eax + edx*8], ecx
mov eax, dword [ebx + edx*4]
mov ecx, dword [ebp - 0x68]
mov dword [ecx + edx*8 + 4], eax
inc edx
cmp edx, dword [ebp + 0x14]
jne 0x1003128a
jmp 0x100311de
cmp esi, eax
mov edi, dword [ebp - 0xec]
mov ebx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0xf4]
je 0x1003137c
mov ecx, dword [esi + 0xc]
jmp 0x1003137c