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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cda47
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x50d488]
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.0049e980
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x42d93f
push str.install_1_of_create_shortcut_failed_
push 0x292
push str.helper::disk::createShortcut
call fcn.0040c6c0
add esp, 0xc
jmp 0x42db2d
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x42d972
push str.install_2_of_create_shortcut_failed_
push 0x298
push str.helper::disk::createShortcut
call fcn.0040c6c0
add esp, 0xc
jmp 0x42db2d
lea eax, [ebp - 0x250]
push eax
push 0x4d47d8
push 1
push 0
push 0x4d47e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x42d9ad
push str.install_3_of_create_shortcut_failed_
push 0x29f
push str.helper::disk::createShortcut
call fcn.0040c6c0
add esp, 0xc
jmp 0x42db2d
mov eax, dword [ebp - 0x250]
lea edx, [ebp - 0x254]
push edx
push 0x4d4808
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x42d9f0
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 0x42db2d
cmp dword [edi + 0x14], 8
jb 0x42d9f8
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 0x42da0d
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 0x42da35
cmp dword [esi + 0x14], 8
jb 0x42da28
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 0x42da43
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 0x4eb980
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 0x42db44
push dword [ebp - 0x234]
call fcn.00494620
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.004944c3
mov esp, ebp
pop ebp
ret