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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4377
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x5178cc]
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.004a79c0
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x42e3ef
push str.install_1_of_create_shortcut_failed_
push 0x292
push str.helper::disk::createShortcut
call fcn.0040bb00
add esp, 0xc
jmp 0x42e5dd
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x42e422
push str.install_2_of_create_shortcut_failed_
push 0x298
push str.helper::disk::createShortcut
call fcn.0040bb00
add esp, 0xc
jmp 0x42e5dd
lea eax, [ebp - 0x250]
push eax
push 0x4dc7b8
push 1
push 0
push 0x4dc7c8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x42e45d
push str.install_3_of_create_shortcut_failed_
push 0x29f
push str.helper::disk::createShortcut
call fcn.0040bb00
add esp, 0xc
jmp 0x42e5dd
mov eax, dword [ebp - 0x250]
lea edx, [ebp - 0x254]
push edx
push 0x4dc7e8
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x42e4a0
push str.install_4_of_create_shortcut_failed_
push 0x2a6
push str.helper::disk::createShortcut
call fcn.0040bb00
mov eax, dword [ebp - 0x250]
add esp, 0xc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42e5dd
cmp dword [edi + 0x14], 8
jb 0x42e4a8
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 0x42e4bd
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 0x42e4e5
cmp dword [esi + 0x14], 8
jb 0x42e4d8
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 0x42e4f3
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.004068b0
push 0x4f3c10
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a8]
call fcn.00407ff0
push dword [ebp - 0x25c]
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c0]
call fcn.00408090
push str..lnk
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x278]
call fcn.00407ff0
add esp, 0xc
lea ecx, [ebp - 0x234]
push eax
call fcn.00407c40
lea ecx, [ebp - 0x278]
call fcn.004070b0
lea ecx, [ebp - 0x2c0]
call fcn.004070b0
lea ecx, [ebp - 0x2a8]
call fcn.004070b0
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 1
call fcn.004070b0
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 0x42e5f4
push dword [ebp - 0x234]
call fcn.0048ec00
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.0049b793
mov esp, ebp
pop ebp
ret