Function at 0x47cf20
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4af0a8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d25ac]
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.00401f30
mov ecx, esi
push ecx
mov dword [esp + 0x58], edi
call fcn.00403780
mov esi, 8
add esp, 4
mov dword [esp + 0x54], 0xffffffff
cmp dword [esp + 0x2c], esi
jb 0x47cf9f
mov edx, dword [esp + 0x18]
push edx
call fcn.00491101
add esp, 4
cmp dword [ebp + 0x18], edi
je 0x47d134
push str.APPDATA
lea edi, [esp + 0x18]
call fcn.004074f0
add esp, 4
push 0xffffffffffffffff
lea ebx, [ebp + 0x20]
push 0
mov ecx, ebx
mov dword [esp + 0x5c], 1
call fcn.00401c20
mov dword [esp + 0x54], 0xffffffff
cmp dword [esp + 0x2c], esi
jb 0x47cfea
mov eax, dword [esp + 0x18]
push eax
call fcn.00491101
add esp, 4
mov eax, dword [ebx + 0x14]
push 0x4b49f8
xor edi, edi
mov ecx, ebx
call fcn.00403710
test eax, eax
je 0x47d134
push 0x1a
mov eax, str.MozillaFirefoxProfiles_
mov ecx, ebx
call fcn.00403430
push 0xffffffffffffffff
lea edi, [ebp + 0x3c]
push 0
mov eax, ebx
mov ecx, edi
call fcn.00401c20
lea eax, [ebp + 4]
push 0
push eax
or eax, 0xffffffff
mov esi, edi
call fcn.00403510
push 1
mov eax, 0x4b4d78
mov ecx, edi
call fcn.00403430
push 8
mov eax, str.prefs.js
mov ecx, edi
call fcn.00403430
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.00401f30
mov edx, esi
push edx
mov ecx, edi
mov dword [esp + 0x58], 2
call fcn.004035d0
add esp, 4
mov dword [esp + 0x54], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x47d0a5
mov eax, dword [esp + 0x18]
push eax
call fcn.00491101
add esp, 4
push 0xffffffffffffffff
lea esi, [ebp + 0x58]
push 0
mov eax, ebx
mov ecx, esi
call fcn.00401c20
push 0
lea eax, [ebp + 4]
push eax
or eax, 0xffffffff
call fcn.00403510
push 1
mov eax, 0x4b4d78
mov ecx, esi
call fcn.00403430
push 0xc
mov eax, str.prefs.js.tmp
mov ecx, esi
call fcn.00403430
mov esi, 8
cmp dword [edi + 0x18], esi
jb 0x47d0ee
mov eax, dword [edi + 4]
jmp 0x47d0f1
lea eax, [edi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47d138
mov eax, str.CFFConfig::ParsePreferences___Initialize_FAILED:
lea ecx, [esp + 0x14]
call fcn.00401fe0
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
mov dword [esp + 0x58], 3
call fcn.004035d0
add esp, 4
cmp dword [esp + 0x2c], esi
jb 0x47d134
mov edx, dword [esp + 0x18]
push edx
call fcn.00491101
add esp, 4
xor al, al
jmp 0x47d176
mov eax, str.CFFConfig::ParsePreferences___Initialize_OK:
lea ecx, [esp + 0x30]
call fcn.00401fe0
lea eax, [esp + 0x30]
push eax
mov ecx, edi
mov dword [esp + 0x58], 4
call fcn.004035d0
add esp, 4
cmp dword [esp + 0x48], esi
jb 0x47d170
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00491101
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