Function at 0x417964
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff7f0
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test eax, eax
je 0x417bee
test ebx, ebx
je 0x417bee
xor edx, edx
mov dword [ebp - 4], edx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, str..xyzxyzxyz
lea edi, [ebp - 0x410]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4d040e
lea edi, [ebp - 0x810]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
push 0x400
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.00417ef0
add esp, 0xc
push 0x400
lea edx, [ebp - 0x410]
push edx
lea ecx, [ebp - 0x810]
push ecx
call fcn.00417f30
add esp, 0xc
push 0
call sub.OLE32.DLL_CoInitialize
test eax, eax
jl 0x417a91
lea eax, [ebp - 4]
push eax
push 0x4d8f00
push 1
push 0
push 0x4d8f10
call sub.OLE32.DLL_CoCreateInstance
test eax, eax
jl 0x417a8c
lea edx, [ebp - 8]
push edx
push 0x4d8f30
mov ecx, dword [ebp - 4]
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jl 0x417a83
lea edx, [ebp - 0x810]
push edx
mov ecx, dword [ebp - 4]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x50]
test eax, eax
jl 0x417a83
mov esi, 0x4d0810
lea edi, [ebp - 0x1010]
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
push 0x400
lea eax, [ebp - 0x1010]
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
push 1
lea edx, [ebp - 0x1010]
push edx
mov ecx, dword [ebp - 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [edx]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call sub.OLE32.DLL_CoUninitialize
cmp byte [ebp - 0x410], 0
je 0x417bee
push 0x4d29e8
push ebx
call fcn.004880f4
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x417bee
push 2
push 0
push ebx
call fcn.004883d4
add esp, 0xc
push ebx
call fcn.00488448
pop ecx
mov esi, eax
push 0
push 0
push ebx
call fcn.004883d4
add esp, 0xc
test esi, esi
jbe 0x417be7
push esi
call fcn.00485ab4
pop ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x417be7
push ebx
push esi
push 1
mov eax, dword [ebp - 0xc]
push eax
call fcn.00488334
add esp, 0x10
lea edx, [ebp - 0x410]
push edx
call fcn.004861d0
pop ecx
mov dword [ebp - 0x10], eax
push esi
lea edi, [ebp - 0x1810]
mov esi, 0x4d1010
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x1810]
push 0x400
push eax
lea edx, [ebp - 0x410]
push 0xffffffffffffffff
push edx
push 0
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
xor edi, edi
jmp 0x417bb2
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x410]
push eax
push edx
mov ecx, dword [ebp - 0xc]
add ecx, edi
push ecx
call fcn.004862d0
add esp, 0xc
test eax, eax
jne 0x417b7c
mov eax, dword [ebp - 0x10]
push eax
push 0
mov edx, dword [ebp - 0xc]
add edx, edi
push edx
call fcn.004860f0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1810]
add ecx, ecx
push ecx
push eax
mov edx, dword [ebp - 0xc]
add edx, edi
push edx
call fcn.004862d0
add esp, 0xc
test eax, eax
jne 0x417bb1
mov ecx, dword [ebp - 0x10]
add ecx, ecx
push ecx
push 0
mov eax, dword [ebp - 0xc]
add eax, edi
push eax
call fcn.004860f0
add esp, 0xc
inc edi
mov edx, dword [ebp - 0x10]
add edx, edx
mov ecx, esi
sub ecx, edx
dec ecx
cmp edi, ecx
jb 0x417b4b
push 0
push 0
push ebx
call fcn.004883d4
add esp, 0xc
push ebx
push esi
push 1
mov eax, dword [ebp - 0xc]
push eax
call fcn.004884d4
add esp, 0x10
mov edx, dword [ebp - 0xc]
push edx
call fcn.00485ac4
pop ecx
push ebx
call fcn.00487d88
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret