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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x728
lea rax, [rsp + 0x430]
mov qword [rsp + 0xf0], rax
lea rdx, [0x14025f770]
mov rcx, qword [rsp + 0xf0]
call fcn.1400220a0
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x50]
call fcn.14007cf20
nop
lea rax, [rsp + 0x450]
mov qword [rsp + 0x100], rax
lea rdx, str.create_shortcut
mov rcx, qword [rsp + 0x100]
call fcn.1400220a0
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x78]
call fcn.14007cf20
nop
lea rax, [rsp + 0x470]
mov qword [rsp + 0x110], rax
lea rdx, str.shortcut_error
mov rcx, qword [rsp + 0x110]
call fcn.1400220a0
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x68]
call fcn.14007cf20
nop
lea rax, [rsp + 0x490]
mov qword [rsp + 0x120], rax
lea rdx, str.oid_lu
mov rcx, qword [rsp + 0x120]
call fcn.1400220a0
mov qword [rsp + 0x128], rax
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x60]
call fcn.14007cf20
nop
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x130], rax
lea rdx, str.SHGetFolderPath_error_code_Xoid_lu
mov rcx, qword [rsp + 0x130]
call fcn.1400220a0
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x58]
call fcn.14007cf20
nop
lea rax, [rsp + 0x4d0]
mov qword [rsp + 0x140], rax
lea rdx, str.QueryInterface_error_code_Xoid_lu
mov rcx, qword [rsp + 0x140]
call fcn.1400220a0
mov qword [rsp + 0x148], rax
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0x48]
call fcn.14007cf20
nop
lea rax, [rsp + 0x4f0]
mov qword [rsp + 0x150], rax
lea rdx, str.CoCreateInstance_error_code_Xoid_lu
mov rcx, qword [rsp + 0x150]
call fcn.1400220a0
mov qword [rsp + 0x158], rax
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0x70]
call fcn.14007cf20
nop
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x160], rax
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x160]
call fcn.14001f4d0
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x168]
lea rcx, [rsp + 0x180]
call fcn.14007c510
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0x178]
call fcn.140013ae0
mov r8d, dword [rsp + 0x748]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140036d20
nop
lea rcx, [rsp + 0x180]
call fcn.140026cc0
nop
lea rdx, [0x14025f8c0]
lea rcx, [rsp + 0x90]
call fcn.14001f5f0
nop
lea rdx, [0x14025f8c4]
lea rcx, [rsp + 0x88]
call fcn.14001f5f0
nop
lea rax, [rsp + 0x3d8]
mov qword [rsp + 0x188], rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x188]
call fcn.14001f4d0
mov qword [rsp + 0x190], rax
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x1e0]
call fcn.14007c510
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1c8], rax
lea rax, [rsp + 0x3e0]
mov qword [rsp + 0x1a8], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1a8]
call fcn.14001f4d0
mov qword [rsp + 0x1b0], rax
mov rdx, qword [rsp + 0x1b0]
lea rcx, [rsp + 0x1d8]
call fcn.14007c510
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1d0], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1d0]
call fcn.1400bf980
nop
lea rcx, [rsp + 0x1d8]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x1e0]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x88]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x90]
call fcn.140026cc0
nop
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rcx, [rsp + 0x38]
call fcn.14001f1f0
nop
lea rcx, [rsp + 0x38]
call fcn.14000dd90
mov qword [rsp + 0x20], rax
lea r9, [0x14026de60]
mov r8d, SafeArrayPutElement
xor edx, edx
lea rcx, [0x14026de90]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x1400aae76
lea rax, [rsp + 0x510]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x750]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1400aa9bd
lea rax, [rsp + 0x3e8]
mov qword [rsp + 0x1e8], rax
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x1e8]
call fcn.14001f4d0
mov qword [rsp + 0x1f0], rax
mov rdx, qword [rsp + 0x1f0]
lea rcx, [rsp + 0x208]
call fcn.14007c510
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x200], rax
mov rcx, qword [rsp + 0x200]
call fcn.140013ae0
mov r9d, dword [rsp + 0x748]
mov r8d, dword [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140036d20
nop
lea rcx, [rsp + 0x208]
call fcn.140026cc0
nop
lea rdx, [0x14025f8c8]
lea rcx, [rsp + 0xa0]
call fcn.14001f5f0
nop
lea rdx, [0x14025f8cc]
lea rcx, [rsp + 0x98]
call fcn.14001f5f0
nop
lea rax, [rsp + 0x3f0]
mov qword [rsp + 0x210], rax
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x210]
call fcn.14001f4d0
mov qword [rsp + 0x218], rax
mov rdx, qword [rsp + 0x218]
lea rcx, [rsp + 0x268]
call fcn.14007c510
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x228], rax
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x250], rax
lea rax, [rsp + 0x3f8]
mov qword [rsp + 0x230], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x230]
call fcn.14001f4d0
mov qword [rsp + 0x238], rax
mov rdx, qword [rsp + 0x238]
lea rcx, [rsp + 0x260]
call fcn.14007c510
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0x258], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x98]
lea r8, [rsp + 0x58]
mov rdx, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x258]
call fcn.1400bf980
nop
lea rcx, [rsp + 0x260]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x268]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x98]
call fcn.140026cc0
nop
lea rcx, [rsp + 0xa0]
call fcn.140026cc0
nop
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x38]
call fcn.140026c20
nop
lea rcx, [rsp + 0x70]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x48]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x58]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x60]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x68]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x78]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x50]
call fcn.140026cc0
movzx eax, byte [rsp + 0x30]
jmp 0x1400ab127
lea rcx, [rsp + 0x510]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov rcx, qword [rsp + 0x738]
call fcn.140013ae0
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x510]
call fcn.14009da30
mov dword [rsp + 0x40], eax
lea rdx, str..lnk
lea rcx, [rsp + 0x510]
call qword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
lea rcx, [rsp + 0x38]
call fcn.140013ae0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x278], rax
mov rcx, qword [rsp + 0x730]
call fcn.140013ae0
mov qword [rsp + 0x270], rax
mov rdx, qword [rsp + 0x270]
mov rcx, qword [rsp + 0xa8]
call qword [rsp + 0x278]
lea rcx, [rsp + 0x38]
call fcn.140013ae0
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x288], rax
mov rcx, qword [rsp + 0x738]
call fcn.140013ae0
mov qword [rsp + 0x280], rax
mov rdx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x288]
lea rcx, [rsp + 0x38]
call fcn.140013ae0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rax, qword [rax + 0x88]
mov qword [rsp + 0x298], rax
mov rcx, qword [rsp + 0x740]
call fcn.140013ae0
mov qword [rsp + 0x290], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x290]
mov rcx, qword [rsp + 0xb8]
call qword [rsp + 0x298]
nop
mov rcx, qword [rsp + 0x758]
call fcn.140037340
movzx eax, al
test eax, eax
jne 0x1400aab79
lea rcx, [rsp + 0x38]
call fcn.140013ae0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x2a8], rax
mov rcx, qword [rsp + 0x758]
call fcn.140013ae0
mov qword [rsp + 0x2a0], rax
mov rdx, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0x2a8]
nop
lea rcx, [rsp + 0x38]
call fcn.140013ae0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x2b0], rax
lea r8, [rsp + 0x80]
lea rdx, [0x14026dee0]
mov rcx, qword [rsp + 0xc8]
call qword [rsp + 0x2b0]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x1400aac1e
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x2b8], rax
mov r8d, 1
lea rdx, [rsp + 0x510]
mov rcx, qword [rsp + 0x80]
call qword [rsp + 0x2b8]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x10]
nop
jmp 0x1400aae71
lea rax, [rsp + 0x400]
mov qword [rsp + 0x2c0], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x2c0]
call fcn.14001f4d0
mov qword [rsp + 0x2c8], rax
mov rdx, qword [rsp + 0x2c8]
lea rcx, [rsp + 0x2e0]
call fcn.14007c510
mov qword [rsp + 0x2d0], rax
mov rax, qword [rsp + 0x2d0]
mov qword [rsp + 0x2d8], rax
mov rcx, qword [rsp + 0x2d8]
call fcn.140013ae0
mov r9d, dword [rsp + 0x748]
mov r8d, dword [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140036d20
nop
lea rcx, [rsp + 0x2e0]
call fcn.140026cc0
nop
lea rdx, [0x14025f8dc]
lea rcx, [rsp + 0xd8]
call fcn.14001f5f0
nop
lea rdx, [0x14025f8e0]
lea rcx, [rsp + 0xd0]
call fcn.14001f5f0
nop
lea rax, [rsp + 0x408]
mov qword [rsp + 0x2e8], rax
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x2e8]
call fcn.14001f4d0
mov qword [rsp + 0x2f0], rax
mov rdx, qword [rsp + 0x2f0]
lea rcx, [rsp + 0x340]
call fcn.14007c510
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0x300], rax
mov rax, qword [rsp + 0x300]
mov qword [rsp + 0x328], rax
lea rax, [rsp + 0x410]
mov qword [rsp + 0x308], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x308]
call fcn.14001f4d0
mov qword [rsp + 0x310], rax
mov rdx, qword [rsp + 0x310]
lea rcx, [rsp + 0x338]
call fcn.14007c510
mov qword [rsp + 0x318], rax
mov rax, qword [rsp + 0x318]
mov qword [rsp + 0x320], rax
mov rax, qword [rsp + 0x320]
mov qword [rsp + 0x330], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xd0]
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x328]
mov rcx, qword [rsp + 0x330]
call fcn.1400bf980
nop
lea rcx, [rsp + 0x338]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x340]
call fcn.140026cc0
nop
lea rcx, [rsp + 0xd0]
call fcn.140026cc0
nop
lea rcx, [rsp + 0xd8]
call fcn.140026cc0
nop
mov byte [rsp + 0x31], 1
lea rcx, [rsp + 0x38]
call fcn.140026c20
nop
lea rcx, [rsp + 0x70]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x48]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x58]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x60]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x68]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x78]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x50]
call fcn.140026cc0
movzx eax, byte [rsp + 0x31]
jmp 0x1400ab127
jmp 0x1400ab0c6
lea rax, [rsp + 0x418]
mov qword [rsp + 0x348], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x348]
call fcn.14001f4d0
mov qword [rsp + 0x350], rax
mov rdx, qword [rsp + 0x350]
lea rcx, [rsp + 0x368]
call fcn.14007c510
mov qword [rsp + 0x358], rax
mov rax, qword [rsp + 0x358]
mov qword [rsp + 0x360], rax
mov rcx, qword [rsp + 0x360]
call fcn.140013ae0
mov r9d, dword [rsp + 0x748]
mov r8d, dword [rsp + 0x34]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140036d20
nop
lea rcx, [rsp + 0x368]
call fcn.140026cc0
nop
lea rdx, [0x14025f8e4]
lea rcx, [rsp + 0xe8]
call fcn.14001f5f0
nop
lea rdx, [0x14025f8e8]
lea rcx, [rsp + 0xe0]
call fcn.14001f5f0
nop
lea rax, [rsp + 0x420]
mov qword [rsp + 0x370], rax
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x370]
call fcn.14001f4d0
mov qword [rsp + 0x378], rax
mov rdx, qword [rsp + 0x378]
lea rcx, [rsp + 0x3c8]
call fcn.14007c510
mov qword [rsp + 0x380], rax
mov rax, qword [rsp + 0x380]
mov qword [rsp + 0x388], rax
mov rax, qword [rsp + 0x388]
mov qword [rsp + 0x3b0], rax
lea rax, [rsp + 0x428]
mov qword [rsp + 0x390], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x390]
call fcn.14001f4d0
mov qword [rsp + 0x398], rax
mov rdx, qword [rsp + 0x398]
lea rcx, [rsp + 0x3c0]
call fcn.14007c510
mov qword [rsp + 0x3a0], rax
mov rax, qword [rsp + 0x3a0]
mov qword [rsp + 0x3a8], rax
mov rax, qword [rsp + 0x3a8]
mov qword [rsp + 0x3b8], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xe0]
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x3b0]
mov rcx, qword [rsp + 0x3b8]
call fcn.1400bf980
nop
lea rcx, [rsp + 0x3c0]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x3c8]
call fcn.140026cc0
nop
lea rcx, [rsp + 0xe0]
call fcn.140026cc0
nop
lea rcx, [rsp + 0xe8]
call fcn.140026cc0
nop
mov byte [rsp + 0x32], 1
lea rcx, [rsp + 0x38]
call fcn.140026c20
nop
lea rcx, [rsp + 0x70]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x48]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x58]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x60]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x68]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x78]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x50]
call fcn.140026cc0
movzx eax, byte [rsp + 0x32]
jmp 0x1400ab127
mov byte [rsp + 0x33], 0
lea rcx, [rsp + 0x38]
call fcn.140026c20
nop
lea rcx, [rsp + 0x70]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x48]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x58]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x60]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x68]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x78]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x50]
call fcn.140026cc0
movzx eax, byte [rsp + 0x33]
add rsp, 0x728
ret