Function at 0x414df4
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0x33c
mov eax, 0x50a0a0
call fcn.004e25f2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x330], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 4], 1
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x11c]
push eax
mov esi, 0x104
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
cmp eax, ebx
jne 0x414f06
push ecx
mov ecx, esp
mov dword [ebp - 0x330], esp
push str.CCoreFile::CreateShortcut
call fcn.00401769
mov byte [ebp - 4], 2
push 0x267
push ecx
mov ecx, esp
mov dword [ebp - 0x338], esp
push str..CoreFile.cpp
call fcn.00401769
mov byte [ebp - 4], 3
push edi
lea ecx, [ebp - 0x334]
call fcn.00401769
mov esi, eax
mov byte [ebp - 4], 4
push str.GetFullPathName_failed_on
lea ecx, [ebp - 0x328]
call fcn.00401769
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x33c], esp
push esi
push eax
push ecx
call fcn.0040403d
add esp, 0xc
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], 8
call fcn.0041129b
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x328]
call fcn.00401898
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x334]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x32c]
cmp eax, ebx
je 0x414efc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x415333
lea eax, [ebp - 0x32c]
push eax
push 0x51bf4c
push 1
push ebx
push 0x51bf6c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, ebx
jl 0x4152c9
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x338], ebx
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x414f4f
mov ecx, dword [eax]
lea edx, [ebp - 0x338]
push edx
push 0x522270
push eax
call dword [ecx]
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x32c]
mov ecx, dword [eax]
lea edx, [ebp - 0x11c]
push edx
push eax
call dword [ecx + 0x50]
mov edi, eax
cmp edi, ebx
jge 0x415024
push ecx
mov ecx, esp
mov dword [ebp - 0x33c], esp
push str.CCoreFile::CreateShortcut
call fcn.00401769
mov byte [ebp - 4], 0xd
push 0x277
push ecx
mov ecx, esp
mov dword [ebp - 0x330], esp
push str..CoreFile.cpp
call fcn.00401769
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x334]
call fcn.00401769
mov esi, eax
mov byte [ebp - 4], 0xf
push str.ipShellLink__SetPath_failed_on
lea ecx, [ebp - 0x328]
call fcn.00401769
mov byte [ebp - 4], 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x340], esp
push esi
push eax
push ecx
call fcn.0040403d
add esp, 0xc
mov byte [ebp - 4], 0x11
push edi
mov byte [ebp - 4], 0x13
call fcn.0041129b
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x328]
call fcn.00401898
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x334]
call fcn.00401898
mov byte [ebp - 4], 1
lea eax, [ebp - 0x338]
push eax
call fcn.00415359
jmp 0x41531d
mov eax, dword [ebp - 0x32c]
mov ecx, dword [eax]
mov edi, 0x51d067
push edi
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
mov dword [ebp - 0x334], eax
jge 0x415111
push ecx
mov ecx, esp
mov dword [ebp - 0x340], esp
push str.CCoreFile::CreateShortcut
call fcn.00401769
mov byte [ebp - 4], 0x16
push 0x27e
push ecx
mov ecx, esp
mov dword [ebp - 0x33c], esp
push str..CoreFile.cpp
call fcn.00401769
mov byte [ebp - 4], 0x17
push edi
lea ecx, [ebp - 0x330]
call fcn.00401769
mov esi, eax
mov byte [ebp - 4], 0x18
push str.ipShellLink__SetDescription_failed_on
lea ecx, [ebp - 0x328]
call fcn.00401769
mov byte [ebp - 4], 0x19
push ecx
mov ecx, esp
mov dword [ebp - 0x344], esp
push esi
push eax
push ecx
call fcn.0040403d
add esp, 0xc
mov byte [ebp - 4], 0x1a
push dword [ebp - 0x334]
mov byte [ebp - 4], 0x1c
call fcn.0041129b
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x328]
call fcn.00401898
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x330]
call fcn.00401898
mov byte [ebp - 4], 1
lea eax, [ebp - 0x338]
push eax
call fcn.00415359
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x32c]
cmp eax, ebx
je 0x415106
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x334]
jmp 0x415333
mov eax, dword [ebp - 0x32c]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x328]
push eax
call dword [ecx + 0x44]
mov edi, eax
cmp edi, ebx
jge 0x4151e1
push ecx
mov ecx, esp
mov dword [ebp - 0x344], esp
push str.CCoreFile::CreateShortcut
call fcn.00401769
mov byte [ebp - 4], 0x1f
push 0x285
push ecx
mov ecx, esp
mov dword [ebp - 0x340], esp
push str..CoreFile.cpp
call fcn.00401769
mov byte [ebp - 4], 0x20
push dword [ebp - 0x328]
lea ecx, [ebp - 0x334]
call fcn.00401769
mov esi, eax
mov byte [ebp - 4], 0x21
push str.ipShellLink__SetIconLocation_failed_on
lea ecx, [ebp - 0x330]
call fcn.00401769
mov byte [ebp - 4], 0x22
push ecx
mov ecx, esp
mov dword [ebp - 0x33c], esp
push esi
push eax
push ecx
call fcn.0040403d
add esp, 0xc
mov byte [ebp - 4], 0x23
push edi
mov byte [ebp - 4], 0x25
call fcn.0041129b
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x330]
call fcn.00401898
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x334]
call fcn.00401898
mov byte [ebp - 4], 1
lea eax, [ebp - 0x338]
push eax
call fcn.00415359
jmp 0x41531d
push esi
lea eax, [ebp - 0x324]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x330]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x338]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x324]
push edx
push eax
call dword [ecx + 0x18]
mov edi, eax
cmp edi, ebx
jge 0x4152b7
push ecx
mov ecx, esp
mov dword [ebp - 0x344], esp
push str.CCoreFile::CreateShortcut
call fcn.00401769
mov byte [ebp - 4], 0x28
push 0x295
push ecx
mov ecx, esp
mov dword [ebp - 0x340], esp
push str..CoreFile.cpp
call fcn.00401769
mov byte [ebp - 4], 0x29
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x328]
call fcn.0040de52
mov esi, eax
mov byte [ebp - 4], 0x2a
push str.ipPersistFile__Save_failed_on
lea ecx, [ebp - 0x330]
call fcn.00401769
mov byte [ebp - 4], 0x2b
push ecx
mov ecx, esp
mov dword [ebp - 0x33c], esp
push esi
push eax
push ecx
call fcn.0040403d
add esp, 0xc
mov byte [ebp - 4], 0x2c
push edi
mov byte [ebp - 4], 0x2e
call fcn.0041129b
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x330]
call fcn.00401898
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x328]
call fcn.00401898
mov byte [ebp - 4], 1
lea eax, [ebp - 0x338]
push eax
call fcn.00415359
jmp 0x41531d
push ecx
mov ecx, esp
mov dword [ebp - 0x344], esp
push str.CCoreFile::CreateShortcut
call fcn.00401769
mov byte [ebp - 4], 0x30
push 0x29a
push ecx
mov ecx, esp
mov dword [ebp - 0x340], esp
push str..CoreFile.cpp
call fcn.00401769
mov byte [ebp - 4], 0x31
push ecx
mov ecx, esp
mov dword [ebp - 0x33c], esp
push str.CoCreateInstance_failed.
call fcn.00401769
mov byte [ebp - 4], 0x32
push edi
mov byte [ebp - 4], 1
call fcn.0041129b
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x32c]
cmp eax, ebx
je 0x415331
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
call fcn.004e2675
ret