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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x533014]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x454], ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x454]
call fcn.00457810
lea ecx, [ebp - 0x218]
call fcn.00418600
movzx ecx, al
test ecx, ecx
je 0x456f3d
mov dword [ebp - 0x434], 0
lea ecx, [ebp - 0x218]
call fcn.004335b0
mov eax, dword [ebp - 0x434]
jmp 0x4572a7
lea ecx, [ebp - 0x224]
call fcn.00418350
lea ecx, [ebp - 0x220]
call fcn.00418350
mov edx, dword [ebp - 0x454]
add edx, 0x18
push edx
lea ecx, [ebp - 0x224]
call fcn.00418390
push 0x5c
lea ecx, [ebp - 0x224]
call fcn.0041d490
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jg 0x456f97
push 0x2f
lea ecx, [ebp - 0x224]
call fcn.0041d490
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x224]
call fcn.0047ef80
sub eax, dword [ebp - 0x21c]
sub eax, 1
push eax
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x224]
call fcn.0041d4e0
lea ecx, [ebp - 0x214]
push ecx
push str.modules_
mov ecx, 0x535320
call fcn.00416d90
push eax
lea edx, [ebp - 0x438]
push edx
call fcn.004185a0
add esp, 0xc
push eax
lea eax, [ebp - 0x43c]
push eax
call fcn.0041f890
add esp, 0xc
push eax
mov ecx, dword [ebp - 0x454]
add ecx, 0x88
call fcn.00418390
lea ecx, [ebp - 0x43c]
call fcn.004335b0
lea ecx, [ebp - 0x438]
call fcn.004335b0
push 0x208
push 0
lea ecx, [ebp - 0x430]
push ecx
call fcn.004ebd80
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x210]
push edx
call fcn.004ebd80
add esp, 0xc
lea eax, [ebp - 0x430]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x430]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x457083
lea edx, [ebp - 0x430]
push edx
mov ecx, 0x535320
call fcn.00414b40
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4570a6
mov ecx, dword [ebp - 0x454]
mov dword [ecx + 0x84], 0
jmp 0x4570de
lea edx, [ebp - 0x210]
push edx
push 0
push 0x513170
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [ebp - 0x454]
mov dword [ecx + 0x84], 1
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x454]
cmp dword [eax + 0x84], 0
je 0x457101
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x220]
call fcn.0040f550
jmp 0x457119
mov edx, dword [ebp - 0x454]
add edx, 0x88
push edx
lea ecx, [ebp - 0x220]
call fcn.00418390
lea ecx, [ebp - 0x224]
call fcn.00418600
movzx eax, al
test eax, eax
jne 0x45726b
lea ecx, [ebp - 0x220]
call fcn.00418600
movzx ecx, al
test ecx, ecx
jne 0x45726b
push str.windowsxp
lea edx, [ebp - 0x444]
push edx
mov ecx, 0x535320
call fcn.004152c0
mov ecx, eax
call fcn.00418a50
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x43d], al
lea ecx, [ebp - 0x444]
call fcn.004335b0
movzx eax, byte [ebp - 0x43d]
test eax, eax
je 0x45719a
push str.http:
push str.https:
lea ecx, [ebp - 0x224]
call fcn.0041f6b0
push str.360SafeManualUpdate
lea ecx, [ebp - 0x448]
call fcn.0040f510
lea ecx, [ebp - 0x448]
push ecx
mov ecx, 0x535320
call fcn.00414b40
push eax
lea edx, [ebp - 0x218]
push edx
call fcn.0047a840
mov ecx, eax
call fcn.0047a430
lea ecx, [ebp - 0x448]
call fcn.004335b0
cmp dword [ebp - 0x454], 0
je 0x4571f4
mov eax, dword [ebp - 0x454]
add eax, 4
mov dword [ebp - 0x458], eax
jmp 0x4571fe
mov dword [ebp - 0x458], 0
mov ecx, dword [ebp - 0x458]
push ecx
call fcn.0047a840
mov ecx, eax
call fcn.0047a6b0
push 1
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x224]
push eax
call fcn.0047a840
mov ecx, eax
call fcn.0047a4a0
mov dword [ebp - 0x44c], 1
lea ecx, [ebp - 0x214]
call fcn.004335b0
lea ecx, [ebp - 0x220]
call fcn.004335b0
lea ecx, [ebp - 0x224]
call fcn.004335b0
lea ecx, [ebp - 0x218]
call fcn.004335b0
mov eax, dword [ebp - 0x44c]
jmp 0x4572a7
mov dword [ebp - 0x450], 0
lea ecx, [ebp - 0x214]
call fcn.004335b0
lea ecx, [ebp - 0x220]
call fcn.004335b0
lea ecx, [ebp - 0x224]
call fcn.004335b0
lea ecx, [ebp - 0x218]
call fcn.004335b0
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eabb3
mov esp, ebp
pop ebp
ret