Function at 0x4017c0
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x402b7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x324
push ebx
mov ebx, 1
push 0
mov dword [esp + 0x334], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x401980
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jge 0x401812
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x401980
lea ecx, [esp + 0x10]
push ecx
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x401830
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x401980
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x338], 2
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
jne 0x401869
mov edx, dword [esp + 0x10]
push edx
push eax
call dword [ecx + 0x14]
jmp 0x40196a
push eax
call dword [ecx + 8]
lea edx, [esp + 0x18]
lea eax, [esp + 4]
push edx
push 0x404064
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 4]
push 0x404058
call fcn.004027e6
lea ecx, [esp + 0x338]
push ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_2
push str..lnk
lea ecx, [esp + 8]
call fcn.004027e6
lea edx, [esp + 8]
push edx
push 0x4034b0
push ebx
push 0
push 0x4034a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40196a
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x33c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x33c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push 0x4034c0
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x401922
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x40196a
mov ecx, dword [esp + 4]
lea eax, [esp + 0x120]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x120]
push ebx
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
test eax, eax
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
jge 0x4019c3
call dword [edx + 8]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 4]
mov byte [esp + 0x330], bl
call fcn.004027ec
lea ecx, [esp + 0x338]
mov byte [esp + 0x330], 0
call fcn.004027ec
lea ecx, [esp + 0x33c]
mov dword [esp + 0x330], 0xffffffff
call fcn.004027ec
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x324]
mov dword fs:[0], ecx
add esp, 0x330
ret
call dword [edx + 8]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 4]
mov byte [esp + 0x330], bl
call fcn.004027ec
lea ecx, [esp + 0x338]
mov byte [esp + 0x330], 0
call fcn.004027ec
lea ecx, [esp + 0x33c]
mov dword [esp + 0x330], 0xffffffff
call fcn.004027ec
mov ecx, dword [esp + 0x328]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x330
ret