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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af789
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x4ccf60]
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.00499250
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x22c]
push ecx
call fcn.00499250
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.0040aa00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.0040aa00
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.0040ab00
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.00435bd0
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
call fcn.0040aed0
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.0040ad30
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.0040aae0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x440]
call fcn.0040aac0
lea ecx, [ebp - 0x234]
call fcn.0040aa00
mov byte [ebp - 4], 3
push 0x2e
lea ecx, [ebp - 0x230]
call fcn.00435bd0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040adc0
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.0040aae0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x444]
call fcn.0040aac0
lea ecx, [ebp - 0x14]
call fcn.0040aa00
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.0040ab00
push 0x4bfbf8
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x448]
push edx
call fcn.00435da0
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.00435cf0
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.00435da0
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.0040aae0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x450]
call fcn.0040aac0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44c]
call fcn.0040aac0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x448]
call fcn.0040aac0
lea ecx, [ebp - 0x14]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4299a8
lea ecx, [ebp - 0x14]
call fcn.00436d80
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.0040aa20
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.0040aa20
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 0x4bfbfc
call fcn.0040aa40
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 0x4bfc00
call fcn.0040aa40
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.0040aa20
mov dword [ebp - 0x4b4], eax
mov byte [ebp - 4], 5
call fcn.00435090
add esp, 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.0040aac0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.0040aac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.0040aac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040aac0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0049536b
mov esp, ebp
pop ebp
ret