Function at 0x140030f00
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 [0x140121038]
xor rax, rsp
mov qword [rsp + 0x288], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], r15
movaps xmm6, xmmword [0x1400fc100]
movaps xmmword [rsp + 0x30], xmm6
cmp byte [rcx + 0x17], 0
jns 0x14003137c
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.140063310
lea r14, [rsp + 0x80]
mov qword [r14 + 0x10], r15
movaps xmmword [r14], xmm6
lea rdx, str.SOFTWAREPolicies_
mov rcx, r14
call fcn.1400bc370
mov rcx, rdi
xor edx, edx
mov r8, r14
call fcn.140032030
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
cmp byte [r14 + 0x17], 0
jns 0x140030fb5
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.140045a60
test al, al
jne 0x140031144
cmp byte [rsp + 0x97], 0
js 0x140030ff1
lea r8, [rsp + 0x80]
jmp 0x140030ff9
mov r8, qword [rsp + 0x80]
mov qword [rsp + 0x20], r12
lea r9, str.UserDataDir
mov ecx, 2
xor edx, edx
call fcn.140045a60
test al, al
jne 0x140031144
cmp byte [rsp + 0x77], 0
js 0x14003134a
cmp byte [rsp + 0x97], 0
jns 0x14003103b
mov rcx, qword [rsp + 0x80]
call fcn.140085b34
movzx ecx, byte [rsp + 0x47]
mov rax, rcx
test cl, cl
jns 0x14003104c
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400311bb
shr cl, 7
lea rdx, [rsp + 0x30]
mov r8, rdx
test cl, 1
je 0x14003106a
mov r8, qword [rsp + 0x30]
movzx r9d, word [r8 + rax*2 - 2]
cmp r9d, 0x5c
je 0x14003117d
cmp r9d, 0x2f
je 0x14003117d
lea rcx, [rsp + 0x30]
call fcn.1400332c0
test al, al
je 0x1400311bb
lea rdi, [rsp + 0x80]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140089170
cmp byte [rsp + 0x47], 0
js 0x1400310bc
lea rdx, [rsp + 0x30]
jmp 0x1400310c1
mov rdx, qword [rsp + 0x30]
mov r8d, 0x104
mov rcx, rdi
call fcn.1400a1270
test rax, rax
je 0x140031366
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x80]
call fcn.1400bc370
cmp byte [rsi + 0x17], 0
js 0x140031359
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 0x140031119
mov rcx, qword [rsp + 0x30]
call fcn.140085b34
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.140087020
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.140045e30
cmp byte [rsp + 0x47], 0
jns 0x140031164
mov rcx, qword [rsp + 0x30]
call fcn.140085b34
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x140031019
lea r9, [rax - 1]
test cl, 1
jne 0x140031191
and r9b, 0x7f
mov byte [rsp + 0x47], r9b
jmp 0x140031196
mov qword [rsp + 0x38], r9
mov word [r8 + rax*2 - 2], 0
movzx ecx, byte [rsp + 0x47]
mov rax, rcx
test cl, cl
jns 0x1400311af
mov rax, qword [rsp + 0x38]
shr cl, 7
test rax, rax
jne 0x14003105d
lea r14, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400606c0
lea rbx, [rsp + 0x80]
mov qword [rbx + 0x10], r15
movaps xmmword [rbx], xmm6
lea rdx, str.LOCALAPPDATA
mov rcx, rbx
call fcn.140032870
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x1400311f9
mov rax, qword [rsp + 0x88]
test rax, rax
jne 0x1400312a1
xor r12d, r12d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14003126a
mov r15d, eax
inc r15d
xor r12d, r12d
mov rcx, rbx
mov rdx, r15
xor r8d, r8d
call fcn.1400637d0
cmp byte [rsp + 0x97], 0
jns 0x14003123c
mov rbx, qword [rsp + 0x80]
mov ecx, r15d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14003126a
mov edx, eax
movzx eax, byte [rsp + 0x97]
test al, al
jns 0x140031262
mov rax, qword [rsp + 0x88]
cmp rax, rdx
ja 0x140031291
xor r12d, r12d
cmp byte [rsp + 0x97], 0
jns 0x140031281
mov rcx, qword [rsp + 0x80]
call fcn.140085b34
test r12b, r12b
jne 0x140031096
xor esi, esi
jmp 0x140031108
lea rcx, [rsp + 0x80]
xor r8d, r8d
call fcn.1400637d0
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
movzx ecx, byte [rsp + 0x47]
mov rax, rcx
test cl, cl
jns 0x1400312e6
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140031392
test cl, cl
jns 0x1400312f8
mov r14, qword [rsp + 0x30]
cmp word [r14 + rax*2 - 2], 0x5c
je 0x14003130f
lea rcx, [rsp + 0x30]
mov dx, 0x5c
call fcn.1400636c0
mov r12b, 1
lea rbx, [rsp + 0x30]
mov rcx, rdi
mov dl, 1
mov r8, rbx
call fcn.140032030
mov rcx, rbx
mov dx, 0x5c
call fcn.1400636c0
lea rdx, str.User_Data
mov r8d, 9
mov rcx, rbx
call fcn.140063410
jmp 0x14003126a
mov rcx, qword [rsp + 0x60]
call fcn.140085b34
jmp 0x140031024
mov rcx, qword [rsi]
call fcn.140085b34
jmp 0x1400310f4
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
jmp 0x1400310ea
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x140030f69
lea rcx, [0x1400fc149]
lea rdx, str....._third_partylibc_srcinclude_string:1249:_assertion___pos___size___failed:_string_index_out_of_bounds_n
call fcn.1400bcb80
int3