Function at 0x425680
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6b62
mov eax, dword fs:[0]
push eax
sub esp, 0x4f8
mov eax, dword [0x6d26f8]
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.0041d3b0
mov dword [ebp - 4], esi
mov esi, 1
mov dword [ebp - 0x4f0], esi
push 0x1a
lea eax, [ebp - 0x4e0]
push eax
call fcn.0049a8e0
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0x4ec]
push ecx
mov ebx, str.MozillaFirefoxProfiles
call fcn.004176f0
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4e0]
call fcn.0040b950
lea edx, [ebp - 0x4ec]
push edx
lea eax, [ebp - 0x4e0]
push eax
mov ebx, 0x698f40
call fcn.004176f0
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [eax]
lea ecx, [ebp - 0x4d8]
push ecx
mov ecx, eax
call fcn.0049abd0
mov bl, 6
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x4e0]
call fcn.0040b950
lea edx, [ebp - 0x270]
push edx
lea eax, [ebp - 0x4d8]
push eax
call fcn.0049ad40
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x20]
cmp dword [ecx - 0xc], 0
je 0x4259a5
mov eax, dword [ebp - 0x270]
cmp eax, 0xffffffff
je 0x425961
test al, 0x10
je 0x425961
lea edx, [ebp - 0x4ec]
push edx
lea eax, [ebp - 0x500]
push eax
mov ebx, 0x692fe8
call fcn.004176f0
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x4f8]
push ecx
lea ebx, [ebp - 0x244]
call fcn.004176f0
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x4e8]
push edx
mov ebx, str.prefs.js
call fcn.004176f0
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 0x4257f6
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 0x42581c
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 0x425939
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x4e8]
push edx
lea eax, [ebp - 0x4dc]
push eax
call fcn.00498e70
add esp, 8
mov byte [ebp - 4], 0x10
push 0x698fd0
push 0x698b20
lea ecx, [ebp - 0x4dc]
push ecx
call fcn.004260c0
xor ecx, ecx
mov edx, str.browser.download.dir
lea esi, [ebp - 0x4dc]
call fcn.004262c0
cmp eax, 0xffffffff
je 0x425923
lea ecx, [eax + 1]
mov edx, 0x698fd0
call fcn.004262c0
cmp eax, 0xffffffff
je 0x425923
lea ecx, [eax + 1]
mov edx, 0x698fd0
call fcn.004262c0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x425923
lea edi, [ebx + 1]
mov ecx, edi
mov edx, 0x698fd0
call fcn.004262c0
cmp eax, 0xffffffff
je 0x425923
mov ecx, eax
sub ecx, ebx
dec ecx
lea edx, [ebp - 0x4e0]
push edx
mov eax, esi
push eax
mov edx, edi
call fcn.004262f0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x4e0]
cmp dword [eax - 0xc], 0
je 0x425914
push eax
lea ecx, [ebp - 0x4fc]
push ecx
call fcn.00499810
add esp, 8
mov byte [ebp - 4], 0x12
mov ebx, eax
mov edi, dword [ebp - 0x4e4]
call fcn.0041ce00
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x4fc]
call fcn.0040b950
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x4e0]
call fcn.0040b720
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x4dc]
call fcn.0040b720
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 0x42595f
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 0x42574d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42574d
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 0x4259d3
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.0049acb0
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 0x425a0c
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.0059393a
mov esp, ebp
pop ebp
ret