Function at 0x413b1f
Capabilities:
Check if file exists
Get common file path
Query or enumerate registry value

Disassembly:
push 0x22c
mov eax, 0x45139d
call fcn.0043b197
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x22c], esi
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x230]
call fcn.00401b67
mov byte [ebp - 4], 2
lea eax, [ebp - 0x220]
push eax
push 0x4719b8
call fcn.0040d94d
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x230]
push str.SOFTWARESlimWare_Utilities_Inc_sInstallerData
push eax
call fcn.00402046
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.00401b44
lea eax, [ebp - 0x220]
push eax
push 0x20019
push esi
push dword [ebp - 0x230]
mov dword [ebp - 0x220], esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x413f58
lea ecx, [ebp - 0x22c]
call fcn.004084bb
cmp eax, esi
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x22c], ecx
jne 0x413f58
lea ecx, [ebp - 0x228]
call fcn.00401b67
mov byte [ebp - 4], 4
mov eax, 0x7fff
push eax
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x220], eax
call fcn.0040c3c7
push str.browser
lea ecx, [ebp - 0x22c]
push ecx
lea esi, [ebp - 0x220]
mov edi, eax
call fcn.0040e87c
test eax, eax
jne 0x413f49
push 0xffffffffffffffff
lea ecx, [ebp - 0x228]
call fcn.0040530e
push str.chrome
lea ecx, [ebp - 0x228]
call fcn.004042c6
test eax, eax
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jne 0x413d93
push ecx
mov ecx, esp
mov dword [ebp - 0x238], esp
push str._ProgramFiles_GoogleChromeApplicationchrome.exe
call fcn.0040151c
mov byte [ebp - 4], 5
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 4
call fcn.00413ac2
pop ecx
pop ecx
mov byte [ebp - 4], 6
push dword [ebp - 0x21c]
call esi
test eax, eax
je 0x413cc5
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push eax
call fcn.0040517e
mov dword [ebp - 0x234], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x21c]
call fcn.00401b44
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
call fcn.00401b44
jmp 0x413f69
push ecx
mov ecx, esp
mov dword [ebp - 0x238], esp
push str._LOCALAPPDATA_GoogleChromeApplicationchrome.exe
call fcn.0040151c
mov byte [ebp - 4], 7
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 6
call fcn.00413ac2
pop ecx
pop ecx
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x21c]
call fcn.00401af4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x220]
call fcn.00401b44
push dword [ebp - 0x21c]
call esi
test eax, eax
je 0x413d30
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push eax
call fcn.0040517e
jmp 0x413c9c
push ecx
mov ecx, esp
mov dword [ebp - 0x238], esp
push str._USERPROFILE_Local_SettingsApplication_DataGoogleChromeApplicationchrome.exe
call fcn.0040151c
mov byte [ebp - 4], 9
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 6
call fcn.00413ac2
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x21c]
call fcn.00401af4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x220]
call fcn.00401b44
push dword [ebp - 0x21c]
call esi
test eax, eax
jne 0x413d19
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x21c]
call fcn.00401b44
push 0x45d978
lea ecx, [ebp - 0x228]
call fcn.004042c6
test eax, eax
jne 0x413df3
push ecx
mov ecx, esp
mov dword [ebp - 0x238], esp
push str._ProgramFiles_Mozilla_Firefox_firefox.exe
call fcn.0040151c
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 4
call fcn.00413ac2
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
push dword [ebp - 0x21c]
call esi
test eax, eax
jne 0x413d19
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x21c]
call fcn.00401b44
push 0x45d9d8
lea ecx, [ebp - 0x228]
call fcn.004042c6
test eax, eax
jne 0x413e53
push ecx
mov ecx, esp
mov dword [ebp - 0x238], esp
push str._ProgramFiles_Internet_Exploreriexplore.exe
call fcn.0040151c
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 4
call fcn.00413ac2
pop ecx
pop ecx
mov byte [ebp - 4], 0xe
push dword [ebp - 0x21c]
call esi
test eax, eax
jne 0x413d19
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x21c]
jmp 0x413f44
push str.opera
lea ecx, [ebp - 0x228]
call fcn.004042c6
test eax, eax
jne 0x413f92
push eax
push eax
push eax
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push eax
push 0x459e4c
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsopera.exe
mov dword [ebp - 0x238], 0x208
call sub.SHLWAPI.dll_SHRegGetUSValueW
test eax, eax
jne 0x413eda
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040151c
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x21c]
call fcn.00414faa
push dword [ebp - 0x21c]
call esi
test eax, eax
jne 0x413d19
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x21c]
call fcn.00401b44
push ecx
mov ecx, esp
mov dword [ebp - 0x21c], esp
push 0x45dac8
call fcn.0040151c
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 4
call fcn.00413ac2
pop ecx
pop ecx
mov byte [ebp - 4], 0x11
push dword [ebp - 0x220]
call esi
test eax, eax
je 0x413f3a
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x220]
push eax
call fcn.0040517e
mov dword [ebp - 0x234], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x220]
jmp 0x413cac
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x220]
call fcn.00401b44
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
call fcn.00401b44
mov ecx, dword [ebp - 0x224]
call fcn.00401b67
mov dword [ebp - 0x234], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x230]
call fcn.00401b44
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.004084bb
mov eax, dword [ebp - 0x224]
call fcn.0043b21a
ret
push str.edge
lea ecx, [ebp - 0x228]
call fcn.004042c6
test eax, eax
jne 0x413f49
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x413f49
lea ecx, [ebp - 0x220]
call fcn.00401b67
mov byte [ebp - 4], 0x12
push str.microsoft_edge
lea eax, [ebp - 0x218]
push eax
push str.__scmd.exe___C_start__s:
lea ebx, [ebp - 0x220]
call fcn.00408540
mov ecx, dword [ebp - 0x224]
add esp, 0xc
mov eax, ebx
push eax
call fcn.0040517e
mov dword [ebp - 0x234], 1
mov byte [ebp - 4], 4
mov ecx, ebx
call fcn.00401b44
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
call fcn.00401b44
mov byte [ebp - 4], 1
jmp 0x413f6c