Function at 0x40b420
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b5f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, str.360chrome.exe
mov dword [ebp - 4], esi
xor bl, bl
call fcn.0040a140
add esp, 4
test al, al
je 0x40b4ac
cmp dword [ebp - 0x18], esi
je 0x40b4ac
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40b487
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x40b4b2
lea edx, [ebp - 0x2c]
push edx
mov ecx, edi
call fcn.00410160
push eax
mov edx, str.360chrome.exe
call fcn.0040f510
jmp 0x40b4f9
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x2c]
push eax
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360Chrome
call fcn.00409f90
add esp, 4
test al, al
je 0x40b4fb
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40b4d3
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40b4fb
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.00410160
push 0xd
push str.360chrome.exe
mov esi, eax
call fcn.0040f460
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov bl, 1
lea edx, [ebp - 0x2c]
push edx
mov ecx, str.360se.exe
call fcn.0040a140
add esp, 4
test al, al
je 0x40b541
cmp dword [ebp - 0x18], 0
je 0x40b541
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40b522
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40b541
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00410160
push eax
mov edx, str.360se.exe
call fcn.0040f510
mov bl, 1
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, str.360se_3.exe
call fcn.0040a140
add esp, 4
test al, al
je 0x40b587
cmp dword [ebp - 0x18], 0
je 0x40b587
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40b568
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40b587
lea edx, [ebp - 0x2c]
push edx
mov ecx, edi
call fcn.00410160
push eax
mov edx, str.360se_3.exe
call fcn.0040f510
jmp 0x40b5ce
lea eax, [ebp - 0x2c]
push eax
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall23F3F476_BE34_4f48_9C77_2806A8393EC4
call fcn.00409f90
add esp, 4
test al, al
je 0x40b5d0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40b5a8
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40b5d0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.00410160
push 0xb
push str.360se_3.exe
mov esi, eax
call fcn.0040f460
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov bl, 1
lea edx, [ebp - 0x2c]
push edx
mov ecx, str.360se6.exe
call fcn.0040a140
add esp, 4
test al, al
je 0x40b616
cmp dword [ebp - 0x18], 0
je 0x40b616
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40b5f7
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40b616
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00410160
push eax
mov edx, str.360se6.exe
call fcn.0040f510
jmp 0x40b65d
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360se6
call fcn.00409f90
add esp, 4
test al, al
je 0x40b65f
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40b637
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40b65f
lea edx, [ebp - 0x2c]
push edx
mov ecx, edi
call fcn.00410160
push 0xa
push str.360se6.exe
mov esi, eax
call fcn.0040f460
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov bl, 1
lea eax, [ebp - 0x2c]
push eax
mov ecx, str.360browser.exe
call fcn.0040a140
add esp, 4
test al, al
je 0x40b6a5
cmp dword [ebp - 0x18], 0
je 0x40b6a5
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40b686
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40b6a5
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.00410160
push eax
mov edx, str.360browser.exe
call fcn.0040f510
mov bl, 1
lea edx, [ebp - 0x2c]
push edx
mov ecx, str.360SecureBrowser.exe
call fcn.0040a140
add esp, 4
test al, al
je 0x40b6eb
cmp dword [ebp - 0x18], 0
je 0x40b6eb
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40b6cc
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40b6eb
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00410160
push eax
mov edx, str.360SecureBrowser.exe
call fcn.0040f510
jmp 0x40b72c
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360SecureBrowser
call fcn.00409f90
add esp, 4
test al, al
je 0x40b72e
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40b70c
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40b72e
lea edx, [ebp - 0x2c]
push edx
mov ecx, edi
call fcn.00410160
push 0x14
push str.360SecureBrowser.exe
mov esi, eax
call fcn.0040f460
mov bl, 1
cmp dword [ebp - 0x14], 8
jb 0x40b740
mov eax, dword [ebp - 0x28]
push eax
call fcn.0053d782
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret