Function at 0x406250
Capabilities:
Delete file
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x407578
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebp
push esi
push edi
mov edi, ecx
push str.Z_Start
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0xc]
mov dword [esp + 0x23c], 0
call fcn.00406994
lea ecx, [esp + 0x24]
mov byte [esp + 0x23c], 1
call fcn.00406994
lea eax, [esp + 0x134]
push 0x100
push eax
push 0
mov byte [esp + 0x248], 2
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x134]
push ecx
lea ecx, [esp + 0x10]
call fcn.00406a12
lea edx, [esp + 0x20]
push edx
push 7
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, eax
test esi, esi
jl 0x4062fe
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov esi, eax
jmp 0x40632a
mov edx, dword [esp + 0xc]
push esi
lea eax, [esp + 0x34]
push edx
push eax
push str.Crt_lnk_sfl_:_s_s__X_
push 0x40ab68
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov ecx, 0x40ac70
push 0x40ab68
call fcn.00406740
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
test esi, esi
mov byte [esp + 0x23c], 3
jl 0x4063dc
lea edx, [esp + 0x14]
lea eax, [esp + 0x2c]
push edx
push 0x40aac8
push eax
call sub.MFC42.DLL_operator_2
push str..lnk
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x248], 4
call sub.MFC42.DLL_operator_1
push eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x248], 5
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x28]
mov byte [esp + 0x23c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x23c], 7
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x40acd8]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
push ecx
push ebp
push edx
push eax
mov ecx, edi
call fcn.00405ea0
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x23c], 3
call sub.MFC42.DLL_CString::CString
jmp 0x406408
mov ecx, dword [esp + 0xc]
push esi
lea edx, [esp + 0x34]
push ecx
push edx
push str.Crt_lnk_pfi_:_s_s__X_
push 0x40ab68
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov ecx, 0x40ac70
push 0x40ab68
call fcn.00406740
lea eax, [esp + 0x10]
push str.ZStart.lnk
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x23c], 9
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push esi
push eax
push ecx
push str.Crt_lnk:_s_s__X_
push 0x40ab68
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov ecx, 0x40ac70
push 0x40ab68
call fcn.00406740
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x23c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x23c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x23c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x23c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x234]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x234
ret