Function at 0x140093f60
Capabilities:
Get common file path

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov r12, qword [0x140126250]
mov rax, qword [r12]
mov qword [rsp + 0x78], rax
xor eax, eax
mov rsi, rcx
lea rbp, [rsp + 0x60]
lea rbx, [rsp + 0x50]
mov dword [rsp + 0x40], 0
call method.std::_V2.system_category__
xor r9d, r9d
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], r9w
nop dword [rax + rax]
xor r8d, r8d
mov rcx, rbx
call method.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 0x140093fc8
test eax, eax
je 0x1400940e8
xor r8d, r8d
mov rcx, rbx
call method.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 rcx, [rsi + 0x10]
mov rdi, qword [rsp + 0x58]
mov qword [rsi], rcx
cmp rax, rbp
je 0x140094160
mov qword [rsi], rax
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], rdi
lea rdi, [rsi + 0x20]
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], 0
mov word [rsp + 0x60], r8w
call method.std::filesystem::__cxx11::path::_List._List__
mov rcx, rsi
call method.std::filesystem::__cxx11::path._M_split_cmpts__
mov rcx, qword [rsp + 0x50]
cmp rcx, rbp
je 0x140094068
mov rax, qword [rsp + 0x60]
lea rdx, [rax + rax + 2]
call sym.operator_delete_void__unsigned_long_long_
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x140094108
cmp qword [rsi + 8], 0
jne 0x140094172
mov ecx, 0x30
call sym.__cxa_allocate_exception
lea rdx, str.temp_directory_path
mov rcx, rbx
mov r13, rax
call fcn.1400de820
movdqu xmm0, xmmword [rsp + 0x40]
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, r13
movups xmmword [rsp + 0x30], xmm0
call method.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, rbx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov rax, qword [rsp + 0x78]
sub rax, qword [r12]
jne 0x1400941bf
lea r8, [method.std::filesystem::__cxx11::filesystem_error.filesystem_error__]
lea rdx, [0x140133610]
mov rcx, r13
call sym.__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
jmp 0x140093fef
lea rdx, [rsp + 0x40]
mov rcx, rsi
call method.std::filesystem.status_std::filesystem::__cxx11::path_const__std::error_code_
mov edx, dword [rsp + 0x40]
test edx, edx
jne 0x140094074
cmp al, 2
je 0x14009413c
call method.std::_V2.generic_category__
mov dword [rsp + 0x40], 0x14
mov qword [rsp + 0x48], rax
jmp 0x140094074
mov rax, qword [rsp + 0x78]
sub rax, qword [r12]
jne 0x1400941bf
mov rax, rsi
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea r8, [rdi + rdi + 2]
mov rdx, rbp
call sym.memcpy
jmp 0x140094020
mov ecx, 0x30
call sym.__cxa_allocate_exception
lea rdx, str.temp_directory_path
mov rcx, rbx
mov r13, rax
call fcn.1400de820
movdqu xmm1, xmmword [rsp + 0x40]
mov r8, rsi
mov rdx, rbx
mov rcx, r13
lea r9, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm1
call method.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, rbx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov rax, qword [rsp + 0x78]
sub rax, qword [r12]
je 0x140094215
call dbg.__stack_chk_fail
mov rcx, rdi
mov rbp, rax
call method.std::unique_ptr_std::filesystem::__cxx11::path::_List::_Impl__std::filesystem::__cxx11::path::_List::_Impl_deleter_.unique_ptr__
mov rcx, rsi
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___._M_dispose__
mov rcx, rbx
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___._M_dispose__
mov rax, qword [rsp + 0x78]
sub rax, qword [r12]
jne 0x1400941bf
mov rcx, rbp
call sym._Unwind_Resume
mov rbp, rax
jmp 0x1400941cf
lea r8, [method.std::filesystem::__cxx11::filesystem_error.filesystem_error__]
lea rdx, [0x140133610]
mov rcx, r13
call sym.__cxa_throw
mov rbx, rax
mov rcx, rdi
call method.std::unique_ptr_std::filesystem::__cxx11::path::_List::_Impl__std::filesystem::__cxx11::path::_List::_Impl_deleter_.unique_ptr__
mov rcx, rsi
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___._M_dispose__
mov rax, qword [rsp + 0x78]
sub rax, qword [r12]
jne 0x1400941bf
mov rcx, rbx
call sym._Unwind_Resume
mov rbp, rax
mov rcx, rbx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov rbx, rbp
mov rcx, r13
call sym.__cxa_free_exception
jmp 0x14009422e