Function at 0x14000dc20
Capabilities:
Modify service

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x3f0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400442d0]
xor rax, rsp
mov qword [rsp + 0x3e0], rax
mov rbx, rdx
cmp ecx, 1
jle 0x14000e01b
mov rdx, qword [rdx + 8]
movzx eax, word [rdx]
sub ax, 0x2d
mov ecx, 0xfffd
test cx, ax
jne 0x14000e01b
add rdx, 2
lea rcx, str.install
call fcn.1400198fc
test eax, eax
jne 0x14000dcff
lea r9, [0x140037840]
lea r8, [0x140038984]
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140016f10
cmp qword [rax + 0x18], 8
jb 0x14000dcab
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea r9, str.SynTPEnh_Caller_Service
lea r8, str._s_s
mov edx, 0x104
lea rcx, [rsp + 0xa0]
call fcn.14001a4a8
cmp qword [rsp + 0x80], 8
jb 0x14000dce5
mov rcx, qword [rsp + 0x68]
call fcn.140018e6c
call fcn.140015c80
mov rcx, rax
lea rdx, [rsp + 0xa0]
call fcn.140015170
jmp 0x14000e0b3
mov rdx, qword [rbx + 8]
add rdx, 2
lea rcx, str.remove
call fcn.1400198fc
test eax, eax
jne 0x14000dd29
call fcn.140015c80
mov rcx, rax
call fcn.140015300
jmp 0x14000e0b3
mov rdx, qword [rbx + 8]
add rdx, 2
lea rcx, str.disable
call fcn.1400198fc
test eax, eax
jne 0x14000dd58
call fcn.140015c80
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.140015620
jmp 0x14000e0b3
mov rdx, qword [rbx + 8]
add rdx, 2
lea rcx, str.enableAutoStart
call fcn.1400198fc
test eax, eax
jne 0x14000de41
call fcn.140015c80
mov rdi, rax
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x14000ddab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager_failed___d__n
call fcn.14001a4cc
jmp 0x14000e0b3
mov r8d, 2
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
jne 0x14000dde7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenService_failed___d__n
call fcn.14001a4cc
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000e0b3
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
or r9d, 0xffffffff
lea r8d, [rdi + 2]
or edx, r9d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x14000def0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ChangeServiceConfig_failed___d__n
call fcn.14001a4cc
jmp 0x14000df03
mov rdx, qword [rbx + 8]
add rdx, 2
lea rcx, str.enableDemandStart
call fcn.1400198fc
test eax, eax
jne 0x14000df1a
call fcn.140015c80
mov rdi, rax
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x14000dd92
mov r8d, 2
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x14000ddc5
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
or r9d, 0xffffffff
lea r8d, [rdi + 3]
or edx, r9d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x14000def0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ChangeServiceConfig_failed___d__n
call fcn.14001a4cc
jmp 0x14000df03
lea rdx, str.enabled
lea rcx, str.Service__s_successfully._n
call fcn.14001a4cc
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000e0b3
mov rdx, qword [rbx + 8]
add rdx, 2
lea rcx, str.stop
call fcn.1400198fc
test eax, eax
jne 0x14000df44
call fcn.140015c80
mov rcx, rax
call fcn.1400154b0
jmp 0x14000e0b3
mov rdx, qword [rbx + 8]
add rdx, 2
lea rcx, [0x140038dec]
call fcn.1400198fc
test eax, eax
je 0x14000dfa8
mov rdx, qword [rbx + 8]
add rdx, 2
lea rcx, [0x140038df0]
call fcn.1400198fc
test eax, eax
je 0x14000dfa8
mov rdx, qword [rbx + 8]
add rdx, 2
lea rcx, [0x140038df4]
call fcn.1400198fc
test eax, eax
je 0x14000dfa8
mov rdx, qword [rbx + 8]
add rdx, 2
lea rcx, [0x140038dfc]
call fcn.1400198fc
test eax, eax
jne 0x14000e0b3
mov edx, 1
lea rcx, [rsp + 0x68]
call fcn.140017a70
nop
xor edi, edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x20006
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPEnh
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x68]
call fcn.140017ce0
test eax, eax
je 0x14000e00c
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, qword [rbx + 8]
lea rdx, str.Command
lea rcx, [rsp + 0x70]
call fcn.140018730
lea rcx, [rsp + 0x70]
call fcn.1400180f0
nop
lea rcx, [rsp + 0x68]
call fcn.140017b90
jmp 0x14000e0b3
lea rcx, str.Parameters:_n
call fcn.14001a4cc
lea rcx, str.__install__to_install_the_service._n
call fcn.14001a4cc
lea rcx, str.__remove___to_remove_the_service._n
call fcn.14001a4cc
lea rcx, [rsp + 0xa0]
call fcn.14000ebe0
lea rax, [rsp + 0xa0]
mov qword [0x140047e38], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x68], rax
lea rax, [0x140014ac0]
mov qword [rsp + 0x70], rax
xor edi, edi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], rdi
lea rcx, [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x14000e0a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Service_failed_to_run_w_err_0x_08lx_n
call fcn.14001a4cc
lea rcx, [rsp + 0xa0]
call fcn.14000f0a0
xor eax, eax
mov rcx, qword [rsp + 0x3e0]
xor rcx, rsp
call fcn.140018e90
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret