Function at 0x1400656c0
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 [0x1401600b0]
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 0x1400659e1
mov qword [rsp + 0x40], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x58]
call fcn.1400660c4
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140066620
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 0x1400657c4
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rdx
cmp rdx, 0x1000
jb 0x1400657b1
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 0x140065a0a
call fcn.140095470
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.1400b4430
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 0x1400658ee
lfence
call fcn.14008b144
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.140045150
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.140093550
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400658ce
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400658bb
lfence
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400659db
call fcn.140095470
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
movdqu xmmword [rsp + 0x48], xmm0
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.140095410
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.1400666b4
test al, al
je 0x140065954
lea rax, [rsp + 0x300]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x14006592b
mov qword [rsp + 0x20], ntohl
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.0x14007c430.0]
nop
lea rcx, [rsp + 0x2e0]
call fcn.140005cfc
nop
test rbx, rbx
je 0x1400658ce
mov rdx, qword [rsp + 0x50]
sub rdx, rbx
cmp rdx, 0x1000
jb 0x1400659cc
lfence
add rdx, 0x27
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400659db
mov rcx, rbx
jmp 0x1400658bb
call fcn.1400bb190
int3
lea rdx, str.File_path_must_not_be_empty
lea rcx, [rsp + 0xb8]
call fcn.14000e064
lea rdx, [0x14015dc70]
lea rcx, [rsp + 0xb8]
call fcn.1400b45d0
nop
call fcn.1400bb190
int3