Function at 0x42e300
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608e12
mov eax, dword fs:[0]
push eax
sub esp, 0x4f8
mov eax, dword [0x711ab8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4e4], eax
mov dword [ebp - 0x4f0], esi
push eax
call fcn.00443eb0
mov dword [ebp - 4], esi
mov esi, 1
mov dword [ebp - 0x4f0], esi
push 0x1a
lea eax, [ebp - 0x4e0]
push eax
call fcn.004c26c0
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0x4ec]
push ecx
mov ebx, str.MozillaFirefoxProfiles
call fcn.0041e2b0
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4e0]
call fcn.0040ba40
lea edx, [ebp - 0x4ec]
push edx
lea eax, [ebp - 0x4e0]
push eax
mov ebx, 0x6d0648
call fcn.0041e2b0
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [eax]
lea ecx, [ebp - 0x4d8]
push ecx
mov ecx, eax
call fcn.004c2920
mov bl, 6
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x4e0]
call fcn.0040ba40
lea edx, [ebp - 0x270]
push edx
lea eax, [ebp - 0x4d8]
push eax
call fcn.004c2a90
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x20]
cmp dword [ecx - 0xc], 0
je 0x42e625
mov eax, dword [ebp - 0x270]
cmp eax, 0xffffffff
je 0x42e5e1
test al, 0x10
je 0x42e5e1
lea edx, [ebp - 0x4ec]
push edx
lea eax, [ebp - 0x500]
push eax
mov ebx, 0x6ca140
call fcn.0041e2b0
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x4f8]
push ecx
lea ebx, [ebp - 0x244]
call fcn.0041e2b0
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x4e8]
push edx
mov ebx, str.prefs.js
call fcn.0041e2b0
add esp, 0x18
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x4f8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e476
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x500]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e49c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x4e8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e5b9
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x4e8]
push edx
lea eax, [ebp - 0x4dc]
push eax
call fcn.004c0fa0
add esp, 8
mov byte [ebp - 4], 0x10
push 0x6d06d8
push 0x6d028c
lea ecx, [ebp - 0x4dc]
push ecx
call fcn.0042ed40
xor ecx, ecx
mov edx, str.browser.download.dir
lea esi, [ebp - 0x4dc]
call fcn.0041c8a0
cmp eax, 0xffffffff
je 0x42e5a3
lea ecx, [eax + 1]
mov edx, 0x6d06d8
call fcn.0041c8a0
cmp eax, 0xffffffff
je 0x42e5a3
lea ecx, [eax + 1]
mov edx, 0x6d06d8
call fcn.0041c8a0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42e5a3
lea edi, [ebx + 1]
mov ecx, edi
mov edx, 0x6d06d8
call fcn.0041c8a0
cmp eax, 0xffffffff
je 0x42e5a3
mov ecx, eax
sub ecx, ebx
dec ecx
lea edx, [ebp - 0x4e0]
push edx
mov eax, esi
push eax
mov edx, edi
call fcn.0042ef40
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x4e0]
cmp dword [eax - 0xc], 0
je 0x42e594
push eax
lea ecx, [ebp - 0x4fc]
push ecx
call fcn.004c1530
add esp, 8
mov byte [ebp - 4], 0x12
mov ebx, eax
mov edi, dword [ebp - 0x4e4]
call fcn.00424a30
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x4fc]
call fcn.0040ba40
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x4e0]
call fcn.0040b810
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x4dc]
call fcn.0040b810
mov dword [ebp - 4], 0xd
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x4e8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e5df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 6
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x4f4], ecx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e3cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42e3cd
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x4f4], ecx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e653
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4d8]
push ecx
call fcn.004c2a00
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x4ec]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e68c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4e4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c397a
mov esp, ebp
pop ebp
ret