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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x140015128]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
call fcn.140002f94
xor edx, edx
lea rax, [rsp + 0x50]
lea r9, [0x1400111a0]
mov qword [rsp + 0x20], rax
lea rcx, [0x140010be0]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140002f67
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov rcx, qword [0x140015828]
lea rdx, [rbp + 0x170]
mov esi, 0x104
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop dword [rax + rax]
test eax, eax
jne 0x140002cf0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140002d36
lea r9, [rbp + 0x170]
mov dword [rsp + 0x20], 0x901
lea r8, str.__s___u
mov rdx, rsi
lea rcx, [rbp + 0x380]
call fcn.14000460c
mov ebx, eax
test eax, eax
js 0x140002d36
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp + 0x380]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call qword [0x140010a28]
mov ebx, eax
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call sub.msvcrt.dll_memset
test ebx, ebx
js 0x140002ed5
mov r8d, esi
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop dword [rax + rax]
test eax, eax
jne 0x140002d8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140002ed5
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 0xa0]
call qword [0x140010a28]
mov ebx, eax
test eax, eax
js 0x140002ed5
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x140010a28]
mov ebx, eax
test eax, eax
js 0x140002ed5
xor r9d, r9d
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 9]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140002ed5
mov rcx, qword [0x140015828]
lea r8, [rbp + 0x590]
mov r9d, esi
mov edx, 0x8ff
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
lea rdx, [rbp + 0x590]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
nop dword [rax + rax]
mov ecx, eax
mov esi, 0x80004005
neg ecx
sbb ebx, ebx
not ebx
and ebx, esi
test eax, eax
je 0x140002ed5
lea rdx, str..LNK
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
nop dword [rax + rax]
mov ecx, eax
neg ecx
sbb ebx, ebx
not ebx
and ebx, esi
test eax, eax
je 0x140002ed5
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x58]
lea rdx, [0x140011190]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x140010a28]
mov ebx, eax
test eax, eax
js 0x140002ed5
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x60]
mov r8d, 1
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call qword [0x140010a28]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140010a28]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140010a28]
test ebx, ebx
js 0x140002f67
mov r8d, 0x927
lea rdx, [rbp + 0x170]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_SHSetLocalizedName]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140002f67
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rdx, str.Control_PanelBluetoothFileSquirtInstalled
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
and dword [rsp + 0x20], 0
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140002f67
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.14000e7b0
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret