Function at 0x40cf20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc4f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ea688]
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.0040bc30
add esp, 4
test al, al
je 0x40cfac
cmp dword [ebp - 0x18], esi
je 0x40cfac
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40cf87
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x40cfb2
lea edx, [ebp - 0x2c]
push edx
mov ecx, edi
call fcn.00412d20
push eax
mov edx, str.360chrome.exe
call fcn.00411ea0
jmp 0x40cff9
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x2c]
push eax
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360Chrome
call fcn.0040ba80
add esp, 4
test al, al
je 0x40cffb
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40cfd3
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40cffb
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.00412d20
push 0xd
push str.360chrome.exe
mov esi, eax
call fcn.00411ed0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov bl, 1
lea edx, [ebp - 0x2c]
push edx
mov ecx, str.360se.exe
call fcn.0040bc30
add esp, 4
test al, al
je 0x40d041
cmp dword [ebp - 0x18], 0
je 0x40d041
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40d022
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40d041
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00412d20
push eax
mov edx, str.360se.exe
call fcn.00411ea0
mov bl, 1
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, str.360se_3.exe
call fcn.0040bc30
add esp, 4
test al, al
je 0x40d087
cmp dword [ebp - 0x18], 0
je 0x40d087
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40d068
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40d087
lea edx, [ebp - 0x2c]
push edx
mov ecx, edi
call fcn.00412d20
push eax
mov edx, str.360se_3.exe
call fcn.00411ea0
jmp 0x40d0ce
lea eax, [ebp - 0x2c]
push eax
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall23F3F476_BE34_4f48_9C77_2806A8393EC4
call fcn.0040ba80
add esp, 4
test al, al
je 0x40d0d0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40d0a8
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40d0d0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.00412d20
push 0xb
push str.360se_3.exe
mov esi, eax
call fcn.00411ed0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov bl, 1
lea edx, [ebp - 0x2c]
push edx
mov ecx, str.360se6.exe
call fcn.0040bc30
add esp, 4
test al, al
je 0x40d116
cmp dword [ebp - 0x18], 0
je 0x40d116
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40d0f7
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40d116
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00412d20
push eax
mov edx, str.360se6.exe
call fcn.00411ea0
jmp 0x40d15d
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360se6
call fcn.0040ba80
add esp, 4
test al, al
je 0x40d15f
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40d137
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40d15f
lea edx, [ebp - 0x2c]
push edx
mov ecx, edi
call fcn.00412d20
push 0xa
push str.360se6.exe
mov esi, eax
call fcn.00411ed0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov bl, 1
lea eax, [ebp - 0x2c]
push eax
mov ecx, str.360browser.exe
call fcn.0040bc30
add esp, 4
test al, al
je 0x40d1a5
cmp dword [ebp - 0x18], 0
je 0x40d1a5
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40d186
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40d1a5
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.00412d20
push eax
mov edx, str.360browser.exe
call fcn.00411ea0
mov bl, 1
lea edx, [ebp - 0x2c]
push edx
mov ecx, str.360SecureBrowser.exe
call fcn.0040bc30
add esp, 4
test al, al
je 0x40d1eb
cmp dword [ebp - 0x18], 0
je 0x40d1eb
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40d1cc
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40d1eb
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00412d20
push eax
mov edx, str.360SecureBrowser.exe
call fcn.00411ea0
jmp 0x40d232
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360SecureBrowser
call fcn.0040ba80
add esp, 4
test al, al
je 0x40d234
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40d20c
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40d234
lea edx, [ebp - 0x2c]
push edx
mov ecx, edi
call fcn.00412d20
push 0x14
push str.360SecureBrowser.exe
mov esi, eax
call fcn.00411ed0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov bl, 1
lea eax, [ebp - 0x2c]
push eax
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360extremebrowser
call fcn.0040ba80
add esp, 4
test al, al
je 0x40d277
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40d255
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40d277
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.00412d20
push 0x15
push str.360ExtremeBrowser.exe
mov esi, eax
call fcn.00411ed0
mov bl, 1
cmp dword [ebp - 0x14], 8
jb 0x40d289
mov edx, dword [ebp - 0x28]
push edx
call fcn.00491da6
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.00491db1
mov esp, ebp
pop ebp
ret