Function at 0x14000ef90
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
lea r8d, [rax + 1]
mov dword [rsp + 0x38], eax
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x14000f023
mov rax, qword [0x140071d28]
lea rbx, [0x140071d28]
cmp rax, rbx
je 0x14000f208
test dword [rax + 0x1c], 0x8000000
je 0x14000f208
cmp byte [rax + 0x19], 2
jb 0x14000f208
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x140071d28]
lea edx, [rsi + 0x10]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.14000ec20
jmp 0x14000f208
mov r8d, 0x10024
mov qword [rsp + 0x60], rdi
lea rdx, str.iBtSiva
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x14000f095
mov rax, qword [0x140071d28]
lea rbx, [0x140071d28]
cmp rax, rbx
je 0x14000f1ec
test dword [rax + 0x1c], 0x8000000
je 0x14000f1ec
cmp byte [rax + 0x19], 2
jb 0x14000f1ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [rdi + 0x11]
mov rcx, qword [0x140071d28]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.14000ec20
jmp 0x14000f1ec
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
lea rbx, [0x140071d28]
test eax, eax
je 0x14000f17f
mov rcx, qword [0x140071d28]
cmp rcx, rbx
je 0x14000f0e7
test dword [rcx + 0x1c], 0x8000000
je 0x14000f0e7
cmp byte [rcx + 0x19], 2
jb 0x14000f0e7
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400616f0]
mov edx, 0x12
call fcn.1400017d0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14000f126
nop dword [rax]
mov eax, dword [rsp + 0x24]
cmp eax, 3
jne 0x14000f12a
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x14000f100
mov eax, dword [rsp + 0x24]
cmp eax, 1
jne 0x14000f14f
mov rcx, qword [0x140071d28]
cmp rcx, rbx
je 0x14000f17f
test dword [rcx + 0x1c], 0x8000000
je 0x14000f17f
cmp byte [rcx + 0x19], 2
jb 0x14000f17f
lea edx, [rax + 0x12]
jmp 0x14000f16f
mov rcx, qword [0x140071d28]
cmp rcx, rbx
je 0x14000f17f
test dword [rcx + 0x1c], 0x8000000
je 0x14000f17f
cmp byte [rcx + 0x19], 2
jb 0x14000f17f
mov edx, 0x14
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400616f0]
call fcn.1400017d0
call fcn.140003e60
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x14000f1bc
mov rax, qword [0x140071d28]
cmp rax, rbx
je 0x14000f1ec
test dword [rax + 0x1c], 0x8000000
je 0x14000f1ec
cmp byte [rax + 0x19], 2
jb 0x14000f1ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x15
jmp 0x14000f07d
mov rcx, qword [0x140071d28]
cmp rcx, rbx
je 0x14000f1ec
test dword [rcx + 0x1c], 0x8000000
je 0x14000f1ec
cmp byte [rcx + 0x19], 2
jb 0x14000f1ec
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400616f0]
mov edx, 0x16
call fcn.1400017d0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rdi, rdi
je 0x14000f203
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140011f50
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret