Function at 0x140034738
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1350]
mov eax, 0x1450
call fcn.14003bc30
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0x1340], rax
mov r14d, r8d
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r15d, 0x102
mov dword [rbp - 0x58], r15d
lea r12, [0x140059cd8]
mov qword [rbp - 0x70], r12
lea rax, [rbp - 0x50]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], r15d
xor ecx, ecx
mov word [rbp - 0x50], cx
mov r8d, 0x208
mov rax, qword [r12]
xor r9d, r9d
lea rdx, [rbp - 0x70]
mov rcx, r12
mov rax, qword [rax]
call qword [case.0x14001c390.0]
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov byte [rsp + 0x20], bl
xor r9d, r9d
mov r8b, 1
lea rdx, [rsp + 0x68]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.Csi.dll_void___cdecl_Csi::GetFolderProxyFromPath_class_MsoCF::String_struct_MsoCF::WzTraits___struct_Csi::IFolderProxy____ptr64____ptr64__bool__bool____ptr64__bool_]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jne 0x140034822
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x68], rax
je 0x140034820
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_1110]
mov rcx, qword [rsp + 0x68]
jmp 0x140034870
mov rax, qword [rcx]
mov byte [rsp + 0x40], bl
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], ebx
mov byte [rsp + 0x20], bl
mov r9b, 1
mov r8, rbx
lea rdx, str.Office.ODCPAW
mov rax, qword [rax + 0x48]
call qword [case.0x14001c390.0]
lea rax, [rbp - 0x50]
mov rcx, qword [rbp - 0x68]
cmp rcx, rax
je 0x14003486b
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_1110]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140034882
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001c390.0]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400349e2
mov dword [rsp + 0x70], 0x824
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x78]
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_587]
test eax, eax
js 0x1400349c6
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x2f0]
mov rax, qword [rax + 0xc0]
call qword [case.0x14001c390.0]
test eax, eax
js 0x1400349c6
mov r9d, 0x80
lea r8, [rbp + 0x1f0]
mov edx, r14d
mov rcx, qword [0x14005bfe0]
call qword [sym.imp.Mso30Win32Client.dll_Ordinal_1548]
mov dword [rbp + 0xd8], r15d
mov qword [rbp + 0xc0], r12
lea rax, [rbp + 0xe0]
mov qword [rbp + 0xc8], rax
mov dword [rbp + 0xd0], r15d
xor eax, eax
mov word [rbp + 0xe0], ax
lea r8, [rbp + 0xc0]
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.Csi.dll_void___cdecl_Csi::AppendStringToNameOfFilename_class_MsoCF::String_struct_MsoCF::WzTraits___class_MsoCF::String_struct_MsoCF::WzTraits___class_MsoCF::CWzInBuffer_T_class_MsoCF::String_struct_MsoCF::WzTraits___class_MsoCF::CBuffer_wchar_t______ptr64_]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov byte [rsp + 0x50], bl
mov byte [rsp + 0x48], bl
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 0x100
mov byte [rsp + 0x28], bl
mov byte [rsp + 0x20], 1
xor r9d, r9d
mov r8, rbx
mov rdx, qword [rbp + 0xc8]
mov rax, qword [rax + 0x40]
call qword [case.0x14001c390.0]
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400349ac
mov rax, qword [rcx]
mov rax, qword [rax + 0x120]
call qword [case.0x14001c390.0]
nop
lea rax, [rbp + 0xe0]
mov rcx, qword [rbp + 0xc8]
cmp rcx, rax
je 0x1400349c6
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_1110]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400349dd
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001c390.0]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400349f4
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001c390.0]
mov rcx, qword [rbp + 0x1340]
xor rcx, rsp
call fcn.140039650
add rsp, 0x1450
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret