Function at 0x1014da20
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016a53e
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x101c0618]
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 + 8]
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], esi
mov dword [ebp - 4], 1
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x1014dae7
lea eax, [ebp - 0x23c]
push eax
push 0x10
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x1014dae7
push 0x20a
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.100ec480
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x23c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x1014db20
mov eax, dword [ebp - 0x240]
push dword [ebp - 0x23c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x240]
test ecx, ecx
je 0x1014db00
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.100b4568
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 0x238], 0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x238]
push eax
push 0x1017c7dc
push 1
push 0
push 0x101996a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1014db66
mov eax, dword [ebp - 0x240]
push dword [ebp - 0x23c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
xor esi, esi
jmp 0x1014dcc7
cmp dword [edi + 0x10], 0
je 0x1014db83
cmp dword [edi + 0x14], 8
jb 0x1014db74
mov edi, dword [edi]
mov eax, dword [ebp - 0x238]
push 0
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
cmp dword [ebx + 0x14], 8
jb 0x1014db8b
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x238]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x248]
cmp dword [edx + 0x14], 8
jb 0x1014dba6
mov edx, dword [edx]
mov eax, dword [ebp - 0x238]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [ebp - 0x24c]
cmp dword [edx + 0x14], 8
jb 0x1014dbc1
mov edx, dword [edx]
mov eax, dword [ebp - 0x238]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov dword [ebp - 0x244], 0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x244]
mov eax, dword [ebp - 0x238]
push edx
push 0x10196ce0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x1014dc10
mov eax, dword [ebp - 0x240]
push dword [ebp - 0x23c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
xor esi, esi
jmp 0x1014dcb3
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.100137c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x234]
push 0x10179aa4
call fcn.1014d9f0
mov eax, dword [ebp - 0x250]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1014dc46
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x234]
call fcn.100470b0
push str..lnk
lea ecx, [ebp - 0x234]
call fcn.1014d9f0
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
push 1
cmovae edx, dword [ebp - 0x234]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
push dword [ebp - 0x23c]
test eax, eax
mov ecx, 1
mov eax, dword [ebp - 0x240]
cmovns esi, ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x234]
call fcn.1000dfa0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x1014dcc7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x1014dae9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1014dae9