Function at 0x14000d828
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 [0x140053010]
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 0x14000db4b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x14000d8c0
xor al, al
jmp 0x14000db4d
mov esi, dword [rsp + 0xb8]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xc0], xmm0
and qword [rsp + 0xd0], 0
test rsi, rsi
je 0x14000d921
mov ecx, esi
cmp rsi, 0x1000
jb 0x14000d8f3
call fcn.14000b3b0
jmp 0x14000d8f8
call fcn.14001a7e4
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.14001c6a0
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 0x14000d979
lea rcx, [rsp + 0xc0]
call fcn.14000c7d8
xor al, al
jmp 0x14000db4d
xor ebx, ebx
mov dword [rsp + 0x60], ebx
cmp ebx, dword [rsp + 0xbc]
jae 0x14000db0d
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 0x14000d9e4
lea rcx, [rsp + 0xc0]
call fcn.14000c7d8
xor al, al
jmp 0x14000db4d
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 0x14000da53
lea rcx, [rsp + 0xc0]
call fcn.14000c7d8
xor al, al
jmp 0x14000db4d
cmp dword [rsp + 0xdc], 1
je 0x14000dada
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 0x14000daa8
lea rcx, [rsp + 0xc0]
call fcn.14000c7d8
xor al, al
jmp 0x14000db4d
cmp dword [rsp + 0xdc], 1
je 0x14000dada
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, r12
mov ecx, dword [r13 + 0x2c]
cmp rax, rcx
jbe 0x14000dad5
lea rcx, [rsp + 0xc0]
call fcn.14000c7d8
xor al, al
jmp 0x14000db4d
jmp 0x14000da53
jmp 0x14000daf7
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
and qword [rsp + 0x68], 0
inc ebx
jmp 0x14000d97b
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x14000db4b
mov rdx, qword [rsp + 0xd0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000db46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000db76
call fcn.14001aa70
mov al, 1
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.14001a2c0
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
call fcn.140022398
int3