Function at 0x1400c61b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0x20], r14d
mov edx, 0x104
lea rcx, [rsp + 0x28]
call fcn.140009e14
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
sub rcx, rbx
sar rcx, 1
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
nop dword [rax]
nop word [rax + rax]
test eax, eax
je 0x1400c6444
lea rcx, [rbp - 0x40]
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x1400c6480
lea r8d, [r14 + 0x40]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x40]
call qword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
je 0x1400c648f
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea r8d, [r14 + 7]
lea rdx, str.appvtmp
lea rcx, [rbp - 0x60]
call fcn.140005d34
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x60]
nop
call fcn.14000a260
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
or esi, 2
mov dword [rsp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r14w
jne 0x1400c62c0
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140005d34
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.14005ec9c
or esi, 1
mov dword [rsp + 0x20], esi
mov esi, 0x1000
mov rax, qword [rbp - 0x68]
cmp rax, 7
jbe 0x1400c6330
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rdx, rcx
cmp rax, rsi
jb 0x1400c6329
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400c6329
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]
nop
mov rax, qword [rsp + 0x60]
cmp rax, 7
jbe 0x1400c6370
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rdx, rcx
cmp rax, rsi
jb 0x1400c6368
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400c6368
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]
nop
nop
mov rax, qword [rbp - 0x48]
cmp rax, 7
jbe 0x1400c63ac
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rdx, rcx
cmp rax, rsi
jb 0x1400c63a6
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400c63a6
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 rcx, rdi
call fcn.1400d3310
mov rcx, rax
shr rcx, 0x27
not ecx
test cl, 1
jne 0x1400c6425
test rbx, rbx
je 0x1400c63fe
mov rax, qword [rsp + 0x38]
sub rax, rbx
sar rax, 1
add rax, rax
mov rcx, rbx
cmp rax, rsi
jb 0x1400c63f5
mov rbx, qword [rbx - 8]
sub rcx, rbx
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x1400c63f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rdi
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400e4b70
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140008d38
lea rdx, [0x140146bc8]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400c5cdc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
or rdx, rbx
movabs rax, 0x72500000000
or rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140008d38
lea rdx, [0x140146bc8]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov r9d, eax
mov r8d, 0x3b
call fcn.1400c5d88
int3
call fcn.1400c5cdc
movabs rdx, 0x7250000007a
or rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140008d38
lea rdx, [0x140146bc8]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3