Function at 0x140032120
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 [0x140113018]
xor rax, rsp
mov qword [rsp + 0x288], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmm6, xmmword [0x1400f69f0]
movaps xmmword [rsp + 0x30], xmm6
cmp byte [rcx + 0x17], 0
mov qword [rsp + 0x28], r9
jns 0x14003247f
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.14005e8e0
movabs r14, 0x7fffffffffffffef
mov ecx, 0x30
call fcn.140081638
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 [0x1400fc876]
mov dword [rax + 0x20], ecx
movups xmm0, xmmword [0x1400fc866]
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.1400301a0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
cmp byte [rbx + 0x17], 0
jns 0x14003220d
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.140042150
test al, al
jne 0x14003242e
cmp byte [rsp + 0x97], 0
jns 0x140032249
mov r8, qword [rsp + 0x80]
jmp 0x140032251
lea r8, [rsp + 0x80]
mov qword [rsp + 0x20], r15
lea r9, str.UserDataDir
mov ecx, 2
xor edx, edx
call fcn.140042150
test al, al
jne 0x14003242e
cmp byte [rsp + 0x77], 0
js 0x140032495
cmp byte [rsp + 0x97], 0
jns 0x140032293
mov rcx, qword [rsp + 0x80]
call fcn.140081674
movzx ebp, byte [rsp + 0x47]
test bpl, bpl
mov rdx, qword [rsp + 0x38]
mov rax, rbp
cmovs rax, rdx
test rax, rax
je 0x140032509
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 0x140032467
cmp ax, 0x2f
je 0x140032467
lea rcx, [rsp + 0x30]
call fcn.140030ee0
test al, al
je 0x140032509
lea rbx, [rsp + 0x80]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140084d10
cmp byte [rsp + 0x47], 0
jns 0x14003231a
mov rdx, qword [rsp + 0x30]
jmp 0x14003231f
lea rdx, [rsp + 0x30]
mov r8d, 0x104
mov rcx, rbx
call fcn.140096c14
test rax, rax
je 0x1400324a4
lea rcx, [rsp + 0x80]
call fcn.14009afb0
cmp rax, r14
ja 0x1400324ba
mov rbx, rax
cmp rax, 0xb
jae 0x14003237d
mov byte [rsp + 0x77], bl
cmp rbx, 3
jne 0x140032424
movzx eax, word [rsp + 0x84]
mov word [rsp + 0x64], ax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x60], eax
jmp 0x1400323bd
lea rsi, [rbx + 8]
and rsi, 0xfffffffffffffff8
lea rcx, [rsi + rsi]
call fcn.140081638
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.140084900
mov word [r15 + rbx*2], 0
cmp byte [r13 + 0x17], 0
js 0x1400324c4
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 0x1400323f6
mov rcx, qword [rsp + 0x30]
call fcn.140081674
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.140081fe0
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
je 0x1400323bd
jmp 0x1400323a7
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.140042250
cmp byte [rsp + 0x47], 0
jns 0x14003244e
mov rcx, qword [rsp + 0x30]
call fcn.140081674
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x140032271
test bl, 1
je 0x1400324d2
lea rax, [rdx - 1]
mov qword [rsp + 0x38], rax
lea rax, [rsi + rdx*2]
add rax, 0xfffffffffffffffe
jmp 0x1400324e2
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x14003218e
mov rcx, qword [rsp + 0x60]
call fcn.140081674
jmp 0x14003227c
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
jmp 0x1400323c4
lea rcx, [rsp + 0x60]
call fcn.1400c7800
mov rcx, qword [r13]
call fcn.140081674
jmp 0x1400323cf
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 0x1400322ba
lea rbp, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov rdx, rbp
call fcn.14005fce0
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.140030850
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x140032553
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x140032610
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 0x1400325b9
lea rcx, [rsp + 0x30]
mov dx, 0x5c
call fcn.14005ebf0
mov dil, 1
lea rbx, [rsp + 0x30]
mov rcx, r12
mov dl, 1
mov r8, rbx
call fcn.1400301a0
mov rcx, rbx
mov dx, 0x5c
call fcn.14005ebf0
lea rdx, str.User_Data
mov rcx, rbx
call fcn.140028f30
cmp byte [rsp + 0x97], 0
jns 0x140032600
mov rcx, qword [rsp + 0x80]
call fcn.140081674
test dil, dil
jne 0x1400322f4
xor esi, esi
jmp 0x1400323e5
xor edi, edi
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400325e9
mov ebx, eax
inc ebx
xor edi, edi
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14005f040
cmp byte [rsp + 0x97], 0
jns 0x140032646
mov rsi, qword [rsp + 0x80]
mov ecx, ebx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400325e9
mov edx, eax
movzx eax, byte [rsp + 0x97]
test al, al
jns 0x14003266b
mov rax, qword [rsp + 0x88]
cmp rax, rdx
jbe 0x140032685
lea rcx, [rsp + 0x80]
xor r8d, r8d
call fcn.14005f040
jmp 0x14003255c
xor edi, edi
jmp 0x1400325e9