Function at 0x140030ed0
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 [0x1400fc0f0]
movaps xmmword [rsp + 0x30], xmm6
cmp byte [rcx + 0x17], 0
jns 0x14003134c
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.14005f310
lea r14, [rsp + 0x80]
mov qword [r14 + 0x10], r15
movaps xmmword [r14], xmm6
lea rdx, str.SOFTWAREPolicies_
mov rcx, r14
call fcn.1400b9ed0
mov rcx, rdi
xor edx, edx
mov r8, r14
call fcn.140031f90
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
cmp byte [r14 + 0x17], 0
jns 0x140030f85
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.140042810
test al, al
jne 0x140031114
cmp byte [rsp + 0x97], 0
js 0x140030fc1
lea r8, [rsp + 0x80]
jmp 0x140030fc9
mov r8, qword [rsp + 0x80]
mov qword [rsp + 0x20], r12
lea r9, str.UserDataDir
mov ecx, 2
xor edx, edx
call fcn.140042810
test al, al
jne 0x140031114
cmp byte [rsp + 0x77], 0
js 0x14003131a
cmp byte [rsp + 0x97], 0
jns 0x14003100b
mov rcx, qword [rsp + 0x80]
call fcn.140083694
movzx ecx, byte [rsp + 0x47]
mov rax, rcx
test cl, cl
jns 0x14003101c
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14003118b
shr cl, 7
lea rdx, [rsp + 0x30]
mov r8, rdx
test cl, 1
je 0x14003103a
mov r8, qword [rsp + 0x30]
movzx r9d, word [r8 + rax*2 - 2]
cmp r9d, 0x5c
je 0x14003114d
cmp r9d, 0x2f
je 0x14003114d
lea rcx, [rsp + 0x30]
call fcn.140033230
test al, al
je 0x14003118b
lea rdi, [rsp + 0x80]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140086cd0
cmp byte [rsp + 0x47], 0
js 0x14003108c
lea rdx, [rsp + 0x30]
jmp 0x140031091
mov rdx, qword [rsp + 0x30]
mov r8d, 0x104
mov rcx, rdi
call fcn.14009edd0
test rax, rax
je 0x140031336
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x80]
call fcn.1400b9ed0
cmp byte [rsi + 0x17], 0
js 0x140031329
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 0x1400310e9
mov rcx, qword [rsp + 0x30]
call fcn.140083694
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.140084b80
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.1400428a0
cmp byte [rsp + 0x47], 0
jns 0x140031134
mov rcx, qword [rsp + 0x30]
call fcn.140083694
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x140030fe9
lea r9, [rax - 1]
test cl, 1
jne 0x140031161
and r9b, 0x7f
mov byte [rsp + 0x47], r9b
jmp 0x140031166
mov qword [rsp + 0x38], r9
mov word [r8 + rax*2 - 2], 0
movzx ecx, byte [rsp + 0x47]
mov rax, rcx
test cl, cl
jns 0x14003117f
mov rax, qword [rsp + 0x38]
shr cl, 7
test rax, rax
jne 0x14003102d
lea r14, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14005c690
lea rbx, [rsp + 0x80]
mov qword [rbx + 0x10], r15
movaps xmmword [rbx], xmm6
lea rdx, str.LOCALAPPDATA
mov rcx, rbx
call fcn.1400327d0
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x1400311c9
mov rax, qword [rsp + 0x88]
test rax, rax
jne 0x140031271
xor r12d, r12d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14003123a
mov r15d, eax
inc r15d
xor r12d, r12d
mov rcx, rbx
mov rdx, r15
xor r8d, r8d
call fcn.14005f7d0
cmp byte [rsp + 0x97], 0
jns 0x14003120c
mov rbx, qword [rsp + 0x80]
mov ecx, r15d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14003123a
mov edx, eax
movzx eax, byte [rsp + 0x97]
test al, al
jns 0x140031232
mov rax, qword [rsp + 0x88]
cmp rax, rdx
ja 0x140031261
xor r12d, r12d
cmp byte [rsp + 0x97], 0
jns 0x140031251
mov rcx, qword [rsp + 0x80]
call fcn.140083694
test r12b, r12b
jne 0x140031066
xor esi, esi
jmp 0x1400310d8
lea rcx, [rsp + 0x80]
xor r8d, r8d
call fcn.14005f7d0
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 0x1400312b6
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140031362
test cl, cl
jns 0x1400312c8
mov r14, qword [rsp + 0x30]
cmp word [r14 + rax*2 - 2], 0x5c
je 0x1400312df
lea rcx, [rsp + 0x30]
mov dx, 0x5c
call fcn.14005f6c0
mov r12b, 1
lea rbx, [rsp + 0x30]
mov rcx, rdi
mov dl, 1
mov r8, rbx
call fcn.140031f90
mov rcx, rbx
mov dx, 0x5c
call fcn.14005f6c0
lea rdx, str.User_Data
mov r8d, 9
mov rcx, rbx
call fcn.14005f410
jmp 0x14003123a
mov rcx, qword [rsp + 0x60]
call fcn.140083694
jmp 0x140030ff4
mov rcx, qword [rsi]
call fcn.140083694
jmp 0x1400310c4
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
jmp 0x1400310ba
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x140030f39
lea rcx, [0x1400fc139]
lea rdx, str....._third_partylibc_srcinclude_string:1229:_assertion___pos___size___failed:_string_index_out_of_bounds_n
call fcn.1400ba6b0
int3