Function at 0x14008d460
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 - 0x3b0]
sub rsp, 0x4b0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x508], 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.140090570
mov qword [rsi + 0x50], rax
xor ebx, ebx
mov qword [rsi + 0x60], rbx
mov dword [rsi + 0x68], edi
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400ddab0
nop
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPEnh
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.1400ddc20
test eax, eax
je 0x14008d548
mov qword [rsp + 0x20], rbx
lea r9, [rsi + 4]
lea r8, [rsi + 4]
lea rdx, str.MultipleProfiles
lea rcx, [rsp + 0x58]
call fcn.1400f5bd0
mov qword [rsp + 0x20], rbx
lea r9, [rsi + 8]
lea r8, [rsi + 8]
lea rdx, str.AutoProfile
lea rcx, [rsp + 0x58]
call fcn.1400f5bd0
lea rcx, [rbp + 0x3f8]
call fcn.1400f1240
mov eax, ebx
cmp dword [rbp + 0x3f8], ebx
setne al
mov dword [rsi + 0xc], eax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPInstall
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.1400ddc20
test eax, eax
je 0x14008d5fa
mov word [rbp - 0x70], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x6e]
call fcn.1400fa4e0
mov dword [rbp + 0x400], 0x208
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x400]
lea r8, [rbp - 0x70]
lea rdx, str.ProgDir
lea rcx, [rsp + 0x58]
call fcn.1400f5ce0
cmp word [rbp - 0x70], 0
jne 0x14008d5da
mov r8, rbx
jmp 0x14008d5ed
lea rax, [rbp - 0x70]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14008d5e2
lea rdx, [rbp - 0x70]
lea rcx, [rsi + 0x10]
call fcn.14000b9c0
xor r9d, r9d
lea r8d, [r9 + 0x1a]
lea rdx, [rbp + 0x1a0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14008d661
cmp word [rbp + 0x1a0], 0
jne 0x14008d623
mov r8, rbx
jmp 0x14008d63b
lea rax, [rbp + 0x1a0]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14008d630
lea rdx, [rbp + 0x1a0]
lea rcx, [rsi + 0x30]
call fcn.14000b9c0
mov r8d, 0xa
lea rdx, [0x140151ae0]
lea rcx, [rsi + 0x30]
call fcn.14003d830
lea r9, [0x140140710]
lea r8, [0x140150e78]
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400f2890
cmp qword [rax + 0x10], 0
setne bl
cmp qword [rsp + 0x48], 8
jb 0x14008d695
mov rcx, qword [rsp + 0x30]
call fcn.1400fa318
test bl, bl
je 0x14008d6f0
mov r8d, 1
lea rdx, [0x140140710]
lea rcx, [rsi + 0x30]
call fcn.14003d830
lea r9, [0x140140710]
lea r8, [0x140150e78]
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400f2890
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsi + 0x30]
call fcn.14003d6f0
nop
cmp qword [rsp + 0x48], 8
jb 0x14008d6f0
mov rcx, qword [rsp + 0x30]
call fcn.1400fa318
cmp qword [rsi + 0x40], 0
je 0x14008d73d
mov edx, dword [rsi + 0x68]
test edx, edx
je 0x14008d71c
dec edx
jne 0x14008d73d
movzx eax, word [str.Profiles_]
neg ax
sbb r8, r8
and r8d, 0xa
lea rdx, str.Profiles_
jmp 0x14008d734
movzx eax, word [str.OSD_]
neg ax
sbb r8, r8
and r8d, 5
lea rdx, str.OSD_
lea rcx, [rsi + 0x30]
call fcn.14003d830
mov rcx, rsi
call fcn.14008d820
xor eax, eax
mov dword [rsi], eax
lea rcx, [rsp + 0x50]
call fcn.1400ddbc0
nop
mov rax, rsi
mov rbx, qword [rsp + 0x508]
add rsp, 0x4b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret