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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xaec
mov eax, dword [0x533a94]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xaec], ecx
xor eax, eax
mov dword [ebp - 0x6a4], eax
mov dword [ebp - 0x6a0], eax
mov dword [ebp - 0x69c], eax
mov dword [ebp - 0x698], eax
mov dword [ebp - 0x694], eax
mov dword [ebp - 0x690], eax
mov dword [ebp - 0x68c], eax
mov dword [ebp - 0x688], eax
mov dword [ebp - 0x684], eax
lea ecx, [ebp + 0x10]
push ecx
lea edx, [ebp - 0x6a4]
push edx
call fcn.004c2898
add esp, 8
push 0x208
push 0
lea eax, [ebp - 0x680]
push eax
call fcn.004c1bc0
add esp, 0xc
mov ecx, dword [ebp - 0x698]
push ecx
mov edx, dword [ebp - 0x694]
add edx, 1
push edx
mov eax, dword [ebp - 0x690]
add eax, 0x76c
push eax
push 0x508c78
push 0x104
lea ecx, [ebp - 0x680]
push ecx
call fcn.00402770
add esp, 0x18
test eax, eax
jge 0x48cdfb
xor eax, eax
jmp 0x48d0db
push 0x208
push 0
lea edx, [ebp - 0xac8]
push edx
call fcn.004c1bc0
add esp, 0xc
lea eax, [ebp - 0xac8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x680]
push ecx
lea edx, [ebp - 0xac8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x48ce46
xor eax, eax
jmp 0x48d0db
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48ce5e
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xacc]
call fcn.00417430
push 0
lea ecx, [ebp - 0xacc]
push ecx
lea ecx, [ebp - 0x8b8]
call fcn.0045b090
lea ecx, [ebp - 0xacc]
call fcn.00417470
lea ecx, [ebp - 0x8b8]
call fcn.0045b5f0
test eax, eax
jne 0x48cebb
mov dword [ebp - 0xad0], 0
lea ecx, [ebp - 0x8b8]
call fcn.0045b060
mov eax, dword [ebp - 0xad0]
jmp 0x48d0db
push 0x208
push 0
lea edx, [ebp - 0x8b0]
push edx
call fcn.004c1bc0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x8b0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x48cf09
mov dword [ebp - 0xad4], 0
lea ecx, [ebp - 0x8b8]
call fcn.0045b060
mov eax, dword [ebp - 0xad4]
jmp 0x48d0db
lea ecx, [ebp - 0x474]
call fcn.004173f0
mov ecx, dword [ebp - 0x698]
push ecx
mov edx, dword [ebp - 0x694]
add edx, 1
push edx
mov eax, dword [ebp - 0x690]
add eax, 0x76c
push eax
push 0x508cb4
lea ecx, [ebp - 0x474]
push ecx
call fcn.00439780
add esp, 0x14
push 0x508cd0
lea edx, [ebp - 0x8b0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x48cf86
mov dword [ebp - 0xad8], 0
lea ecx, [ebp - 0x474]
call fcn.00417470
lea ecx, [ebp - 0x8b8]
call fcn.0045b060
mov eax, dword [ebp - 0xad8]
jmp 0x48d0db
lea ecx, [ebp - 0x474]
call fcn.00417910
push eax
lea eax, [ebp - 0x8b0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x48cfce
mov dword [ebp - 0xadc], 0
lea ecx, [ebp - 0x474]
call fcn.00417470
lea ecx, [ebp - 0x8b8]
call fcn.0045b060
mov eax, dword [ebp - 0xadc]
jmp 0x48d0db
push 0x508ce4
lea ecx, [ebp - 0x8b0]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x48d00f
mov dword [ebp - 0xae0], 0
lea ecx, [ebp - 0x474]
call fcn.00417470
lea ecx, [ebp - 0x8b8]
call fcn.0045b060
mov eax, dword [ebp - 0xae0]
jmp 0x48d0db
lea ecx, [ebp - 0x470]
call fcn.0047e890
lea edx, [ebp - 0x8b0]
push edx
lea ecx, [ebp - 0x470]
call fcn.0047ea50
mov dword [ebp - 0x8bc], eax
mov dword [ebp - 0x478], 0
cmp dword [ebp - 0x8bc], 0
je 0x48d0aa
cmp dword [ebp - 0x478], 0x1f
jl 0x48d050
jmp 0x48d0aa
lea ecx, [ebp - 0x470]
call fcn.0047ea00
test eax, eax
jne 0x48d097
lea eax, [ebp - 0xae4]
push eax
lea ecx, [ebp - 0x470]
call fcn.0047e8f0
push eax
lea ecx, [ebp - 0x8b8]
call fcn.0045b2f0
lea ecx, [ebp - 0xae4]
call fcn.00417470
mov ecx, dword [ebp - 0x478]
add ecx, 1
mov dword [ebp - 0x478], ecx
lea ecx, [ebp - 0x470]
call fcn.0047ebf0
mov dword [ebp - 0x8bc], eax
jmp 0x48d03c
mov dword [ebp - 0xae8], 1
lea ecx, [ebp - 0x470]
call fcn.0047e8d0
lea ecx, [ebp - 0x474]
call fcn.00417470
lea ecx, [ebp - 0x8b8]
call fcn.0045b060
mov eax, dword [ebp - 0xae8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c1753
mov esp, ebp
pop ebp
ret 0x10