Function at 0x140031b28
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.1400d8110
sub rsp, rax
mov rax, qword [0x1401006f0]
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 0x140031e01
mov rcx, qword [rdi]
mov r13, 0xffffffffffff0000
xor r8d, r8d
mov edx, 0x1101
mov r9, r13
mov dword [rsp + 0x40], 0xf0000000
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8, [rsp + 0x30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x140031bc4
lea r8, [rsp + 0x30]
mov edx, 0x11
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x140031e11
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x48]
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x38]
call fcn.1400c7170
bt dword [rsp + 0x40], 0x1f
mov dword [rsp + 0x50], 0x27
jae 0x140031c0e
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x50], 0x67
mov rcx, qword [0x140188d30]
mov edx, 0x18
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rbx, rax
test rax, rax
je 0x140031e11
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0xf0]
mov r8d, 1
mov qword [rsp + 0x20], 0x800
call fcn.1400310e4
test al, al
je 0x140031e11
mov rdx, qword [rsp + 0x30]
lea rax, [rsp + 0xf0]
xor ecx, ecx
mov qword [rsp + 0x68], rax
call fcn.140030fac
mov rsi, rax
test rax, rax
je 0x140031e11
mov rcx, qword [rsp + 0x30]
call fcn.14003109c
lea r8, [rsp + 0x50]
mov rdx, rsi
mov rcx, rdi
mov qword [rbx + 8], rax
call fcn.140031180
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.140030fac
mov qword [rbx + 0x10], rax
test rax, rax
je 0x140031e11
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x50]
mov r8d, 0x38
mov qword [rsp + 0x80], rbx
call fcn.1400c6bb0
mov rcx, qword [rdi]
and qword [rsp + 0x98], 0
lea r9, [rsp + 0x90]
xor r8d, r8d
mov edx, 0x1132
mov qword [rsp + 0x90], r13
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.140031214
mov rcx, qword [rdi]
mov r13d, 2
mov r9, rbx
mov edx, 0x1102
mov r8, r13
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8, [rsp + 0x48]
lea edx, [r13 + 0xf]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea r8d, [r13 + 2]
jmp 0x140031dac
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 0x140031dc7
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 0x140031d61
jmp 0x140031ddf
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 [0x140188d30]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [0x140188d30]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140031e11
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x10f0]
xor rcx, rsp
call fcn.1400c6350
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