Function at 0x40b571
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x461de0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x28
mov eax, 0x448a08
call fcn.00433676
mov eax, dword [ebp + 0x214]
xor esi, esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], esi
call fcn.00409258
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00409258
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
push 0x466540
call fcn.00404805
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0x24]
push str.SOFTWARESlimWare_Utilities_Inc_sInstallerData
push eax
call fcn.00402d0f
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00409282
lea eax, [ebp - 0x14]
push eax
push 0x20019
push esi
push dword [ebp - 0x24]
mov dword [ebp - 0x14], esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x40b83b
lea ecx, [ebp - 0x1c]
call fcn.00402cf3
cmp eax, esi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
jne 0x40b83b
lea ecx, [ebp - 0x14]
call fcn.00409258
mov byte [ebp - 4], 5
mov eax, 0x7fff
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
call fcn.00402c6b
push str.browser
lea ecx, [ebp - 0x1c]
push ecx
lea esi, [ebp - 0x10]
mov edi, eax
call fcn.00402c8c
test eax, eax
jne 0x40b82d
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00402d22
push str.chrome
lea ecx, [ebp - 0x14]
call fcn.00401e8b
test eax, eax
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jne 0x40b78b
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str._ProgramFiles_GoogleChromeApplicationchrome.exe
call fcn.00401555
mov byte [ebp - 4], 6
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 5
call fcn.0040b514
pop ecx
pop ecx
mov byte [ebp - 4], 7
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x40b6e7
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
call fcn.00402ec7
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call fcn.00409282
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00409282
jmp 0x40b8a7
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str._LOCALAPPDATA_GoogleChromeApplicationchrome.exe
call fcn.00401555
mov byte [ebp - 4], 8
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 7
call fcn.0040b514
pop ecx
pop ecx
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x10]
call fcn.00401aea
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.00409282
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x40b73a
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
call fcn.00402ec7
jmp 0x40b6c7
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str._USERPROFILE_Local_SettingsApplication_DataGoogleChromeApplicationchrome.exe
call fcn.00401555
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 7
call fcn.0040b514
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x10]
call fcn.00401aea
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.00409282
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x40b72c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call fcn.00409282
push 0x453d20
lea ecx, [ebp - 0x14]
call fcn.00401e8b
test eax, eax
jne 0x40b7dc
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str._ProgramFiles_Mozilla_Firefox_firefox.exe
call fcn.00401555
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 5
call fcn.0040b514
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x40b72c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call fcn.00409282
push 0x453d80
lea ecx, [ebp - 0x14]
call fcn.00401e8b
test eax, eax
jne 0x40b82d
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str._ProgramFiles_Internet_Exploreriexplore.exe
call fcn.00401555
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 5
call fcn.0040b514
pop ecx
pop ecx
mov byte [ebp - 4], 0xf
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x40b72c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call fcn.00409282
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00409282
xor esi, esi
push 0x208
lea eax, [ebp]
push esi
push eax
mov dword [ebp - 0x34], 0x104
call fcn.0042f1e0
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp]
push eax
push 0x4513cc
push 0x453e4c
push 2
push esi
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
jne 0x40b898
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401555
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x20]
call fcn.00401aea
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00409282
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
call fcn.00402ec7
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00409282
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.00402cf3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00409282
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0042f1cb
add ebp, 0x20c
leave
ret