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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
cmp word [rcx], 0x30
mov rbx, rcx
mov esi, 2
jb 0x1400059f4
cmp word [rcx], 0x39
ja 0x1400059f4
call qword [sym.imp.msvcrt.dll__wtol]
mov r8d, eax
jmp 0x140005a58
movzx ecx, word [rcx]
mov edx, 0x20
or ecx, edx
sub ecx, 0x64
je 0x140005a40
sub ecx, 0xc
je 0x140005a29
sub ecx, 3
je 0x140005a1e
dec ecx
jne 0x140005dad
lea ecx, [rdx - 0x19]
lea r8d, [rdx - 8]
jmp 0x140005a49
mov ecx, 0xb
lea r8d, [rcx + 0xb]
jmp 0x140005a49
movzx eax, word [rbx + 2]
mov r8d, 0x17
or ax, dx
cmp ax, 0x75
cmove r8d, esi
jmp 0x140005a58
mov ecx, InitCommonControls
lea r8d, [rcx + 9]
movzx eax, word [rbx + 2]
or ax, dx
cmp ax, 0x75
cmove r8d, ecx
xor edi, edi
jmp 0x140005a68
test ax, ax
je 0x140005dad
add rbx, rsi
movzx eax, word [rbx]
cmp ax, 0x2c
jne 0x140005a5c
lea rdx, [rbp - 0x40]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140005dad
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.140019530
lea rcx, [rsp + 0x50]
call fcn.1400194f8
lea rcx, [rbp - 0x80]
call fcn.1400194f8
lea rcx, [rsp + 0x70]
call fcn.1400194f8
lea rcx, [rbp - 0x70]
call fcn.1400194f8
lea rcx, [rsp + 0x40]
call fcn.1400194f8
lea rcx, [rsp + 0x60]
call fcn.1400194f8
lea rcx, [rbp - 0x60]
call fcn.1400194f8
lea rcx, [rbp - 0x50]
call fcn.1400194f8
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003e1c
cmp dword [rsp + 0x58], edi
je 0x140005d57
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.140003e1c
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.140003e1c
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.140003e1c
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140003e1c
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140003e1c
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.140003e1c
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.140003e1c
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.msvcrt.dll__wtol]
mov ebx, eax
cmp dword [rsp + 0x48], edi
jne 0x140005ba5
lea rcx, [rsp + 0x50]
call fcn.14000433c
mov rcx, qword [rsp + 0x50]
movsxd rdx, eax
lea rdx, [rcx + rdx*2 + 2]
lea rcx, [rsp + 0x40]
call fcn.1400195c8
lea rcx, [rsp + 0x40]
mov edx, 0x2e
call fcn.1400198f0
test eax, eax
js 0x140005ba5
mov dword [rsp + 0x48], eax
mov ecx, eax
mov rax, qword [rsp + 0x40]
mov word [rax + rcx*2], di
mov edx, dword [rsp + 0x38]
cmp dword [rsp + 0x3c], edx
jne 0x140005bbd
lea rcx, [rsp + 0x30]
call fcn.14001924c
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov r12d, 0x5c
mov eax, edx
mov word [rcx + rax*2], r12w
lea esi, [r12 - 0x5b]
add edx, esi
mov word [rcx + rdx*2], di
mov dword [rsp + 0x38], edx
cmp dword [rsp + 0x78], edi
je 0x140005c28
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140019744
mov r11d, dword [rsp + 0x38]
cmp dword [rsp + 0x3c], r11d
jne 0x140005c0e
lea rcx, [rsp + 0x30]
call fcn.14001924c
mov r11d, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov eax, r11d
add r11d, esi
mov word [rcx + rax*2], r12w
mov word [rcx + r11*2], di
mov dword [rsp + 0x38], r11d
mov rcx, qword [rsp + 0x30]
call fcn.140005800
test eax, eax
je 0x140005d57
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140019744
lea rdx, str..lnk
lea rcx, [rsp + 0x30]
call fcn.1400196dc
lea rax, [rbp + 0x1f0]
lea r9, [0x1400289c0]
lea rcx, [0x140028a10]
mov r8d, esi
xor edx, edx
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x1f0], rdi
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140005d57
mov rcx, qword [rbp + 0x1f0]
mov rdx, qword [rsp + 0x50]
mov qword [rbp + 0x1f8], rdi
mov rax, qword [rcx]
call qword [rax + 0xa0]
cmp dword [rbp - 0x68], edi
je 0x140005cc0
mov rcx, qword [rbp + 0x1f0]
mov rdx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 0x38]
cmp dword [rbp - 0x78], edi
je 0x140005cd6
mov rcx, qword [rbp + 0x1f0]
mov rdx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x58]
cmp dword [rsp + 0x68], edi
je 0x140005cee
mov rcx, qword [rbp + 0x1f0]
mov rdx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x48]
cmp dword [rbp - 0x58], edi
je 0x140005d0a
mov rcx, qword [rbp + 0x1f0]
mov rdx, qword [rbp - 0x60]
mov r8d, ebx
mov rax, qword [rcx]
call qword [rax + 0x88]
mov rcx, qword [rbp + 0x1f0]
lea r8, [rbp + 0x1f8]
lea rdx, [0x1400289f0]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x140005d4a
mov rcx, qword [rbp + 0x1f8]
mov rdx, qword [rsp + 0x30]
mov r8d, esi
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rbp + 0x1f8]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbp + 0x1f0]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbp - 0x50]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x60]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x60]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x70]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x80]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x50]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
lea r11, [rsp + 0x2d0]
xor eax, eax
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret