Function at 0x10018090
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x10194008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push esi
push edi
push eax
push 0x10146a80
push 1
push 0
push 0x10146ab0
mov edi, edx
mov dword [ebp - 0x218], 0
mov esi, ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x100182b4
mov ecx, dword [ebp - 0x218]
test ecx, ecx
je 0x100182b4
lea edx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
mov eax, dword [ecx]
push edx
push 0x10146aa0
push ecx
call dword [eax]
test eax, eax
js 0x100182a8
cmp dword [ebp - 0x21c], 0
je 0x100182a8
mov ecx, edi
call fcn.1005e6d0
test al, al
je 0x1001813c
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x1001812d
mov edx, dword [edi]
mov eax, dword [ebp - 0x21c]
push 2
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.100fe280
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1001815c
mov eax, dword [esi]
push 0x103
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x10018186
mov edx, dword [esi]
mov eax, dword [ebp - 0x218]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x214]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x218]
push 0x10158c2c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [ebx + 0x10], 0
je 0x100181d2
cmp dword [ebx + 0x14], 8
jb 0x100181c5
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x218]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100181dc
mov eax, dword [esi]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov dword [ebp - 0x220], eax
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100fcbf3
mov ecx, dword [ebp - 0x220]
add esp, 4
mov ebx, eax
lea ecx, [ecx*2 + 2]
push ecx
push 0
push ebx
call fcn.100fe280
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x1001822a
mov esi, dword [esi]
push dword [ebp - 0x220]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x10018258
test esi, esi
je 0x10018258
mov eax, dword [ebp - 0x218]
push 0
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
push ebx
call fcn.100fc9f3
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x10018269
mov edi, dword [edi]
mov eax, dword [ebp - 0x21c]
push 1
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x21c]
test eax, eax
push ecx
sete bl
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100fc499
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 8]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100fc499
mov esp, ebp
pop ebp
ret