Function at 0x1400a9190
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 0x1400a920d
lea rcx, [rbp - 0x70]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], bx
jne 0x1400a91f0
cmp word [rbp + rax*2 - 0x72], 0x5c
jne 0x1400a9207
mov word [rbp + rax*2 - 0x72], bx
lea rdx, [rbp - 0x70]
jmp 0x1400a9237
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.14001b830
lea rdx, [0x140004e20]
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, [0x140132ce4]
lea rcx, [rsp + 0x48]
call fcn.140004620
nop
mov r14, qword [rsp + 0x58]
test r14, r14
jne 0x1400a92a8
lea rdx, [0x140132ce4]
mov rcx, r15
call fcn.140004620
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1400a94c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a94bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a94bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x68]
call fcn.1400a9500
mov qword [rbp + 0x1f0], rax
movabs rax, 0x7ffffffffffffffe
mov rcx, rax
sub rcx, r14
cmp rcx, 1
jb 0x1400a94e5
lea rdx, [rsp + 0x48]
mov rsi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x60]
cmp r12, 7
cmova rdx, rsi
mov qword [rbp + 0x1e8], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea r13, [r14 + 1]
mov ebx, 7
lea rdi, [rsp + 0x20]
cmp r13, rbx
jbe 0x1400a93ab
mov rbx, r13
or rbx, 7
cmp rbx, rax
jbe 0x1400a936b
mov rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x1400a9397
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400a94df
mov rcx, rax
call fcn.140094c1c
test rax, rax
je 0x1400a941f
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400a939f
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400a94df
add rcx, rcx
jne 0x1400a9336
xor edi, edi
jmp 0x1400a93a6
call fcn.140094c1c
mov rdi, rax
mov rdx, qword [rbp + 0x1e8]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], rbx
lea rbx, [r14 + r14]
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], 0x5c
xor ebx, ebx
mov word [rdi + r13*2], bx
mov r9, qword [rbp + 0x1f0]
lea r8, [rsp + 0x20]
mov rcx, r15
call fcn.14001da60
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x1400a942c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a9426
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a9426
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140094e98
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x1400a9470
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a946b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a946b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140094e98
movdqa xmm0, xmmword [0x140335090]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], bx
cmp r12, 7
jbe 0x1400a94c1
lea rdx, [r12*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400a94b9
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a94b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140094e98
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.140003320
nop
call fcn.1400033c0
int3