Function at 0x1400b3110
Capabilities:
Get common file path

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
mov dword [rsp + 0x40], 0
mov rbx, rcx
lea rbp, [rsp + 0x60]
lea rsi, [rsp + 0x50]
call dbg.std::_V2::system_category()
xor r8d, r8d
mov qword [rsp + 0x50], rbp
mov rdi, qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov qword [rsp + 0x48], rax
mov edx, 0x400
mov qword [rsp + 0x58], 0
mov word [rsp + 0x60], r8w
nop dword [rax]
xor r8d, r8d
mov rcx, rsi
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::resize(unsigned long long, wchar_t)
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x58]
call rdi
mov edx, eax
cmp qword [rsp + 0x58], rdx
jb 0x1400b3160
xor edi, edi
test eax, eax
je 0x1400b3270
xor r8d, r8d
mov rcx, rsi
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::resize(unsigned long long, wchar_t)
mov rax, qword [rsp + 0x50]
lea rdx, [rbx + 0x10]
mov rcx, qword [rsp + 0x58]
mov qword [rbx], rdx
cmp rax, rbp
je 0x1400b32d8
mov qword [rbx], rax
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rcx
lea r12, [rbx + 0x20]
xor ecx, ecx
mov word [rsp + 0x60], cx
mov rcx, r12
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], 0
call dbg.std::filesystem::__cxx11::path::_List::_List()
mov rcx, rbx
call dbg.std::filesystem::__cxx11::path::_M_split_cmpts()
mov rcx, qword [rsp + 0x50]
cmp rcx, rbp
je 0x1400b3200
mov rax, qword [rsp + 0x60]
lea rdx, [rax + rax + 2]
call dbg.operator delete(void*, unsigned long long)
test edi, edi
je 0x1400b3290
cmp qword [rbx + 8], 0
jne 0x1400b3389
mov ecx, 0x30
call dbg.__cxa_allocate_exception
lea rdx, str.temp_directory_path
mov rcx, rsi
mov rbp, rax
call fcn.1400fe7a0
movdqa xmm0, xmmword [rsp + 0x40]
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rbp
movaps xmmword [rsp + 0x30], xmm0
call dbg.std::filesystem::__cxx11::filesystem_error::filesystem_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::error_code)
mov rcx, rsi
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose()
lea r8, [dbg.std::filesystem::__cxx11::filesystem_error::~filesystem_error()]
lea rdx, [0x140126aa0]
mov rcx, rbp
call dbg.__cxa_throw
nop dword [rax + rax]
mov qword [rsp + 0x28], rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rsp + 0x28]
mov dword [rsp + 0x40], eax
mov edi, eax
jmp 0x1400b3189
lea rdx, [rsp + 0x40]
mov rcx, rbx
call dbg.std::filesystem::status(std::filesystem::__cxx11::path const&, std::error_code&)
mov edx, dword [rsp + 0x40]
test edx, edx
jne 0x1400b3208
cmp al, 2
je 0x1400b32c4
call dbg.std::_V2::generic_category()
mov dword [rsp + 0x40], 0x14
mov qword [rsp + 0x48], rax
jmp 0x1400b3208
mov rax, rbx
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rax, [rcx + rcx + 2]
cmp eax, 8
jae 0x1400b3320
test al, 4
jne 0x1400b3370
test eax, eax
je 0x1400b31ba
movzx r8d, byte [rbp]
mov byte [rbx + 0x10], r8b
test al, 2
je 0x1400b31ba
mov eax, eax
movzx r8d, word [rbp + rax - 2]
mov word [rdx + rax - 2], r8w
jmp 0x1400b31ba
mov r8, qword [rbp]
mov r11, rbp
mov qword [rbx + 0x10], r8
mov r8d, eax
mov r9, qword [rbp + r8 - 8]
mov qword [rdx + r8 - 8], r9
lea r9, [rbx + 0x18]
and r9, 0xfffffffffffffff8
sub rdx, r9
add eax, edx
sub r11, rdx
and eax, 0xfffffff8
cmp eax, 8
jb 0x1400b31ba
and eax, 0xfffffff8
xor edx, edx
mov r8d, edx
add edx, 8
mov r10, qword [r11 + r8]
mov qword [r9 + r8], r10
cmp edx, eax
jb 0x1400b3359
jmp 0x1400b31ba
mov r8d, dword [rbp]
mov eax, eax
mov dword [rbx + 0x10], r8d
mov r8d, dword [rbp + rax - 4]
mov dword [rdx + rax - 4], r8d
jmp 0x1400b31ba
mov ecx, 0x30
call dbg.__cxa_allocate_exception
lea rdx, str.temp_directory_path
mov rcx, rsi
mov rbp, rax
call fcn.1400fe7a0
movdqa xmm1, xmmword [rsp + 0x40]
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
lea r9, [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm1
call dbg.std::filesystem::__cxx11::filesystem_error::filesystem_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::filesystem::__cxx11::path const&, std::error_code)
mov rcx, rsi
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose()
lea r8, [dbg.std::filesystem::__cxx11::filesystem_error::~filesystem_error()]
lea rdx, [0x140126aa0]
mov rcx, rbp
call dbg.__cxa_throw
mov rdx, qword [rbx + 0x20]
mov rdi, rax
test rdx, rdx
je 0x1400b33f5
mov rcx, r12
call dbg.std::filesystem::__cxx11::path::_List::_Impl_deleter::operator()(std::filesystem::__cxx11::path::_List::_Impl*) const
mov rcx, rbx
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_dispose()
mov rcx, rsi
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_dispose()
mov rcx, rdi
call dbg._Unwind_Resume
mov rdi, rax
jmp 0x1400b33f5