Function at 0x14000d518
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 [0x14005a040]
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 0x14000d83b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x14000d5b0
xor al, al
jmp 0x14000d83d
mov esi, dword [rsp + 0xb8]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xc0], xmm0
and qword [rsp + 0xd0], 0
test rsi, rsi
je 0x14000d611
mov ecx, esi
cmp rsi, 0x1000
jb 0x14000d5e3
call fcn.140004794
jmp 0x14000d5e8
call fcn.14001c6fc
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.14003c460
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 0x14000d669
lea rcx, [rsp + 0xc0]
call fcn.14000c478
xor al, al
jmp 0x14000d83d
xor ebx, ebx
mov dword [rsp + 0x60], ebx
cmp ebx, dword [rsp + 0xbc]
jae 0x14000d7fd
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 0x14000d6d4
lea rcx, [rsp + 0xc0]
call fcn.14000c478
xor al, al
jmp 0x14000d83d
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 0x14000d743
lea rcx, [rsp + 0xc0]
call fcn.14000c478
xor al, al
jmp 0x14000d83d
cmp dword [rsp + 0xdc], 1
je 0x14000d7ca
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 0x14000d798
lea rcx, [rsp + 0xc0]
call fcn.14000c478
xor al, al
jmp 0x14000d83d
cmp dword [rsp + 0xdc], 1
je 0x14000d7ca
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, r12
mov ecx, dword [r13 + 0x2c]
cmp rax, rcx
jbe 0x14000d7c5
lea rcx, [rsp + 0xc0]
call fcn.14000c478
xor al, al
jmp 0x14000d83d
jmp 0x14000d743
jmp 0x14000d7e7
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
and qword [rsp + 0x68], 0
inc ebx
jmp 0x14000d66b
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x14000d83b
mov rdx, qword [rsp + 0xd0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d836
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d866
call fcn.14001c740
mov al, 1
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.14001c440
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
call fcn.140026710
int3