Function at 0x1400099e8
Capabilities:
Delete service
Stop service

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xf68]
mov eax, 0x1050
call fcn.1400146f0
sub rsp, rax
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rbp + 0xf40], rax
mov rbx, rcx
call fcn.140006410
test eax, eax
je 0x140009c65
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x140009aba
mov edi, 0x400
lea rdx, [rsp + 0x40]
mov r8d, edi
mov ecx, 0xd80a
call fcn.140003968
test eax, eax
jne 0x140009a9f
lea r8, str.Could_not_open_Service_Manager
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.14001bc44
test eax, eax
je 0x140009a9f
cmp eax, 0xc
je 0x140009cac
cmp eax, 0x16
je 0x140009ca1
cmp eax, 0x22
je 0x140009ca1
cmp eax, 0x50
jne 0x140009c96
lea r8, [rbx + 0x68]
lea rdx, [rsp + 0x40]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x140009c6a
lea r14, [rbx + 0x68]
mov r8d, 0x10020
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r15, rax
test rax, rax
jne 0x140009b3f
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, 0x400
lea rdx, [rsp + 0x40]
mov r8d, edi
mov ecx, 0xd80c
call fcn.140003968
test eax, eax
jne 0x140009b37
lea r8, str.Could_not_open_service
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.14001bc44
test eax, eax
je 0x140009b37
cmp eax, 0xc
je 0x140009ccd
cmp eax, 0x16
je 0x140009cc2
cmp eax, 0x22
je 0x140009cc2
cmp eax, 0x50
jne 0x140009cb7
mov r8, r14
jmp 0x140009aa3
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, 0x400
test eax, eax
jne 0x140009bdf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x140009bdf
cmp eax, 0x425
jne 0x140009b7a
cmp dword [rsp + 0x24], 3
je 0x140009bdf
mov r8d, edi
lea rdx, [rsp + 0x40]
mov ecx, 0xd80e
call fcn.140003968
test eax, eax
jne 0x140009bcc
lea r8, str.Could_not_stop_service
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14001bc44
test eax, eax
je 0x140009bcc
cmp eax, 0xc
je 0x140009cee
cmp eax, 0x16
je 0x140009ce3
cmp eax, 0x22
je 0x140009ce3
cmp eax, 0x50
jne 0x140009cd8
xor r9d, r9d
lea rdx, [rsp + 0x40]
mov r8, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, r15
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
jne 0x140009c65
mov r8d, edi
lea rdx, [rbp + 0x740]
mov ecx, 0xd80d
call fcn.140003968
test eax, eax
jne 0x140009c56
lea r8, str.Could_not_delete_service
mov rdx, rdi
lea rcx, [rbp + 0x740]
call fcn.14001bc44
test eax, eax
je 0x140009c56
cmp eax, 0xc
je 0x140009d0f
cmp eax, 0x16
je 0x140009d04
cmp eax, 0x22
je 0x140009d04
cmp eax, 0x50
jne 0x140009cf9
mov r8, r14
lea rdx, [rbp + 0x740]
jmp 0x140009aa8
mov eax, 1
mov rcx, qword [rbp + 0xf40]
xor rcx, rsp
call fcn.140014260
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400042e0
int3
mov ecx, 0x80070057
call fcn.1400042e0
int3
mov ecx, 0x8007000e
call fcn.1400042e0
int3
mov ecx, 0x80004005
call fcn.1400042e0
int3
mov ecx, 0x80070057
call fcn.1400042e0
int3
mov ecx, 0x8007000e
call fcn.1400042e0
int3
mov ecx, 0x80004005
call fcn.1400042e0
int3
mov ecx, 0x80070057
call fcn.1400042e0
int3
mov ecx, 0x8007000e
call fcn.1400042e0
int3
mov ecx, 0x80004005
call fcn.1400042e0
int3
mov ecx, 0x80070057
call fcn.1400042e0
int3
mov ecx, 0x8007000e
call fcn.1400042e0
int3