Function at 0x14007a6f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x4e8], rbx
mov edi, edx
mov rsi, rcx
xor eax, eax
mov qword [rcx + 4], rax
mov qword [rcx + 0x28], 7
mov qword [rcx + 0x20], rax
mov word [rcx + 0x10], ax
mov qword [rcx + 0x48], 7
mov qword [rcx + 0x40], rax
mov word [rcx + 0x30], ax
mov qword [rcx + 0x50], rax
mov qword [rcx + 0x58], rax
add rcx, 0x50
call fcn.14007d750
mov qword [rsi + 0x50], rax
mov qword [rsi + 0x60], 0
mov dword [rsi + 0x68], edi
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400c9420
nop
xor edi, edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPEnh
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x30]
call fcn.1400c9590
test eax, eax
je 0x14007a7dd
mov qword [rsp + 0x20], rdi
lea r9, [rsi + 4]
lea r8, [rsi + 4]
lea rdx, str.MultipleProfiles
lea rcx, [rsp + 0x38]
call fcn.1400dfc90
mov qword [rsp + 0x20], rdi
lea r9, [rsi + 8]
lea r8, [rsi + 8]
lea rdx, str.AutoProfile
lea rcx, [rsp + 0x38]
call fcn.1400dfc90
cmp dword [rsi + 4], edi
jne 0x14007a827
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, str.SoftwareSynapticsScrybe
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x30]
call fcn.1400c9590
test eax, eax
je 0x14007a827
mov qword [rsp + 0x20], rdi
lea r9, [rsi + 4]
lea r8, [rsi + 4]
lea rdx, str.MultipleProfiles
lea rcx, [rsp + 0x38]
call fcn.1400dfc90
lea rcx, [rbp + 0x3d8]
call fcn.1400dbd70
mov eax, edi
cmp dword [rbp + 0x3d8], eax
setne al
mov dword [rsi + 0xc], eax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPInstall
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x30]
call fcn.1400c9590
or rbx, 0xffffffffffffffff
test eax, eax
je 0x14007a8e8
mov word [rsp + 0x70], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x72]
call fcn.1400e4220
mov dword [rbp + 0x3e0], 0x208
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x3e0]
lea r8, [rsp + 0x70]
lea rdx, str.ProgDir
lea rcx, [rsp + 0x38]
call fcn.1400dfda0
cmp word [rsp + 0x70], di
jne 0x14007a8c0
mov r8, rdi
jmp 0x14007a8da
lea rax, [rsp + 0x70]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], di
jne 0x14007a8d0
lea rdx, [rsp + 0x70]
lea rcx, [rsi + 0x10]
call fcn.1400076c0
xor r9d, r9d
lea r8d, [r9 + 0x1a]
lea rdx, [rbp + 0x180]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14007a933
cmp word [rbp + 0x180], di
jne 0x14007a910
mov rbx, rdi
jmp 0x14007a920
lea rax, [rbp + 0x180]
inc rbx
cmp word [rax + rbx*2], di
jne 0x14007a917
mov r8, rbx
lea rdx, [rbp + 0x180]
lea rcx, [rsi + 0x30]
call fcn.1400076c0
cmp qword [rsi + 0x40], rdi
je 0x14007a97f
mov edx, dword [rsi + 0x68]
test edx, edx
je 0x14007a95e
dec edx
jne 0x14007a97f
movzx eax, word [str._Synaptics_Profiles_]
neg ax
sbb r8, r8
and r8d, 0x14
lea rdx, str._Synaptics_Profiles_
jmp 0x14007a976
movzx eax, word [str._Synaptics_OSD_]
neg ax
sbb r8, r8
and r8d, 0xf
lea rdx, str._Synaptics_OSD_
lea rcx, [rsi + 0x30]
call fcn.14000c900
mov rcx, rsi
call fcn.14007aa60
mov dword [rsi], edi
lea rcx, [rsp + 0x30]
call fcn.1400c9530
nop
mov rax, rsi
mov rbx, qword [rsp + 0x4e8]
add rsp, 0x490
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret