Function at 0x4e1443
Capabilities:
Check if file exists

Disassembly:
push 0x308
mov eax, 0x58d956
call fcn.004fba06
mov dword [ebp - 0x180], ecx
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov esi, 0xfde9
push esi
push dword [ebp + 0xc]
call fcn.004a0856
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.0040f0f0
mov byte [ebp - 4], 2
mov dword [ebp - 0x38], 0xf
xor edi, edi
mov dword [ebp - 0x3c], edi
mov byte [ebp - 0x4c], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x180]
call fcn.004c24fd
mov byte [ebp - 4], 4
push dword [eax]
call fcn.004fc531
pop ecx
mov dword [ebp - 0x17c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x178]
add ecx, 0xfffffff0
call fcn.004310e3
lea ecx, [ebp - 0x1bc]
call fcn.00432a3a
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x174], esp
push str.Preferences
call fcn.0043479c
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x184], esp
lea eax, [ebp + 8]
push eax
call fcn.004324a9
mov byte [ebp - 4], 9
lea eax, [ebp - 0x168]
push eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1bc]
call fcn.0049be74
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x168]
cmp dword [eax - 4], ebx
jle 0x4e153a
push dword [eax - 0xc]
lea ecx, [ebp - 0x168]
call fcn.00431f53
mov eax, dword [ebp - 0x168]
push esi
push eax
call fcn.004a0856
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.0040f0f0
mov byte [ebp - 4], 0xb
push dword [ebp - 0x168]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e1ad2
push ecx
mov ecx, esp
mov dword [ebp - 0x174], esp
lea eax, [ebp + 0xc]
push eax
call fcn.004324a9
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x180]
call fcn.004b73ce
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040fd00
mov byte [ebp - 4], 0xb
push edi
push ebx
lea ecx, [ebp - 0x30]
call fcn.0040ff10
cmp dword [ebp - 0x17c], 0x1f
mov eax, str.urls_to_restore_on_startup
jle 0x4e15be
mov eax, str.startup_urls
push eax
lea ecx, [ebp - 0x178]
call fcn.004b82c7
mov byte [ebp - 4], 0xe
push ebx
push 0x40
push ebx
push dword [ebp - 0x168]
lea ecx, [ebp - 0x314]
call fcn.004c47ab
mov byte [ebp - 4], 0xf
push edi
lea ecx, [ebp - 0x194]
call fcn.00445a94
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x158]
call fcn.00442485
mov byte [ebp - 4], 0x11
push ebx
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x314]
push eax
lea ecx, [ebp - 0x158]
call fcn.004433c7
lea ecx, [ebp - 0x314]
call fcn.004b9a8c
mov byte [ebp - 0x161], 0
mov byte [ebp - 0x159], 0
push dword [ebp - 0x178]
mov esi, str.session
push esi
lea ecx, [ebp - 0x194]
call fcn.0044738e
mov ecx, eax
call fcn.0044738e
mov ecx, eax
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x16c], edi
call fcn.0044537e
test eax, eax
je 0x4e170f
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x170]
call fcn.00447112
mov ecx, eax
call fcn.00445c0c
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x14], 0x10
jb 0x4e169a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x160]
call fcn.004b82c7
mov byte [ebp - 4], 0x14
push edi
push ebx
lea ecx, [ebp - 0x30]
call fcn.0040ff10
lea ecx, [ebp - 0x160]
call fcn.004b00bc
cmp dword [ebp - 0x38], 0x10
mov eax, dword [ebp - 0x4c]
jae 0x4e16cb
lea eax, [ebp - 0x4c]
push edi
push eax
lea ecx, [ebp - 0x160]
call fcn.0049a889
test eax, eax
jns 0x4e17e0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x160]
add ecx, 0xfffffff0
call fcn.004310e3
inc dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x170]
call fcn.0044537e
cmp dword [ebp - 0x16c], eax
jb 0x4e1672
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x24]
call fcn.0044488a
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x170]
call fcn.004472da
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x24]
call fcn.00445ba5
mov byte [ebp - 0x159], bl
push esi
lea ecx, [ebp - 0x194]
call fcn.0044738e
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00446b85
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0x1a
mov edi, str.restore_on_startup
push edi
lea ecx, [ebp - 0x1a4]
call fcn.00445844
test al, al
je 0x4e1795
push edi
push esi
lea ecx, [ebp - 0x194]
call fcn.0044738e
mov ecx, eax
call fcn.0044738e
mov ecx, eax
call fcn.00443755
cmp eax, 4
je 0x4e17d4
mov byte [ebp - 0x161], bl
push 4
lea ecx, [ebp - 0x24]
call fcn.004436d1
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x24]
push eax
push edi
push esi
lea ecx, [ebp - 0x194]
call fcn.0044738e
mov ecx, eax
call fcn.0044738e
mov ecx, eax
call fcn.00446c88
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x24]
call fcn.00445ba5
mov dword [ebp - 4], 0x19
jmp 0x4e1861
cmp dword [ebp - 0x54], 0x10
mov eax, dword [ebp - 0x68]
jae 0x4e17ec
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x160]
call fcn.004a508c
test eax, eax
je 0x4e183a
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x24]
call fcn.0044488a
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x170]
call fcn.00447112
mov ecx, eax
call fcn.00446c88
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x24]
call fcn.00445ba5
mov byte [ebp - 0x159], bl
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x160]
add ecx, 0xfffffff0
call fcn.004310e3
jmp 0x4e1740
cmp byte [ebp - 0x161], 0
jne 0x4e1877
cmp byte [ebp - 0x159], 0
je 0x4e1a77
push dword [ebp - 0x168]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4e189c
test bl, al
je 0x4e189c
and eax, 0xfffffffe
push eax
push dword [ebp - 0x168]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x174], esp
push 0x59c030
call fcn.0040f0f0
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xd8]
call fcn.0044b070
mov byte [ebp - 4], 0x1e
push ebx
push 0x40
push 2
push dword [ebp - 0x168]
lea ecx, [ebp - 0x264]
call fcn.004b9cda
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0xd8]
call fcn.0044bd54
lea ecx, [ebp - 0x264]
call fcn.004b9dca
push 0x602968
lea ecx, [ebp - 0x160]
call fcn.0049a4a1
mov byte [ebp - 4], 0x21
xor edi, edi
mov ecx, dword [ebp - 0x170]
call fcn.0044537e
test eax, eax
je 0x4e1a21
mov esi, 0x5cb6c4
lea eax, [ebp - 0x30]
push eax
push edi
mov ecx, dword [ebp - 0x170]
call fcn.00447112
mov ecx, eax
call fcn.00445c0c
mov byte [ebp - 4], 0x22
cmp dword [eax + 0x14], 0x10
jb 0x4e1957
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x16c]
call fcn.004b82c7
mov byte [ebp - 4], 0x24
push 0
push ebx
lea ecx, [ebp - 0x30]
call fcn.0040ff10
lea ecx, [ebp - 0x16c]
call fcn.004b00bc
mov eax, dword [ebp - 0x160]
cmp dword [eax - 0xc], 0
jle 0x4e1999
push 0x5adab0
lea ecx, [ebp - 0x160]
call fcn.004b830c
lea eax, [ebp - 0x16c]
push eax
push esi
lea eax, [ebp - 0x174]
push eax
call fcn.004b0148
mov byte [ebp - 4], 0x25
push esi
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.004b00e4
add esp, 0x18
mov byte [ebp - 4], 0x26
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x160]
call fcn.004aef2c
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x184]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x174]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x16c]
add ecx, 0xfffffff0
call fcn.004310e3
inc edi
mov ecx, dword [ebp - 0x170]
call fcn.0044537e
cmp edi, eax
jb 0x4e1934
xor esi, esi
cmp dword [ebp - 0x17c], esi
je 0x4e1b3c
cmp dword [ebp - 0x17c], 0x25
jge 0x4e1b3c
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x160]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x204]
call fcn.004b9d87
lea ecx, [ebp - 0x204]
call fcn.004475fc
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xd8]
call fcn.0044aca8
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1a4]
call fcn.00445ba5
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x158]
call fcn.0044283a
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x194]
call fcn.00445ba5
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2ac]
call fcn.004c4858
lea ecx, [ebp - 0x2ac]
call fcn.004475fc
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x178]
add ecx, 0xfffffff0
call fcn.004310e3
xor edi, edi
mov byte [ebp - 4], 0xa
push edi
push ebx
lea ecx, [ebp - 0x84]
call fcn.0040ff10
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x168]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1bc]
call fcn.00432a92
mov byte [ebp - 4], 2
push edi
push ebx
lea ecx, [ebp - 0x4c]
call fcn.0040ff10
mov byte [ebp - 4], bl
push edi
push ebx
lea ecx, [ebp - 0x68]
call fcn.0040ff10
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov dword [ebp - 4], 0x37
xor bl, bl
jmp 0x4e1c7f
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x174], esp
lea eax, [ebp - 0x68]
push eax
call fcn.0040f0a0
mov byte [ebp - 4], 0x2a
push ecx
mov ecx, esp
mov dword [ebp - 0x184], esp
lea eax, [ebp + 8]
push eax
call fcn.004324a9
mov byte [ebp - 4], 0x2b
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x180]
call fcn.004dfa6a
cmp eax, esi
setne byte [ebp - 0x159]
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x160]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x204]
call fcn.004b9d87
lea ecx, [ebp - 0x204]
call fcn.004475fc
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xd8]
call fcn.0044aca8
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1a4]
call fcn.00445ba5
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x158]
call fcn.0044283a
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x194]
call fcn.00445ba5
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2ac]
call fcn.004c4858
lea ecx, [ebp - 0x2ac]
call fcn.004475fc
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x178]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 0xa
push esi
push ebx
lea ecx, [ebp - 0x84]
call fcn.0040ff10
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x168]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1bc]
call fcn.00432a92
mov byte [ebp - 4], 2
push esi
push ebx
lea ecx, [ebp - 0x4c]
call fcn.0040ff10
mov byte [ebp - 4], bl
push esi
push ebx
lea ecx, [ebp - 0x68]
call fcn.0040ff10
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov dword [ebp - 4], 0x31
mov bl, byte [ebp - 0x159]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004310e3
mov al, bl
call fcn.004fba62
ret 8