Function at 0x1001a980
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1019d008]
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 0x1014da80
push 1
push 0
push 0x1014dab0
mov edi, edx
mov dword [ebp - 0x218], 0
mov esi, ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1001aba4
mov ecx, dword [ebp - 0x218]
test ecx, ecx
je 0x1001aba4
lea edx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
mov eax, dword [ecx]
push edx
push 0x1014daa0
push ecx
call dword [eax]
test eax, eax
js 0x1001ab98
cmp dword [ebp - 0x21c], 0
je 0x1001ab98
mov ecx, edi
call fcn.100621b0
test al, al
je 0x1001aa2c
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x1001aa1d
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.10105570
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1001aa4c
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 0x1001aa76
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 0x101608e4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [ebx + 0x10], 0
je 0x1001aac2
cmp dword [ebx + 0x14], 8
jb 0x1001aab5
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 0x1001aacc
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.10103ee3
mov ecx, dword [ebp - 0x220]
add esp, 4
mov ebx, eax
lea ecx, [ecx*2 + 2]
push ecx
push 0
push ebx
call fcn.10105570
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x1001ab1a
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 0x1001ab48
test esi, esi
je 0x1001ab48
mov eax, dword [ebp - 0x218]
push 0
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
push ebx
call fcn.10103ce3
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x1001ab59
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.10103789
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.10103789
mov esp, ebp
pop ebp
ret