Function at 0x412610
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521b18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x569638]
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.0040e5b0
add esp, 4
test al, al
je 0x41269c
cmp dword [ebp - 0x18], esi
je 0x41269c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x412677
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x4126a2
lea edx, [ebp - 0x2c]
push edx
mov ecx, edi
call fcn.00418400
push eax
mov edx, str.360chrome.exe
call fcn.00428ca0
jmp 0x4126ee
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x2c]
push eax
mov edx, str.DisplayIcon
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360Chrome
call fcn.0040d4a0
add esp, 4
test al, al
je 0x4126f0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4126c8
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x4126f0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.00418400
push 0xd
push str.360chrome.exe
mov esi, eax
call fcn.0042b220
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov bl, 1
lea edx, [ebp - 0x2c]
push edx
mov ecx, str.360se.exe
call fcn.0040e5b0
add esp, 4
test al, al
je 0x412736
cmp dword [ebp - 0x18], 0
je 0x412736
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x412717
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x412736
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00418400
push eax
mov edx, str.360se.exe
call fcn.00428ca0
mov bl, 1
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, str.360se_3.exe
call fcn.0040e5b0
add esp, 4
test al, al
je 0x41277c
cmp dword [ebp - 0x18], 0
je 0x41277c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41275d
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x41277c
lea edx, [ebp - 0x2c]
push edx
mov ecx, edi
call fcn.00418400
push eax
mov edx, str.360se_3.exe
call fcn.00428ca0
jmp 0x4127c8
lea eax, [ebp - 0x2c]
push eax
mov edx, str.DisplayIcon
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall23F3F476_BE34_4f48_9C77_2806A8393EC4
call fcn.0040d4a0
add esp, 4
test al, al
je 0x4127ca
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4127a2
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x4127ca
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.00418400
push 0xb
push str.360se_3.exe
mov esi, eax
call fcn.0042b220
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov bl, 1
lea edx, [ebp - 0x2c]
push edx
mov ecx, str.360se6.exe
call fcn.0040e5b0
add esp, 4
test al, al
je 0x412810
cmp dword [ebp - 0x18], 0
je 0x412810
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4127f1
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x412810
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00418400
push eax
mov edx, str.360se6.exe
call fcn.00428ca0
jmp 0x41285c
lea ecx, [ebp - 0x2c]
push ecx
mov edx, str.DisplayIcon
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360se6
call fcn.0040d4a0
add esp, 4
test al, al
je 0x41285e
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x412836
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x41285e
lea edx, [ebp - 0x2c]
push edx
mov ecx, edi
call fcn.00418400
push 0xa
push str.360se6.exe
mov esi, eax
call fcn.0042b220
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov bl, 1
lea eax, [ebp - 0x2c]
push eax
mov ecx, str.360browser.exe
call fcn.0040e5b0
add esp, 4
test al, al
je 0x4128a4
cmp dword [ebp - 0x18], 0
je 0x4128a4
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x412885
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x4128a4
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.00418400
push eax
mov edx, str.360browser.exe
call fcn.00428ca0
mov bl, 1
lea edx, [ebp - 0x2c]
push edx
mov ecx, str.360SecureBrowser.exe
call fcn.0040e5b0
add esp, 4
test al, al
je 0x4128ea
cmp dword [ebp - 0x18], 0
je 0x4128ea
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4128cb
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x4128ea
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00418400
push eax
mov edx, str.360SecureBrowser.exe
call fcn.00428ca0
jmp 0x412930
lea ecx, [ebp - 0x2c]
push ecx
mov edx, str.DisplayIcon
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360SecureBrowser
call fcn.0040d4a0
add esp, 4
test al, al
je 0x412932
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x412910
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x412932
lea edx, [ebp - 0x2c]
push edx
mov ecx, edi
call fcn.00418400
push 0x14
push str.360SecureBrowser.exe
mov esi, eax
call fcn.0042b220
mov bl, 1
cmp dword [ebp - 0x14], 8
jb 0x412944
mov eax, dword [ebp - 0x28]
push eax
call fcn.004f3984
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.004f398f
mov esp, ebp
pop ebp
ret