Function at 0x461960
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52dee6
mov eax, dword fs:[0]
push eax
sub esp, 0x4ec
mov eax, dword [0x57f7a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x4e4], 0
mov dword [ebp - 0x4e8], 0
mov dword [ebp - 0x484], 7
mov dword [ebp - 0x488], 0
mov word [ebp - 0x498], ax
mov dword [ebp - 0x49c], 7
mov dword [ebp - 0x4a0], eax
mov word [ebp - 0x4b0], ax
lea eax, [ebp - 0x4e4]
mov byte [ebp - 4], 5
push eax
push 0x53e264
push 1
push 0
push 0x53e274
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x461a1a
push str.install_3_of_create_shortcut_failed_
push 0x1c1
push str.common::files::createStartMenu
call fcn.00439030
add esp, 0xc
jmp 0x461ec6
mov eax, dword [ebp - 0x4e4]
lea edx, [ebp - 0x4e8]
push edx
push 0x53e294
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x461a5d
push str.install_4_of_create_shortcut_failed_
push 0x1c8
push str.common::files::createStartMenu
call fcn.00439030
mov eax, dword [ebp - 0x4e4]
add esp, 0xc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x461ec6
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp + 8]
call fcn.00425940
mov edx, eax
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 8
jb 0x461a7a
mov edx, dword [edx]
mov eax, dword [ebp - 0x4e4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x46c], 8
jb 0x461aa2
push dword [ebp - 0x480]
call fcn.004db8b0
add esp, 4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.004f31f0
add esp, 0xc
lea eax, [ebp - 0x4ec]
push eax
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x461ae4
push str.install_5_of_create_shortcut_failed_
push 0x1d8
jmp 0x461b65
mov esi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x4ec]
call esi
test eax, eax
jne 0x461b09
push str.install_6_of_create_shortcut_failed_
push 0x1e0
jmp 0x461b65
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004f31f0
add esp, 0xc
lea eax, [ebp - 0x4f0]
push eax
push 0xb
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x461b48
push str.install_7_of_create_shortcut_failed_
push 0x1ee
jmp 0x461b65
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x4f0]
call esi
test eax, eax
jne 0x461b8f
push str.install_8_of_create_shortcut_failed_
push 0x1f6
push str.common::files::createStartMenu
call fcn.00439030
mov eax, dword [ebp - 0x4e8]
add esp, 0xc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x4e4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x461ec6
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x4f4]
mov dword [ebp - 0x4f4], 0x2e
push eax
lea ecx, [ebp + 0x20]
call fcn.00413a50
push eax
push 0
lea eax, [ebp - 0x4c8]
push eax
lea ecx, [ebp + 0x20]
call fcn.00413530
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x4e0]
call fcn.0042a040
lea ecx, [ebp - 0x4c8]
mov byte [ebp - 4], 8
push ecx
mov edx, eax
lea ecx, [ebp - 0x480]
call fcn.00430e30
add esp, 4
lea ecx, [ebp - 0x4e0]
mov byte [ebp - 4], 0xa
call fcn.00407e10
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x480]
call fcn.00425940
cmp dword [eax + 0x14], 8
jb 0x461c18
mov eax, dword [eax]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea ecx, [ebp - 0x438]
call fcn.00407e10
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x498]
call fcn.00425850
mov edx, eax
mov byte [ebp - 4], 0xb
cmp dword [edx + 0x14], 8
jb 0x461c4c
mov edx, dword [edx]
mov eax, dword [ebp - 0x4e4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0xa
call fcn.00407e10
lea eax, [ebp + 0x20]
push eax
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x468]
call fcn.00430e30
add esp, 4
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.00425850
mov edx, eax
mov byte [ebp - 4], 0xd
cmp dword [edx + 0x14], 8
jb 0x461ca0
mov edx, dword [edx]
mov eax, dword [ebp - 0x4e8]
push 2
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea ecx, [ebp - 0x438]
call fcn.00407e10
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 0xa
call fcn.00407e10
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x450]
call fcn.0042a040
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0xe
push ecx
mov edx, eax
lea ecx, [ebp - 0x438]
call fcn.00430e30
add esp, 4
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 0xf
push ecx
mov ecx, eax
call fcn.00425850
mov edx, eax
mov byte [ebp - 4], 0x10
cmp dword [edx + 0x14], 8
jb 0x461d13
mov edx, dword [edx]
mov eax, dword [ebp - 0x4e8]
push 2
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea ecx, [ebp - 0x468]
call fcn.00407e10
lea ecx, [ebp - 0x438]
call fcn.00407e10
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0xa
call fcn.00407e10
cmp dword [ebp + 0x48], 0
je 0x461e68
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x4b0]
call fcn.00425850
mov edx, eax
mov byte [ebp - 4], 0x11
cmp dword [edx + 0x14], 8
jb 0x461d71
mov edx, dword [edx]
mov eax, dword [ebp - 0x4e4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0xa
call fcn.00407e10
lea eax, [ebp + 0x38]
push eax
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x468]
call fcn.00430e30
add esp, 4
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0x12
push ecx
mov ecx, eax
call fcn.00425850
mov edx, eax
mov byte [ebp - 4], 0x13
cmp dword [edx + 0x14], 8
jb 0x461dc5
mov edx, dword [edx]
mov eax, dword [ebp - 0x4e8]
push 2
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea ecx, [ebp - 0x450]
call fcn.00407e10
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 0xa
call fcn.00407e10
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.0042a040
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x14
push ecx
mov edx, eax
lea ecx, [ebp - 0x468]
call fcn.00430e30
add esp, 4
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0x15
push ecx
mov ecx, eax
call fcn.00425850
mov edx, eax
mov byte [ebp - 4], 0x16
cmp dword [edx + 0x14], 8
jb 0x461e38
mov edx, dword [edx]
mov eax, dword [ebp - 0x4e8]
push 2
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea ecx, [ebp - 0x450]
call fcn.00407e10
lea ecx, [ebp - 0x468]
call fcn.00407e10
lea ecx, [ebp - 0x438]
call fcn.00407e10
lea ecx, [ebp - 0x480]
call fcn.00407e10
lea ecx, [ebp - 0x4c8]
mov byte [ebp - 4], 5
call fcn.00407e10
mov eax, dword [ebp - 0x4e8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x4e4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x4ec]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
call esi
push dword [ebp - 0x4f0]
call esi
lea ecx, [ebp - 0x4b0]
call fcn.00407e10
lea ecx, [ebp - 0x498]
call fcn.00407e10
cmp dword [ebp + 0x1c], 8
jb 0x461ed7
push dword [ebp + 8]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x461efc
push dword [ebp + 0x20]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [ebp + 0x34], 7
cmp dword [ebp + 0x4c], 8
mov dword [ebp + 0x30], 0
mov word [ebp + 0x20], ax
jb 0x461f21
push dword [ebp + 0x38]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [ebp + 0x4c], 7
cmp dword [ebp + 0x64], 8
mov dword [ebp + 0x48], 0
mov word [ebp + 0x38], ax
jb 0x461f46
push dword [ebp + 0x50]
call fcn.004db8b0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ea604
mov esp, ebp
pop ebp
ret