Function at 0x140008730
Capabilities:
Delete registry value
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x268
mov qword [rsp + 0x100], 0xfffffffffffffffe
mov rax, qword [0x1400405b0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov edx, 0x104
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x68]
call fcn.140001980
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xb8], rax
lea r8, [0x140031280]
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x30]
call fcn.140002690
nop
mov rax, qword [rsp + 0x68]
sub rax, 0x18
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
call fcn.1400093c0
mov r8, qword [str.SynInst.log]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x88]
call fcn.140002690
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
lea rdx, [0x140031334]
mov rcx, qword [rsp + 0xc8]
call fcn.140019098
mov rcx, qword [rsp + 0x270]
mov qword [rcx + 0x220], rax
mov rax, qword [rsp + 0x88]
sub rax, 0x18
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call fcn.1400093c0
mov r8, qword [str.Synaptics.PD.log]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa8]
call fcn.140002690
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
lea rdx, [0x140031338]
mov rcx, qword [rsp + 0x50]
call fcn.140019098
mov rcx, qword [rsp + 0x270]
mov qword [rcx + 0x228], rax
mov rax, qword [rsp + 0xa8]
sub rax, 0x18
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0xf0]
call fcn.1400093c0
mov rax, qword [rsp + 0x270]
cmp qword [rax + 0x220], 0
jne 0x1400088db
mov rax, qword [rsp + 0x270]
cmp qword [rax + 0x228], 0
je 0x140008b41
lea rdx, str._n______________________________________________________________________________n
mov rcx, qword [rsp + 0x270]
call fcn.140008540
xor ecx, ecx
call fcn.140019f8c
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
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.140005f30
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 + 0x270]
call fcn.140008540
nop
mov rax, qword [rsp + 0xa0]
sub rax, 0x18
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.1400093c0
lea rdx, str.___Uninstall_Synpd_driver_log_n
mov rcx, qword [rsp + 0x270]
call fcn.140008540
lea rdx, str.______________________________________________________________________________n
mov rcx, qword [rsp + 0x270]
call fcn.140008540
xor edx, edx
lea rcx, [rsp + 0x108]
call fcn.140014740
nop
mov dword [rsp + 0x44], 0x104
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [0x140030658]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x108]
call fcn.1400149b0
test eax, eax
je 0x140008a42
lea rax, [rsp + 0x110]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x140]
mov rdx, qword [str.DriverVersion]
mov rcx, rax
call fcn.140014230
test eax, eax
je 0x140008a42
lea r8, [rsp + 0x140]
lea rdx, str.DriverVersion_s_n
mov rcx, qword [rsp + 0x270]
call fcn.140008540
lea r8, str.19.0.17.115
lea rdx, str.UnInstallAppVersion_s_n
mov rcx, qword [rsp + 0x270]
call fcn.140008540
mov r8, qword [str.ByDeviceManager]
mov rdx, qword [str.SoftwareSynapticsSynTPUnInstall]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [str.SoftwareSynapticsSynTPUnInstall]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x108]
call fcn.1400149b0
test eax, eax
je 0x140008b07
mov dword [rsp + 0x48], 0
mov rax, qword [str.StartedByDeviceManager]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0xc0]
mov rcx, rax
call fcn.140014120
cmp dword [rsp + 0x38], 0
je 0x140008b07
lea rdx, str.UnInstallFromDeviceMangerYes_n
mov rcx, qword [rsp + 0x270]
call fcn.140008540
mov dword [rsp + 0x3c], 1
lea rcx, [rsp + 0x108]
call fcn.140014860
nop
mov rax, qword [rsp + 0x30]
sub rax, 0x18
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.1400093c0
mov eax, dword [rsp + 0x3c]
jmp 0x140008b6b
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x30]
sub rax, 0x18
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.1400093c0
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001a850
add rsp, 0x268
ret