Function at 0x1004e1d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x24], edx
mov edi, ecx
mov edx, dword [ebp + 8]
mov eax, dword [0x1038100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
movzx ecx, byte [edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [edx + 2]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [edx + 3]
xor ecx, eax
imul eax, ecx, 0x1000193
and eax, dword [edi + 0x18]
mov esi, dword [edi + 0xc]
mov ecx, dword [esi + eax*8]
add eax, eax
mov edx, dword [edi + 4]
mov ebx, edx
mov dword [ebp - 0x20], edx
cmp ecx, edx
je 0x1004e243
lea edx, [eax*4]
or edx, 4
mov edx, dword [esi + edx]
mov ebx, dword [edx]
mov dword [ebp - 0x1c], esi
mov edx, dword [ebp + 8]
mov edx, dword [edx]
cmp ebx, ecx
je 0x1004e2a4
mov ebx, dword [ebx + 4]
cmp edx, dword [ebx + 8]
jne 0x1004e24b
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
dec dword [edi + 8]
mov ecx, dword [esi + 0x20]
cmp ecx, 0x10
jb 0x1004e28e
mov eax, dword [esi + 0xc]
inc ecx
cmp ecx, 0x1000
jae 0x1004e424
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov esi, dword [ebp - 0x24]
mov dword [esi], ebx
xor eax, eax
jmp 0x1004e408
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx]
cmp ecx, ebx
je 0x1004e2e2
mov esi, edx
mov edx, dword [edx + 4]
mov dword [edx], ebx
mov edx, dword [ebx + 4]
mov dword [edx], ecx
mov edx, dword [ecx + 4]
mov dword [edx], esi
mov edx, dword [ecx + 4]
mov esi, dword [ebx + 4]
mov dword [ecx + 4], esi
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 4]
mov dword [ebx + 4], esi
mov esi, dword [ebp + 0xc]
mov dword [esi + 4], edx
mov edx, dword [edi + 4]
mov dword [ebp - 0x20], edx
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x1c], edx
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebx + eax*4]
cmp edx, dword [ebp - 0x20]
je 0x1004e311
cmp edx, ecx
mov edx, dword [ebp + 0xc]
je 0x1004e325
or eax, 1
mov ecx, dword [ebx + eax*4]
mov ecx, dword [ecx]
mov dword [ebx + eax*4], ecx
cmp ecx, edx
je 0x1004e328
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx + eax*4]
mov edx, dword [edx + 4]
mov dword [ecx + eax*4], edx
jmp 0x1004e328
mov edx, dword [ebp + 0xc]
mov dword [ebx + eax*4], edx
shl eax, 2
mov ecx, dword [edi + 0xc]
or eax, 4
mov dword [ecx + eax], edx
jmp 0x1004e328
mov dword [ebx + eax*4], edx
movss xmm0, dword [edi + 8]
movsd xmm1, qword [0x102b40e0]
orpd xmm0, xmm1
subsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss xmm2, dword [edi + 0x1c]
orpd xmm2, xmm1
subsd xmm2, xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm2
divss xmm0, xmm1
ucomiss xmm0, dword [edi]
jbe 0x1004e3fe
mov esi, dword [edi + 0x1c]
xor eax, eax
cmp esi, 0x1fffffff
setb al
cmp esi, 0x200
mov ecx, 3
cmovae ecx, eax
shl esi, cl
lea ecx, [edi + 0xc]
lea ebx, [esi + esi]
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0xc]
sar eax, 2
cmp eax, ebx
jae 0x1004e3af
cmp ebx, 0x40000000
jae 0x1004e41f
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
mov edx, ebx
call fcn.100328d0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edi + 4]
lea edx, [ebp - 0x18]
mov dword [edx], eax
mov eax, edx
mov edx, ebx
push eax
call fcn.10032740
add esp, 4
lea eax, [esi - 1]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], esi
mov eax, dword [edi + 4]
mov ebx, dword [eax]
cmp ebx, eax
je 0x1004e3fe
mov esi, dword [eax + 4]
lea eax, [ebx + 8]
lea edx, [ebp - 0x18]
mov ecx, edi
push ebx
push eax
call fcn.1004e1d0
add esp, 8
cmp ebx, esi
je 0x1004e3fe
mov eax, dword [edi + 4]
mov ebx, dword [eax]
lea eax, [ebx + 8]
mov ecx, edi
lea edx, [ebp - 0x18]
jmp 0x1004e3e1
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
mov al, 1
mov byte [esi + 4], al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1021e470
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.10005d40
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1004e43b
mov eax, ecx
mov esi, dword [ebp + 0xc]
jmp 0x1004e284
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3