Function at 0x140084710
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r13
mov eax, 0x1100
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x10f0], rax
and qword [rsp + 0x38], 0
mov rdi, rcx
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x140084a0c
mov rcx, qword [rdi]
mov r9, 0xffffffffffff0000
xor r8d, r8d
mov edx, 0x1101
mov dword [rsp + 0x40], 0xf0000000
call qword [sym.imp.USER32.dll_SendMessageW]
lea r11, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r11
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
je 0x1400847be
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
lea edx, [r9 + 0x11]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x140084a1c
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x48]
mov r13d, 0x38
lea rcx, [rsp + 0x50]
mov r8, r13
xor edx, edx
call fcn.1400eada0
bt dword [rsp + 0x40], 0x1f
mov dword [rsp + 0x50], 0x27
jae 0x14008480d
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x50], 0x67
mov rcx, qword [0x14018c440]
mov edx, 0x18
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rbx, rax
test rax, rax
je 0x140084a1c
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0xf0]
mov r8d, 1
mov qword [rsp + 0x20], 0x800
call fcn.140083c9c
test al, al
je 0x140084a1c
mov rdx, qword [rsp + 0x30]
lea rax, [rsp + 0xf0]
xor ecx, ecx
mov qword [rsp + 0x68], rax
call fcn.140083b64
mov rsi, rax
test rax, rax
je 0x140084a1c
mov rcx, qword [rsp + 0x30]
call fcn.140083c54
lea r8, [rsp + 0x50]
mov rdx, rsi
mov rcx, rdi
mov qword [rbx + 8], rax
call fcn.140083d38
mov r11, qword [rsp + 0x38]
mov qword [rbx], r11
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.COMCTL32.dll_CreateMappedBitmap]
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call fcn.140083b64
mov qword [rbx + 0x10], rax
test rax, rax
je 0x140084a1c
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x50]
mov r8, r13
mov qword [rsp + 0x80], rbx
call fcn.1400e9de0
mov rcx, qword [rdi]
and qword [rsp + 0x98], 0
lea r9, [rsp + 0x90]
xor r8d, r8d
mov edx, 0x1132
mov qword [rsp + 0x90], 0xffffffffffff0000
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rdi]
mov rcx, rdi
mov rbx, rax
mov qword [rsp + 0x20], rax
call fcn.140083dcc
mov rcx, qword [rdi]
mov r13d, 2
mov r9, rbx
mov edx, 0x1102
mov r8, r13
call qword [sym.imp.USER32.dll_SendMessageW]
lea r11, [rsp + 0x48]
lea edx, [r13 + 0xf]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], r11
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
lea r8d, [r13 + 2]
jmp 0x1400849b7
mov rcx, qword [rdi]
lea r9, [rsp + 0x50]
xor r8d, r8d
mov edx, 0x113e
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x58], rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x38]
mov r9, qword [rsp + 0x80]
mov rax, qword [rcx]
mov r9, qword [r9 + 0x10]
mov r8, qword [rsp + 0x48]
xor edx, edx
call qword [rax + 0x38]
test eax, eax
je 0x1400849d2
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 0x14008496c
jmp 0x1400849ea
mov rcx, qword [rdi]
mov r9, rbx
mov r8, r13
mov edx, 0x1102
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rdi + 8], rbx
mov rcx, qword [0x14018c440]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [0x14018c440]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140084a1c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x10f0]
xor rcx, rsp
call fcn.1400e9d80
lea r11, [rsp + 0x1100]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r13
ret