Function at 0x140010fdc
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x1000]
mov eax, 0x1100
call fcn.1400f31b0
sub rsp, rax
mov rax, qword [0x1401542d0]
xor rax, rsp
mov qword [rbp + 0xff0], rax
and qword [rsp + 0x38], 0
mov rdi, rcx
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x1400112d0
mov rcx, qword [rdi]
mov r12, 0xffffffffffff0000
mov r9, r12
mov dword [rsp + 0x40], 0xf0000000
xor r8d, r8d
mov edx, 0x1101
call qword [sym.imp.USER32.dll_SendMessageW]
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
je 0x140011091
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x11]
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x1400112e0
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x48]
xor edx, edx
lea rcx, [rsp + 0x48]
lea r8d, [rdx + 0x38]
call fcn.1400f4420
test dword [rsp + 0x40], 0x80000000
mov dword [rsp + 0x48], 0x27
je 0x1400110dd
mov dword [rsp + 0x74], 1
mov dword [rsp + 0x48], 0x67
mov rcx, qword [0x1401bd670]
mov edx, 0x18
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rbx, rax
test rax, rax
je 0x1400112e0
mov rdx, qword [rsp + 0x30]
lea r9, [rbp - 0x10]
mov rcx, qword [rsp + 0x38]
mov r8d, 1
mov qword [rsp + 0x20], 0x800
call fcn.140012f44
test al, al
je 0x1400112e0
mov rdx, qword [rsp + 0x30]
lea rax, [rbp - 0x10]
xor ecx, ecx
mov qword [rsp + 0x60], rax
call fcn.140011308
mov rsi, rax
test rax, rax
je 0x1400112e0
mov rcx, qword [rsp + 0x30]
call fcn.1400113e4
lea r8, [rsp + 0x48]
mov qword [rbx + 8], rax
mov rdx, rsi
mov rcx, rdi
call fcn.140011dd8
mov rcx, qword [rsp + 0x38]
mov qword [rbx], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call fcn.140011308
mov qword [rbx + 0x10], rax
test rax, rax
je 0x1400112e0
movups xmm0, xmmword [rsp + 0x48]
mov rcx, qword [rdi]
lea r9, [rbp - 0x70]
movups xmm1, xmmword [rsp + 0x58]
and qword [rbp - 0x68], 0
xor r8d, r8d
movaps xmmword [rbp - 0x60], xmm0
mov edx, 0x1132
movups xmm0, xmmword [rsp + 0x68]
mov qword [rsp + 0x78], rbx
movaps xmmword [rbp - 0x50], xmm1
movsd xmm1, qword [rsp + 0x78]
movaps xmmword [rbp - 0x40], xmm0
movsd qword [rbp - 0x30], xmm1
mov qword [rbp - 0x70], r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rsp + 0x30]
mov rcx, rdi
mov r8, qword [rsp + 0x38]
mov rbx, rax
mov rdx, qword [rdi]
mov qword [rsp + 0x20], rax
call fcn.1400117a4
mov rcx, qword [rdi]
mov r12d, 2
mov r8d, r12d
mov r9, rbx
mov edx, 0x1102
call qword [sym.imp.USER32.dll_SendMessageW]
lea rax, [rbp - 0x80]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [r12 + 0xf]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
lea r8d, [r12 + 2]
jmp 0x14001127b
mov rcx, qword [rdi]
lea r9, [rsp + 0x48]
xor r8d, r8d
mov dword [rsp + 0x48], 4
mov edx, 0x113e
mov qword [rsp + 0x50], rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x38]
xor edx, edx
mov r9, qword [rsp + 0x78]
mov r8, qword [rbp - 0x80]
mov r10, qword [rcx]
mov r9, qword [r9 + 0x10]
call qword [r10 + 0x38]
test eax, eax
je 0x140011296
mov r8d, 1
mov rcx, qword [rdi]
mov r9, rbx
mov edx, 0x110a
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test rax, rax
jne 0x140011233
jmp 0x1400112ae
mov rcx, qword [rdi]
mov r9, rbx
mov r8, r12
mov edx, 0x1102
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rdi + 8], rbx
mov rcx, qword [0x1401bd670]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [0x1401bd670]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400112e0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0xff0]
xor rcx, rsp
call fcn.1400f3220
lea r11, [rsp + 0x1100]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret