Function at 0x14000db58
Capabilities:
Enumerate services
Modify service
Query service status
Stop service

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov rax, qword [0x140051010]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov r15, rdx
mov r13, rcx
mov qword [rsp + 0x80], rcx
and dword [r11 - 0x80], 0
and dword [r11 - 0x7c], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r12, rax
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xbc]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x14000de7b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x14000dbf0
xor al, al
jmp 0x14000de7d
mov esi, dword [rsp + 0xb8]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xc0], xmm0
and qword [rsp + 0xd0], 0
test rsi, rsi
je 0x14000dc51
mov ecx, esi
cmp rsi, 0x1000
jb 0x14000dc23
call fcn.14000b440
jmp 0x14000dc28
call fcn.14001b230
mov qword [rsp + 0xc0], rax
lea rbx, [rax + rsi]
mov qword [rsp + 0xd0], rbx
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.14001d190
mov qword [rsp + 0xc8], rbx
mov r14, qword [rsp + 0xc0]
mov qword [rsp + 0x78], r14
lea rax, [rsp + 0xbc]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xb8]
mov r8, r14
mov edx, 1
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x14000dca9
lea rcx, [rsp + 0xc0]
call fcn.14000cac0
xor al, al
jmp 0x14000de7d
xor ebx, ebx
mov dword [rsp + 0x60], ebx
cmp ebx, dword [rsp + 0xbc]
jae 0x14000de3d
lea rcx, [rbx + rbx*2]
add rcx, rcx
movups xmm0, xmmword [r14 + rcx*8 + 0x10]
movups xmmword [rsp + 0x98], xmm0
movups xmm1, xmmword [r14 + rcx*8 + 0x20]
movups xmmword [rsp + 0xa8], xmm1
mov r8d, 0x26
mov rdx, qword [r14 + rcx*8]
mov rcx, qword [r13 + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x14000dd14
lea rcx, [rsp + 0xc0]
call fcn.14000cac0
xor al, al
jmp 0x14000de7d
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
or r9d, 0xffffffff
mov r8d, 4
or edx, r9d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
nop
lea r8, [rsp + 0xd8]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14000dd83
lea rcx, [rsp + 0xc0]
call fcn.14000cac0
xor al, al
jmp 0x14000de7d
cmp dword [rsp + 0xdc], 1
je 0x14000de0a
mov ecx, dword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0xd8]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14000ddd8
lea rcx, [rsp + 0xc0]
call fcn.14000cac0
xor al, al
jmp 0x14000de7d
cmp dword [rsp + 0xdc], 1
je 0x14000de0a
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, r12
mov ecx, dword [r13 + 0x2c]
cmp rax, rcx
jbe 0x14000de05
lea rcx, [rsp + 0xc0]
call fcn.14000cac0
xor al, al
jmp 0x14000de7d
jmp 0x14000dd83
jmp 0x14000de27
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
and qword [rsp + 0x68], 0
inc ebx
jmp 0x14000dcab
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x14000de7b
mov rdx, qword [rsp + 0xd0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000de76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dea6
call fcn.14001b4c4
mov al, 1
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.14001ae90
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
call fcn.1400234bc
int3