Function at 0x1400d3d0c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rdx
mov rsi, rcx
xor r14d, r14d
mov rax, rdx
cmp qword [rdx + 0x18], 7
jbe 0x1400d3d48
mov rax, qword [rdx]
mov qword [rdx + 0x10], r14
mov word [rax], r14w
mov edx, 0x104
lea rcx, [rbp - 0x31]
call fcn.140009e14
mov rcx, qword [rbp - 0x29]
mov rdi, qword [rbp - 0x31]
sub rcx, rdi
sar rcx, 1
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r12d, 0x1000
test eax, eax
jne 0x1400d3dd3
lea edx, [rax + 0x5c]
lea rcx, str.src_appvisv_shared_system_file.cpp
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x1400d3d99
inc rax
jmp 0x1400d3da0
lea rax, str.src_appvisv_shared_system_file.cpp
mov rdx, rax
lea rcx, [0x1401712f0]
call fcn.140005a68
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
or rsi, rbx
movabs rax, 0x6a2500000000
or rsi, rax
jmp 0x1400d3ee6
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r14w
jne 0x1400d3de6
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.140005d34
mov rdx, rsi
lea rcx, [rbp + 7]
call fcn.14000ca70
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 9], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.1400d3f48
mov rsi, rax
mov rax, qword [rbp - 1]
cmp rax, 7
jbe 0x1400d3e81
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rdx, rcx
cmp rax, r12
jb 0x1400d3e7b
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400d3e7b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movdqa xmm0, xmmword [0x140137c10]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], r14w
mov rax, qword [rbp + 0x1f]
cmp rax, 7
jbe 0x1400d3ecf
lea rax, [rax*2 + 2]
mov rcx, qword [rbp + 7]
mov rdx, rcx
cmp rax, r12
jb 0x1400d3ec9
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400d3ec9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rsi
shr rax, 0x27
not eax
test al, 1
jne 0x1400d3ee6
movabs rsi, 0x8000000000
test rdi, rdi
je 0x1400d3f21
mov rax, qword [rbp - 0x21]
sub rax, rdi
sar rax, 1
add rax, rax
mov rcx, rdi
cmp rax, r12
jb 0x1400d3f18
mov rdi, qword [rdi - 8]
sub rcx, rdi
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x1400d3f18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rsi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400e4b70
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret