Function at 0x14002fa00
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, reloc.SHELL32.dll_IsUserAnAdmin
movaps xmmword [rsp + 0x290], xmm6
mov rbx, r9
mov rsi, r8
mov rdi, rdx
mov rax, qword [0x140121040]
xor rax, rsp
mov qword [rsp + 0x288], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], r15
movaps xmm6, xmmword [0x1400fc140]
movaps xmmword [rsp + 0x30], xmm6
cmp byte [rcx + 0x17], 0
jns 0x14002fe88
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.14005d830
lea r14, [rsp + 0x80]
mov qword [r14 + 0x10], r15
movaps xmmword [r14], xmm6
lea rdx, str.SOFTWAREPolicies_
mov rcx, r14
call fcn.140019c00
mov rcx, rdi
xor edx, edx
mov r8, r14
call fcn.140030b30
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
cmp byte [r14 + 0x17], 0
jns 0x14002fab5
mov r14, qword [rsp + 0x80]
lea r12, [rsp + 0x60]
mov qword [rsp + 0x20], r12
lea r9, str.UserDataDir
mov ecx, 1
xor edx, edx
mov r8, r14
call fcn.140042490
test al, al
jne 0x14002fc47
cmp byte [rsp + 0x97], 0
js 0x14002faf1
lea r8, [rsp + 0x80]
jmp 0x14002faf9
mov r8, qword [rsp + 0x80]
mov qword [rsp + 0x20], r12
lea r9, str.UserDataDir
mov ecx, 2
xor edx, edx
call fcn.140042490
test al, al
jne 0x14002fc47
cmp byte [rsp + 0x77], 0
js 0x14002fe56
cmp byte [rsp + 0x97], 0
jns 0x14002fb3b
mov rcx, qword [rsp + 0x80]
call fcn.14007f42c
movsx rcx, byte [rsp + 0x47]
mov rax, rcx
test rcx, rcx
jns 0x14002fb4e
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14002fcc1
shr rcx, 0x3f
lea rdx, [rsp + 0x30]
mov r8, rdx
test cl, 1
je 0x14002fb6d
mov r8, qword [rsp + 0x30]
movzx r9d, word [r8 + rax*2 - 2]
cmp r9d, 0x5c
je 0x14002fc80
cmp r9d, 0x2f
je 0x14002fc80
lea rcx, [rsp + 0x30]
call fcn.1400317b0
test al, al
je 0x14002fcc1
lea rdi, [rsp + 0x80]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400b5fa0
cmp byte [rsp + 0x47], 0
js 0x14002fbbf
lea rdx, [rsp + 0x30]
jmp 0x14002fbc4
mov rdx, qword [rsp + 0x30]
mov r8d, 0x104
mov rcx, rdi
call fcn.140099e10
test rax, rax
je 0x14002fe72
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x80]
call fcn.140019c00
cmp byte [rsi + 0x17], 0
js 0x14002fe65
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi], xmm0
mov sil, 1
cmp byte [rsp + 0x47], 0
jns 0x14002fc1c
mov rcx, qword [rsp + 0x30]
call fcn.14007f42c
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.140080790
mov eax, esi
movaps xmm6, xmmword [rsp + 0x290]
add rsp, reloc.SHELL32.dll_IsUserAnAdmin
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.1400dad30
cmp byte [rsp + 0x47], 0
jns 0x14002fc67
mov rcx, qword [rsp + 0x30]
call fcn.14007f42c
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x14002fb19
lea r9, [rax - 1]
test cl, 1
jne 0x14002fc94
and r9b, 0x7f
mov byte [rsp + 0x47], r9b
jmp 0x14002fc99
mov qword [rsp + 0x38], r9
mov word [r8 + rax*2 - 2], 0
movsx rcx, byte [rsp + 0x47]
mov rax, rcx
test rcx, rcx
jns 0x14002fcb4
mov rax, qword [rsp + 0x38]
shr rcx, 0x3f
test rax, rax
jne 0x14002fb60
lea r14, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14001f930
lea rbx, [rsp + 0x80]
mov qword [rbx + 0x10], r15
movaps xmmword [rbx], xmm6
lea rdx, str.LOCALAPPDATA
mov rcx, rbx
call fcn.140031330
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x14002fd01
mov rax, qword [rsp + 0x88]
test rax, rax
jne 0x14002fdab
xor r12d, r12d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14002fd74
mov r15d, eax
inc r15d
xor r12d, r12d
mov rcx, rbx
mov rdx, r15
xor r8d, r8d
call fcn.14005dda0
cmp byte [rsp + 0x97], 0
jns 0x14002fd44
mov rbx, qword [rsp + 0x80]
mov ecx, r15d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14002fd74
mov edx, eax
movsx rax, byte [rsp + 0x97]
test rax, rax
jns 0x14002fd6c
mov rax, qword [rsp + 0x88]
cmp rax, rdx
ja 0x14002fd9b
xor r12d, r12d
cmp byte [rsp + 0x97], 0
jns 0x14002fd8b
mov rcx, qword [rsp + 0x80]
call fcn.14007f42c
test r12b, r12b
jne 0x14002fb99
xor esi, esi
jmp 0x14002fc0b
lea rcx, [rsp + 0x80]
xor r8d, r8d
call fcn.14005dda0
movaps xmm0, xmmword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x40], rcx
movaps xmm1, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], rax
movsx rcx, byte [rsp + 0x47]
mov rax, rcx
test rcx, rcx
jns 0x14002fdf2
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14002fe9e
test cl, cl
jns 0x14002fe04
mov r14, qword [rsp + 0x30]
cmp word [r14 + rax*2 - 2], 0x5c
je 0x14002fe1b
lea rcx, [rsp + 0x30]
mov dx, 0x5c
call fcn.14005dbb0
mov r12b, 1
lea rbx, [rsp + 0x30]
mov rcx, rdi
mov dl, 1
mov r8, rbx
call fcn.140030b30
mov rcx, rbx
mov dx, 0x5c
call fcn.14005dbb0
lea rdx, str.User_Data
mov r8d, 9
mov rcx, rbx
call fcn.14005d930
jmp 0x14002fd74
mov rcx, qword [rsp + 0x60]
call fcn.14007f42c
jmp 0x14002fb24
mov rcx, qword [rsi]
call fcn.14007f42c
jmp 0x14002fbf7
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
jmp 0x14002fbed
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x14002fa69
lea rcx, [0x1400fc189]
lea rdx, str....._third_partylibc_srcinclude_string:1249:_assertion___pos___size___failed:_string_index_out_of_bounds_n
call fcn.1400b71e0
int3