Function at 0x4093a0
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 0x409472
mov edi, str.__Start_Menu_
push edi
push ebx
call fcn.004112c0
pop ecx
test eax, eax
pop ecx
jne 0x4093f9
push dword [ebp + 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.0040984f
pop ecx
test eax, eax
pop ecx
je 0x40965a
mov dword [ebp - 0xc], esi
jmp 0x409472
mov esi, str.__Programs_
push esi
push ebx
call fcn.004112c0
pop ecx
test eax, eax
pop ecx
jne 0x40942a
push dword [ebp + 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.004097d0
pop ecx
test eax, eax
pop ecx
je 0x40965a
and dword [ebp - 0xc], 0
jmp 0x409472
push edi
push dword [ebp + 0x1c]
call fcn.004112c0
pop ecx
test eax, eax
pop ecx
jne 0x40944a
push dword [ebp + 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.0040984f
jmp 0x409468
push esi
push dword [ebp + 0x1c]
call fcn.004112c0
pop ecx
test eax, eax
pop ecx
jne 0x409472
push dword [ebp + 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.004097d0
pop ecx
test eax, eax
pop ecx
je 0x40965a
cmp dword [ebp - 0xc], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
je 0x4094ca
test ebx, ebx
je 0x4094ec
lea eax, [ebp - 0x11c]
push eax
call esi
mov edx, eax
push ebx
mov dword [ebp + 0x18], edx
call esi
mov ecx, dword [ebp + 0x18]
lea eax, [ecx + eax + 1]
cmp eax, 0x104
jg 0x40965a
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4094ec
lea eax, [ebp - 0x11c]
push ebx
push eax
call edi
lea eax, [ebp - 0x11c]
push 0x41c030
push eax
call edi
test ebx, ebx
je 0x4094ec
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40965a
test al, 0x10
je 0x40965a
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 0x40965a
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 0x40965a
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 0x40955e
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push 0x41a620
push 1
push ebx
push 0x41a318
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x40965a
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
push edx
push 0x41a408
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 0x40965a
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x41a610
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
jge 0x4095c0
mov dword [ebp - 8], ebx
jmp 0x409640
mov eax, dword [ebp - 4]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp eax, ebx
jl 0x409640
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp eax, ebx
jl 0x409640
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jl 0x409640
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 0x409623
cmp cl, 0x5c
jne 0x409618
mov dword [ebp - 0x14], eax
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
jmp 0x40960c
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40962c
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 0x40965e
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x40964d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x40965a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x4096a7
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