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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0xc0
mov rax, qword [0x1401f0b90]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x38], rsp
mov rdi, rdx
mov r13, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x140002014
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x140001e2e
xor eax, eax
jmp 0x140002019
mov ebx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, ebx
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r12, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140001e27
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
mov r8, r12
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x140001e9e
lea rdx, [0x140001e97]
mov rcx, qword [rsp + 0x38]
call fcn.14014b660
nop
nop
xor eax, eax
jmp 0x140002019
xor ebx, ebx
mov dword [rsp + 0x40], ebx
cmp ebx, dword [rsp + 0x34]
jae 0x140002000
lea rdx, [rbx + rbx*2]
add rdx, rdx
mov rax, qword [r12 + rdx*8 + 8]
mov qword [rsp + 0x60], rax
mov rax, qword [r12 + rdx*8 + 0x10]
mov qword [rsp + 0x68], rax
mov rax, qword [r12 + rdx*8 + 0x18]
mov qword [rsp + 0x70], rax
mov rax, qword [r12 + rdx*8 + 0x20]
mov qword [rsp + 0x78], rax
mov rax, qword [r12 + rdx*8 + 0x28]
mov qword [rsp + 0x80], rax
mov r8d, 0x24
mov rdx, qword [r12 + rdx*8]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x140001f24
lea rdx, [0x140001f1d]
mov rcx, qword [rsp + 0x38]
call fcn.14014b660
nop
nop
xor eax, eax
jmp 0x140002019
lea r8, [rsp + 0x88]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x140001f60
lea rdx, [0x140001f52]
mov rcx, qword [rsp + 0x38]
call fcn.14014b660
nop
nop
nop
xor eax, eax
jmp 0x140002019
cmp dword [rsp + 0x8c], 1
je 0x140001ff0
mov ecx, dword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r11, [rsp + 0x30]
mov qword [rsp + 0x20], r11
mov r9d, 0x24
lea r8, [rsp + 0x88]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x140001fba
lea rdx, [0x140001fb6]
mov rcx, qword [rsp + 0x38]
call fcn.14014b660
nop
nop
nop
xor eax, eax
jmp 0x140002019
cmp dword [rsp + 0x8c], 1
je 0x140001ff0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x7530
jbe 0x140001feb
lea rdx, [0x140001fe7]
mov rcx, qword [rsp + 0x38]
call fcn.14014b660
nop
nop
nop
xor eax, eax
jmp 0x140002019
jmp 0x140001f60
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
inc ebx
jmp 0x140001ea0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14013f9a0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret