Function at 0x14002ff60
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 r13, r8
mov r12, rdx
mov rax, qword [0x14010e038]
xor rax, rsp
mov qword [rsp + 0x288], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmm6, xmmword [0x1400f2f80]
movaps xmmword [rsp + 0x30], xmm6
cmp byte [rcx + 0x17], 0
mov qword [rsp + 0x28], r9
jns 0x1400302c7
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.14005aaa0
movabs r14, 0x7fffffffffffffef
mov ecx, 0x30
call fcn.14007b74c
lea rbx, [rsp + 0x80]
mov qword [rbx], rax
lea rcx, [r14 + 0x29]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 8], 0x12
mov ecx, dword [0x1400f6026]
mov dword [rax + 0x20], ecx
movups xmm0, xmmword [0x1400f6016]
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.14002dcc0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
cmp byte [rbx + 0x17], 0
jns 0x14003004d
mov rbx, qword [rsp + 0x80]
lea r15, [rsp + 0x60]
mov qword [rsp + 0x20], r15
lea r9, str.UserDataDir
mov ecx, 1
xor edx, edx
mov r8, rbx
call fcn.1400401f0
test al, al
jne 0x140030276
cmp byte [rsp + 0x97], 0
jns 0x140030089
mov r8, qword [rsp + 0x80]
jmp 0x140030091
lea r8, [rsp + 0x80]
mov qword [rsp + 0x20], r15
lea r9, str.UserDataDir
mov ecx, 2
xor edx, edx
call fcn.1400401f0
test al, al
jne 0x140030276
cmp byte [rsp + 0x77], 0
js 0x1400302dd
cmp byte [rsp + 0x97], 0
jns 0x1400300d3
mov rcx, qword [rsp + 0x80]
call fcn.14007b788
movzx ebp, byte [rsp + 0x47]
test bpl, bpl
mov rdx, qword [rsp + 0x38]
mov rax, rbp
cmovs rax, rdx
test rax, rax
je 0x140030351
mov ebx, ebp
shr bl, 7
lea rdi, [rsp + 0x30]
mov rsi, qword [rsp + 0x30]
test bl, 1
mov rcx, rdi
cmovne rcx, rsi
movzx eax, word [rcx + rax*2 - 2]
cmp ax, 0x5c
je 0x1400302af
cmp ax, 0x2f
je 0x1400302af
lea rcx, [rsp + 0x30]
call fcn.14002ea20
test al, al
je 0x140030351
lea rbx, [rsp + 0x80]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.14007eec0
cmp byte [rsp + 0x47], 0
jns 0x14003015a
mov rdx, qword [rsp + 0x30]
jmp 0x14003015f
lea rdx, [rsp + 0x30]
mov r8d, 0x104
mov rcx, rbx
call fcn.140090f2c
test rax, rax
je 0x1400302ec
lea rcx, [rsp + 0x80]
call fcn.1400952c0
cmp rax, r14
ja 0x140030302
mov rbx, rax
cmp rax, 0xb
jae 0x140030226
mov byte [rsp + 0x77], bl
cmp rbx, 3
jne 0x14003026b
movzx eax, word [rsp + 0x84]
mov word [rsp + 0x64], ax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x60], eax
mov word [r15 + rbx*2], 0
cmp byte [r13 + 0x17], 0
js 0x14003030c
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 0x1400301f8
mov rcx, qword [rsp + 0x30]
call fcn.14007b788
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.14007c600
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
lea rsi, [rbx + 8]
and rsi, 0xfffffffffffffff8
lea rcx, [rsi + rsi]
call fcn.14007b74c
mov r15, rax
mov qword [rsp + 0x60], rax
add r14, 0x11
or r14, rsi
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], rbx
mov r8, rbx
add r8, rbx
lea rdx, [rsp + 0x80]
mov rcx, r15
call fcn.14007eab0
jmp 0x1400301bf
test rbx, rbx
je 0x1400301bf
jmp 0x140030250
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.1400402f0
cmp byte [rsp + 0x47], 0
jns 0x140030296
mov rcx, qword [rsp + 0x30]
call fcn.14007b788
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x1400300b1
test bl, 1
je 0x14003031a
lea rax, [rdx - 1]
mov qword [rsp + 0x38], rax
lea rax, [rsi + rdx*2]
add rax, 0xfffffffffffffffe
jmp 0x14003032a
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x14002ffce
mov rcx, qword [rsp + 0x60]
call fcn.14007b788
jmp 0x1400300bc
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
jmp 0x1400301c6
lea rcx, [rsp + 0x60]
call fcn.1400be320
mov rcx, qword [r13]
call fcn.14007b788
jmp 0x1400301d1
lea rax, [rbp - 1]
mov byte [rsp + 0x47], al
lea rax, [rsp + rbp*2]
add rax, 0x2e
mov word [rax], 0
movzx ebp, byte [rsp + 0x47]
mov ebx, ebp
shr bl, 7
test bpl, bpl
mov rdx, qword [rsp + 0x38]
mov rax, rbp
cmovs rax, rdx
test rax, rax
jne 0x1400300fa
lea rbp, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov rdx, rbp
call fcn.14005bc80
lea rsi, [rsp + 0x80]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsi + 0x10], rax
movaps xmmword [rsi], xmm6
lea rdx, str.LOCALAPPDATA
mov rcx, rsi
call fcn.14002e390
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x14003039b
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x140030458
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 0x140030401
lea rcx, [rsp + 0x30]
mov dx, 0x5c
call fcn.14005af10
mov dil, 1
lea rbx, [rsp + 0x30]
mov rcx, r12
mov dl, 1
mov r8, rbx
call fcn.14002dcc0
mov rcx, rbx
mov dx, 0x5c
call fcn.14005af10
lea rdx, str.User_Data
mov rcx, rbx
call fcn.140026bf0
cmp byte [rsp + 0x97], 0
jns 0x140030448
mov rcx, qword [rsp + 0x80]
call fcn.14007b788
test dil, dil
jne 0x140030134
xor esi, esi
jmp 0x1400301e7
xor edi, edi
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140030431
mov ebx, eax
inc ebx
xor edi, edi
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14005b360
cmp byte [rsp + 0x97], 0
jns 0x14003048e
mov rsi, qword [rsp + 0x80]
mov ecx, ebx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140030431
mov edx, eax
movzx eax, byte [rsp + 0x97]
test al, al
jns 0x1400304b3
mov rax, qword [rsp + 0x88]
cmp rax, rdx
jbe 0x1400304cd
lea rcx, [rsp + 0x80]
xor r8d, r8d
call fcn.14005b360
jmp 0x1400303a4
xor edi, edi
jmp 0x140030431