Function at 0x4240e0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4739d6
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4ae44c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x20]
call dword [0x4824e8]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.0040ba40
mov byte [ebp - 4], 1
mov ecx, dword [eax]
mov edi, dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
push str.Rockwell_Automation_Software_Setup.lnk
push ecx
lea edx, [ebp - 0x20]
push 0x4861f8
push edx
call edi
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040b5e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push ecx
call fcn.0040b6c0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call dword [0x4824e8]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
push edx
push eax
lea ecx, [ebp - 0x18]
push 0x4861f8
push ecx
call edi
add esp, 0x10
lea edx, [ebp - 0x24]
push edx
mov ecx, esi
call fcn.00423f70
mov byte [ebp - 4], 5
lea eax, [ebp - 0x10]
push eax
push 0x49306c
push 1
push 0
push 0x4955ac
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x424266
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x49446c
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
js 0x424259
mov ecx, dword [ebp - 0x10]
mov esi, dword [ecx]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100u.dll_]
mov edx, dword [ebp - 0x10]
push eax
mov eax, dword [esi + 0x50]
push edx
call eax
mov ecx, dword [ebp - 0x10]
mov esi, dword [ecx]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100u.dll_]
mov edx, dword [ebp - 0x10]
push eax
mov eax, dword [esi + 0x24]
push edx
call eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push str.Rockwell_Automation_Software_Setup_Startup
push eax
call edx
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc100u.dll_]
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 0x2c]
push eax
push ecx
call edx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
push 1
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100u.dll_]
mov ecx, dword [ebp - 0x14]
mov edx, dword [esi + 0x18]
push eax
push ecx
call edx
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
setns bl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret