Function at 0x140008a50
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x258
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov rax, qword [0x1400425e0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov edx, 0x104
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0xd8]
call fcn.140001a10
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x58], rax
lea r8, [0x1400332e0]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.1400027d0
nop
mov rax, qword [rsp + 0xd8]
sub rax, 0x18
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140009650
mov r8, qword [str.SynInst.log]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe8]
call fcn.1400027d0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
lea rdx, [0x140033394]
mov rcx, qword [rsp + 0x78]
call fcn.14001acb0
mov rcx, qword [rsp + 0x260]
mov qword [rcx + 0x220], rax
mov rax, qword [rsp + 0xe8]
sub rax, 0x18
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.140009650
mov r8, qword [str.Synaptics.PD.log]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1400027d0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea rdx, [0x140033398]
mov rcx, qword [rsp + 0x48]
call fcn.14001acb0
mov rcx, qword [rsp + 0x260]
mov qword [rcx + 0x228], rax
mov rax, qword [rsp + 0xe0]
sub rax, 0x18
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.140009650
mov rax, qword [rsp + 0x260]
cmp qword [rax + 0x220], 0
jne 0x140008bf5
mov rax, qword [rsp + 0x260]
cmp qword [rax + 0x228], 0
je 0x140008ddb
lea rdx, str._n______________________________________________________________________________n
mov rcx, qword [rsp + 0x260]
call fcn.140008860
xor ecx, ecx
call fcn.14001bbe8
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
lea r8, str.___Date:__Y__m__d__H:_M:_S_n
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.140006250
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x260]
call fcn.140008860
nop
mov rax, qword [rsp + 0xa0]
sub rax, 0x18
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.140009650
lea rdx, str.___Uninstall_Synpd_driver_log_n
mov rcx, qword [rsp + 0x260]
call fcn.140008860
lea rdx, str.______________________________________________________________________________n
mov rcx, qword [rsp + 0x260]
call fcn.140008860
xor edx, edx
lea rcx, [rsp + 0xf8]
call fcn.140015f80
nop
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [0x1400326d0]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xf8]
call fcn.1400161f0
test eax, eax
je 0x140008d5c
lea rax, [rsp + 0x100]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x130]
mov rdx, qword [str.DriverVersion]
mov rcx, rax
call fcn.140015a10
test eax, eax
je 0x140008d5c
lea r8, [rsp + 0x130]
lea rdx, str.DriverVersion_s_n
mov rcx, qword [rsp + 0x260]
call fcn.140008860
lea r8, str.19.3.4.228
lea rdx, str.UnInstallAppVersion_s_n
mov rcx, qword [rsp + 0x260]
call fcn.140008860
mov rax, qword [rsp + 0x260]
mov eax, dword [rax + 4]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x140008da1
lea rdx, str.UnInstallFromDeviceMangerYes_n
mov rcx, qword [rsp + 0x260]
call fcn.140008860
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0xf8]
call fcn.1400160a0
nop
mov rax, qword [rsp + 0x30]
sub rax, 0x18
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.140009650
mov eax, dword [rsp + 0x38]
jmp 0x140008e05
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0x30]
sub rax, 0x18
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.140009650
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14001c4b0
add rsp, 0x258
ret