Function at 0x10017e10
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x10193008]
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 0x10145a80
push 1
push 0
push 0x10145ab0
mov edi, edx
mov dword [ebp - 0x218], 0
mov esi, ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10018034
mov ecx, dword [ebp - 0x218]
test ecx, ecx
je 0x10018034
lea edx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
mov eax, dword [ecx]
push edx
push 0x10145aa0
push ecx
call dword [eax]
test eax, eax
js 0x10018028
cmp dword [ebp - 0x21c], 0
je 0x10018028
mov ecx, edi
call fcn.1005e430
test al, al
je 0x10017ebc
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x10017ead
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.100fdf90
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10017edc
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 0x10017f06
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 0x10157c24
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [ebx + 0x10], 0
je 0x10017f52
cmp dword [ebx + 0x14], 8
jb 0x10017f45
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 0x10017f5c
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.100fc903
mov ecx, dword [ebp - 0x220]
add esp, 4
mov ebx, eax
lea ecx, [ecx*2 + 2]
push ecx
push 0
push ebx
call fcn.100fdf90
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x10017faa
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 0x10017fd8
test esi, esi
je 0x10017fd8
mov eax, dword [ebp - 0x218]
push 0
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
push ebx
call fcn.100fc703
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x10017fe9
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.100fc1a9
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.100fc1a9
mov esp, ebp
pop ebp
ret