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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x533014]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x42c], ecx
cmp dword [ebp + 8], 0
jne 0x450067
mov ecx, dword [ebp - 0x42c]
add ecx, 0x2c
call fcn.0047ef80
test eax, eax
jne 0x450062
push 0x208
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.004ebd80
add esp, 0xc
push 1
push 0x1a
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.360safependant_
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44ff84
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov ecx, dword [ebp - 0x42c]
add ecx, 0x18
call fcn.0044ea20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x214]
call fcn.0040f510
lea ecx, [ebp - 0x218]
call fcn.00418350
mov edx, dword [ebp - 0x214]
push edx
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 0xc]
push ecx
push str.icon__d_s
lea edx, [ebp - 0x218]
push edx
call fcn.00418ae0
add esp, 0x10
lea ecx, [ebp - 0x218]
call fcn.0044ea20
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45000c
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1388
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x42c]
add ecx, 0x18
call fcn.0044ea20
push eax
call fcn.00493fd0
mov ecx, eax
call fcn.00495260
test eax, eax
je 0x45004c
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x42c]
add ecx, 0x2c
call fcn.0040f550
lea ecx, [ebp - 0x218]
call fcn.004335b0
lea ecx, [ebp - 0x214]
call fcn.004335b0
jmp 0x4501c0
cmp dword [ebp + 8], 1
jne 0x4501c0
mov ecx, dword [ebp - 0x42c]
add ecx, 0x30
call fcn.0047ef80
test eax, eax
jne 0x4501c0
push 0x208
push 0
lea edx, [ebp - 0x420]
push edx
call fcn.004ebd80
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.360safependant_
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4500e2
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov ecx, dword [ebp - 0x42c]
add ecx, 0x24
call fcn.0044ea20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x424]
call fcn.0040f510
lea ecx, [ebp - 0x428]
call fcn.00418350
mov ecx, dword [ebp - 0x424]
push ecx
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx + 0xc]
push eax
push str.bk__d_s
lea ecx, [ebp - 0x428]
push ecx
call fcn.00418ae0
add esp, 0x10
lea ecx, [ebp - 0x428]
call fcn.0044ea20
push eax
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45016a
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1388
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [ebp - 0x42c]
add ecx, 0x24
call fcn.0044ea20
push eax
call fcn.00493fd0
mov ecx, eax
call fcn.00495260
test eax, eax
je 0x4501aa
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp - 0x42c]
add ecx, 0x30
call fcn.0040f550
lea ecx, [ebp - 0x428]
call fcn.004335b0
lea ecx, [ebp - 0x424]
call fcn.004335b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eabb3
mov esp, ebp
pop ebp
ret 4