Function at 0x40f0e0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb2c
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0xb2c], ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
cmp dword [ebp + 0x14], 0
jne 0x40f10e
xor eax, eax
jmp 0x40f343
lea eax, [ebp - 0x214]
push eax
push 0x4cc67c
push 1
push 0
push 0x4cc68c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
jge 0x40f13f
xor eax, eax
jmp 0x40f343
lea ecx, [ebp - 4]
push ecx
push 0x4cc6ac
mov edx, dword [ebp - 0x214]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
jge 0x40f185
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x214]
push edx
mov eax, dword [ecx + 8]
call eax
xor eax, eax
jmp 0x40f343
cmp dword [ebp + 0xc], 0
je 0x40f206
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x214]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [eax + 0x50]
call edx
push 1
lea ecx, [ebp - 0xb28]
call fcn.00415430
lea ecx, [ebp - 0xb28]
call fcn.00415480
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xb28]
call fcn.00415460
push eax
call fcn.00437963
add esp, 0xc
lea ecx, [ebp - 0xb28]
call fcn.00415460
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0xb28]
call fcn.00415460
push eax
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [edx + 0x24]
call ecx
cmp dword [ebp + 0x1c], 0
je 0x40f225
movzx edx, word [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x214]
push edx
mov eax, dword [ecx + 0x34]
call eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp - 0x214]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [eax + 0x3c]
call edx
cmp dword [ebp + 0x20], 0
je 0x40f25b
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
cmp dword [ebp + 8], 0
je 0x40f27b
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x214]
push edx
mov eax, dword [ecx + 0x44]
call eax
cmp dword [ebp + 0x14], 0
je 0x40f29f
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0x4dd12c
lea eax, [ebp - 0x210]
push eax
call fcn.0040d470
add esp, 0x10
jmp 0x40f2bc
push str.unknown.lnk
mov ecx, dword [ebp + 0x10]
push ecx
push 0x4dd144
lea edx, [ebp - 0x210]
push edx
call fcn.0040d470
add esp, 0x10
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [edx + 0x2c]
call ecx
push 1
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x18]
call eax
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x214]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [eax + 8]
call edx
push 0
lea eax, [ebp - 0x210]
push eax
push 5
push 2
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
xor eax, eax
cmp dword [ebp - 0x324], 0
setge al
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00434ee7
mov esp, ebp
pop ebp
ret 0x24