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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe58
mov eax, dword [0x4cd724]
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.004677c0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x820], cx
push 0x1fe
push 0
lea edx, [ebp - 0x81e]
push edx
call fcn.004677c0
add esp, 0xc
xor eax, eax
mov word [ebp - 0xc40], ax
push 0x1fe
push 0
lea ecx, [ebp - 0xc3e]
push ecx
call fcn.004677c0
add esp, 0xc
xor edx, edx
mov word [ebp - 0xa30], dx
push 0x206
push 0
lea eax, [ebp - 0xa2e]
push eax
call fcn.004677c0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x620], cx
push 0x206
push 0
lea edx, [ebp - 0x61e]
push edx
call fcn.004677c0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004677c0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.00467f58
add esp, 4
test eax, eax
jbe 0x4542d1
cmp dword [ebp + 0x10], 0
je 0x4542d1
mov eax, dword [ebp + 0x10]
push eax
call fcn.00467f58
add esp, 4
test eax, eax
jbe 0x4542d1
cmp dword [ebp + 0x14], 0
je 0x4542d1
cmp dword [ebp + 0xc], 0
je 0x4542d1
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00467f58
add esp, 4
test eax, eax
jbe 0x4542d1
cmp dword [ebp + 0x18], 0
je 0x4542d1
cmp dword [ebp + 0x1c], 0
jl 0x4542d1
cmp dword [ebp + 0x20], 0
je 0x4542d1
cmp dword [ebp + 0x24], 0
je 0x4542d1
cmp dword [ebp + 0x28], 0
jl 0x4542d1
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x453efa
mov eax, dword [ebp + 0x10]
push eax
push 0x4bbd80
call fcn.00456a00
add esp, 8
xor eax, eax
jmp 0x4542eb
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0xc44], eax
lea ecx, [ebp - 0xa34]
push ecx
push 0x4c00f4
push 1
push 0
push 0x4c0144
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc44], eax
cmp dword [ebp - 0xc44], 0
jl 0x4542cb
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.00467f58
add esp, 4
test eax, eax
jbe 0x453fa0
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 0x453fc4
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.0046a10d
add esp, 0xc
lea ecx, [ebp - 0xa30]
push ecx
call fcn.00467f58
add esp, 4
test eax, eax
jbe 0x454010
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.00467f58
add esp, 4
test eax, eax
jbe 0x454048
cmp dword [ebp + 0x28], 0
jl 0x454048
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 0x4c0164
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 0x4542b7
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.0046b0fd
add esp, 0x24
push 4
push 0x4bbdc8
lea eax, [ebp - 0x820]
push eax
call fcn.0046a867
add esp, 0xc
test eax, eax
je 0x4540e6
push str..lnk
push 0x100
lea ecx, [ebp - 0x820]
push ecx
call fcn.00467c81
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x104
lea eax, [ebp - 0x620]
push eax
call fcn.0046a10d
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 0x45413f
lea eax, [ebp - 0x620]
push eax
push str.CreateShortCut___s_doesnt_exist_
call fcn.00456a00
add esp, 8
lea ecx, [ebp - 0x620]
push ecx
call fcn.0040d2e0
add esp, 4
lea edx, [ebp - 0x820]
push edx
lea eax, [ebp - 0x620]
push eax
push 0x4bbe28
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.00467d96
add esp, 0x14
cmp dword [ebp + 0x2c], 0
je 0x454237
lea edx, [ebp - 0xe54]
push edx
push 0x4c0124
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 0x454237
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 0x454237
mov eax, dword [ebp - 0xe58]
and eax, 0x2000
jne 0x454237
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.00456e30
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.0046a10d
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.00456a00
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 0x4542b7
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.00456a00
add esp, 8
mov eax, dword [ebp - 0xa3c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret