Function at 0x495f80
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x521390]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x23c], ecx
lea ecx, [ebp - 0x218]
push ecx
push 0x4f284c
push 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x10]
push 0
push 0x4f288c
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x238], eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4960cc
mov eax, dword [ebp - 0x218]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x220]
push ecx
push 0x4f289c
push eax
call edx
test eax, eax
js 0x4960be
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
test edi, edi
jne 0x496014
mov edx, dword [0x527508]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
jmp 0x49601b
mov edx, dword [ecx + 0x50]
push edi
push eax
call edx
test esi, esi
je 0x49602e
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
test ebx, ebx
je 0x496041
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push ebx
push eax
call edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push 1
push eax
call edx
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x49606a
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
push ecx
call eax
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x496095
mov ecx, dword [ebp - 0x21c]
push eax
push ecx
lea edx, [ebp - 0x214]
push str._s_s
push edx
call fcn.004ce7d2
add esp, 0x10
jmp 0x49612b
push 0x5c
test edi, edi
je 0x49609e
push edi
jmp 0x4960a4
mov eax, dword [0x527508]
push eax
call fcn.004ce618
add esp, 8
test eax, eax
jne 0x4960df
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004cbf11
mov esp, ebp
pop ebp
ret 0xc
push eax
mov eax, dword [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x214]
push str._s_s
push ecx
call fcn.004ce7d2
lea eax, [ebp - 0x214]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x496104
sub eax, edx
sar eax, 1
mov edx, 0x6b
mov dword [ebp + eax*2 - 0x21a], 0x6e006c
mov word [ebp + eax*2 - 0x216], dx
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x4961e5
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x21c]
push edx
mov dword [ebp - 0x21c], 0
mov ecx, dword [eax]
push 0x500dac
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x4961e5
lea edx, [ebp - 0x22c]
push edx
mov ecx, 0x1f
push esi
mov word [ebp - 0x234], cx
call dword [sym.imp.SHLWAPI.dll_SHStrDupW]
test eax, eax
jns 0x49619e
xor eax, eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
jmp 0x4961d7
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
lea edx, [ebp - 0x234]
push edx
push 0x4f28ac
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
js 0x4961ca
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push eax
call edx
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x214]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 8]
xor eax, eax
test esi, esi
setns al
xor ecx, ebp
pop esi
call fcn.004cbf11
mov esp, ebp
pop ebp
ret 0xc