Function at 0x14002f920
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, reloc.SHELL32.dll_IsUserAnAdmin
movaps xmmword [rsp + 0x290], xmm6
mov r14, r9
mov rsi, r8
mov rbx, rdx
mov rax, qword [0x14011c040]
xor rax, rsp
mov qword [rsp + 0x288], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], r12
movaps xmm6, xmmword [0x1400f6a90]
movaps xmmword [rsp + 0x30], xmm6
cmp byte [rcx + 0x17], 0
jns 0x14002febc
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.1400672c0
movabs r13, 0x7ffffffffffffff7
mov ecx, 0x28
call fcn.140085054
mov qword [rsp + 0x80], rax
lea rcx, [r13 + 0x1d]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x88], 0x12
lea rcx, [rax + 0x24]
lea rdx, str.SOFTWAREPolicies_
cmp rax, rdx
seta r8b
cmp rcx, rdx
setbe cl
or cl, r8b
je 0x14002fcf0
movups xmm0, xmmword [0x1400fc9be]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [str.SOFTWAREPolicies_]
movups xmmword [rax], xmm0
mov dword [rax + 0x20], 0x5c0073
mov word [rax + 0x24], 0
lea r15, [rsp + 0x80]
mov rcx, rbx
xor edx, edx
mov r8, r15
call fcn.140030bf0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
cmp byte [r15 + 0x17], 0
jns 0x14002fa38
mov r15, qword [rsp + 0x80]
lea rdi, [rsp + 0x60]
mov qword [rsp + 0x20], rdi
lea r9, str.UserDataDir
mov ecx, 1
xor edx, edx
mov r8, r15
call fcn.140041590
test al, al
jne 0x14002fcb7
cmp byte [rsp + 0x97], 0
js 0x14002fa74
lea r8, [rsp + 0x80]
jmp 0x14002fa7c
mov r8, qword [rsp + 0x80]
mov qword [rsp + 0x20], rdi
lea r9, str.UserDataDir
mov ecx, 2
xor edx, edx
call fcn.140041590
test al, al
jne 0x14002fcb7
cmp byte [rsp + 0x77], 0
js 0x14002fe8a
cmp byte [rsp + 0x97], 0
jns 0x14002fabe
mov rcx, qword [rsp + 0x80]
call fcn.140085090
movsx rcx, byte [rsp + 0x47]
mov rax, rcx
test rcx, rcx
jns 0x14002fad1
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14002fcf2
shr rcx, 0x3f
lea rdx, [rsp + 0x30]
mov r8, rdx
test cl, 1
je 0x14002faf0
mov r8, qword [rsp + 0x30]
movzx r9d, word [r8 + rax*2 - 2]
cmp r9d, 0x5c
je 0x14002fc6a
cmp r9d, 0x2f
je 0x14002fc6a
lea rcx, [rsp + 0x30]
call fcn.140031cf0
test al, al
je 0x14002fcf2
lea rbx, [rsp + 0x80]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400ba050
cmp byte [rsp + 0x47], 0
jns 0x14002fb4b
mov rdx, qword [rsp + 0x30]
jmp 0x14002fb50
mov byte [rsp + 0x77], bl
jmp 0x14002fbcf
lea rdx, [rsp + 0x30]
mov r8d, 0x104
mov rcx, rbx
call fcn.14009f7bc
test rax, rax
je 0x14002fea6
lea r14, [rsp + 0x80]
mov rcx, r14
call fcn.1400a3e48
cmp rax, r13
ja 0x14002fcad
mov rbx, rax
cmp rax, 0xa
jbe 0x14002fb42
lea rax, [r13 + 5]
and rax, rbx
add rax, 4
mov r15, rbx
or r15, 3
cmp r15, 0xb
cmove r15, rax
inc r15
js 0x14002fc65
lea rcx, [r15 + r15]
call fcn.140085054
mov rdi, rax
mov qword [rsp + 0x60], rax
lea rax, [r15 + r13]
add rax, 9
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rbx
lea r15, [rdi + rbx*2]
cmp rdi, r14
seta al
cmp r15, r14
setbe cl
or cl, al
je 0x14002fcf0
test rbx, rbx
je 0x14002fc02
add rbx, rbx
lea rdx, [rsp + 0x80]
mov rcx, rdi
mov r8, rbx
call fcn.1400b99b0
mov word [r15], 0
cmp byte [rsi + 0x17], 0
js 0x14002fe99
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 0x14002fc37
mov rcx, qword [rsp + 0x30]
call fcn.140085090
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1400863f0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x290]
add rsp, reloc.SHELL32.dll_IsUserAnAdmin
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400baab0
lea r9, [rax - 1]
test cl, 1
jne 0x14002fc7e
and r9b, 0x7f
mov byte [rsp + 0x47], r9b
jmp 0x14002fc83
mov qword [rsp + 0x38], r9
mov word [r8 + rax*2 - 2], 0
movsx rcx, byte [rsp + 0x47]
mov rax, rcx
test rcx, rcx
jns 0x14002fc9e
mov rax, qword [rsp + 0x38]
shr rcx, 0x3f
test rax, rax
jne 0x14002fae3
jmp 0x14002fcf2
lea rcx, [rsp + 0x60]
call fcn.1400baad0
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.1400de1e0
cmp byte [rsp + 0x47], 0
jns 0x14002fcd7
mov rcx, qword [rsp + 0x30]
call fcn.140085090
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x14002fa9c
ud2
lea r15, [rsp + 0x30]
mov rcx, r14
mov rdx, r15
call fcn.140061430
lea r14, [rsp + 0x80]
mov qword [r14 + 0x10], r12
movaps xmmword [r14], xmm6
lea rdx, str.LOCALAPPDATA
mov rcx, r14
call fcn.1400317c0
movsx rax, byte [r14 + 0x17]
test rax, rax
jns 0x14002fd33
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x14002fe09
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 0x14002fd83
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14002fcf0
test cl, cl
jns 0x14002fd95
mov r15, qword [rsp + 0x30]
cmp word [r15 + rax*2 - 2], 0x5c
je 0x14002fdac
lea rcx, [rsp + 0x30]
mov dx, 0x5c
call fcn.140067560
mov bpl, 1
lea r14, [rsp + 0x30]
mov rcx, rbx
mov dl, 1
mov r8, r14
call fcn.140030bf0
mov rcx, r14
mov dx, 0x5c
call fcn.140067560
lea rdx, str.User_Data
mov r8d, 9
mov rcx, r14
call fcn.140067380
cmp byte [rsp + 0x97], 0
jns 0x14002fdf9
mov rcx, qword [rsp + 0x80]
call fcn.140085090
test bpl, bpl
jne 0x14002fb1c
xor esi, esi
jmp 0x14002fc26
xor ebp, ebp
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14002fde2
mov r12d, eax
inc r12d
xor ebp, ebp
mov rcx, r14
mov rdx, r12
xor r8d, r8d
call fcn.1400678e0
cmp byte [rsp + 0x97], 0
jns 0x14002fe41
mov r14, qword [rsp + 0x80]
mov ecx, r12d
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14002fde2
mov edx, eax
movsx rax, byte [rsp + 0x97]
test rax, rax
jns 0x14002fe69
mov rax, qword [rsp + 0x88]
cmp rax, rdx
ja 0x14002fe75
xor ebp, ebp
jmp 0x14002fde2
lea rcx, [rsp + 0x80]
xor r8d, r8d
call fcn.1400678e0
jmp 0x14002fd3c
mov rcx, qword [rsp + 0x60]
call fcn.140085090
jmp 0x14002faa7
mov rcx, qword [rsi]
call fcn.140085090
jmp 0x14002fc12
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
jmp 0x14002fc08
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x14002f98c