Function at 0x10002f87
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 0x10003059
mov edi, str.__Start_Menu_
push edi
push ebx
call fcn.1000a840
pop ecx
test eax, eax
pop ecx
jne 0x10002fe0
push dword [ebp + 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.10003436
pop ecx
test eax, eax
pop ecx
je 0x10003241
mov dword [ebp - 0xc], esi
jmp 0x10003059
mov esi, str.__Programs_
push esi
push ebx
call fcn.1000a840
pop ecx
test eax, eax
pop ecx
jne 0x10003011
push dword [ebp + 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.100033b7
pop ecx
test eax, eax
pop ecx
je 0x10003241
and dword [ebp - 0xc], 0
jmp 0x10003059
push edi
push dword [ebp + 0x1c]
call fcn.1000a840
pop ecx
test eax, eax
pop ecx
jne 0x10003031
push dword [ebp + 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.10003436
jmp 0x1000304f
push esi
push dword [ebp + 0x1c]
call fcn.1000a840
pop ecx
test eax, eax
pop ecx
jne 0x10003059
push dword [ebp + 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.100033b7
pop ecx
test eax, eax
pop ecx
je 0x10003241
cmp dword [ebp - 0xc], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
je 0x100030b1
test ebx, ebx
je 0x100030d3
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 0x10003241
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x100030d3
lea eax, [ebp - 0x11c]
push ebx
push eax
call edi
lea eax, [ebp - 0x11c]
push 0x1001511c
push eax
call edi
test ebx, ebx
je 0x100030d3
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10003241
test al, 0x10
je 0x10003241
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 0x10003241
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 0x10003241
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 0x10003145
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push 0x10013718
push 1
push ebx
push 0x10013318
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x10003241
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
push edx
push 0x10013408
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 0x10003241
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x10013708
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
jge 0x100031a7
mov dword [ebp - 8], ebx
jmp 0x10003227
mov eax, dword [ebp - 4]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp eax, ebx
jl 0x10003227
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp eax, ebx
jl 0x10003227
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jl 0x10003227
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 0x1000320a
cmp cl, 0x5c
jne 0x100031ff
mov dword [ebp - 0x14], eax
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
jmp 0x100031f3
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10003213
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 0x10003245
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x10003234
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x10003241
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x1000328e
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