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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe58
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa3c], 0
xor eax, eax
mov word [ebp - 0x828], ax
xor ecx, ecx
mov dword [ebp - 0x826], ecx
xor edx, edx
mov word [ebp - 0x418], dx
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.00468010
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x820], cx
push 0x1fe
push 0
lea edx, [ebp - 0x81e]
push edx
call fcn.00468010
add esp, 0xc
xor eax, eax
mov word [ebp - 0xc40], ax
push 0x1fe
push 0
lea ecx, [ebp - 0xc3e]
push ecx
call fcn.00468010
add esp, 0xc
xor edx, edx
mov word [ebp - 0xa30], dx
push 0x206
push 0
lea eax, [ebp - 0xa2e]
push eax
call fcn.00468010
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x620], cx
push 0x206
push 0
lea edx, [ebp - 0x61e]
push edx
call fcn.00468010
add esp, 0xc
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00468010
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.004687a8
add esp, 4
test eax, eax
jbe 0x454b21
cmp dword [ebp + 0x10], 0
je 0x454b21
mov eax, dword [ebp + 0x10]
push eax
call fcn.004687a8
add esp, 4
test eax, eax
jbe 0x454b21
cmp dword [ebp + 0x14], 0
je 0x454b21
cmp dword [ebp + 0xc], 0
je 0x454b21
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004687a8
add esp, 4
test eax, eax
jbe 0x454b21
cmp dword [ebp + 0x18], 0
je 0x454b21
cmp dword [ebp + 0x1c], 0
jl 0x454b21
cmp dword [ebp + 0x20], 0
je 0x454b21
cmp dword [ebp + 0x24], 0
je 0x454b21
cmp dword [ebp + 0x28], 0
jl 0x454b21
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45474a
mov eax, dword [ebp + 0x10]
push eax
push 0x4bd048
call fcn.00457270
add esp, 8
xor eax, eax
jmp 0x454b3b
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0xc44], eax
lea ecx, [ebp - 0xa34]
push ecx
push 0x4c13c4
push 1
push 0
push 0x4c1414
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc44], eax
cmp dword [ebp - 0xc44], 0
jl 0x454b1b
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xa34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xa34]
push edx
mov eax, dword [ecx + 0x50]
call eax
mov dword [ebp - 0xc44], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0xa34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa34]
push ecx
mov edx, dword [eax + 0x2c]
call edx
mov dword [ebp - 0xc44], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.004687a8
add esp, 4
test eax, eax
jbe 0x4547f0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0xa34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa34]
push ecx
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp - 0xc44], eax
cmp dword [ebp + 0x1c], 0
jle 0x454814
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 0xa34]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xa34]
push eax
mov ecx, dword [edx + 0x3c]
call ecx
mov dword [ebp - 0xc44], eax
mov edx, dword [ebp + 0x20]
push edx
push 0x104
lea eax, [ebp - 0xa30]
push eax
call fcn.0046a95d
add esp, 0xc
lea ecx, [ebp - 0xa30]
push ecx
call fcn.004687a8
add esp, 4
test eax, eax
jbe 0x454860
lea edx, [ebp - 0xa30]
push edx
mov eax, dword [ebp - 0xa34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xa34]
push edx
mov eax, dword [ecx + 0x24]
call eax
mov dword [ebp - 0xc44], eax
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.004687a8
add esp, 4
test eax, eax
jbe 0x454898
cmp dword [ebp + 0x28], 0
jl 0x454898
mov edx, dword [ebp + 0x28]
push edx
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp - 0xa34]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xa34]
push eax
mov ecx, dword [edx + 0x44]
call ecx
mov dword [ebp - 0xc44], eax
lea edx, [ebp - 0xa38]
push edx
push 0x4c1434
mov eax, dword [ebp - 0xa34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xa34]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 0xc44], eax
cmp dword [ebp - 0xc44], 0
jl 0x454b07
push 0x100
lea ecx, [ebp - 0xc40]
push ecx
push 0x100
lea edx, [ebp - 0x820]
push edx
push 0x104
lea eax, [ebp - 0x418]
push eax
push 3
lea ecx, [ebp - 0x828]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0046b94d
add esp, 0x24
push 4
push 0x4bd090
lea eax, [ebp - 0x820]
push eax
call fcn.0046b0b7
add esp, 0xc
test eax, eax
je 0x454936
push str..lnk
push 0x100
lea ecx, [ebp - 0x820]
push ecx
call fcn.004684d1
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x104
lea eax, [ebp - 0x620]
push eax
call fcn.0046a95d
add esp, 0xc
lea ecx, [ebp - 0x620]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea edx, [ebp - 0x620]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45498f
lea eax, [ebp - 0x620]
push eax
push str.CreateShortCut___s_doesnt_exist_
call fcn.00457270
add esp, 8
lea ecx, [ebp - 0x620]
push ecx
call fcn.0040d340
add esp, 4
lea edx, [ebp - 0x820]
push edx
lea eax, [ebp - 0x620]
push eax
push 0x4bd0f0
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.004685e6
add esp, 0x14
cmp dword [ebp + 0x2c], 0
je 0x454a87
lea edx, [ebp - 0xe54]
push edx
push 0x4c13f4
mov eax, dword [ebp - 0xa34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xa34]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 0xc44], eax
cmp dword [ebp - 0xc44], 0
jne 0x454a87
mov dword [ebp - 0xe58], 0
lea ecx, [ebp - 0xe58]
push ecx
mov edx, dword [ebp - 0xe54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xe54]
push ecx
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0xc44], eax
cmp dword [ebp - 0xc44], 0
jne 0x454a87
mov eax, dword [ebp - 0xe58]
and eax, 0x2000
jne 0x454a87
mov ecx, dword [ebp - 0xe58]
or ecx, 0x2000
push ecx
mov edx, dword [ebp - 0xe54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xe54]
push ecx
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp - 0xc44], eax
mov eax, dword [ebp - 0xe58]
or eax, 0x2000
push eax
push str.SetFlags___d
call fcn.004576a0
add esp, 8
mov ecx, dword [ebp - 0xe54]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xe54]
push eax
mov ecx, dword [edx + 8]
call ecx
lea edx, [ebp - 0x210]
push edx
push 0x104
lea eax, [ebp - 0xe50]
push eax
call fcn.0046a95d
add esp, 0xc
push 1
lea ecx, [ebp - 0xe50]
push ecx
mov edx, dword [ebp - 0xa38]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa38]
push ecx
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0xc44], eax
mov eax, dword [ebp - 0xc44]
push eax
lea ecx, [ebp - 0xe50]
push ecx
push str.CreateShortCut__PersistFile__Save__s____d
call fcn.00457270
add esp, 0xc
mov edx, dword [ebp - 0xa38]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa38]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0xc44], 0
jne 0x454b07
mov dword [ebp - 0xa3c], 1
mov eax, dword [ebp - 0xa34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xa34]
push edx
mov eax, dword [ecx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xa3c]
push ecx
push str.CreateShortCut__End__d_
call fcn.00457270
add esp, 8
mov eax, dword [ebp - 0xa3c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467fff
mov esp, ebp
pop ebp
ret