Function at 0x14007fc70
Capabilities:
Delete registry key

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov qword [rbp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x210], rbx
mov r12, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPInstall
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x50]
call fcn.1400ca7a0
nop
mov dword [rbp + 0x128], edi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x128]
lea r8, [rbp + 0x120]
lea rdx, str.DeleteUserSettingsOnUpgrade
lea rcx, [rbp + 0x58]
call fcn.1400e16b0
cmp dword [rbp + 0x120], edi
je 0x140080100
mov word [rsp + 0x70], di
xor eax, eax
mov qword [rsp + 0x72], rax
mov qword [rsp + 0x7a], rax
mov qword [rbp - 0x7e], rax
mov qword [rbp - 0x76], rax
mov qword [rbp - 0x6e], rax
mov qword [rbp - 0x66], rax
mov dword [rbp + 0x118], 0x32
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x118]
lea r8, [rsp + 0x70]
lea rdx, str.DriverVersion
lea rcx, [rbp + 0x58]
call fcn.1400e17c0
mov word [rbp + 0x10], di
xor eax, eax
mov qword [rbp + 0x12], rax
mov qword [rbp + 0x1a], rax
mov qword [rbp + 0x22], rax
mov qword [rbp + 0x2a], rax
mov qword [rbp + 0x32], rax
mov qword [rbp + 0x3a], rax
mov dword [rbp + 0x118], 0x32
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPInstall
mov rdx, 0xffffffff80000001
lea rcx, [rbp + 0xb0]
call fcn.1400ca7a0
nop
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x118]
lea r8, [rbp + 0x10]
lea rdx, str.DriverVersion
lea rcx, [rbp + 0xb8]
call fcn.1400e17c0
call fcn.140004f70
mov rcx, rax
mov eax, edi
test rcx, rcx
setne al
test eax, eax
jne 0x14007fdd2
mov ecx, 0x80004005
call fcn.140004f20
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
lea rdx, [0x1401246c4]
test rdx, 0xffffffffffff0000
jne 0x14007fe14
movzx esi, dx
xor edx, edx
mov ecx, esi
call fcn.14000b790
test rax, rax
je 0x14007fe26
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14000bc20
jmp 0x14007fe21
xor r8d, r8d
lea rcx, [rsp + 0x30]
call fcn.14000be20
mov rbx, qword [rsp + 0x30]
lea rax, [rsp + 0x70]
lea r8, [rbp + 0x10]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14007fe46
add rax, 2
test ecx, ecx
jne 0x14007fe32
or rsi, 0xffffffffffffffff
test edx, edx
jne 0x14007ff4c
mov word [rsp + 0x38], di
xor eax, eax
mov qword [rsp + 0x3a], rax
mov qword [rsp + 0x42], rax
mov qword [rsp + 0x4a], rax
mov qword [rsp + 0x52], rax
mov qword [rsp + 0x5a], rax
mov qword [rsp + 0x62], rax
mov word [rbp - 0x28], di
mov qword [rbp - 0x26], rax
mov qword [rbp - 0x1e], rax
mov qword [rbp - 0x16], rax
mov qword [rbp - 0xe], rax
mov qword [rbp - 6], rax
mov qword [rbp + 2], rax
mov dword [rbp + 0x118], 0x32
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x118]
lea r8, [rsp + 0x38]
lea rdx, str.InfRevision
lea rcx, [rbp + 0x58]
call fcn.1400e17c0
test eax, eax
je 0x14007fef1
lea rcx, [rsp + 0x38]
mov rax, rsi
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x14007fed0
mov r8d, eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14000be20
mov rbx, qword [rsp + 0x30]
mov dword [rbp + 0x118], 0x32
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x118]
lea r8, [rbp - 0x28]
lea rdx, str.InfRevision
lea rcx, [rbp + 0xb8]
call fcn.1400e17c0
lea rax, [rsp + 0x38]
lea r8, [rbp - 0x28]
sub r8, rax
nop
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14007ff44
add rax, 2
test ecx, ecx
jne 0x14007ff30
test edx, edx
je 0x1400800dd
test byte [rbp + 0x120], 0x20
je 0x14007ff62
mov edx, 1
mov rcx, r12
call fcn.14008b140
xor edx, edx
lea r14d, [rdx + 1]
lea rcx, [rbp - 0x58]
call fcn.1400ca730
nop
test byte [rbp + 0x120], r14b
je 0x14008006b
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, str.SoftwareSynaptics
mov rdx, 0xffffffff80000001
lea rcx, [rbp - 0x58]
call fcn.1400ca8a0
test eax, eax
je 0x14008006b
lea rdx, str.SoftwareSynapticsTmp
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rdx, str.SoftwareSynapticsTmp
mov rcx, r12
call fcn.140080130
lea rcx, [rbp - 0x50]
call fcn.1400e13f0
xor edx, edx
lea rcx, [rbp + 0x80]
call fcn.1400ca730
nop
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, str.SoftwareSynapticsTmp
mov rdx, 0xffffffff80000001
lea rcx, [rbp + 0x80]
call fcn.1400ca8a0
test eax, eax
je 0x14008005f
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov r9d, r14d
lea r8, str.SoftwareSynaptics
mov rdx, 0xffffffff80000001
lea rcx, [rbp - 0x58]
call fcn.1400ca8a0
test eax, eax
je 0x140080052
xor r9d, r9d
mov r8, qword [rbp - 0x40]
xor edx, edx
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.SHLWAPI.dll_SHCopyKeyW]
mov r14d, edi
test eax, eax
sete r14b
lea rcx, [rbp + 0x88]
call fcn.1400e13f0
nop
lea rcx, [rbp + 0x80]
call fcn.1400ca840
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov r9d, 1
lea r8, str.SoftwareSynapticsSynTPInstall
mov rdx, 0xffffffff80000001
lea rcx, [rbp - 0x58]
call fcn.1400ca8a0
test eax, eax
je 0x1400800d0
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rsp + 0x70]
lea rdx, str.DriverVersion
lea rcx, [rbp - 0x50]
call fcn.1400e1bc0
cmp dword [rbx - 0x10], 0
je 0x1400800d0
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rbx
lea rdx, str.InfRevision
lea rcx, [rbp - 0x50]
call fcn.1400e1bc0
mov edi, r14d
lea rcx, [rbp - 0x58]
call fcn.1400ca840
nop
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400800f3
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
lea rcx, [rbp + 0xb0]
call fcn.1400ca840
nop
lea rcx, [rbp + 0x50]
call fcn.1400ca840
mov eax, edi
mov rbx, qword [rsp + 0x210]
add rsp, 0x1e0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret