Function at 0x428d50
Capabilities:
Check if file exists
Delete file
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad9b9
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x4caef0]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x468], ecx
push 0x104
push 0
lea eax, [ebp - 0x43c]
push eax
call fcn.00497550
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x22c]
push ecx
call fcn.00497550
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.0040a290
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.0040a290
mov byte [ebp - 4], 1
push 0x104
lea edx, [ebp - 0x43c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040a390
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.00434f80
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
call fcn.0040a760
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x10]
sub ecx, 1
push ecx
lea edx, [ebp - 0x440]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040a5c0
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x46c]
mov dword [ebp - 0x470], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x470]
push ecx
lea ecx, [ebp - 0x230]
call fcn.0040a370
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x440]
call fcn.0040a350
lea ecx, [ebp - 0x234]
call fcn.0040a290
mov byte [ebp - 4], 3
push 0x2e
lea ecx, [ebp - 0x230]
call fcn.00434f80
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040a650
mov dword [ebp - 0x474], eax
mov ecx, dword [ebp - 0x474]
mov dword [ebp - 0x478], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x478]
push edx
lea ecx, [ebp - 0x234]
call fcn.0040a370
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x444]
call fcn.0040a350
lea ecx, [ebp - 0x14]
call fcn.0040a290
mov byte [ebp - 4], 5
push 0
push 0
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x468]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040a390
push 0x4bdd60
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x448]
push edx
call fcn.004350a0
add esp, 0xc
mov dword [ebp - 0x47c], eax
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 0x480], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x480]
push edx
lea eax, [ebp - 0x44c]
push eax
call fcn.00434ff0
add esp, 0xc
mov dword [ebp - 0x484], eax
mov ecx, dword [ebp - 0x484]
mov dword [ebp - 0x488], ecx
mov byte [ebp - 4], 7
push str..lnk
mov edx, dword [ebp - 0x488]
push edx
lea eax, [ebp - 0x450]
push eax
call fcn.004350a0
add esp, 0xc
mov dword [ebp - 0x48c], eax
mov ecx, dword [ebp - 0x48c]
mov dword [ebp - 0x490], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x490]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040a370
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x450]
call fcn.0040a350
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44c]
call fcn.0040a350
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x448]
call fcn.0040a350
lea ecx, [ebp - 0x14]
call fcn.0040a8b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428fe8
lea ecx, [ebp - 0x14]
call fcn.0040a8b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
mov ecx, esp
mov dword [ebp - 0x454], esp
lea eax, [ebp - 0x230]
push eax
call fcn.0040a2b0
mov dword [ebp - 0x494], eax
mov ecx, dword [ebp - 0x494]
mov dword [ebp - 0x498], ecx
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x458], esp
lea edx, [ebp - 0x14]
push edx
call fcn.0040a2b0
mov dword [ebp - 0x49c], eax
mov eax, dword [ebp - 0x49c]
mov dword [ebp - 0x4a0], eax
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x45c], esp
push 0x4bdd64
call fcn.0040a2d0
mov dword [ebp - 0x4a4], eax
mov ecx, dword [ebp - 0x4a4]
mov dword [ebp - 0x4a8], ecx
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x460], esp
push 0x4bdd68
call fcn.0040a2d0
mov dword [ebp - 0x4ac], eax
mov edx, dword [ebp - 0x4ac]
mov dword [ebp - 0x4b0], edx
mov byte [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x464], esp
lea eax, [ebp - 0x18]
push eax
call fcn.0040a2b0
mov dword [ebp - 0x4b4], eax
mov byte [ebp - 4], 5
call fcn.00434660
add esp, 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.0040a350
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.0040a350
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.0040a350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040a350
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004948e6
mov esp, ebp
pop ebp
ret