Function at 0x1400152f0
Capabilities:
Check for time delay via gettickcount
Enumerate services
Query service status
Stop service

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x140074040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x50], rcx
xor r12d, r12d
mov dword [r11 - 0x80], r12d
mov dword [r11 - 0x7c], r12d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x14001560c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x14001538b
xor al, al
jmp 0x14001560e
mov edi, dword [rsp + 0x88]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], r12
test rdi, rdi
je 0x140015411
cmp rdi, 0x1000
jb 0x1400153e0
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14001563b
call fcn.14002cfec
mov rcx, rax
test rax, rax
je 0x140015641
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400153e8
mov rcx, rdi
call fcn.14002cfec
mov qword [rsp + 0x90], rax
lea rbx, [rax + rdi]
mov qword [rsp + 0xa0], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.140051d20
mov qword [rsp + 0x98], rbx
mov r13, qword [rsp + 0x90]
mov qword [rsp + 0x48], r13
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x88]
mov r8, r13
mov edx, 1
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x140015469
lea rcx, [rsp + 0x90]
call fcn.140013da0
xor al, al
jmp 0x14001560e
mov edi, r12d
mov dword [rsp + 0x30], r12d
cmp edi, dword [rsp + 0x8c]
jae 0x1400155ce
mov eax, edi
lea rcx, [rax + rax*2]
add rcx, rcx
movups xmm0, xmmword [r13 + rcx*8 + 0x10]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [r13 + rcx*8 + 0x20]
movups xmmword [rsp + 0x78], xmm1
mov r8d, 0x26
mov rdx, qword [r13 + rcx*8]
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400154d3
lea rcx, [rsp + 0x90]
call fcn.140013da0
xor al, al
jmp 0x14001560e
lea rdx, [rsp + 0x38]
call fcn.1400152a0
nop
lea r8, [rsp + 0xa8]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x140015510
lea rcx, [rsp + 0x90]
call fcn.140013da0
xor al, al
jmp 0x14001560e
cmp dword [rsp + 0xac], 1
je 0x140015598
mov ecx, dword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0xa8]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x140015565
lea rcx, [rsp + 0x90]
call fcn.140013da0
xor al, al
jmp 0x14001560e
cmp dword [rsp + 0xac], 1
je 0x140015598
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub rcx, r14
mov eax, dword [rsi + 0x2c]
cmp rcx, rax
jbe 0x140015593
lea rcx, [rsp + 0x90]
call fcn.140013da0
xor al, al
jmp 0x14001560e
jmp 0x140015510
jmp 0x1400155b5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rsp + 0x38], r12
inc edi
mov dword [rsp + 0x30], edi
jmp 0x140015471
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14001560c
mov rdx, qword [rsp + 0xa0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015607
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015641
call fcn.14002d030
mov al, 1
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14002cd30
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140005540
int3
call fcn.14003a96c
int3