Function at 0x402660
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e216
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x49d4b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x360], eax
test edi, edi
je 0x402806
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x402806
lea eax, [ebp - 0x354]
push eax
push 0x481558
push 1
push 0
push 0x481568
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x402806
mov eax, dword [ebp - 0x354]
lea edx, [ebp - 0x358]
push edx
push 0x481588
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4027fa
sub esp, 0x18
mov ecx, esp
push esi
call fcn.004071e0
xor edx, edx
lea ecx, [ebp - 0x338]
call fcn.00401a90
add esp, 0x18
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 8
jb 0x402724
mov edx, dword [edx]
mov eax, dword [ebp - 0x354]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
lea ecx, [ebp - 0x338]
mov dword [ebp - 4], 0xffffffff
call fcn.00406c70
mov eax, dword [ebp - 0x360]
test eax, eax
je 0x402798
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004071e0
xor edx, edx
lea ecx, [ebp - 0x350]
call fcn.00401a90
add esp, 0x18
mov edx, eax
mov dword [ebp - 4], 1
cmp dword [edx + 0x14], 8
jb 0x402779
mov edx, dword [edx]
mov eax, dword [ebp - 0x354]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
lea ecx, [ebp - 0x350]
mov dword [ebp - 4], 0xffffffff
call fcn.00406c70
mov eax, dword [ebp - 0x354]
push 0x488558
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x354]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test ebx, ebx
je 0x4027d3
push ebx
push edi
lea eax, [ebp - 0x118]
push str._s_s
push eax
call fcn.004601c5
add esp, 0x10
jmp 0x40284b
test esi, esi
je 0x4027e4
push 0x5c
push esi
call fcn.00461c00
add esp, 8
jmp 0x4027ea
mov eax, dword [ebp - 0x35c]
test eax, eax
jne 0x40280d
mov eax, dword [ebp - 0x358]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x354]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
jmp 0x4028a6
push eax
push edi
lea eax, [ebp - 0x118]
push str._s_s
push eax
call fcn.004601c5
lea ecx, [ebp - 0x118]
add esp, 0x10
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402830
sub ecx, edx
mov word [ebp + ecx - 0x11b], 0x6e6c
mov byte [ebp + ecx - 0x119], 0x6b
push 0x104
lea eax, [ebp - 0x320]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x358]
lea edx, [ebp - 0x320]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x358]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x354]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
test esi, esi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f8b2
mov esp, ebp
pop ebp
ret