Function at 0x42e340
Capabilities:
Create shortcut via ishelllink
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f4c7
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x55b4e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x25c], ecx
mov edi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], eax
mov word [ebp - 0x234], ax
push 0x206
mov byte [ebp - 4], 1
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.004d8de0
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x42e41f
push str.install_1_of_create_shortcut_failed_
push 0x292
push str.helper::disk::createShortcut
call fcn.0040c6c0
add esp, 0xc
jmp 0x42e60d
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x42e452
push str.install_2_of_create_shortcut_failed_
push 0x298
push str.helper::disk::createShortcut
call fcn.0040c6c0
add esp, 0xc
jmp 0x42e60d
lea eax, [ebp - 0x250]
push eax
push 0x521240
push 1
push 0
push 0x521250
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x42e48d
push str.install_3_of_create_shortcut_failed_
push 0x29f
push str.helper::disk::createShortcut
call fcn.0040c6c0
add esp, 0xc
jmp 0x42e60d
mov eax, dword [ebp - 0x250]
lea edx, [ebp - 0x254]
push edx
push 0x521270
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x42e4d0
push str.install_4_of_create_shortcut_failed_
push 0x2a6
push str.helper::disk::createShortcut
call fcn.0040c6c0
mov eax, dword [ebp - 0x250]
add esp, 0xc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42e60d
cmp dword [edi + 0x14], 8
jb 0x42e4d8
mov edi, dword [edi]
mov eax, dword [ebp - 0x250]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp dword [ebx + 0x14], 8
jb 0x42e4ed
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x250]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp dword [esi + 0x10], 0
je 0x42e515
cmp dword [esi + 0x14], 8
jb 0x42e508
mov esi, dword [esi]
mov eax, dword [ebp - 0x250]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [ebp - 0x260]
cmp dword [edx + 0x14], 8
jb 0x42e523
mov edx, dword [edx]
mov eax, dword [ebp - 0x250]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x290]
call fcn.00407110
push 0x538370
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a8]
call fcn.00408df0
push dword [ebp - 0x25c]
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c0]
call fcn.00408e90
push str..lnk
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x278]
call fcn.00408df0
add esp, 0xc
lea ecx, [ebp - 0x234]
push eax
call fcn.004086a0
lea ecx, [ebp - 0x278]
call fcn.00407880
lea ecx, [ebp - 0x2c0]
call fcn.00407880
lea ecx, [ebp - 0x2a8]
call fcn.00407880
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 1
call fcn.00407880
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
push 2
cmovae edx, dword [ebp - 0x234]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x254]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x258]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x220], 8
jb 0x42e624
push dword [ebp - 0x234]
call fcn.004b6db0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cfd33
mov esp, ebp
pop ebp
ret