Function at 0x140065720
Capabilities:
Get common file path

Disassembly:
push rbx
push rdi
push r12
push r14
push r15
sub rsp, 0x520
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x1401620b0]
xor rax, rsp
mov qword [rsp + 0x510], rax
mov rbx, rdx
mov r15, rcx
mov r12, qword [rsp + 0x570]
xor edi, edi
cmp qword [rdx + 0x10], rdi
je 0x140065a41
mov qword [rsp + 0x40], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x58]
call fcn.140066124
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140066680
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x98], rcx
test rcx, rcx
je 0x140065824
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rdx
cmp rdx, 0x1000
jb 0x140065811
lfence
mov rdx, qword [rsp + 0x70]
add rdx, 0x27
mov qword [rsp + 0x78], rdx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rax - 8]
sub rax, rcx
mov qword [rsp + 0xa8], rax
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140065a6a
call fcn.1400974a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rdi
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x300]
call fcn.1400b6460
lea rax, [rsp + 0x300]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x28]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov r14d, eax
test eax, eax
jns 0x14006594e
lfence
call fcn.14008d174
mov r9d, 1
mov r8, qword [rax]
lea edx, [r9 + 1]
lea rcx, [rsp + 0xd0]
call fcn.14000499c
nop
lea rbx, [rax + 0x10]
lea rdx, str.GFE::Feedback::Builder::AddFile:_SHGetFolderPath_failed_with
mov rcx, rbx
call fcn.1400098d0
mov edx, r14d
mov rcx, rbx
call fcn.1400451ac
nop
lea rcx, [rsp + 0x178]
call fcn.140004938
nop
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + 0x178], rax
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x178], rax
lea rcx, [rsp + 0x178]
call fcn.140095580
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14006592e
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14006591b
lfence
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140065a3b
call fcn.1400974a0
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
movdqu xmmword [rsp + 0x48], xmm0
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.140097440
add rsp, 0x520
pop r15
pop r14
pop r12
pop rdi
pop rbx
ret
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x2f0], xmm0
mov rdx, rbx
lea rcx, [rsp + 0x2e0]
call fcn.140005eb8
nop
lea rdx, [rsp + 0x300]
mov rcx, rbx
call fcn.140066714
test al, al
je 0x1400659b4
lea rax, [rsp + 0x300]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x14006598b
mov qword [rsp + 0x20], SafeArrayLock
lea r9, str._USERPROFILE_
xor edx, edx
lea rcx, [rsp + 0x2e0]
call fcn.14000acbc
mov rax, qword [r15]
mov r9, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
sub r9, rbx
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
mov r8, rbx
lea rdx, [rsp + 0x2e0]
mov rcx, r15
mov rax, qword [rax + 0x10]
call qword [case.0x14007ca24.0]
nop
lea rcx, [rsp + 0x2e0]
call fcn.140005cfc
nop
test rbx, rbx
je 0x14006592e
mov rdx, qword [rsp + 0x50]
sub rdx, rbx
cmp rdx, 0x1000
jb 0x140065a2c
lfence
add rdx, 0x27
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140065a3b
mov rcx, rbx
jmp 0x14006591b
call fcn.1400bd1c0
int3
lea rdx, str.File_path_must_not_be_empty
lea rcx, [rsp + 0xb8]
call fcn.14000e064
lea rdx, [0x1401604c0]
lea rcx, [rsp + 0xb8]
call fcn.1400b6600
nop
call fcn.1400bd1c0
int3