Function at 0x4723a0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x533014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x45c], ecx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x45c]
call fcn.00472c40
lea ecx, [ebp - 4]
call fcn.00418600
movzx ecx, al
test ecx, ecx
je 0x4723f4
mov dword [ebp - 0x42c], 0
lea ecx, [ebp - 4]
call fcn.004335b0
mov eax, dword [ebp - 0x42c]
jmp 0x472823
lea ecx, [ebp - 0xc]
call fcn.00418350
lea ecx, [ebp - 8]
call fcn.00418350
mov edx, dword [ebp + 8]
mov dword [ebp - 0x460], edx
cmp dword [ebp - 0x460], 0
je 0x472476
cmp dword [ebp - 0x460], 1
je 0x472431
cmp dword [ebp - 0x460], 2
je 0x47266c
jmp 0x4726a9
push 0x515018
mov ecx, 0x535320
call fcn.00416d90
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.004185a0
add esp, 0xc
push eax
lea ecx, [ebp - 8]
call fcn.00418390
lea ecx, [ebp - 0x430]
call fcn.004335b0
push 0x84
lea ecx, [ebp - 0xc]
call fcn.0040f770
jmp 0x4726a9
mov ecx, dword [ebp - 0x45c]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 4], edx
push 0x51342c
lea ecx, [ebp - 0x434]
call fcn.0040f510
lea eax, [ebp - 0x434]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x438]
push edx
call fcn.00472a90
mov ecx, eax
call fcn.00472af0
push eax
lea ecx, [ebp - 0xc]
call fcn.00418390
lea ecx, [ebp - 0x438]
call fcn.004335b0
lea ecx, [ebp - 0x434]
call fcn.004335b0
push 0x5c
lea ecx, [ebp - 0xc]
call fcn.0041d490
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jg 0x4724f8
push 0x2f
lea ecx, [ebp - 0xc]
call fcn.0041d490
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0xc]
call fcn.0047ef80
sub eax, dword [ebp - 0x220]
sub eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0xc]
call fcn.0041d4e0
lea ecx, [ebp - 0x21c]
push ecx
push str.modules_
mov ecx, 0x535320
call fcn.00416d90
push eax
lea edx, [ebp - 0x43c]
push edx
call fcn.004185a0
add esp, 0xc
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.0041f890
add esp, 0xc
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x10
call fcn.00418390
lea ecx, [ebp - 0x440]
call fcn.004335b0
lea ecx, [ebp - 0x43c]
call fcn.004335b0
push 0x208
push 0
lea ecx, [ebp - 0x428]
push ecx
call fcn.004ebd80
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.004ebd80
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4725db
lea edx, [ebp - 0x428]
push edx
mov ecx, 0x535320
call fcn.00414b40
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4725fb
mov ecx, dword [ebp - 0x45c]
mov dword [ecx + 8], 0
jmp 0x472630
lea edx, [ebp - 0x218]
push edx
push 0
push 0x513170
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [ebp - 0x45c]
mov dword [ecx + 8], 1
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x45c]
cmp dword [eax + 8], 0
je 0x47264d
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 8]
call fcn.0040f550
jmp 0x47265f
mov edx, dword [ebp - 0x45c]
add edx, 0x10
push edx
lea ecx, [ebp - 8]
call fcn.00418390
lea ecx, [ebp - 0x21c]
call fcn.004335b0
jmp 0x4726a9
push str.configpromoteupdate_ad_picture.jpg
mov ecx, 0x535320
call fcn.00416d90
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.004185a0
add esp, 0xc
push eax
lea ecx, [ebp - 8]
call fcn.00418390
lea ecx, [ebp - 0x444]
call fcn.004335b0
push 0x67
lea ecx, [ebp - 0xc]
call fcn.0040f770
lea ecx, [ebp - 0xc]
call fcn.00418600
movzx ecx, al
test ecx, ecx
jne 0x4727fb
lea ecx, [ebp - 8]
call fcn.00418600
movzx edx, al
test edx, edx
jne 0x4727fb
push str.windowsxp
lea eax, [ebp - 0x44c]
push eax
mov ecx, 0x535320
call fcn.004152c0
mov ecx, eax
call fcn.00418a50
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x445], al
lea ecx, [ebp - 0x44c]
call fcn.004335b0
movzx ecx, byte [ebp - 0x445]
test ecx, ecx
je 0x472721
push str.http:
push str.https:
lea ecx, [ebp - 0xc]
call fcn.0041f6b0
push str.360SafeManualUpdate
lea ecx, [ebp - 0x450]
call fcn.0040f510
lea edx, [ebp - 0x450]
push edx
mov ecx, 0x535320
call fcn.00414b40
push eax
lea eax, [ebp - 4]
push eax
call fcn.0047a840
mov ecx, eax
call fcn.0047a430
lea ecx, [ebp - 0x450]
call fcn.004335b0
cmp dword [ebp + 8], 0
jne 0x4727a6
call fcn.00433da0
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0
je 0x472789
mov ecx, dword [ebp - 0x464]
add ecx, 4
mov dword [ebp - 0x468], ecx
jmp 0x472793
mov dword [ebp - 0x468], 0
mov edx, dword [ebp - 0x468]
push edx
call fcn.0047a840
mov ecx, eax
call fcn.0047a6b0
mov eax, dword [ebp - 0x45c]
push eax
call fcn.0047a840
mov ecx, eax
call fcn.0047a6b0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0xc]
push eax
call fcn.0047a840
mov ecx, eax
call fcn.0047a4a0
mov dword [ebp - 0x454], 1
lea ecx, [ebp - 8]
call fcn.004335b0
lea ecx, [ebp - 0xc]
call fcn.004335b0
lea ecx, [ebp - 4]
call fcn.004335b0
mov eax, dword [ebp - 0x454]
jmp 0x472823
mov dword [ebp - 0x458], 0
lea ecx, [ebp - 8]
call fcn.004335b0
lea ecx, [ebp - 0xc]
call fcn.004335b0
lea ecx, [ebp - 4]
call fcn.004335b0
mov eax, dword [ebp - 0x458]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004eabb3
mov esp, ebp
pop ebp
ret 8