Function at 0x449700
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bd0d0
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4ff1a0]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
push edi
mov eax, dword [0x4ff1a0]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
lea esi, [esp + 0x108]
call fcn.00470a80
add esp, 4
xor ebx, ebx
mov dword [esp + 0x130], ebx
push 1
push 2
lea ecx, [esp + 0x1c]
call fcn.00413cc0
mov byte [esp + 0x130], 1
mov edx, esi
push edx
push ecx
lea eax, [esp + 0x1c]
push str.strBrowserPath:
push eax
call fcn.00416b90
add esp, 0xc
push eax
call fcn.00416df0
add esp, 8
push 0x29
mov edi, 0xf
push str.CChrmGuard::RestartBrowserWithLastSession
lea ecx, [esp + 0xd4]
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
call fcn.0040ebe0
mov byte [esp + 0x130], 2
push 0x2e
push str.e:work_source_fx_fx_source_fxinstChrmGuard.h
lea ecx, [esp + 0xb8]
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
call fcn.0040ebe0
mov byte [esp + 0x130], 3
lea ecx, [esp + 0xe8]
push ecx
lea ecx, [esp + 0x18]
call fcn.00413de0
mov byte [esp + 0x130], 4
push eax
lea edx, [esp + 0xd0]
push edx
push 0x69
lea eax, [esp + 0xbc]
push eax
push 3
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [esp + 0x130], 3
cmp dword [esp + 0xfc], 8
jb 0x449853
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00490458
add esp, 4
mov esi, 7
xor edx, edx
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], dx
mov byte [esp + 0x130], 2
cmp dword [esp + 0xc4], 0x10
jb 0x449892
mov eax, dword [esp + 0xb0]
push eax
call fcn.00490458
add esp, 4
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
mov byte [esp + 0x130], 1
cmp dword [esp + 0xe0], 0x10
jb 0x4498c9
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.00490458
add esp, 4
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
mov byte [esp + 0x130], bl
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x64]
mov dword [esp + 0x10], edx
mov dword [esp + ecx + 0x14], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov byte [esp + 0x130], 5
lea ecx, [esp + 0x18]
call fcn.00413e40
mov byte [esp + 0x130], bl
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x64]
mov dword [esp + eax + 0x14], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x64], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esp + 0x130], bl
mov edx, ecx
push edx
mov dword [esp + 0x68], vtable.std::ios_base.0
call fcn.0048fc10
mov eax, dword [ebp + 8]
add esp, 4
cmp byte [eax + 4], bl
je 0x449b04
cmp dword [esp + 0x114], ebx
je 0x449b04
cmp dword [esp + 0x118], 8
mov eax, dword [esp + 0x104]
jae 0x44997e
lea eax, [esp + 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
je 0x449b04
xor ecx, ecx
push 0x31
mov word [esp + 0xec], cx
push str.__restore_last_session___no_default_browser_check
lea ecx, [esp + 0xf0]
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], ebx
call fcn.0040e680
mov byte [esp + 0x130], 8
push ebx
xor edx, edx
push 0x4c42e8
lea ecx, [esp + 0xb8]
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], dx
call fcn.0040e680
mov byte [esp + 0x130], 9
push 4
xor eax, eax
push str.open
lea ecx, [esp + 0xd4]
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov word [esp + 0xd4], ax
call fcn.0040e680
mov byte [esp + 0x130], 0xa
lea ecx, [esp + 0xb0]
push 3
push ecx
lea ebx, [esp + 0xf0]
lea edi, [esp + 0x10c]
lea eax, [esp + 0xd4]
call fcn.0047c060
add esp, 8
mov byte [esp + 0x130], 9
mov ebx, 8
cmp dword [esp + 0xe0], ebx
jb 0x449a78
mov edx, dword [esp + 0xcc]
push edx
call fcn.00490458
add esp, 4
xor edi, edi
xor eax, eax
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], edi
mov word [esp + 0xcc], ax
mov byte [esp + 0x130], bl
cmp dword [esp + 0xc4], ebx
jb 0x449ab2
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], edi
mov word [esp + 0xb0], dx
mov byte [esp + 0x130], dl
cmp dword [esp + 0xfc], ebx
jb 0x449aea
mov eax, dword [esp + 0xe8]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], edi
mov word [esp + 0xe8], cx
xor ebx, ebx
mov dword [esp + 0x130], 0xffffffff
cmp dword [esp + 0x118], 8
jb 0x449b29
mov edx, dword [esp + 0x104]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], ax
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.004911d1
mov esp, ebp
pop ebp
ret 4