Function at 0x1400a1b70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov r15, rcx
xor ebx, ebx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x70]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x1400a1bed
lea rcx, [rbp - 0x70]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], bx
jne 0x1400a1bd0
cmp word [rbp + rax*2 - 0x72], 0x5c
jne 0x1400a1be7
mov word [rbp + rax*2 - 0x72], bx
lea rdx, [rbp - 0x70]
jmp 0x1400a1c17
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.1400176e0
lea rdx, [0x140010da0]
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]
lea rdx, [0x140320fb4]
lea rcx, [rsp + 0x28]
call fcn.140010b50
nop
mov rsi, qword [rsp + 0x38]
test rsi, rsi
jne 0x1400a1c88
lea rdx, [0x140320fb4]
mov rcx, r15
call fcn.140010b50
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400a1e3b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a1e36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a1e36
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x68]
call fcn.1400a1e70
mov qword [rbp + 0x1f0], rax
movabs rdx, 0x7ffffffffffffffe
mov rcx, rdx
sub rcx, rsi
cmp rcx, 1
jb 0x1400a1e59
lea rax, [rsp + 0x28]
mov rdi, qword [rsp + 0x28]
mov r12, qword [rsp + 0x40]
cmp r12, 8
cmovae rax, rdi
mov qword [rbp + 0x1e8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea r13, [rsi + 1]
mov ebx, 7
lea r14, [rsp + 0x48]
cmp r13, rbx
jbe 0x1400a1d21
mov rbx, r13
or rbx, 7
cmp rbx, rdx
jbe 0x1400a1cfd
mov rbx, rdx
jmp 0x1400a1d09
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
call fcn.1400116b0
mov r14, rax
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x1e8]
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], rbx
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, rax
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + r14], 0x5c
xor ebx, ebx
mov word [r14 + r13*2], bx
mov r9, qword [rbp + 0x1f0]
lea r8, [rsp + 0x48]
mov rcx, r15
call fcn.140019b00
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400a1da6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a1da0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a1da0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008d6e4
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400a1dea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a1de5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a1de5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008d6e4
movdqa xmm0, xmmword [0x140327a10]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], bx
cmp r12, 8
jb 0x1400a1e3b
lea rdx, [r12*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a1e33
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a1e33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14008d6e4
mov rax, r15
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140002e20
nop
int3