Function at 0x4021e0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d376
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x49c4b0]
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 0x402386
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x402386
lea eax, [ebp - 0x354]
push eax
push 0x480538
push 1
push 0
push 0x480548
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x402386
mov eax, dword [ebp - 0x354]
lea edx, [ebp - 0x358]
push edx
push 0x480568
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x40237a
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00406a30
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 0x4022a4
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.004064c0
mov eax, dword [ebp - 0x360]
test eax, eax
je 0x402318
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00406a30
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 0x4022f9
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.004064c0
mov eax, dword [ebp - 0x354]
push 0x487538
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 0x402353
push ebx
push edi
lea eax, [ebp - 0x118]
push str._s_s
push eax
call fcn.0045f3a9
add esp, 0x10
jmp 0x4023cb
test esi, esi
je 0x402364
push 0x5c
push esi
call fcn.00460b40
add esp, 8
jmp 0x40236a
mov eax, dword [ebp - 0x35c]
test eax, eax
jne 0x40238d
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 0x402426
push eax
push edi
lea eax, [ebp - 0x118]
push str._s_s
push eax
call fcn.0045f3a9
lea ecx, [ebp - 0x118]
add esp, 0x10
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4023b0
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.0045eb02
mov esp, ebp
pop ebp
ret