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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10085772
mov eax, dword fs:[0]
push eax
sub esp, 0xa5c
mov eax, dword [0x100ad708]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa30], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xa38], ecx
mov ecx, dword [ebp + 0x18]
push eax
mov dword [ebp - 0xa2c], eax
mov dword [ebp - 0xa34], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100177d8
mov dword [ebp - 0xa20], 0
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0xa28], esi
lea eax, [ebp - 0xa24]
mov byte [ebp - 4], 1
push eax
push 0x1008d8c0
push 0x17
push esi
push 0x1008dbe0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
js 0x10017734
push dword [ebp - 0xa24]
call dword [sym.imp.ole32.dll_OleRun]
mov ebx, eax
test ebx, ebx
js 0x1001771c
mov eax, dword [ebp - 0xa24]
lea edx, [ebp - 0xa20]
push edx
push 0x1008d8b0
push eax
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
mov eax, dword [ebp - 0xa24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, ebx
js 0x10017734
mov edi, dword [ebp - 0xa20]
jmp 0x10017744
xor edi, edi
mov dword [ebp - 0xa20], edi
test ebx, ebx
js 0x100177d8
mov byte [ebp - 4], 2
test edi, edi
je 0x100177e5
mov eax, dword [edi]
push edi
call dword [eax + 4]
test edi, edi
je 0x100177df
lea ecx, [ebp - 0xa24]
mov dword [ebp - 0xa24], 0
mov eax, dword [edi]
push ecx
push 0x1008d8a0
push edi
call dword [eax]
mov ecx, dword [edi]
mov ebx, eax
xor esi, esi
test ebx, ebx
push edi
cmovns esi, dword [ebp - 0xa24]
mov dword [ebp - 0xa28], esi
call dword [ecx + 8]
test ebx, ebx
jns 0x100177df
cmp ebx, 0x80004002
jne 0x10017a95
jmp 0x100177df
xor eax, eax
jmp 0x10017a79
mov edi, dword [ebp - 0xa20]
mov dword [ebp - 4], 1
test esi, esi
jne 0x10017808
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x100177d8
mov eax, dword [edi]
push edi
call dword [eax + 8]
xor eax, eax
jmp 0x10017a79
test edi, edi
je 0x10017a9b
mov eax, dword [edi]
mov ebx, dword [ebp - 0xa2c]
push ebx
push edi
call dword [eax + 0x50]
test eax, eax
jns 0x10017849
mov eax, dword [esi]
push esi
mov byte [ebp - 4], 0
call dword [eax + 8]
mov eax, dword [ebp - 0xa20]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x100177d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x10017a79
mov edx, dword [ebp - 0xa30]
test edx, edx
je 0x1001786c
mov eax, dword [ebp - 0xa20]
test eax, eax
je 0x10017aa5
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
test eax, eax
js 0x10017821
mov eax, dword [ebp - 0xa20]
test eax, eax
je 0x10017aaf
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x3c]
test eax, eax
js 0x10017821
push 0x800
lea eax, [ebp - 0xa1c]
push 0
push eax
call fcn.10059fd0
push 0x400
push ebx
lea eax, [ebp - 0xa1c]
push 0x400
push eax
call fcn.10060e17
add esp, 0x1c
lea eax, [ebp - 0xa1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edi, dword [ebp + 0x1c]
test edi, edi
js 0x10017911
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10059fd0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push dword [ebp - 0xa34]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov eax, dword [ebp - 0xa20]
test eax, eax
je 0x10017ab9
mov ecx, dword [eax]
lea edx, [ebp - 0x21c]
push edi
push edx
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0xa20]
test eax, eax
je 0x10017ac3
mov ecx, dword [eax]
lea edx, [ebp - 0xa1c]
push edx
push eax
call dword [ecx + 0x24]
test eax, eax
mov eax, dword [esi]
js 0x10017823
mov edi, dword [ebp - 0xa38]
push 1
push edi
push esi
call dword [eax + 0x18]
test eax, eax
js 0x10017821
call fcn.1002d0c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10017a53
push 0x82
push 0x1008d8d0
lea ecx, [ebp - 0xa68]
mov dword [ebp - 0xa58], eax
mov dword [ebp - 0xa54], 0xf
mov byte [ebp - 0xa68], al
call fcn.1000f590
push 3
push 0x1008cdb8
lea ecx, [ebp - 0xa50]
mov byte [ebp - 4], 4
mov dword [ebp - 0xa40], 0
mov dword [ebp - 0xa3c], 0xf
mov byte [ebp - 0xa50], 0
call fcn.1000f590
mov byte [ebp - 4], 5
call fcn.1002d0c0
push edi
push dword [ebp - 0xa2c]
mov ebx, eax
lea eax, [ebp - 0xa24]
push str.Create_link_from__s_to__s_success
push 2
push eax
call fcn.1002cf80
add esp, 0x14
push 0x104
lea eax, [ebp - 0xa68]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xa50]
push eax
lea ecx, [ebp - 0xac]
call fcn.10006090
mov edi, dword [ebx]
lea ecx, [ebp - 0xa24]
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.100043c0
push eax
mov ecx, ebx
call dword [edi + 0x1c]
lea ecx, [ebp - 0xac]
call fcn.100071f0
lea ecx, [ebp - 0xa24]
call fcn.10006960
lea ecx, [ebp - 0xa50]
call fcn.10006a30
lea ecx, [ebp - 0xa68]
call fcn.10006a30
mov eax, dword [esi]
push esi
mov byte [ebp - 4], 0
call dword [eax + 8]
mov eax, dword [ebp - 0xa20]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x10017a74
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002ef19
mov esp, ebp
pop ebp
ret
push ebx
call fcn.1003a2c0
push 0x80004003
call fcn.1003a2c0
push 0x80004003
call fcn.1003a2c0
push 0x80004003
call fcn.1003a2c0
push 0x80004003
call fcn.1003a2c0
push 0x80004003
call fcn.1003a2c0
int3