Function at 0x413a27
Capabilities:
Check if file exists

Disassembly:
push 0x234
mov eax, 0x44fbba
call fcn.0043a3b7
mov eax, dword [ebp + 8]
xor esi, esi
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x238], esi
call fcn.004062b9
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x228], esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.004062b9
mov byte [ebp - 4], 3
lea eax, [ebp - 0x220]
push eax
push 0x46f8a8
call fcn.0040d63b
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0x230]
push str.SOFTWARESlimWare_Utilities_Inc_sInstallerData
push eax
call fcn.00402471
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
call fcn.00401b60
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 0x413d7b
lea ecx, [ebp - 0x228]
call fcn.00406805
cmp eax, esi
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x228], ecx
jne 0x413d7b
lea ecx, [ebp - 0x220]
call fcn.004062b9
mov byte [ebp - 4], 5
mov eax, 0x7fff
push eax
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x21c], eax
call fcn.00409449
push str.browser
lea ecx, [ebp - 0x228]
push ecx
lea esi, [ebp - 0x21c]
mov edi, eax
call fcn.0040679e
test eax, eax
jne 0x413d6a
push 0xffffffffffffffff
lea ecx, [ebp - 0x220]
call fcn.0040556c
push str.chrome
lea ecx, [ebp - 0x220]
call fcn.00401e7a
test eax, eax
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jne 0x413caa
push ecx
mov ecx, esp
mov dword [ebp - 0x234], esp
push str._ProgramFiles_GoogleChromeApplicationchrome.exe
call fcn.00401527
mov byte [ebp - 4], 6
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 5
call fcn.004139ca
pop ecx
pop ecx
mov byte [ebp - 4], 7
push dword [ebp - 0x21c]
call esi
test eax, eax
je 0x413bdc
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push eax
call fcn.004053dc
mov dword [ebp - 0x238], ebx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
call fcn.00401b60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
call fcn.00401b60
jmp 0x413e08
push ecx
mov ecx, esp
mov dword [ebp - 0x23c], esp
push str._LOCALAPPDATA_GoogleChromeApplicationchrome.exe
call fcn.00401527
mov byte [ebp - 4], 8
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 7
call fcn.004139ca
pop ecx
pop ecx
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x21c]
call fcn.00401b00
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x234]
call fcn.00401b60
push dword [ebp - 0x21c]
call esi
test eax, eax
je 0x413c47
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push eax
call fcn.004053dc
jmp 0x413bb3
push ecx
mov ecx, esp
mov dword [ebp - 0x23c], esp
push str._USERPROFILE_Local_SettingsApplication_DataGoogleChromeApplicationchrome.exe
call fcn.00401527
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 7
call fcn.004139ca
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x21c]
call fcn.00401b00
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x234]
call fcn.00401b60
push dword [ebp - 0x21c]
call esi
test eax, eax
jne 0x413c30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
call fcn.00401b60
push 0x45c1f8
lea ecx, [ebp - 0x220]
call fcn.00401e7a
test eax, eax
jne 0x413d0a
push ecx
mov ecx, esp
mov dword [ebp - 0x23c], esp
push str._ProgramFiles_Mozilla_Firefox_firefox.exe
call fcn.00401527
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 5
call fcn.004139ca
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
push dword [ebp - 0x21c]
call esi
test eax, eax
jne 0x413c30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
call fcn.00401b60
push 0x45c258
lea ecx, [ebp - 0x220]
call fcn.00401e7a
test eax, eax
jne 0x413d6a
push ecx
mov ecx, esp
mov dword [ebp - 0x23c], esp
push str._ProgramFiles_Internet_Exploreriexplore.exe
call fcn.00401527
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 5
call fcn.004139ca
pop ecx
pop ecx
mov byte [ebp - 4], 0xf
push dword [ebp - 0x21c]
call esi
test eax, eax
jne 0x413c30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
call fcn.00401b60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
call fcn.00401b60
xor esi, esi
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
mov dword [ebp - 0x240], 0x104
call fcn.00435760
add esp, 0xc
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x45b7f0
push str.http
push 2
push esi
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
jne 0x413df0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.00401527
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x22c]
call fcn.00401b00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
call fcn.00401b60
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x22c]
push eax
call fcn.004053dc
mov dword [ebp - 0x238], ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.00401b60
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x228]
call fcn.00406805
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.00401b60
mov eax, dword [ebp - 0x224]
call fcn.0043a43a
ret