Function at 0x1400b8130
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 [0x14010e040]
xor rax, rsp
mov qword [rsp + 0x288], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], r15
movaps xmm6, xmmword [0x1400eef60]
movaps xmmword [rsp + 0x30], xmm6
cmp byte [rcx + 0x17], 0
js 0x1400b821d
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x30], xmm0
lea r14, [rsp + 0x80]
mov qword [r14 + 0x10], r15
movaps xmmword [r14], xmm6
lea rdx, str.SOFTWAREPolicies_
mov rcx, r14
call fcn.140019af0
mov rcx, rdi
xor edx, edx
mov r8, r14
call fcn.1400b8740
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
cmp byte [r14 + 0x17], 0
jns 0x1400b81e5
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.140039ea0
test al, al
jne 0x1400b8257
cmp byte [rsp + 0x97], 0
js 0x1400b8233
lea r8, [rsp + 0x80]
jmp 0x1400b823b
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.140024850
jmp 0x1400b8199
mov r8, qword [rsp + 0x80]
mov qword [rsp + 0x20], r12
lea r9, str.UserDataDir
mov ecx, 2
xor edx, edx
call fcn.140039ea0
test al, al
je 0x1400b828b
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.1400c8c10
cmp byte [rsp + 0x47], 0
jns 0x1400b8277
mov rcx, qword [rsp + 0x30]
call fcn.140061af8
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x30], xmm0
cmp byte [rsp + 0x77], 0
jns 0x1400b829c
mov rcx, qword [rsp + 0x60]
call fcn.140061af8
cmp byte [rsp + 0x97], 0
jns 0x1400b82b3
mov rcx, qword [rsp + 0x80]
call fcn.140061af8
movsx rcx, byte [rsp + 0x47]
mov rax, rcx
test rcx, rcx
jns 0x1400b82c6
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400b8344
shr rcx, 0x3f
lea rdx, [rsp + 0x30]
jmp 0x1400b82ff
mov qword [rsp + 0x38], r9
mov word [r8 + rax*2 - 2], 0
movsx rcx, byte [rsp + 0x47]
mov rax, rcx
test rcx, rcx
jns 0x1400b82f6
mov rax, qword [rsp + 0x38]
shr rcx, 0x3f
test rax, rax
je 0x1400b8344
mov r8, rdx
test cl, 1
je 0x1400b830c
mov r8, qword [rsp + 0x30]
movzx r9d, word [r8 + rax*2 - 2]
cmp r9d, 0x5c
je 0x1400b831e
cmp r9d, 0x2f
jne 0x1400b8332
lea r9, [rax - 1]
test cl, 1
jne 0x1400b82d6
and r9b, 0x7f
mov byte [rsp + 0x47], r9b
jmp 0x1400b82db
lea rcx, [rsp + 0x30]
call fcn.1400b8e90
test al, al
jne 0x1400b84de
lea r14, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14001e600
lea rbx, [rsp + 0x80]
mov qword [rbx + 0x10], r15
movaps xmmword [rbx], xmm6
lea rdx, str.LOCALAPPDATA
mov rcx, rbx
call fcn.1400b8d00
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x1400b8384
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x1400b845a
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 0x1400b83d4
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400b859f
test cl, cl
jns 0x1400b83e6
mov r14, qword [rsp + 0x30]
cmp word [r14 + rax*2 - 2], 0x5c
je 0x1400b83fd
lea rcx, [rsp + 0x30]
mov dx, 0x5c
call fcn.14004d320
mov r12b, 1
lea rbx, [rsp + 0x30]
mov rcx, rdi
mov dl, 1
mov r8, rbx
call fcn.1400b8740
mov rcx, rbx
mov dx, 0x5c
call fcn.14004d320
lea rdx, str.User_Data
mov r8d, 9
mov rcx, rbx
call fcn.140024b30
cmp byte [rsp + 0x97], 0
jns 0x1400b844a
mov rcx, qword [rsp + 0x80]
call fcn.140061af8
test r12b, r12b
jne 0x1400b84de
xor esi, esi
jmp 0x1400b8563
xor r12d, r12d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400b8433
mov r15d, eax
inc r15d
xor r12d, r12d
mov rcx, rbx
mov rdx, r15
xor r8d, r8d
call fcn.140024fa0
cmp byte [rsp + 0x97], 0
jns 0x1400b8494
mov rbx, qword [rsp + 0x80]
mov ecx, r15d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400b8433
mov edx, eax
movsx rax, byte [rsp + 0x97]
test rax, rax
jns 0x1400b84bc
mov rax, qword [rsp + 0x88]
cmp rax, rdx
ja 0x1400b84c9
xor r12d, r12d
jmp 0x1400b8433
lea rcx, [rsp + 0x80]
xor r8d, r8d
call fcn.140024fa0
jmp 0x1400b838d
lea rdi, [rsp + 0x80]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140098660
cmp byte [rsp + 0x47], 0
js 0x1400b8517
lea rdx, [rsp + 0x30]
jmp 0x1400b851c
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
jmp 0x1400b8541
mov rdx, qword [rsp + 0x30]
mov r8d, 0x104
mov rcx, rdi
call fcn.14007c4d0
test rax, rax
je 0x1400b8504
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x80]
call fcn.140019af0
cmp byte [rsi + 0x17], 0
jns 0x1400b854f
mov rcx, qword [rsi]
call fcn.140061af8
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 0x1400b8574
mov rcx, qword [rsp + 0x30]
call fcn.140061af8
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.140062e50
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
ud2