Function at 0x14003a9a0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2a8
movaps xmmword [rsp + 0x290], xmm6
mov r14, r9
mov r13, r8
mov r12, rdx
mov rax, qword [0x140119028]
xor rax, rsp
mov qword [rsp + 0x288], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], r15
movaps xmm6, xmmword [0x1400ffac0]
movaps xmmword [rsp + 0x30], xmm6
cmp byte [rcx + 0x17], 0
jns 0x14003acec
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.140068fd0
movabs rsi, 0x7fffffffffffffef
mov ecx, 0x30
call fcn.1400897bc
lea rbx, [rsp + 0x80]
mov qword [rbx], rax
lea rcx, [rsi + 0x29]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 8], 0x12
mov ecx, dword [0x1401033c6]
mov dword [rax + 0x20], ecx
movups xmm0, xmmword [0x1401033b6]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [str.SOFTWAREPolicies_]
movups xmmword [rax], xmm0
mov word [rax + 0x24], 0
mov rcx, r12
xor edx, edx
mov r8, rbx
call fcn.140038a80
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
cmp byte [rbx + 0x17], 0
jns 0x14003aa8b
mov rbx, qword [rsp + 0x80]
lea rdi, [rsp + 0x60]
mov qword [rsp + 0x20], rdi
lea r9, str.UserDataDir
mov ecx, 1
xor edx, edx
mov r8, rbx
call fcn.14004b2b0
test al, al
jne 0x14003aca4
cmp byte [rsp + 0x97], 0
jns 0x14003aac7
mov r8, qword [rsp + 0x80]
jmp 0x14003aacf
lea r8, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
lea r9, str.UserDataDir
mov ecx, 2
xor edx, edx
call fcn.14004b2b0
test al, al
jne 0x14003aca4
cmp byte [rsp + 0x77], 0
js 0x14003ad02
cmp byte [rsp + 0x97], 0
jns 0x14003ab11
mov rcx, qword [rsp + 0x80]
call fcn.1400897f8
movzx eax, byte [rsp + 0x47]
mov rcx, rax
test al, al
jns 0x14003ab22
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14003ad63
shr al, 7
lea rbx, [rsp + 0x30]
mov rdx, rbx
test al, 1
je 0x14003ab3f
mov rdx, qword [rsp + 0x30]
movzx ebp, word [rdx + rcx*2 - 2]
cmp ebp, 0x5c
je 0x14003acdd
cmp ebp, 0x2f
je 0x14003acdd
lea rcx, [rsp + 0x30]
call fcn.1400397a0
test al, al
je 0x14003ad63
lea rbx, [rsp + 0x80]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.14008cc30
cmp byte [rsp + 0x47], 0
jns 0x14003ab8e
mov rdx, qword [rsp + 0x30]
jmp 0x14003ab93
lea rdx, [rsp + 0x30]
mov r8d, 0x104
mov rcx, rbx
call fcn.1400a45d8
test rax, rax
je 0x14003ad11
lea rcx, [rsp + 0x80]
call fcn.1400a8f50
cmp rax, rsi
ja 0x14003ad27
mov rbx, rax
cmp rax, 0xb
jae 0x14003abf1
mov byte [rsp + 0x77], bl
cmp rbx, 3
jne 0x14003ac99
movzx eax, word [rsp + 0x84]
mov word [rsp + 0x64], ax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x60], eax
jmp 0x14003ac33
lea rbp, [rbx + 8]
and rbp, 0xfffffffffffffff8
mov rcx, rbp
add rcx, rbp
call fcn.1400897bc
mov rdi, rax
mov qword [rsp + 0x60], rax
add rsi, 0x11
or rsi, rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rbx
mov r8, rbx
add r8, rbx
lea rdx, [rsp + 0x80]
mov rcx, rdi
call fcn.14008c580
mov word [rdi + rbx*2], 0
cmp byte [r13 + 0x17], 0
js 0x14003ad2c
mov rax, qword [rsp + 0x70]
mov qword [r13 + 0x10], rax
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [r13], xmm0
mov sil, 1
cmp byte [rsp + 0x47], 0
jns 0x14003ac6b
mov rcx, qword [rsp + 0x30]
call fcn.1400897f8
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.14008ab00
mov eax, esi
movaps xmm6, xmmword [rsp + 0x290]
add rsp, 0x2a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test rbx, rbx
jne 0x14003ac1d
jmp 0x14003ac33
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.14004b3b0
cmp byte [rsp + 0x47], 0
jns 0x14003acc4
mov rcx, qword [rsp + 0x30]
call fcn.1400897f8
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x14003aaef
lea r8, [rcx - 1]
test al, 1
je 0x14003ad3a
mov qword [rsp + 0x38], r8
jmp 0x14003ad3f
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x14003aa0c
mov rcx, qword [rsp + 0x60]
call fcn.1400897f8
jmp 0x14003aafa
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
jmp 0x14003ac39
call fcn.1400a1f00
mov rcx, qword [r13]
call fcn.1400897f8
jmp 0x14003ac44
mov byte [rsp + 0x47], r8b
mov word [rdx + rcx*2 - 2], 0
movzx eax, byte [rsp + 0x47]
mov rcx, rax
test al, al
jns 0x14003ad57
mov rcx, qword [rsp + 0x38]
shr al, 7
test rcx, rcx
jne 0x14003ab33
lea rbp, [rsp + 0x30]
mov rcx, r14
mov rdx, rbp
call fcn.14006a150
lea r14, [rsp + 0x80]
mov qword [r14 + 0x10], r15
movaps xmmword [r14], xmm6
lea rdx, str.LOCALAPPDATA
mov rcx, r14
call fcn.140039300
movzx eax, byte [r14 + 0x17]
test al, al
jns 0x14003ada3
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x14003ae60
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
movzx ecx, byte [rsp + 0x47]
test cl, cl
cmovs rcx, qword [rsp + 0x38]
cmovs rbp, qword [rsp + 0x30]
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], rax
cmp word [rbp + rcx*2 - 2], 0x5c
je 0x14003ae09
lea rcx, [rsp + 0x30]
mov dx, 0x5c
call fcn.1400692c0
mov r15b, 1
lea rbx, [rsp + 0x30]
mov rcx, r12
mov dl, 1
mov r8, rbx
call fcn.140038a80
mov rcx, rbx
mov dx, 0x5c
call fcn.1400692c0
lea rdx, str.User_Data
mov rcx, rbx
call fcn.140030d60
cmp byte [rsp + 0x97], 0
jns 0x14003ae50
mov rcx, qword [rsp + 0x80]
call fcn.1400897f8
test r15b, r15b
jne 0x14003ab68
xor esi, esi
jmp 0x14003ac5a
xor r15d, r15d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14003ae39
mov ebx, eax
inc ebx
xor r15d, r15d
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
call fcn.1400696f0
cmp byte [rsp + 0x97], 0
jns 0x14003ae98
mov r14, qword [rsp + 0x80]
mov ecx, ebx
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14003ae39
mov edx, eax
movzx eax, byte [rsp + 0x97]
test al, al
jns 0x14003aebd
mov rax, qword [rsp + 0x88]
cmp rax, rdx
jbe 0x14003aed7
lea rcx, [rsp + 0x80]
xor r8d, r8d
call fcn.1400696f0
jmp 0x14003adac
xor r15d, r15d
jmp 0x14003ae39