Function at 0x4194f0
Capabilities:
Check if file exists

Disassembly:
push 0x4f0
mov eax, 0x5b4ccc
call fcn.00580bea
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.00413cf5
mov dword [ebp - 4], esi
inc esi
mov dword [ebp - 0x4f0], esi
push 0x1a
lea eax, [ebp - 0x4e0]
push eax
call fcn.00471bb0
mov dword [ebp - 4], esi
push str.MozillaFirefoxProfiles
lea ecx, [ebp - 0x4e4]
push ecx
mov ecx, eax
call fcn.0040fc0a
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4e0]
call fcn.0040856e
push 0x683948
lea eax, [ebp - 0x4e0]
push eax
lea ecx, [ebp - 0x4e4]
call fcn.0040fc0a
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov eax, dword [eax]
lea ecx, [ebp - 0x4d8]
push ecx
mov ecx, eax
call fcn.00471fe0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4e0]
call fcn.0040856e
lea eax, [ebp - 0x270]
push eax
lea edi, [ebp - 0x4d8]
call fcn.00472240
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
je 0x419521
or ebx, 0xffffffff
cmp dword [ebp - 0x270], ebx
je 0x4194ff
test byte [ebp - 0x270], 0x10
je 0x4194ff
push 0x683968
lea eax, [ebp - 0x4fc]
push eax
lea ecx, [ebp - 0x4e4]
call fcn.0040fc0a
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x4f4]
push ecx
mov ecx, eax
call fcn.0040fc0a
mov byte [ebp - 4], 9
push str.prefs.js
lea ecx, [ebp - 0x4e8]
push ecx
mov ecx, eax
call fcn.0040fc0a
add esp, 0x18
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4f4]
call fcn.0040856e
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4fc]
call fcn.0040856e
push dword [ebp - 0x4e8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4194f0
mov byte [ebp - 4], 0xd
push dword [ebp - 0x4e8]
lea eax, [ebp - 0x4dc]
push eax
call fcn.0046f040
pop ecx
pop ecx
mov byte [ebp - 4], 0xe
push 0x68396c
push 0x683970
lea eax, [ebp - 0x4dc]
push eax
call fcn.0041995a
push 0x683974
xor ecx, ecx
lea esi, [ebp - 0x4dc]
call fcn.00419ad2
cmp eax, ebx
je 0x4194da
lea ecx, [eax + 1]
push 0x68398c
call fcn.00419ad2
cmp eax, ebx
je 0x4194da
lea ecx, [eax + 1]
push 0x683990
call fcn.00419ad2
mov edi, eax
cmp edi, ebx
je 0x4194da
lea ebx, [edi + 1]
push 0x683994
mov ecx, ebx
call fcn.00419ad2
cmp eax, 0xffffffff
je 0x4194da
sub eax, edi
dec eax
push eax
lea eax, [ebp - 0x4e0]
push eax
mov ecx, ebx
mov edx, esi
call fcn.00419b00
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x4e0]
cmp dword [eax - 0xc], 0
je 0x4194cb
push eax
lea eax, [ebp - 0x4f8]
push eax
call fcn.00470250
pop ecx
pop ecx
mov byte [ebp - 4], 0x10
push eax
mov eax, dword [ebp - 0x4ec]
call fcn.004138ba
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x4f8]
call fcn.0040856e
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x4e0]
call fcn.0040842d
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4dc]
call fcn.0040842d
mov dword [ebp - 4], 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4e8]
call fcn.0040856e
mov byte [ebp - 4], 6
lea eax, [ebp - 0x270]
push eax
call fcn.004191fa
jmp 0x419336
mov byte [ebp - 4], 6
lea eax, [ebp - 0x270]
push eax
call fcn.004191fa
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4d8]
push eax
call fcn.00472150
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4e4]
call fcn.0040856e
mov eax, dword [ebp - 0x4ec]
call fcn.00580c46
ret