Function at 0x14000dda0
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
xorps xmm0, xmm0
xor edx, edx
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov dword [rsp + 0x38], eax
movups xmmword [rsp + 0x20], xmm0
lea r8d, [rax + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x14000de31
mov rax, qword [0x140078970]
lea rbx, [0x140078970]
cmp rax, rbx
je 0x14000e00f
test dword [rax + 0x1c], 0x8000000
je 0x14000e00f
cmp byte [rax + 0x19], 2
jb 0x14000e00f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x140078970]
lea edx, [rsi + 0x10]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.14000da60
jmp 0x14000e00f
mov r8d, 0x10024
mov qword [rsp + 0x60], rdi
lea rdx, str.iBtSiva
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x14000dea3
mov rax, qword [0x140078970]
lea rbx, [0x140078970]
cmp rax, rbx
je 0x14000dff3
test dword [rax + 0x1c], 0x8000000
je 0x14000dff3
cmp byte [rax + 0x19], 2
jb 0x14000dff3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [rdi + 0x11]
mov rcx, qword [0x140078970]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.14000da60
jmp 0x14000dff3
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
lea rbx, [0x140078970]
test eax, eax
je 0x14000df86
mov rcx, qword [0x140078970]
cmp rcx, rbx
je 0x14000def5
test dword [rcx + 0x1c], 0x8000000
je 0x14000def5
cmp byte [rcx + 0x19], 2
jb 0x14000def5
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400697e0]
mov edx, 0x12
call fcn.1400017a0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14000df2d
mov eax, dword [rsp + 0x24]
cmp eax, 3
jne 0x14000df31
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 0x14000df07
mov eax, dword [rsp + 0x24]
cmp eax, 1
jne 0x14000df56
mov rcx, qword [0x140078970]
cmp rcx, rbx
je 0x14000df86
test dword [rcx + 0x1c], 0x8000000
je 0x14000df86
cmp byte [rcx + 0x19], 2
jb 0x14000df86
lea edx, [rax + 0x12]
jmp 0x14000df76
mov rcx, qword [0x140078970]
cmp rcx, rbx
je 0x14000df86
test dword [rcx + 0x1c], 0x8000000
je 0x14000df86
cmp byte [rcx + 0x19], 2
jb 0x14000df86
mov edx, 0x14
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400697e0]
call fcn.1400017a0
call fcn.140004960
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x14000dfc3
mov rax, qword [0x140078970]
cmp rax, rbx
je 0x14000dff3
test dword [rax + 0x1c], 0x8000000
je 0x14000dff3
cmp byte [rax + 0x19], 2
jb 0x14000dff3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x15
jmp 0x14000de8b
mov rcx, qword [0x140078970]
cmp rcx, rbx
je 0x14000dff3
test dword [rcx + 0x1c], 0x8000000
je 0x14000dff3
cmp byte [rcx + 0x19], 2
jb 0x14000dff3
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400697e0]
mov edx, 0x16
call fcn.1400017a0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rdi, rdi
je 0x14000e00a
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.1400117b0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret