Function at 0x14000d790
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 [0x140059010]
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 0x14000dab3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x14000d828
xor al, al
jmp 0x14000dab5
mov esi, dword [rsp + 0xb8]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xc0], xmm0
and qword [rsp + 0xd0], 0
test rsi, rsi
je 0x14000d889
mov ecx, esi
cmp rsi, 0x1000
jb 0x14000d85b
call fcn.140004bc8
jmp 0x14000d860
call fcn.14001c26c
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.14001ee30
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 0x14000d8e1
lea rcx, [rsp + 0xc0]
call fcn.14000c6f8
xor al, al
jmp 0x14000dab5
xor ebx, ebx
mov dword [rsp + 0x60], ebx
cmp ebx, dword [rsp + 0xbc]
jae 0x14000da75
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 0x14000d94c
lea rcx, [rsp + 0xc0]
call fcn.14000c6f8
xor al, al
jmp 0x14000dab5
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 0x14000d9bb
lea rcx, [rsp + 0xc0]
call fcn.14000c6f8
xor al, al
jmp 0x14000dab5
cmp dword [rsp + 0xdc], 1
je 0x14000da42
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 0x14000da10
lea rcx, [rsp + 0xc0]
call fcn.14000c6f8
xor al, al
jmp 0x14000dab5
cmp dword [rsp + 0xdc], 1
je 0x14000da42
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, r12
mov ecx, dword [r13 + 0x2c]
cmp rax, rcx
jbe 0x14000da3d
lea rcx, [rsp + 0xc0]
call fcn.14000c6f8
xor al, al
jmp 0x14000dab5
jmp 0x14000d9bb
jmp 0x14000da5f
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
and qword [rsp + 0x68], 0
inc ebx
jmp 0x14000d8e3
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x14000dab3
mov rdx, qword [rsp + 0xd0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000daae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dade
call fcn.14001c2b0
mov al, 1
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.14001bfb0
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
call fcn.140025ec0
int3