Function at 0x140002130
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x1400fe080]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rdi, rcx
mov qword [rbp - 0x80], rcx
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
lea r13, [rbp + 0x218]
movabs r12, 0xff0f0ff0f0ff00f
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r13
mov rbx, qword [r13]
xor rbx, r12
mov qword [rsp + 0x68], rbx
movups xmmword [rsp + 0x40], xmm0
lea rsi, [rbp + 0x218]
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x40], r12
mov qword [rsi], r15
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x30]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x140002251
lea rcx, [rbp - 0x30]
mov r8, 0xffffffffffffffff
mov rax, r8
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140002200
cmp word [rbp + rax*2 - 0x32], 0x5c
jne 0x14000222d
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x140002498
mov word [rbp + rax - 0x30], r15w
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r15
lea rax, [rbp - 0x30]
inc r8
cmp word [rax + r8*2], 0
jne 0x140002240
lea rdx, [rbp - 0x30]
jmp 0x14000228d
lea rdx, str.____Failed_to_get_temp_path
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008230
lea rdx, [0x140008410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r15
xor r8d, r8d
lea rdx, [0x1400df9f4]
lea rcx, [rbp - 0x58]
call fcn.14000a900
nop
mov rax, r15
mov qword [rsi], rax
mov rsi, qword [rbp - 0x48]
test rsi, rsi
jne 0x140002311
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
xor r8d, r8d
lea rdx, [0x1400df9f4]
mov rcx, rdi
call fcn.14000a900
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x140002458
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002452
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002452
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x40]
call fcn.140001eb0
mov r14, rax
movabs rcx, 0x7ffffffffffffffe
sub rcx, rsi
cmp rcx, 1
jb 0x140002492
lea r9, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova r9, qword [rbp - 0x58]
mov qword [rsp + 0x30], 1
lea rax, [0x1400df9f8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea rcx, [rbp - 0x78]
call fcn.14000aff0
nop
mov r9, r14
lea r8, [rbp - 0x78]
mov rcx, rdi
call fcn.14000add0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x1400023bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc0a0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140002400
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc0a0
movdqa xmm0, xmmword [0x1400ee020]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r15w
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x140002458
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002452
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002452
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc0a0
nop
xor rbx, r12
mov rax, rdi
mov qword [r13], rbx
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400cc080
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001d60
nop
call fcn.1400cc580
int3