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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe58
mov eax, dword [0x4af6f0]
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.0046f7e0
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0046f7e0
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0xa24], ax
lea eax, [ebp - 0xa22]
push eax
call fcn.0046f7e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.0046f7e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.0046f7e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call fcn.0046f7e0
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 0x4664d0
sub ecx, edx
sar ecx, 1
je 0x466896
test edi, edi
je 0x466896
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4664f2
sub ecx, edx
sar ecx, 1
je 0x466896
test esi, esi
je 0x466896
mov eax, dword [ebp - 0xe54]
test eax, eax
je 0x466896
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466522
sub ecx, edx
sar ecx, 1
je 0x466896
test ebx, ebx
je 0x466896
mov esi, dword [ebp + 0x1c]
test esi, esi
js 0x466896
cmp dword [ebp - 0xe3c], 0
je 0x466896
cmp dword [ebp - 0xe40], 0
je 0x466896
mov ebx, dword [ebp + 0x28]
test ebx, ebx
js 0x466896
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46659b
push edi
push str.CreateShortCut___s_doesnt_exist_
call fcn.00469390
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0xe38]
push eax
push 0x49e724
push 1
push 0
push 0x49e774
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x466890
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 0x4665f0
sub ecx, edx
sar ecx, 1
je 0x46660e
mov eax, dword [ebp - 0xe38]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test esi, esi
jle 0x46661f
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.0046fe12
lea ecx, [ebp - 0x61c]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466642
sub ecx, edx
sar ecx, 1
je 0x466666
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 0x466671
sub ecx, edx
sar ecx, 1
je 0x466690
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 0x49e794
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x466884
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.00472fb6
push 4
lea eax, [ebp - 0x414]
push str..LNK
push eax
call fcn.00470222
add esp, 0x30
test eax, eax
je 0x466718
push str..lnk
lea eax, [ebp - 0x414]
push 0x100
push eax
call fcn.0046e904
add esp, 0xc
push dword [ebp - 0xe50]
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0046fe12
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 0x466770
lea eax, [ebp - 0x214]
push eax
push str.CreateShortCut___s_doesnt_exist_
call fcn.00469390
lea eax, [ebp - 0x214]
push eax
call fcn.0043b250
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.0046ecde
add esp, 0x14
cmp dword [ebp + 0x2c], 0
je 0x46681f
mov eax, dword [ebp - 0xe38]
lea edx, [ebp - 0xe3c]
push edx
push 0x49e754
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jne 0x46681f
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 0x46681f
mov edx, dword [ebp - 0xe40]
test edx, 0x2000
jne 0x46681f
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.004696f0
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.0046fe12
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.00469390
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.00469390
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret