Function at 0x45a030
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 4]
call fcn.0043ca60
lea ecx, [ebp - 0xc]
call fcn.0043ca60
push 0x52979c
lea ecx, [ebp - 0xc]
call fcn.0043cb20
push ecx
mov ecx, esp
push 0x5297b8
call fcn.0043caa0
push ecx
mov ecx, esp
lea eax, [ebp - 0xc]
push eax
call fcn.0043ca80
push ecx
mov ecx, esp
mov edx, dword [ebp + 8]
push edx
call fcn.0043caa0
lea eax, [ebp - 4]
push eax
call fcn.0046f030
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.0043cc50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45a0a9
lea ecx, [ebp - 4]
call fcn.0043cc50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x5297c4
lea ecx, [ebp - 0xc]
call fcn.0043cb20
push ecx
mov ecx, esp
push 0x5297e0
call fcn.0043caa0
push ecx
mov ecx, esp
lea edx, [ebp - 0xc]
push edx
call fcn.0043ca80
push ecx
mov ecx, esp
mov eax, dword [ebp + 8]
push eax
call fcn.0043caa0
lea ecx, [ebp - 4]
push ecx
call fcn.0046f030
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.0043cc50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45a109
lea ecx, [ebp - 4]
call fcn.0043cc50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x5297ec
lea ecx, [ebp - 0xc]
call fcn.0043cb20
push ecx
mov ecx, esp
push 0x5297f8
call fcn.0043caa0
push ecx
mov ecx, esp
lea edx, [ebp - 0xc]
push edx
call fcn.0043ca80
push ecx
mov ecx, esp
mov eax, dword [ebp + 8]
push eax
call fcn.0043caa0
lea ecx, [ebp - 4]
push ecx
call fcn.0046f030
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.0043cc50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45a169
lea ecx, [ebp - 4]
call fcn.0043cc50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x529804
lea ecx, [ebp - 0xc]
call fcn.0043cb20
push ecx
mov ecx, esp
push 0x529810
call fcn.0043caa0
push ecx
mov ecx, esp
lea edx, [ebp - 0xc]
push edx
call fcn.0043ca80
push ecx
mov ecx, esp
mov eax, dword [ebp + 8]
push eax
call fcn.0043caa0
lea ecx, [ebp - 4]
push ecx
call fcn.0046f030
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.0043cc50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45a1c9
lea ecx, [ebp - 4]
call fcn.0043cc50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x48c], 0
je 0x45a207
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x85c], 0
je 0x45a207
push 0
push 0
push 0
push 0xa
push str.newcenter
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x85c]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x85c]
mov edx, dword [edx]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp - 0x4c]
sub ecx, 0x94
call fcn.00465bf0
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x850], 0
je 0x45a22f
mov edx, dword [ebp - 0x4c]
mov ecx, dword [edx + 0x850]
call fcn.004857d0
mov ecx, dword [ebp - 0x4c]
sub ecx, 0x94
call fcn.004595d0
push 0
mov ecx, dword [ebp - 0x4c]
add ecx, 0xb0
call fcn.004678b0
push 0
mov ecx, dword [ebp - 0x4c]
add ecx, 0x158
call fcn.004678b0
mov ecx, dword [ebp - 0x4c]
add ecx, 0x4f0
call fcn.00469630
mov ecx, dword [ebp - 0x4c]
add ecx, 0x4d8
call fcn.00469630
push 0x529830
lea ecx, [ebp - 8]
call fcn.0043caa0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00468a90
add esp, 8
movzx edx, al
test edx, edx
je 0x45a2b9
push 1
push ecx
mov ecx, esp
lea eax, [ebp - 8]
push eax
call fcn.0043ca80
mov ecx, dword [ebp - 0x4c]
sub ecx, 0x94
call fcn.00463ad0
push ecx
mov ecx, esp
push 0x52983c
call fcn.0043caa0
push 0
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x4b4]
push edx
mov ecx, dword [ebp - 0x4c]
sub ecx, 0x94
call fcn.0045c5a0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.0043caa0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x4c]
sub ecx, 0x94
call fcn.00465f60
lea ecx, [ebp - 0x10]
call fcn.0043cae0
lea ecx, [ebp - 8]
call fcn.0043cae0
lea ecx, [ebp - 0xc]
call fcn.0043cae0
lea ecx, [ebp - 4]
call fcn.0043cae0
mov esp, ebp
pop ebp
ret 0xc