Function at 0x40a600
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc368
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x51ec70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
xor bl, bl
lea eax, [ebp - 0x28]
push eax
push str.360chrome.exe
call fcn.0040a920
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 8
test al, al
je 0x40a67b
cmp dword [ebp - 0x18], 0
je 0x40a67b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x40a674
mov eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x40a6aa
lea eax, [ebp - 0x28]
push eax
push dword [0x51c228]
push dword [0x51c218]
call fcn.0040ac40
add esp, 0xc
test al, al
je 0x40a6c5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x40a6a3
mov eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40a6c5
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004086a0
push 0xd
push str.360chrome.exe
mov ecx, eax
call fcn.004197d0
mov bl, 1
lea eax, [ebp - 0x28]
push eax
push str.360se.exe
call fcn.0040a920
add esp, 8
test al, al
je 0x40a70e
cmp dword [ebp - 0x18], 0
je 0x40a70e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x40a6ec
mov eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40a70e
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004086a0
push 9
push str.360se.exe
mov ecx, eax
call fcn.004197d0
mov bl, 1
lea eax, [ebp - 0x28]
push eax
push str.360se_3.exe
call fcn.0040a920
add esp, 8
test al, al
je 0x40a73c
cmp dword [ebp - 0x18], 0
je 0x40a73c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x40a735
mov eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x40a76b
lea eax, [ebp - 0x28]
push eax
push dword [0x51c228]
push dword [0x51c214]
call fcn.0040ac40
add esp, 0xc
test al, al
je 0x40a786
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x40a764
mov eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40a786
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004086a0
push 0xb
push str.360se_3.exe
mov ecx, eax
call fcn.004197d0
mov bl, 1
lea eax, [ebp - 0x28]
push eax
push str.360se6.exe
call fcn.0040a920
add esp, 8
test al, al
je 0x40a7b4
cmp dword [ebp - 0x18], 0
je 0x40a7b4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x40a7ad
mov eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x40a7e3
lea eax, [ebp - 0x28]
push eax
push dword [0x51c228]
push dword [0x51c210]
call fcn.0040ac40
add esp, 0xc
test al, al
je 0x40a7fe
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x40a7dc
mov eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40a7fe
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004086a0
push 0xa
push str.360se6.exe
mov ecx, eax
call fcn.004197d0
mov bl, 1
lea eax, [ebp - 0x28]
push eax
push str.360browser.exe
call fcn.0040a920
add esp, 8
test al, al
je 0x40a847
cmp dword [ebp - 0x18], 0
je 0x40a847
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x40a825
mov eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40a847
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004086a0
push 0xe
push str.360browser.exe
mov ecx, eax
call fcn.004197d0
mov bl, 1
lea eax, [ebp - 0x28]
push eax
push str.360SecureBrowser.exe
call fcn.0040a920
add esp, 8
test al, al
je 0x40a875
cmp dword [ebp - 0x18], 0
je 0x40a875
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x40a86e
mov eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x40a8a4
lea eax, [ebp - 0x28]
push eax
push dword [0x51c228]
push dword [0x51c21c]
call fcn.0040ac40
add esp, 0xc
test al, al
je 0x40a8bf
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x40a89d
mov eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x40a8bf
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004086a0
push 0x14
push str.360SecureBrowser.exe
mov ecx, eax
call fcn.004197d0
mov bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40a8f5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a8eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a913
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d761c
mov esp, ebp
pop ebp
ret
call fcn.004cb910
int3