Function at 0x14002fb10
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 [0x14011e040]
xor rax, rsp
mov qword [rsp + 0x288], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], r12
movaps xmm6, xmmword [0x1400f7a90]
movaps xmmword [rsp + 0x30], xmm6
cmp byte [rcx + 0x17], 0
jns 0x1400300b5
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.140067030
movabs r13, 0x7ffffffffffffff7
mov ecx, 0x28
call fcn.140085d40
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 0x14002fee9
movups xmm0, xmmword [0x1400fd9be]
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.140030e10
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
cmp byte [r15 + 0x17], 0
jns 0x14002fc28
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.140041960
test al, al
jne 0x14002feb0
cmp byte [rsp + 0x97], 0
js 0x14002fc64
lea r8, [rsp + 0x80]
jmp 0x14002fc6c
mov r8, qword [rsp + 0x80]
mov qword [rsp + 0x20], rdi
lea r9, str.UserDataDir
mov ecx, 2
xor edx, edx
call fcn.140041960
test al, al
jne 0x14002feb0
cmp byte [rsp + 0x77], 0
js 0x140030083
cmp byte [rsp + 0x97], 0
jns 0x14002fcae
mov rcx, qword [rsp + 0x80]
call fcn.140085d7c
movsx rcx, byte [rsp + 0x47]
mov rax, rcx
test rcx, rcx
jns 0x14002fcc1
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14002feeb
shr rcx, 0x3f
lea rdx, [rsp + 0x30]
mov r8, rdx
test cl, 1
je 0x14002fce0
mov r8, qword [rsp + 0x30]
movzx r9d, word [r8 + rax*2 - 2]
cmp r9d, 0x5c
je 0x14002fe63
cmp r9d, 0x2f
je 0x14002fe63
lea rcx, [rsp + 0x30]
call fcn.140031f40
test al, al
je 0x14002feeb
lea rbx, [rsp + 0x80]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400bad40
cmp byte [rsp + 0x47], 0
jns 0x14002fd3b
mov rdx, qword [rsp + 0x30]
jmp 0x14002fd40
mov byte [rsp + 0x77], bl
jmp 0x14002fdbe
lea rdx, [rsp + 0x30]
mov r8d, 0x104
mov rcx, rbx
call fcn.1400a04ac
test rax, rax
je 0x14003009f
lea r14, [rsp + 0x80]
mov rcx, r14
call fcn.1400a4b38
cmp rax, r13
ja 0x14002fea6
mov rbx, rax
cmp rax, 0xa
jbe 0x14002fd32
mov rax, rbx
or rax, 3
lea rcx, [rax + 1]
cmp rax, 0xb
mov r15d, 0xd
cmovne r15, rcx
test r15, r15
js 0x14002fe5e
lea rcx, [r15 + r15]
call fcn.140085d40
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 0x14002fee9
test rbx, rbx
je 0x14002fdf1
add rbx, rbx
lea rdx, [rsp + 0x80]
mov rcx, rdi
mov r8, rbx
call fcn.1400ba6a0
mov word [r15], 0
cmp byte [rsi + 0x17], 0
js 0x140030092
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 0x14002fe26
mov rcx, qword [rsp + 0x30]
call fcn.140085d7c
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
cmp rcx, qword [0x14011e040]
je 0x14002fe40
call fcn.1400870e0
int3
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.1400bb7a0
lea r9, [rax - 1]
test cl, 1
jne 0x14002fe77
and r9b, 0x7f
mov byte [rsp + 0x47], r9b
jmp 0x14002fe7c
mov qword [rsp + 0x38], r9
mov word [r8 + rax*2 - 2], 0
movsx rcx, byte [rsp + 0x47]
mov rax, rcx
test rcx, rcx
jns 0x14002fe97
mov rax, qword [rsp + 0x38]
shr rcx, 0x3f
test rax, rax
jne 0x14002fcd3
jmp 0x14002feeb
lea rcx, [rsp + 0x60]
call fcn.1400bb7c0
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.1400df790
cmp byte [rsp + 0x47], 0
jns 0x14002fed0
mov rcx, qword [rsp + 0x30]
call fcn.140085d7c
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x14002fc8c
ud2
lea r15, [rsp + 0x30]
mov rcx, r14
mov rdx, r15
call fcn.140060fa0
lea r14, [rsp + 0x80]
mov qword [r14 + 0x10], r12
movaps xmmword [r14], xmm6
lea rdx, str.LOCALAPPDATA
mov rcx, r14
call fcn.1400319e0
movsx rax, byte [r14 + 0x17]
test rax, rax
jns 0x14002ff2c
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x140030002
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 0x14002ff7c
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14002fee9
test cl, cl
jns 0x14002ff8e
mov r15, qword [rsp + 0x30]
cmp word [r15 + rax*2 - 2], 0x5c
je 0x14002ffa5
lea rcx, [rsp + 0x30]
mov dx, 0x5c
call fcn.1400672c0
mov bpl, 1
lea r14, [rsp + 0x30]
mov rcx, rbx
mov dl, 1
mov r8, r14
call fcn.140030e10
mov rcx, r14
mov dx, 0x5c
call fcn.1400672c0
lea rdx, str.User_Data
mov r8d, 9
mov rcx, r14
call fcn.1400670e0
cmp byte [rsp + 0x97], 0
jns 0x14002fff2
mov rcx, qword [rsp + 0x80]
call fcn.140085d7c
test bpl, bpl
jne 0x14002fd0c
xor esi, esi
jmp 0x14002fe15
xor ebp, ebp
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14002ffdb
mov r12d, eax
inc r12d
xor ebp, ebp
mov rcx, r14
mov rdx, r12
xor r8d, r8d
call fcn.140067640
cmp byte [rsp + 0x97], 0
jns 0x14003003a
mov r14, qword [rsp + 0x80]
mov ecx, r12d
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14002ffdb
mov edx, eax
movsx rax, byte [rsp + 0x97]
test rax, rax
jns 0x140030062
mov rax, qword [rsp + 0x88]
cmp rax, rdx
ja 0x14003006e
xor ebp, ebp
jmp 0x14002ffdb
lea rcx, [rsp + 0x80]
xor r8d, r8d
call fcn.140067640
jmp 0x14002ff35
mov rcx, qword [rsp + 0x60]
call fcn.140085d7c
jmp 0x14002fc97
mov rcx, qword [rsi]
call fcn.140085d7c
jmp 0x14002fe01
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
jmp 0x14002fdf7
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x14002fb7c