Function at 0x405c40
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x40c128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push 0
mov dword [esp + 0x220], 4
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp]
push eax
push 0x40e9f0
push 1
push 0
push 0x40e9e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x405d09
lea ecx, [esp + 0x224]
mov byte [esp + 0x21c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x228]
mov byte [esp + 0x21c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x22c]
mov byte [esp + 0x21c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x230]
mov byte [esp + 0x21c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x234]
mov dword [esp + 0x21c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x214]
mov dword fs:[0], ecx
add esp, 0x220
ret
mov ecx, dword [esp + 0x224]
push ebx
push ebp
push esi
mov eax, dword [ecx - 8]
push edi
push eax
lea ecx, [esp + 0x238]
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [esp + 0x238]
mov esi, eax
lea ecx, [esp + 0x238]
mov eax, dword [edx - 8]
push eax
call sub.MFC42.DLL_CString::GetBuffer
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x23c]
lea ecx, [esp + 0x23c]
mov eax, dword [eax - 8]
push eax
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x240]
mov edi, eax
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x240]
push eax
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [esp + 0x244]
mov ebp, eax
lea ecx, [esp + 0x244]
mov eax, dword [edx - 8]
push eax
call sub.MFC42.DLL_CString::GetBuffer
mov ebx, eax
mov eax, dword [esp + 0x10]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 0x10]
push edi
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, dword [esp + 0x10]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 0x10]
push 0
push ebx
push eax
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x40ea00
mov ecx, dword [eax]
push eax
call dword [ecx]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
jl 0x405e0b
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 4]
lea ecx, [esp + 0xc]
push 2
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0xffffffffffffffff
lea ecx, [esp + 0x228]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0xffffffffffffffff
lea ecx, [esp + 0x22c]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0xffffffffffffffff
lea ecx, [esp + 0x230]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0xffffffffffffffff
lea ecx, [esp + 0x234]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0xffffffffffffffff
lea ecx, [esp + 0x238]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [esp + 0x224]
mov byte [esp + 0x21c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x228]
mov byte [esp + 0x21c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x22c]
mov byte [esp + 0x21c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x230]
mov byte [esp + 0x21c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x234]
mov dword [esp + 0x21c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x214]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x220
ret