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

Disassembly:
push 0x22c
mov eax, 0x45aa87
call fcn.0043d60a
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x228], esi
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x22c]
call fcn.00401a99
mov byte [ebp - 4], 2
lea eax, [ebp - 0x21c]
push eax
push 0x47dec8
call fcn.0040ef4c
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x22c]
push str.SOFTWARESlimWare_Utilities_Inc_sInstallerData
push eax
call fcn.00402048
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21c]
call fcn.00401b86
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push esi
push dword [ebp - 0x22c]
mov dword [ebp - 0x21c], esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x418132
lea ecx, [ebp - 0x228]
call fcn.004092ce
cmp eax, esi
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x228], ecx
jne 0x418132
lea ecx, [ebp - 0x224]
call fcn.00401a99
mov byte [ebp - 4], 4
mov eax, 0x7fff
push eax
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x21c], eax
call fcn.0040d149
push str.browser
lea ecx, [ebp - 0x228]
push ecx
lea esi, [ebp - 0x21c]
mov edi, eax
call fcn.004197fb
test eax, eax
jne 0x418123
push 0xffffffffffffffff
lea ecx, [ebp - 0x224]
call fcn.00405456
push str.chrome
lea ecx, [ebp - 0x224]
call fcn.004043f3
test eax, eax
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jne 0x41805f
push ecx
mov ecx, esp
mov dword [ebp - 0x234], esp
push str._ProgramFiles_GoogleChromeApplicationchrome.exe
call fcn.0040153e
mov byte [ebp - 4], 5
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 4
call fcn.00417ca3
pop ecx
pop ecx
mov byte [ebp - 4], 6
push dword [ebp - 0x21c]
call esi
test eax, eax
je 0x417f91
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push eax
call fcn.004052c6
mov dword [ebp - 0x230], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x21c]
call fcn.00401b86
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x224]
call fcn.00401b86
jmp 0x418143
push ecx
mov ecx, esp
mov dword [ebp - 0x238], esp
push str._LOCALAPPDATA_GoogleChromeApplicationchrome.exe
call fcn.0040153e
mov byte [ebp - 4], 7
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 6
call fcn.00417ca3
pop ecx
pop ecx
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x21c]
call fcn.00401b36
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x234]
call fcn.00401b86
push dword [ebp - 0x21c]
call esi
test eax, eax
je 0x417ffc
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push eax
call fcn.004052c6
jmp 0x417f68
push ecx
mov ecx, esp
mov dword [ebp - 0x238], esp
push str._USERPROFILE_Local_SettingsApplication_DataGoogleChromeApplicationchrome.exe
call fcn.0040153e
mov byte [ebp - 4], 9
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 6
call fcn.00417ca3
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x21c]
call fcn.00401b36
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x234]
call fcn.00401b86
push dword [ebp - 0x21c]
call esi
test eax, eax
jne 0x417fe5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x21c]
call fcn.00401b86
push 0x4680c0
lea ecx, [ebp - 0x224]
call fcn.004043f3
test eax, eax
jne 0x4180bf
push ecx
mov ecx, esp
mov dword [ebp - 0x238], esp
push str._ProgramFiles_Mozilla_Firefox_firefox.exe
call fcn.0040153e
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 4
call fcn.00417ca3
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
push dword [ebp - 0x21c]
call esi
test eax, eax
jne 0x417fe5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x21c]
call fcn.00401b86
push 0x468120
lea ecx, [ebp - 0x224]
call fcn.004043f3
test eax, eax
jne 0x41816c
push ecx
mov ecx, esp
mov dword [ebp - 0x238], esp
push str._ProgramFiles_Internet_Exploreriexplore.exe
call fcn.0040153e
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 4
call fcn.00417ca3
pop ecx
pop ecx
mov byte [ebp - 4], 0xe
push dword [ebp - 0x21c]
call esi
test eax, eax
jne 0x417fe5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x21c]
call fcn.00401b86
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x224]
call fcn.00401b86
mov ecx, dword [ebp - 0x220]
call fcn.00401a99
mov dword [ebp - 0x230], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x22c]
call fcn.00401b86
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.004092ce
mov eax, dword [ebp - 0x220]
call fcn.0043d68d
ret
push str.edge
lea ecx, [ebp - 0x224]
call fcn.004043f3
test eax, eax
jne 0x418123
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x418123
lea ecx, [ebp - 0x21c]
call fcn.00401a99
mov byte [ebp - 4], 0xf
push str.microsoft_edge
lea eax, [ebp - 0x218]
push eax
push str.__scmd.exe___C_start__s:
lea ebx, [ebp - 0x21c]
call fcn.00405956
mov ecx, dword [ebp - 0x220]
add esp, 0xc
mov eax, ebx
push eax
call fcn.004052c6
mov dword [ebp - 0x230], 1
mov byte [ebp - 4], 4
mov ecx, ebx
call fcn.00401b86
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x224]
call fcn.00401b86
mov byte [ebp - 4], 1
jmp 0x418146