Function at 0x46fcf5
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and dword [ebp - 0xc], 0
push ebx
push esi
push edi
mov esi, 0x4fc0d8
push esi
lea ecx, [ebp - 8]
call fcn.00418850
push esi
lea ecx, [ebp - 0x10]
call fcn.00418850
lea eax, [ebp - 8]
push eax
push 0
push ecx
mov ecx, esp
push str.UninstallString
call fcn.00404050
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallPSafe_Antivirus
call fcn.00404050
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040b9b0
push eax
call fcn.0040be00
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
mov esi, 0x4d65b0
test eax, eax
je 0x46fd7b
push esi
push esi
lea ecx, [ebp - 8]
call fcn.0046e624
mov ecx, eax
call fcn.0046e530
push dword [eax]
call edi
mov byte [ebp - 1], 1
test eax, eax
jne 0x46fd7f
mov byte [ebp - 1], 0
lea ecx, [ebp - 0x28]
call fcn.0040c410
cmp byte [ebp - 1], 0
je 0x46fdad
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404d30
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00404d30
mov eax, 0x4f3200
jmp 0x4702ea
lea eax, [ebp - 8]
push eax
push 0
push ecx
mov ecx, esp
push str.UninstallString
call fcn.00404050
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallPSafe_Total
call fcn.00404050
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040b9b0
push eax
call fcn.0040be00
pop ecx
pop ecx
test eax, eax
je 0x46fdff
push esi
push esi
lea ecx, [ebp - 8]
call fcn.0046e624
mov ecx, eax
call fcn.0046e530
push dword [eax]
call edi
mov byte [ebp - 1], 1
test eax, eax
jne 0x46fe03
mov byte [ebp - 1], 0
lea ecx, [ebp - 0x28]
call fcn.0040c410
cmp byte [ebp - 1], 0
je 0x46fe33
mov esi, 0x4f3200
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404d30
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00404d30
mov eax, esi
jmp 0x4702ea
lea ecx, [ebp - 8]
call fcn.00404d50
lea eax, [ebp - 0x10]
push eax
push 0
push ecx
mov ecx, esp
push str.Edition
call fcn.00404050
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360TotalSecurity
call fcn.00404050
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040b9b0
push eax
call fcn.0040be00
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x28]
inc bl
call fcn.0040c410
test bl, bl
jne 0x46fe9b
push str.Professional
lea ecx, [ebp - 0x10]
call fcn.00409370
test eax, eax
je 0x46fe9b
mov esi, 0x4f3230
jmp 0x46fe16
lea ecx, [ebp - 8]
call fcn.00404d50
lea eax, [ebp - 8]
push eax
push 0
push ecx
mov ecx, esp
push str.UninstallString
call fcn.00404050
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360_Internet_Security
call fcn.00404050
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040b9b0
push eax
call fcn.0040be00
pop ecx
pop ecx
test eax, eax
je 0x46ff07
push esi
push esi
lea ecx, [ebp - 8]
call fcn.0046e624
mov ecx, eax
call fcn.0046e530
push dword [eax]
call edi
test eax, eax
je 0x46ff07
push dword [ebp - 8]
call fcn.0046e427
pop ecx
mov byte [ebp - 1], 1
test eax, eax
jne 0x46ff0b
mov byte [ebp - 1], 0
lea ecx, [ebp - 0x28]
call fcn.0040c410
cmp byte [ebp - 1], 0
je 0x46ff23
mov esi, 0x4f320c
jmp 0x46fe16
lea eax, [ebp - 8]
push eax
push 0
push ecx
mov ecx, esp
push str.UninstallString
call fcn.00404050
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360_Internet_Security_2013
call fcn.00404050
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040b9b0
push eax
call fcn.0040be00
pop ecx
pop ecx
test eax, eax
je 0x46ff82
push esi
push esi
lea ecx, [ebp - 8]
call fcn.0046e624
mov ecx, eax
call fcn.0046e530
push dword [eax]
call edi
test eax, eax
je 0x46ff82
push dword [ebp - 8]
call fcn.0046e427
pop ecx
mov byte [ebp - 1], 1
test eax, eax
jne 0x46ff86
mov byte [ebp - 1], 0
lea ecx, [ebp - 0x28]
call fcn.0040c410
cmp byte [ebp - 1], 0
jne 0x46ff19
lea eax, [ebp - 8]
push eax
push 0
push ecx
mov ecx, esp
push str.UninstallString
call fcn.00404050
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_safebox
call fcn.00404050
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040b9b0
push eax
call fcn.0040be00
pop ecx
pop ecx
test eax, eax
je 0x46fff3
push esi
push esi
lea ecx, [ebp - 8]
call fcn.0046e624
mov ecx, eax
call fcn.0046e530
push dword [eax]
call edi
test eax, eax
je 0x46fff3
push dword [ebp - 8]
call fcn.0046e427
pop ecx
mov byte [ebp - 1], 1
test eax, eax
jne 0x46fff7
mov byte [ebp - 1], 0
lea ecx, [ebp - 0x28]
call fcn.0040c410
cmp byte [ebp - 1], 0
je 0x47000f
mov esi, 0x4f3224
jmp 0x46fe16
lea eax, [ebp - 8]
push eax
push 0
push ecx
mov ecx, esp
push str.UninstallString
call fcn.00404050
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360
call fcn.00404050
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040b9b0
push eax
call fcn.0040be00
pop ecx
pop ecx
test eax, eax
je 0x47006e
push esi
push esi
lea ecx, [ebp - 8]
call fcn.0046e624
mov ecx, eax
call fcn.0046e530
push dword [eax]
call edi
test eax, eax
je 0x47006e
push dword [ebp - 8]
call fcn.0046e427
pop ecx
mov byte [ebp - 1], 1
test eax, eax
jne 0x470072
mov byte [ebp - 1], 0
lea ecx, [ebp - 0x28]
call fcn.0040c410
cmp byte [ebp - 1], 0
jne 0x470005
lea eax, [ebp - 8]
push eax
push 0
push ecx
mov ecx, esp
push 0x4d67f4
call fcn.00404050
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
call fcn.00404050
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040b9b0
push eax
call fcn.0040be00
pop ecx
pop ecx
test eax, eax
je 0x4700df
push esi
push esi
lea ecx, [ebp - 8]
call fcn.0046e624
mov ecx, eax
call fcn.0046e530
push dword [eax]
call edi
test eax, eax
je 0x4700df
push dword [ebp - 8]
call fcn.0046e427
pop ecx
mov byte [ebp - 1], 1
test eax, eax
jne 0x4700e3
mov byte [ebp - 1], 0
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0x28]
call fcn.0040c410
cmp byte [ebp - 1], 0
je 0x47018f
push str...360EntClient.exe
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0xc], 0x80
call fcn.004067a0
add esp, 0xc
push dword [eax]
call edi
test eax, eax
je 0x470148
push str...360EntClient.exe
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0xc], 0x180
call fcn.004067a0
push dword [eax]
call fcn.0046e427
add esp, 0x10
mov byte [ebp - 1], 1
test eax, eax
jne 0x47014c
mov byte [ebp - 1], 0
test dword [ebp - 0xc], 0x100
je 0x470167
mov ecx, dword [ebp - 0x14]
and dword [ebp - 0xc], 0xfffffeff
add ecx, 0xfffffff0
call fcn.00404d30
test byte [ebp - 0xc], 0x80
je 0x47017f
mov ecx, dword [ebp - 0x18]
and dword [ebp - 0xc], 0xffffff7f
add ecx, 0xfffffff0
call fcn.00404d30
cmp byte [ebp - 1], 0
je 0x47018f
mov esi, 0x4f323c
jmp 0x46fe16
and dword [ebp - 0x14], 0
lea ecx, [ebp - 8]
call fcn.00404d50
or dword [ebp - 0xc], 0x200
lea eax, [ebp - 8]
push eax
push 0
push ecx
mov ecx, esp
push str.UninstallString
call fcn.00404050
push ecx
mov ecx, esp
push 0x4cce28
call fcn.00404050
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040b9b0
push eax
call fcn.0040be00
pop ecx
pop ecx
test eax, eax
je 0x470201
push esi
push esi
lea ecx, [ebp - 8]
call fcn.0046e624
mov ecx, eax
call fcn.0046e530
push dword [eax]
call edi
test eax, eax
je 0x470201
push dword [ebp - 8]
call fcn.0046e427
pop ecx
mov byte [ebp - 1], 1
test eax, eax
jne 0x470205
mov byte [ebp - 1], 0
test dword [ebp - 0xc], 0x200
je 0x47021d
and dword [ebp - 0xc], 0xfffffdff
lea ecx, [ebp - 0x28]
call fcn.0040c410
cmp byte [ebp - 1], 0
je 0x47022a
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 8]
call fcn.00404d50
or dword [ebp - 0xc], 0x400
lea eax, [ebp - 8]
push eax
push 0
push ecx
mov ecx, esp
push str.UninstallString
call fcn.00404050
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360SD
call fcn.00404050
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040b9b0
push eax
call fcn.0040be00
pop ecx
pop ecx
test eax, eax
je 0x470298
push esi
push esi
lea ecx, [ebp - 8]
call fcn.0046e624
mov ecx, eax
call fcn.0046e530
push dword [eax]
call edi
test eax, eax
je 0x470298
push dword [ebp - 8]
call fcn.0046e427
pop ecx
test eax, eax
je 0x470298
mov bl, 1
jmp 0x47029a
xor bl, bl
test dword [ebp - 0xc], 0x400
je 0x4702ab
lea ecx, [ebp - 0x28]
call fcn.0040c410
test bl, bl
je 0x4702c9
cmp dword [ebp - 0x14], 1
jne 0x4702bf
mov esi, 0x4f31f4
jmp 0x46fe16
mov esi, 0x4f31e8
jmp 0x46fe16
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404d30
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00404d30
mov eax, dword [ebp - 0x14]
imul eax, eax, 0xc
add eax, 0x4f31d0
pop edi
pop esi
pop ebx
leave
ret