Function at 0x450780
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b0e9
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x4ae830]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x2c]
call fcn.00416ff0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00450ad0
add esp, 4
push 0x4726a5
lea ecx, [ebp - 0x4ac]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00451af0
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x4b4]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00451b20
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x4bc]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00451af0
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x4c4]
push ecx
call fcn.00451d20
add esp, 0x20
push str.iexplore.exe
lea ecx, [ebp - 0x2c]
call fcn.0043f060
test eax, eax
jne 0x4508dd
lea ecx, [ebp - 0x48]
call fcn.00416ff0
mov byte [ebp - 4], 1
push 0x20019
push str.SOFTWAREMicrosoftInternet_ExplorerMain
lea ecx, [ebp - 0x4e0]
call fcn.00417010
mov dword [ebp - 0x4e8], eax
mov edx, dword [ebp - 0x4e8]
mov dword [ebp - 0x4ec], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4ec]
call fcn.00417120
push eax
push SysReAllocString
lea ecx, [ebp - 0x50]
call fcn.00452130
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4e0]
call fcn.00417080
lea ecx, [ebp - 0x50]
call fcn.00448940
movzx eax, al
test eax, eax
je 0x4508c0
lea ecx, [ebp - 0x48]
push ecx
push str.Start_Page
lea ecx, [ebp - 0x50]
call fcn.00452580
test eax, eax
jne 0x4508c0
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebp + 8]
call fcn.004170b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00452190
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00417080
jmp 0x450a8f
push str.chrome.exe
lea ecx, [ebp - 0x2c]
call fcn.0043f060
test eax, eax
jne 0x45099c
xor eax, eax
mov word [ebp - 0x27c], ax
push 0x206
push 0
lea ecx, [ebp - 0x27a]
push ecx
call fcn.0046fba0
add esp, 0xc
push 0
push 0x1c
lea edx, [ebp - 0x27c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00417010
mov byte [ebp - 4], 5
push str.GoogleChromeUser_DataDefaultPreferences
lea ecx, [ebp - 0x6c]
call fcn.0041c940
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.0044fc30
add esp, 8
mov byte [ebp - 0x6d], al
movzx eax, byte [ebp - 0x6d]
test eax, eax
jne 0x45098b
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004170d0
push str.GoogleChromeUser_DataDefaultSecure_Preferences
lea ecx, [ebp - 0x6c]
call fcn.0041c940
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x6c]
push eax
call fcn.0044fc30
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00417080
jmp 0x450a8f
push str.firefox.exe
lea ecx, [ebp - 0x2c]
call fcn.0043f060
test eax, eax
jne 0x450a8f
xor ecx, ecx
mov word [ebp - 0x4a4], cx
push 0x206
push 0
lea edx, [ebp - 0x4a2]
push edx
call fcn.0046fba0
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x4a4]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x4a4]
push ecx
lea ecx, [ebp - 0x29c]
call fcn.00417010
mov byte [ebp - 4], 6
push str.MozillaFirefoxProfiles
lea ecx, [ebp - 0x29c]
call fcn.0041c940
lea ecx, [ebp - 0x29c]
call fcn.00417120
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 0
jne 0x450a64
lea edx, [ebp - 0x4a4]
push edx
lea ecx, [ebp - 0x29c]
call fcn.004170d0
push str.FirefoxProfiles
lea ecx, [ebp - 0x29c]
call fcn.0041c940
lea ecx, [ebp - 0x29c]
call fcn.00417120
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 0
je 0x450a80
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x29c]
push ecx
call fcn.004503d0
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x29c]
call fcn.00417080
mov byte [ebp - 0x4e1], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00417080
mov al, byte [ebp - 0x4e1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046fd33
mov esp, ebp
pop ebp
ret