Function at 0x40924a
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 0x40931c
mov edi, str.__Start_Menu_
push edi
push ebx
call fcn.004111a0
pop ecx
test eax, eax
pop ecx
jne 0x4092a3
push dword [ebp + 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.004096f3
pop ecx
test eax, eax
pop ecx
je 0x4094fe
mov dword [ebp - 0xc], esi
jmp 0x40931c
mov esi, str.__Programs_
push esi
push ebx
call fcn.004111a0
pop ecx
test eax, eax
pop ecx
jne 0x4092d4
push dword [ebp + 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.00409674
pop ecx
test eax, eax
pop ecx
je 0x4094fe
and dword [ebp - 0xc], 0
jmp 0x40931c
push edi
push dword [ebp + 0x1c]
call fcn.004111a0
pop ecx
test eax, eax
pop ecx
jne 0x4092f4
push dword [ebp + 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.004096f3
jmp 0x409312
push esi
push dword [ebp + 0x1c]
call fcn.004111a0
pop ecx
test eax, eax
pop ecx
jne 0x40931c
push dword [ebp + 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.00409674
pop ecx
test eax, eax
pop ecx
je 0x4094fe
cmp dword [ebp - 0xc], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
je 0x40936e
test ebx, ebx
je 0x409390
push ebx
call esi
mov ebx, eax
lea eax, [ebp - 0x11c]
push eax
call esi
lea eax, [ebx + eax + 1]
cmp eax, 0x104
jg 0x4094fe
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x409390
lea eax, [ebp - 0x11c]
push ebx
push eax
call edi
lea eax, [ebp - 0x11c]
push 0x41c030
push eax
call edi
test ebx, ebx
je 0x409390
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4094fe
test al, 0x10
je 0x4094fe
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 0x4094fe
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 0x4094fe
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 0x409402
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 0x4094fe
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 0x4094fe
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 0x409464
mov dword [ebp - 8], ebx
jmp 0x4094e4
mov eax, dword [ebp - 4]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp eax, ebx
jl 0x4094e4
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp eax, ebx
jl 0x4094e4
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jl 0x4094e4
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 0x4094c7
cmp cl, 0x5c
jne 0x4094bc
mov dword [ebp - 0x14], eax
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
jmp 0x4094b0
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4094d0
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 0x409502
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x4094f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x4094fe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x40954b
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