Function at 0x413d6d
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0x33c
mov eax, 0x527f82
call fcn.004fa53d
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 0x413e7f
push ecx
mov ecx, esp
mov dword [ebp - 0x330], esp
push str.CCoreFile::CreateShortcut
call fcn.00401769
mov byte [ebp - 4], 2
push 0x28b
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.0040417b
add esp, 0xc
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], 8
call fcn.00411585
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 0x413e75
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x4142ac
lea eax, [ebp - 0x32c]
push eax
push 0x53d824
push 1
push ebx
push 0x53d844
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, ebx
jl 0x414242
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x338], ebx
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x413ec8
mov ecx, dword [eax]
lea edx, [ebp - 0x338]
push edx
push 0x543b98
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 0x413f9d
push ecx
mov ecx, esp
mov dword [ebp - 0x33c], esp
push str.CCoreFile::CreateShortcut
call fcn.00401769
mov byte [ebp - 4], 0xd
push 0x29b
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.0040417b
add esp, 0xc
mov byte [ebp - 4], 0x11
push edi
mov byte [ebp - 4], 0x13
call fcn.00411585
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.004142b2
jmp 0x414296
mov eax, dword [ebp - 0x32c]
mov ecx, dword [eax]
mov edi, 0x53e9ff
push edi
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
mov dword [ebp - 0x334], eax
jge 0x41408a
push ecx
mov ecx, esp
mov dword [ebp - 0x340], esp
push str.CCoreFile::CreateShortcut
call fcn.00401769
mov byte [ebp - 4], 0x16
push 0x2a2
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.0040417b
add esp, 0xc
mov byte [ebp - 4], 0x1a
push dword [ebp - 0x334]
mov byte [ebp - 4], 0x1c
call fcn.00411585
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.004142b2
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x32c]
cmp eax, ebx
je 0x41407f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x334]
jmp 0x4142ac
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 0x41415a
push ecx
mov ecx, esp
mov dword [ebp - 0x344], esp
push str.CCoreFile::CreateShortcut
call fcn.00401769
mov byte [ebp - 4], 0x1f
push 0x2a9
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.0040417b
add esp, 0xc
mov byte [ebp - 4], 0x23
push edi
mov byte [ebp - 4], 0x25
call fcn.00411585
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.004142b2
jmp 0x414296
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 0x414230
push ecx
mov ecx, esp
mov dword [ebp - 0x344], esp
push str.CCoreFile::CreateShortcut
call fcn.00401769
mov byte [ebp - 4], 0x28
push 0x2b9
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.0040e151
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.0040417b
add esp, 0xc
mov byte [ebp - 4], 0x2c
push edi
mov byte [ebp - 4], 0x2e
call fcn.00411585
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.004142b2
jmp 0x414296
push ecx
mov ecx, esp
mov dword [ebp - 0x344], esp
push str.CCoreFile::CreateShortcut
call fcn.00401769
mov byte [ebp - 4], 0x30
push 0x2be
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.00411585
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x32c]
cmp eax, ebx
je 0x4142aa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
call fcn.004fa5c0
ret