Function at 0x140033bc0
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 rsi, r8
mov rbx, rdx
mov rax, qword [0x140136040]
xor rax, rsp
mov qword [rsp + 0x288], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], r12
movaps xmm6, xmmword [0x1401101b0]
movaps xmmword [rsp + 0x30], xmm6
cmp byte [rcx + 0x17], 0
jns 0x14003415c
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.140074cb0
movabs r13, 0x7ffffffffffffff7
mov ecx, 0x28
call fcn.140091050
mov qword [rsp + 0x80], rax
lea rcx, [r13 + 0x1d]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x88], 0x12
lea rcx, [rax + 0x24]
lea rdx, str.SOFTWAREPolicies_
cmp rax, rdx
seta r8b
cmp rcx, rdx
setbe cl
or cl, r8b
je 0x140033f90
movups xmm0, xmmword [0x1401161b6]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [str.SOFTWAREPolicies_]
movups xmmword [rax], xmm0
mov dword [rax + 0x20], 0x5c0073
mov word [rax + 0x24], 0
lea r15, [rsp + 0x80]
mov rcx, rbx
xor edx, edx
mov r8, r15
call fcn.140034e90
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
cmp byte [r15 + 0x17], 0
jns 0x140033cd8
mov r15, qword [rsp + 0x80]
lea rdi, [rsp + 0x60]
mov qword [rsp + 0x20], rdi
lea r9, str.UserDataDir
mov ecx, 1
xor edx, edx
mov r8, r15
call fcn.140044090
test al, al
jne 0x140033f57
cmp byte [rsp + 0x97], 0
js 0x140033d14
lea r8, [rsp + 0x80]
jmp 0x140033d1c
mov r8, qword [rsp + 0x80]
mov qword [rsp + 0x20], rdi
lea r9, str.UserDataDir
mov ecx, 2
xor edx, edx
call fcn.140044090
test al, al
jne 0x140033f57
cmp byte [rsp + 0x77], 0
js 0x14003412a
cmp byte [rsp + 0x97], 0
jns 0x140033d5e
mov rcx, qword [rsp + 0x80]
call fcn.140091090
movsx rcx, byte [rsp + 0x47]
mov rax, rcx
test rcx, rcx
jns 0x140033d71
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140033f92
shr rcx, 0x3f
lea rdx, [rsp + 0x30]
mov r8, rdx
test cl, 1
je 0x140033d90
mov r8, qword [rsp + 0x30]
movzx r9d, word [r8 + rax*2 - 2]
cmp r9d, 0x5c
je 0x140033f0a
cmp r9d, 0x2f
je 0x140033f0a
lea rcx, [rsp + 0x30]
call fcn.140036140
test al, al
je 0x140033f92
lea rbx, [rsp + 0x80]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400d07c0
cmp byte [rsp + 0x47], 0
jns 0x140033deb
mov rdx, qword [rsp + 0x30]
jmp 0x140033df0
mov byte [rsp + 0x77], bl
jmp 0x140033e6f
lea rdx, [rsp + 0x30]
mov r8d, 0x104
mov rcx, rbx
call fcn.1400acca8
test rax, rax
je 0x140034146
lea r14, [rsp + 0x80]
mov rcx, r14
call fcn.1400b1e48
cmp rax, r13
ja 0x140033f4d
mov rbx, rax
cmp rax, 0xa
jbe 0x140033de2
lea rax, [r13 + 5]
and rax, rbx
add rax, 4
mov r15, rbx
or r15, 3
cmp r15, 0xb
cmove r15, rax
inc r15
js 0x140033f05
lea rcx, [r15 + r15]
call fcn.140091050
mov rdi, rax
mov qword [rsp + 0x60], rax
lea rax, [r15 + r13]
add rax, 9
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rbx
lea r15, [rdi + rbx*2]
cmp rdi, r14
seta al
cmp r15, r14
setbe cl
or cl, al
je 0x140033f90
test rbx, rbx
je 0x140033ea2
add rbx, rbx
lea rdx, [rsp + 0x80]
mov rcx, rdi
mov r8, rbx
call fcn.1400d0120
mov word [r15], 0
cmp byte [rsi + 0x17], 0
js 0x140034139
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 0x140033ed7
mov rcx, qword [rsp + 0x30]
call fcn.140091090
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.140092400
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
call fcn.14001c0b0
lea r9, [rax - 1]
test cl, 1
jne 0x140033f1e
and r9b, 0x7f
mov byte [rsp + 0x47], r9b
jmp 0x140033f23
mov qword [rsp + 0x38], r9
mov word [r8 + rax*2 - 2], 0
movsx rcx, byte [rsp + 0x47]
mov rax, rcx
test rcx, rcx
jns 0x140033f3e
mov rax, qword [rsp + 0x38]
shr rcx, 0x3f
test rax, rax
jne 0x140033d83
jmp 0x140033f92
lea rcx, [rsp + 0x60]
call fcn.14001bff0
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.1400f4b70
cmp byte [rsp + 0x47], 0
jns 0x140033f77
mov rcx, qword [rsp + 0x30]
call fcn.140091090
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x140033d3c
ud2
lea r15, [rsp + 0x30]
mov rcx, r14
mov rdx, r15
call fcn.14006ee40
lea r14, [rsp + 0x80]
mov qword [r14 + 0x10], r12
movaps xmmword [r14], xmm6
lea rdx, str.LOCALAPPDATA
mov rcx, r14
call fcn.140035c10
movsx rax, byte [r14 + 0x17]
test rax, rax
jns 0x140033fd3
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x1400340a9
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
movsx rcx, byte [rsp + 0x47]
mov rax, rcx
test rcx, rcx
jns 0x140034023
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140033f90
test cl, cl
jns 0x140034035
mov r15, qword [rsp + 0x30]
cmp word [r15 + rax*2 - 2], 0x5c
je 0x14003404c
lea rcx, [rsp + 0x30]
mov dx, 0x5c
call fcn.140074f50
mov bpl, 1
lea r14, [rsp + 0x30]
mov rcx, rbx
mov dl, 1
mov r8, r14
call fcn.140034e90
mov rcx, r14
mov dx, 0x5c
call fcn.140074f50
lea rdx, str.User_Data
mov r8d, 9
mov rcx, r14
call fcn.140074d70
cmp byte [rsp + 0x97], 0
jns 0x140034099
mov rcx, qword [rsp + 0x80]
call fcn.140091090
test bpl, bpl
jne 0x140033dbc
xor esi, esi
jmp 0x140033ec6
xor ebp, ebp
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140034082
mov r12d, eax
inc r12d
xor ebp, ebp
mov rcx, r14
mov rdx, r12
xor r8d, r8d
call fcn.1400752d0
cmp byte [rsp + 0x97], 0
jns 0x1400340e1
mov r14, qword [rsp + 0x80]
mov ecx, r12d
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140034082
mov edx, eax
movsx rax, byte [rsp + 0x97]
test rax, rax
jns 0x140034109
mov rax, qword [rsp + 0x88]
cmp rax, rdx
ja 0x140034115
xor ebp, ebp
jmp 0x140034082
lea rcx, [rsp + 0x80]
xor r8d, r8d
call fcn.1400752d0
jmp 0x140033fdc
mov rcx, qword [rsp + 0x60]
call fcn.140091090
jmp 0x140033d47
mov rcx, qword [rsi]
call fcn.140091090
jmp 0x140033eb2
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
jmp 0x140033ea8
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x140033c2c