Function at 0x4198f8
Capabilities:
Check if file exists

Disassembly:
push 0x4f0
mov eax, 0x5bbb02
call fcn.005870fa
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4ec], eax
mov dword [ebp - 0x4f0], esi
push eax
call fcn.00413a77
mov dword [ebp - 4], esi
inc esi
mov dword [ebp - 0x4f0], esi
push 0x1a
lea eax, [ebp - 0x4e0]
push eax
call fcn.00476800
mov dword [ebp - 4], esi
push str.MozillaFirefoxProfiles
lea ecx, [ebp - 0x4e4]
push ecx
mov ecx, eax
call fcn.0040fcd8
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4e0]
call fcn.00408559
push 0x68b020
lea eax, [ebp - 0x4e0]
push eax
lea ecx, [ebp - 0x4e4]
call fcn.0040fcd8
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov eax, dword [eax]
lea ecx, [ebp - 0x4d8]
push ecx
mov ecx, eax
call fcn.00476b50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4e0]
call fcn.00408559
lea eax, [ebp - 0x270]
push eax
lea edi, [ebp - 0x4d8]
call fcn.00476db0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
je 0x419929
or ebx, 0xffffffff
cmp dword [ebp - 0x270], ebx
je 0x419907
test byte [ebp - 0x270], 0x10
je 0x419907
push 0x68b040
lea eax, [ebp - 0x4fc]
push eax
lea ecx, [ebp - 0x4e4]
call fcn.0040fcd8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x4f4]
push ecx
mov ecx, eax
call fcn.0040fcd8
mov byte [ebp - 4], 9
push str.prefs.js
lea ecx, [ebp - 0x4e8]
push ecx
mov ecx, eax
call fcn.0040fcd8
add esp, 0x18
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4f4]
call fcn.00408559
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4fc]
call fcn.00408559
push dword [ebp - 0x4e8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4198f8
mov byte [ebp - 4], 0xd
push dword [ebp - 0x4e8]
lea eax, [ebp - 0x4dc]
push eax
call fcn.00473c50
pop ecx
pop ecx
mov byte [ebp - 4], 0xe
push 0x68b044
push 0x68b048
lea eax, [ebp - 0x4dc]
push eax
call fcn.00419d62
push 0x68b04c
xor ecx, ecx
lea esi, [ebp - 0x4dc]
call fcn.00419eda
cmp eax, ebx
je 0x4198e2
lea ecx, [eax + 1]
push 0x68b064
call fcn.00419eda
cmp eax, ebx
je 0x4198e2
lea ecx, [eax + 1]
push 0x68b068
call fcn.00419eda
mov edi, eax
cmp edi, ebx
je 0x4198e2
lea ebx, [edi + 1]
push 0x68b06c
mov ecx, ebx
call fcn.00419eda
cmp eax, 0xffffffff
je 0x4198e2
sub eax, edi
dec eax
push eax
lea eax, [ebp - 0x4e0]
push eax
mov ecx, ebx
mov edx, esi
call fcn.00419f08
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x4e0]
cmp dword [eax - 0xc], 0
je 0x4198d3
push eax
lea eax, [ebp - 0x4f8]
push eax
call fcn.00474e60
pop ecx
pop ecx
mov byte [ebp - 4], 0x10
push eax
mov eax, dword [ebp - 0x4ec]
call fcn.00413ad9
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x4f8]
call fcn.00408559
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x4e0]
call fcn.00408418
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4dc]
call fcn.00408418
mov dword [ebp - 4], 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4e8]
call fcn.00408559
mov byte [ebp - 4], 6
lea eax, [ebp - 0x270]
push eax
call fcn.00419602
jmp 0x41973e
mov byte [ebp - 4], 6
lea eax, [ebp - 0x270]
push eax
call fcn.00419602
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4d8]
push eax
call fcn.00476cc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4e4]
call fcn.00408559
mov eax, dword [ebp - 0x4ec]
call fcn.00587156
ret