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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe58
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe50], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0xe54], eax
mov eax, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0xe3c], eax
mov eax, dword [ebp + 0x24]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xe40], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xc], ax
mov dword [ebp - 0xa], eax
mov word [ebp - 0xe34], ax
lea eax, [ebp - 0xe32]
push eax
mov dword [ebp - 0xe58], esi
mov dword [ebp - 0xe48], ebx
mov dword [ebp - 0xe4c], 0
call fcn.0046fe20
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0046fe20
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0xa24], ax
lea eax, [ebp - 0xa22]
push eax
call fcn.0046fe20
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.0046fe20
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.0046fe20
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call fcn.0046fe20
mov ecx, dword [ebp - 0xe50]
add esp, 0x48
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466b20
sub ecx, edx
sar ecx, 1
je 0x466ee6
test edi, edi
je 0x466ee6
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466b42
sub ecx, edx
sar ecx, 1
je 0x466ee6
test esi, esi
je 0x466ee6
mov eax, dword [ebp - 0xe54]
test eax, eax
je 0x466ee6
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466b72
sub ecx, edx
sar ecx, 1
je 0x466ee6
test ebx, ebx
je 0x466ee6
mov esi, dword [ebp + 0x1c]
test esi, esi
js 0x466ee6
cmp dword [ebp - 0xe3c], 0
je 0x466ee6
cmp dword [ebp - 0xe40], 0
je 0x466ee6
mov ebx, dword [ebp + 0x28]
test ebx, ebx
js 0x466ee6
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x466beb
push edi
push str.CreateShortCut___s_doesnt_exist_
call fcn.004699e0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0xe38]
push eax
push 0x49f9b4
push 1
push 0
push 0x49fa04
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x466ee0
mov eax, dword [ebp - 0xe38]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0xe38]
push dword [ebp - 0xe58]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edi, dword [ebp - 0xe48]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466c40
sub ecx, edx
sar ecx, 1
je 0x466c5e
mov eax, dword [ebp - 0xe38]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test esi, esi
jle 0x466c6f
mov eax, dword [ebp - 0xe38]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
push dword [ebp - 0xe3c]
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.00470452
lea ecx, [ebp - 0x61c]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466c92
sub ecx, edx
sar ecx, 1
je 0x466cb6
mov eax, dword [ebp - 0xe38]
lea edx, [ebp - 0x61c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov esi, dword [ebp - 0xe40]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466cc1
sub ecx, edx
sar ecx, 1
je 0x466ce0
mov eax, dword [ebp - 0xe38]
push ebx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0xe38]
lea edx, [ebp - 0xe44]
push edx
push 0x49fa24
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x466ed4
push 0x100
lea eax, [ebp - 0xa24]
push eax
push 0x100
lea eax, [ebp - 0x414]
push eax
push 0x104
lea eax, [ebp - 0xe34]
push eax
push 3
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xe54]
push eax
call fcn.004735f6
push 4
lea eax, [ebp - 0x414]
push str..LNK
push eax
call fcn.00470862
add esp, 0x30
test eax, eax
je 0x466d68
push str..lnk
lea eax, [ebp - 0x414]
push 0x100
push eax
call fcn.0046ef44
add esp, 0xc
push dword [ebp - 0xe50]
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.00470452
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x466dc0
lea eax, [ebp - 0x214]
push eax
push str.CreateShortCut___s_doesnt_exist_
call fcn.004699e0
lea eax, [ebp - 0x214]
push eax
call fcn.0043b210
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x214]
push eax
push str._s_s
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.0046f31e
add esp, 0x14
cmp dword [ebp + 0x2c], 0
je 0x466e6f
mov eax, dword [ebp - 0xe38]
lea edx, [ebp - 0xe3c]
push edx
push 0x49f9e4
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jne 0x466e6f
mov dword [ebp - 0xe40], eax
lea edx, [ebp - 0xe40]
mov eax, dword [ebp - 0xe3c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
jne 0x466e6f
mov edx, dword [ebp - 0xe40]
test edx, 0x2000
jne 0x466e6f
mov eax, dword [ebp - 0xe3c]
or edx, 0x2000
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0xe40]
or eax, 0x2000
push eax
push str.SetFlags___d
call fcn.00469d40
mov eax, dword [ebp - 0xe3c]
add esp, 8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xc2c]
push 0x104
push eax
call fcn.00470452
mov eax, dword [ebp - 0xe44]
lea edx, [ebp - 0xc2c]
add esp, 0xc
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
lea eax, [ebp - 0xc2c]
push esi
push eax
push str.CreateShortCut__PersistFile__Save__s____d
call fcn.004699e0
mov eax, dword [ebp - 0xe44]
add esp, 0xc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, 1
test esi, esi
cmove eax, ecx
mov dword [ebp - 0xe4c], eax
mov eax, dword [ebp - 0xe38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [ebp - 0xe4c]
push esi
push str.CreateShortCut__End__d_
call fcn.004699e0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046f33a
mov esp, ebp
pop ebp
ret