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

Disassembly:
push 0xffffffffffffffff
push 0x40efce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x324
push ebx
xor ebx, ebx
push ebx
mov dword [esp + 0x334], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [esp + 0x338]
lea eax, [esp + 0x18]
push eax
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x33c]
lea ecx, [esp + 8]
push eax
call sub.MFC42.DLL_CString::CString_2
push str..lnk
lea ecx, [esp + 0xc]
mov byte [esp + 0x334], 1
call fcn.0040e5d4
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x10]
push str._s_s
push ecx
mov byte [esp + 0x340], 2
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 4]
mov dword [esp + 4], ebx
push edx
push 0x410d84
push 1
push ebx
push 0x410d94
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x402ea1
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x340]
mov dword [esp + 0x10], ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 0x348]
cmp eax, ebx
je 0x402dad
mov ecx, dword [esp + 4]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x344]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 0x34c]
cmp dword [eax - 8], ebx
je 0x402dd7
mov ecx, dword [esp + 4]
push ebx
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x44]
mov eax, dword [esp + 4]
lea edx, [esp + 0x10]
push edx
push 0x410da4
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
jl 0x402e44
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x126]
mov word [esp + 0x124], bx
push 0x104
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
stosw word es:[edi], ax
lea eax, [esp + 0x128]
push eax
push 0xffffffffffffffff
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x124]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [esp + 0xc]
mov byte [esp + 0x330], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x330], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34c]
mov dword [esp + 0x330], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x324]
mov dword fs:[0], ecx
add esp, 0x330
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x330], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x330], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34c]
mov dword [esp + 0x330], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x328]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x330
ret