Function at 0x427ee8
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0x33c
mov eax, 0x5035e9
call fcn.004df416
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 0x427ffa
push ecx
mov ecx, esp
mov dword [ebp - 0x330], esp
push str.CreateShortcut
call fcn.004014b0
mov byte [ebp - 4], 2
push 0xbf
push ecx
mov ecx, esp
mov dword [ebp - 0x338], esp
push str..OfferDesktopIcon.cpp
call fcn.004014b0
mov byte [ebp - 4], 3
push edi
lea ecx, [ebp - 0x334]
call fcn.004014b0
mov esi, eax
mov byte [ebp - 4], 4
push str.GetFullPathName_failed_on
lea ecx, [ebp - 0x328]
call fcn.004014b0
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x33c], esp
push esi
push eax
push ecx
call fcn.0040350d
add esp, 0xc
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], 8
call fcn.00406096
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x328]
call fcn.004010f8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x334]
call fcn.004010f8
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x32c]
cmp eax, ebx
je 0x427ff0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x428427
lea eax, [ebp - 0x32c]
push eax
push 0x5aec20
push 1
push ebx
push 0x5aec30
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, ebx
jl 0x4283bd
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x338], ebx
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x428043
mov ecx, dword [eax]
lea edx, [ebp - 0x338]
push edx
push 0x5b5600
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 0x428118
push ecx
mov ecx, esp
mov dword [ebp - 0x33c], esp
push str.CreateShortcut
call fcn.004014b0
mov byte [ebp - 4], 0xd
push 0xcf
push ecx
mov ecx, esp
mov dword [ebp - 0x330], esp
push str..OfferDesktopIcon.cpp
call fcn.004014b0
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x334]
call fcn.004014b0
mov esi, eax
mov byte [ebp - 4], 0xf
push str.ipShellLink__SetPath_failed_on
lea ecx, [ebp - 0x328]
call fcn.004014b0
mov byte [ebp - 4], 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x340], esp
push esi
push eax
push ecx
call fcn.0040350d
add esp, 0xc
mov byte [ebp - 4], 0x11
push edi
mov byte [ebp - 4], 0x13
call fcn.00406096
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x328]
call fcn.004010f8
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x334]
call fcn.004010f8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x338]
push eax
call fcn.0042842d
jmp 0x428411
mov eax, dword [ebp - 0x32c]
mov ecx, dword [eax]
mov edi, 0x5af400
push edi
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
mov dword [ebp - 0x334], eax
jge 0x428205
push ecx
mov ecx, esp
mov dword [ebp - 0x340], esp
push str.CreateShortcut
call fcn.004014b0
mov byte [ebp - 4], 0x16
push 0xd6
push ecx
mov ecx, esp
mov dword [ebp - 0x33c], esp
push str..OfferDesktopIcon.cpp
call fcn.004014b0
mov byte [ebp - 4], 0x17
push edi
lea ecx, [ebp - 0x330]
call fcn.004014b0
mov esi, eax
mov byte [ebp - 4], 0x18
push str.ipShellLink__SetDescription_failed_on
lea ecx, [ebp - 0x328]
call fcn.004014b0
mov byte [ebp - 4], 0x19
push ecx
mov ecx, esp
mov dword [ebp - 0x344], esp
push esi
push eax
push ecx
call fcn.0040350d
add esp, 0xc
mov byte [ebp - 4], 0x1a
push dword [ebp - 0x334]
mov byte [ebp - 4], 0x1c
call fcn.00406096
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x328]
call fcn.004010f8
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x330]
call fcn.004010f8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x338]
push eax
call fcn.0042842d
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x32c]
cmp eax, ebx
je 0x4281fa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x334]
jmp 0x428427
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 0x4282d5
push ecx
mov ecx, esp
mov dword [ebp - 0x344], esp
push str.CreateShortcut
call fcn.004014b0
mov byte [ebp - 4], 0x1f
push 0xdd
push ecx
mov ecx, esp
mov dword [ebp - 0x340], esp
push str..OfferDesktopIcon.cpp
call fcn.004014b0
mov byte [ebp - 4], 0x20
push dword [ebp - 0x328]
lea ecx, [ebp - 0x334]
call fcn.004014b0
mov esi, eax
mov byte [ebp - 4], 0x21
push str.ipShellLink__SetIconLocation_failed_on
lea ecx, [ebp - 0x330]
call fcn.004014b0
mov byte [ebp - 4], 0x22
push ecx
mov ecx, esp
mov dword [ebp - 0x33c], esp
push esi
push eax
push ecx
call fcn.0040350d
add esp, 0xc
mov byte [ebp - 4], 0x23
push edi
mov byte [ebp - 4], 0x25
call fcn.00406096
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x330]
call fcn.004010f8
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x334]
call fcn.004010f8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x338]
push eax
call fcn.0042842d
jmp 0x428411
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 0x4283ab
push ecx
mov ecx, esp
mov dword [ebp - 0x344], esp
push str.CreateShortcut
call fcn.004014b0
mov byte [ebp - 4], 0x28
push 0xed
push ecx
mov ecx, esp
mov dword [ebp - 0x340], esp
push str..OfferDesktopIcon.cpp
call fcn.004014b0
mov byte [ebp - 4], 0x29
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x328]
call fcn.00428481
mov esi, eax
mov byte [ebp - 4], 0x2a
push str.ipPersistFile__Save_failed_on
lea ecx, [ebp - 0x330]
call fcn.004014b0
mov byte [ebp - 4], 0x2b
push ecx
mov ecx, esp
mov dword [ebp - 0x33c], esp
push esi
push eax
push ecx
call fcn.0040350d
add esp, 0xc
mov byte [ebp - 4], 0x2c
push edi
mov byte [ebp - 4], 0x2e
call fcn.00406096
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x330]
call fcn.004010f8
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x328]
call fcn.004010f8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x338]
push eax
call fcn.0042842d
jmp 0x428411
push ecx
mov ecx, esp
mov dword [ebp - 0x344], esp
push str.CreateShortcut
call fcn.004014b0
mov byte [ebp - 4], 0x30
push 0xf2
push ecx
mov ecx, esp
mov dword [ebp - 0x340], esp
push str..OfferDesktopIcon.cpp
call fcn.004014b0
mov byte [ebp - 4], 0x31
push ecx
mov ecx, esp
mov dword [ebp - 0x33c], esp
push str.CoCreateInstance_failed.
call fcn.004014b0
mov byte [ebp - 4], 0x32
push edi
mov byte [ebp - 4], 1
call fcn.00406096
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x32c]
cmp eax, ebx
je 0x428425
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
call fcn.004df460
ret