Function at 0x14000d564
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 0x14000d887
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x14000d5fc
xor al, al
jmp 0x14000d889
mov esi, dword [rsp + 0xb8]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xc0], xmm0
and qword [rsp + 0xd0], 0
test rsi, rsi
je 0x14000d65d
mov ecx, esi
cmp rsi, 0x1000
jb 0x14000d62f
call fcn.14000b0e8
jmp 0x14000d634
call fcn.14001a524
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.14001c3e0
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 0x14000d6b5
lea rcx, [rsp + 0xc0]
call fcn.14000c5dc
xor al, al
jmp 0x14000d889
xor ebx, ebx
mov dword [rsp + 0x60], ebx
cmp ebx, dword [rsp + 0xbc]
jae 0x14000d849
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 0x14000d720
lea rcx, [rsp + 0xc0]
call fcn.14000c5dc
xor al, al
jmp 0x14000d889
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 0x14000d78f
lea rcx, [rsp + 0xc0]
call fcn.14000c5dc
xor al, al
jmp 0x14000d889
cmp dword [rsp + 0xdc], 1
je 0x14000d816
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 0x14000d7e4
lea rcx, [rsp + 0xc0]
call fcn.14000c5dc
xor al, al
jmp 0x14000d889
cmp dword [rsp + 0xdc], 1
je 0x14000d816
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, r12
mov ecx, dword [r13 + 0x2c]
cmp rax, rcx
jbe 0x14000d811
lea rcx, [rsp + 0xc0]
call fcn.14000c5dc
xor al, al
jmp 0x14000d889
jmp 0x14000d78f
jmp 0x14000d833
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
and qword [rsp + 0x68], 0
inc ebx
jmp 0x14000d6b7
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x14000d887
mov rdx, qword [rsp + 0xd0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d882
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d8b2
call fcn.14001a7b0
mov al, 1
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.14001a000
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
call fcn.1400220d8
int3