Function at 0x409107
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], 1
je 0x4091d9
mov edi, str.__Start_Menu_
push edi
push ebx
call fcn.00411060
pop ecx
test eax, eax
pop ecx
jne 0x409160
push dword [ebp + 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.004095b0
pop ecx
test eax, eax
pop ecx
je 0x4093bb
mov dword [ebp - 0xc], esi
jmp 0x4091d9
mov esi, str.__Programs_
push esi
push ebx
call fcn.00411060
pop ecx
test eax, eax
pop ecx
jne 0x409191
push dword [ebp + 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.00409531
pop ecx
test eax, eax
pop ecx
je 0x4093bb
and dword [ebp - 0xc], 0
jmp 0x4091d9
push edi
push dword [ebp + 0x1c]
call fcn.00411060
pop ecx
test eax, eax
pop ecx
jne 0x4091b1
push dword [ebp + 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.004095b0
jmp 0x4091cf
push esi
push dword [ebp + 0x1c]
call fcn.00411060
pop ecx
test eax, eax
pop ecx
jne 0x4091d9
push dword [ebp + 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.00409531
pop ecx
test eax, eax
pop ecx
je 0x4093bb
cmp dword [ebp - 0xc], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
je 0x40922b
test ebx, ebx
je 0x40924d
push ebx
call esi
mov ebx, eax
lea eax, [ebp - 0x11c]
push eax
call esi
lea eax, [ebx + eax + 1]
cmp eax, 0x104
jg 0x4093bb
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x40924d
lea eax, [ebp - 0x11c]
push ebx
push eax
call edi
lea eax, [ebp - 0x11c]
push 0x41c030
push eax
call edi
test ebx, ebx
je 0x40924d
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4093bb
test al, 0x10
je 0x4093bb
lea eax, [ebp - 0x11c]
push eax
call esi
push dword [ebp + 0xc]
mov ebx, eax
call esi
add ebx, eax
mov dword [ebp + 0x18], ebx
mov ebx, 0x104
mov eax, dword [ebp + 0x18]
cmp eax, ebx
jg 0x4093bb
push dword [ebp + 0xc]
lea eax, [ebp - 0x11c]
push eax
call edi
lea eax, [ebp - 0x11c]
push eax
call esi
add eax, 4
cmp eax, ebx
jg 0x4093bb
lea eax, [ebp - 0x11c]
push str..LNK
push eax
call edi
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4092bf
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push 0x41a610
push 1
push ebx
push 0x41a310
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4093bb
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
push edx
push 0x41a400
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp esi, ebx
jl 0x4093bb
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x41a600
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
jge 0x409321
mov dword [ebp - 8], ebx
jmp 0x4093a1
mov eax, dword [ebp - 4]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp eax, ebx
jl 0x4093a1
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp eax, ebx
jl 0x4093a1
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jl 0x4093a1
push dword [ebp + 0x10]
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov cl, byte [ebp - 0x224]
lea eax, [ebp - 0x224]
cmp cl, bl
je 0x409384
cmp cl, 0x5c
jne 0x409379
mov dword [ebp - 0x14], eax
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
jmp 0x40936d
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40938d
mov byte [eax], bl
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x224]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp eax, ebx
jge 0x4093bf
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x4093ae
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x4093bb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x409408
lea eax, [ebp - 0x430]
push 0x105
push eax
lea eax, [ebp - 0x11c]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x430]
push ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
cmp esi, ebx
setge al
pop edi
pop esi
pop ebx
leave
ret