Function at 0x10066a90
Capabilities:
Check if file exists
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a59f0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100cc314]
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 eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10066ce5
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0x100afccc
push 0x17
push 0
push 0x100ba838
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10066ccd
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x20], 0
call fcn.10018730
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100672b0
add esp, 0xc
mov edx, dword [ebp - 0x28]
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10066b54
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x14]
push 5
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
push 0x100ba828
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 4
call dword [ecx]
test eax, eax
js 0x10066ca0
mov edi, dword [ebp - 0x1c]
test esi, esi
jne 0x10066c8b
mov dword [ebp - 0x24], esi
mov eax, dword [edi]
push 1
push esi
push edi
mov byte [ebp - 4], 5
call dword [eax + 0x18]
push esi
mov edi, eax
mov byte [ebp - 4], 4
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
js 0x10066ca0
cmp dword [ebp + 0x18], 0
mov esi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
je 0x10066c36
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], 0
call fcn.10018730
push 1
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100672b0
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.10018a00
push 0
push dword [ebp - 0x18]
push 0x1005
push 0x1000
call esi
lea ecx, [ebp - 0x18]
call fcn.10018a00
push 0
push 0x2a
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x1000
push 0x8000000
call esi
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
test eax, eax
je 0x10066c68
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10066c84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x10066ccf
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x10066d01
jmp 0x10066bbf
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
test eax, eax
je 0x10066cb1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10066ccd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x10066ce3
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
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.10061f52
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.1001ae50
int3