Function at 0x415bb0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4bb928
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e27e0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
xor eax, eax
mov word [esp + 0x18], ax
xor edi, edi
push 0x17
mov eax, str.CFFConfig::Initialize__
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
call fcn.004033f0
mov ecx, esi
push ecx
mov dword [esp + 0x58], edi
call fcn.00403580
mov esi, 8
add esp, 4
mov dword [esp + 0x54], 0xffffffff
cmp dword [esp + 0x2c], esi
jb 0x415c2f
mov edx, dword [esp + 0x18]
push edx
call fcn.0047cc0e
add esp, 4
cmp dword [ebp + 0x18], edi
je 0x415dc4
push str.APPDATA
lea edi, [esp + 0x18]
call fcn.0040e1e0
add esp, 4
push 0xffffffffffffffff
lea ebx, [ebp + 0x20]
push 0
mov ecx, ebx
mov dword [esp + 0x5c], 1
call fcn.004030c0
mov dword [esp + 0x54], 0xffffffff
cmp dword [esp + 0x2c], esi
jb 0x415c7a
mov eax, dword [esp + 0x18]
push eax
call fcn.0047cc0e
add esp, 4
mov eax, dword [ebx + 0x14]
push 0x4c7eec
xor edi, edi
mov ecx, ebx
call fcn.004034e0
test eax, eax
je 0x415dc4
push 0x1a
mov eax, str.MozillaFirefoxProfiles_
mov ecx, ebx
call fcn.00402d20
push 0xffffffffffffffff
lea edi, [ebp + 0x3c]
push 0
mov eax, ebx
mov ecx, edi
call fcn.004030c0
lea eax, [ebp + 4]
push 0
push eax
or eax, 0xffffffff
mov esi, edi
call fcn.00402e00
push 1
mov eax, 0x4c8610
mov ecx, edi
call fcn.00402d20
push 8
mov eax, str.prefs.js
mov ecx, edi
call fcn.00402d20
xor ecx, ecx
push 0x29
mov eax, str.CFFConfig::Initialize_____FullProfilePath
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], cx
call fcn.004033f0
mov edx, esi
push edx
mov ecx, edi
mov dword [esp + 0x58], 2
call fcn.00402ec0
add esp, 4
mov dword [esp + 0x54], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x415d35
mov eax, dword [esp + 0x18]
push eax
call fcn.0047cc0e
add esp, 4
push 0xffffffffffffffff
lea esi, [ebp + 0x58]
push 0
mov eax, ebx
mov ecx, esi
call fcn.004030c0
push 0
lea eax, [ebp + 4]
push eax
or eax, 0xffffffff
call fcn.00402e00
push 1
mov eax, 0x4c8610
mov ecx, esi
call fcn.00402d20
push 0xc
mov eax, str.prefs.js.tmp
mov ecx, esi
call fcn.00402d20
mov esi, 8
cmp dword [edi + 0x18], esi
jb 0x415d7e
mov eax, dword [edi + 4]
jmp 0x415d81
lea eax, [edi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415dc8
mov eax, str.CFFConfig::ParsePreferences___Initialize_FAILED:
lea ecx, [esp + 0x14]
call fcn.004034a0
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
mov dword [esp + 0x58], 3
call fcn.00402ec0
add esp, 4
cmp dword [esp + 0x2c], esi
jb 0x415dc4
mov edx, dword [esp + 0x18]
push edx
call fcn.0047cc0e
add esp, 4
xor al, al
jmp 0x415e06
mov eax, str.CFFConfig::ParsePreferences___Initialize_OK:
lea ecx, [esp + 0x30]
call fcn.004034a0
lea eax, [esp + 0x30]
push eax
mov ecx, edi
mov dword [esp + 0x58], 4
call fcn.00402ec0
add esp, 4
cmp dword [esp + 0x48], esi
jb 0x415e00
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0047cc0e
add esp, 4
mov byte [ebp], 1
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4