Function at 0x40e2f5
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4e0c2f
call fcn.004b1eac
sub esp, 0x34
push ebx
push esi
mov esi, ecx
mov ecx, 0x51c747
push edi
call fcn.004b1bc6
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x28]
add eax, 4
push eax
call fcn.00403f4a
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
push 0xf013f
push str.SOFTWAREClientsStartMenuInternet
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00405895
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40e9a0
push 0x4e5994
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00404709
push str.GptBrowser.exe
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
call fcn.00404709
add esp, 0x18
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
lea ecx, [ecx - 0x10]
call fcn.00405cf0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e990
push str.GPT_Chrome
lea ecx, [ebp - 0x14]
call fcn.004040c9
push ebx
push ebx
mov esi, 0x2001f
mov byte [ebp - 4], 5
push esi
push ebx
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
push dword [ebp - 0x40]
call fcn.00409810
push ebx
push ebx
push esi
push ebx
push ebx
push 0x4e7510
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00409810
push str.GPT_Chrome
lea ecx, [ebp - 0x30]
call fcn.004040c9
push str._is_an_awsome_internet_browser
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
call fcn.00404709
add esp, 0xc
lea ecx, [ebp - 0x40]
xor esi, esi
inc esi
push esi
push dword [eax]
push str.ApplicationDescription
call fcn.0040a1e0
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.00405cf0
push 0x4e756c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00404709
add esp, 0xc
push esi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
push str.ApplicationIcon
call fcn.0040a1e0
push esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
push str.ApplicationName
call fcn.0040a1e0
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push str.FileAssociations
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00409810
push esi
push str.TSBrowserHTM
push 0x4e6220
lea ecx, [ebp - 0x40]
call fcn.0040a1e0
push esi
push str.TSBrowserHTM
push 0x4e6214
lea ecx, [ebp - 0x40]
call fcn.0040a1e0
push esi
push str.TSBrowserHTM
push str..shtml
lea ecx, [ebp - 0x40]
call fcn.0040a1e0
push esi
push str.TSBrowserHTM
push 0x4e6258
lea ecx, [ebp - 0x40]
call fcn.0040a1e0
push esi
push str.TSBrowserHTM
push str..webp
lea ecx, [ebp - 0x40]
call fcn.0040a1e0
push esi
push str.TSBrowserHTM
push str..xht
lea ecx, [ebp - 0x40]
call fcn.0040a1e0
push esi
push str.TSBrowserHTM
push str..xhtml
lea ecx, [ebp - 0x40]
call fcn.0040a1e0
cmp dword [ebp - 0x40], ebx
je 0x40e513
push dword [ebp - 0x40]
call edi
mov dword [ebp - 0x40], ebx
push str.GPT_Chrome
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], ebx
call fcn.004040c9
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push str.SOFTWAREClientsStartMenuInternet_
push eax
call fcn.00404771
push str.Capabilities
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 9
push eax
call fcn.00404709
add esp, 0x18
lea ecx, [ebp - 0x40]
push 0xf013f
push dword [eax]
push reloc.WS2_32.dll_bind
call fcn.00405895
mov ecx, dword [ebp - 0x30]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00405cf0
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00405cf0
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 7
lea ecx, [ecx - 0x10]
call fcn.00405cf0
test esi, esi
jne 0x40e975
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push str.Startmenu
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00409810
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
push str.StartMenuInternet
call fcn.0040a1e0
cmp dword [ebp - 0x40], esi
je 0x40e5c7
push dword [ebp - 0x40]
call edi
mov dword [ebp - 0x40], ebx
push str.GPT_Chrome
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x3c], ebx
call fcn.004040c9
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xa
push str.SOFTWAREClientsStartMenuInternet_
push eax
call fcn.00404771
push str.Capabilities
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xb
push eax
call fcn.00404709
add esp, 0x18
lea ecx, [ebp - 0x40]
push 0xf013f
push dword [eax]
push reloc.WS2_32.dll_bind
call fcn.00405895
mov ecx, dword [ebp - 0x34]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00405cf0
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00405cf0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
lea ecx, [ecx - 0x10]
call fcn.00405cf0
test esi, esi
jne 0x40e975
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push str.URLAssociations
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00409810
push 1
mov esi, str.TSBrowserHTM
lea ecx, [ebp - 0x40]
push esi
push 0x4e7658
call fcn.0040a1e0
push 1
push esi
push 0x4e6270
lea ecx, [ebp - 0x40]
call fcn.0040a1e0
push 1
push esi
push 0x4e63a8
lea ecx, [ebp - 0x40]
call fcn.0040a1e0
cmp dword [ebp - 0x40], 0
je 0x40e69f
push dword [ebp - 0x40]
call edi
mov dword [ebp - 0x40], ebx
push str.GPT_Chrome
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
call fcn.004040c9
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xc
push str.SOFTWAREClientsStartMenuInternet_
push eax
call fcn.00404771
add esp, 0xc
lea ecx, [ebp - 0x40]
push 0xf013f
push dword [eax]
push reloc.WS2_32.dll_bind
call fcn.00405895
mov ecx, dword [ebp - 0x34]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00405cf0
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.00405cf0
test esi, esi
jne 0x40e975
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push str.DefaultIcon
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00409810
push 1
push dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
push 0x4e5990
call fcn.0040a1e0
cmp dword [ebp - 0x40], esi
je 0x40e735
push dword [ebp - 0x40]
call edi
mov dword [ebp - 0x40], ebx
push str.GPT_Chrome
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
call fcn.004040c9
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xd
push str.SOFTWAREClientsStartMenuInternet_
push eax
call fcn.00404771
add esp, 0xc
lea ecx, [ebp - 0x40]
push 0xf013f
push dword [eax]
push reloc.WS2_32.dll_bind
call fcn.00405895
mov ecx, dword [ebp - 0x34]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00405cf0
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.00405cf0
test esi, esi
jne 0x40e975
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push str.InstallInfo
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00409810
lea eax, [ebp - 0x10]
mov esi, 0x4e5b44
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.00404771
push esi
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xe
push eax
call fcn.00404709
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
call fcn.00404532
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 7
lea ecx, [ecx - 0x10]
call fcn.00405cf0
push str.___hide_icons
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00404709
add esp, 0xc
xor esi, esi
mov byte [ebp - 4], 0x10
inc esi
lea ecx, [ebp - 0x40]
push esi
push str.IconsVisible
call fcn.0040a071
push esi
push dword [ebp - 0x24]
lea ecx, [ebp - 0x40]
push str.HideIconsCommand
call fcn.0040a1e0
push str.___make_default_browser
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00404709
add esp, 0xc
push esi
push dword [ebp - 0x20]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x11
push str.ReinstallCommand
call fcn.0040a1e0
push str.___show_icons
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00404709
add esp, 0xc
push esi
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0x12
push str.ShowIconsCommand
lea ecx, [ebp - 0x40]
call fcn.0040a1e0
cmp dword [ebp - 0x40], 0
je 0x40e895
push dword [ebp - 0x40]
call edi
mov dword [ebp - 0x40], ebx
push str.GPT_Chrome
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
call fcn.004040c9
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x13
push str.SOFTWAREClientsStartMenuInternet_
push eax
call fcn.00404771
add esp, 0xc
lea ecx, [ebp - 0x40]
push 0xf013f
push dword [eax]
push reloc.WS2_32.dll_bind
call fcn.00405895
mov ecx, dword [ebp - 0x34]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00405cf0
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00405cf0
test esi, esi
jne 0x40e94f
push ebx
push ebx
mov esi, 0x2001f
lea ecx, [ebp - 0x40]
push esi
push ebx
push ebx
push str.shell
push dword [ebp - 0x40]
call fcn.00409810
push ebx
push ebx
push esi
push ebx
push ebx
push str.open
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00409810
push ebx
push ebx
push esi
push ebx
push ebx
push str.command
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00409810
push 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x40]
push 0x4e5990
call fcn.0040a1e0
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x40e952
push esi
call edi
mov esi, ebx
jmp 0x40e952
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
jmp 0x40e978
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
jmp 0x40e993
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
jmp 0x40e9a3
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x40e9aa
push esi
call edi
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret