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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x4c0
mov rax, qword [0x14025ab40]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov qword [rsp + 0x30], rsp
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, qword [0x14026cbe8]
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x140002a68
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x140002820
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.In_StopDependentServices_____d__r_n
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x140002a6f
mov ebx, dword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, ebx
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x140002868
xor r8d, r8d
lea rdx, str.In_lpDependencies_____d__r_n
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x140002a6f
lea rax, [rsp + 0x84]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x80]
mov r8, r14
mov edx, 1
mov rcx, qword [0x14026cbe8]
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x1400028df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.In_EnumDependentServices_____d__r_n
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0xb0]
call fcn.140002620
lea rdx, [0x140002a7c]
mov rcx, qword [rsp + 0x30]
call fcn.14019e250
xor edi, edi
mov dword [rsp + 0x38], edi
cmp edi, dword [rsp + 0x84]
jae 0x140002a54
lea rcx, [rdi + rdi*2]
add rcx, rcx
movups xmm1, xmmword [r14 + rcx*8 + 0x10]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [r14 + rcx*8 + 0x20]
movups xmmword [rsp + 0x70], xmm0
mov r8d, 0x24
mov rdx, qword [r14 + rcx*8]
mov rcx, qword [0x14026cbf0]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140002970
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.In_hDepService_____d__r_n
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0xb0]
call fcn.140002620
lea rdx, [0x140002a7c]
mov rcx, qword [rsp + 0x30]
call fcn.14019e250
nop
lea r8, [rsp + 0x88]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x1400029c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.In_ControlService_____d__r_n
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0xb0]
call fcn.140002620
lea rdx, [0x140002a7c]
mov rcx, qword [rsp + 0x30]
call fcn.14019e250
cmp dword [rsp + 0x8c], 1
je 0x140002a44
mov ecx, dword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x88]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x140002a18
lea rdx, [0x140002a7c]
mov rcx, qword [rsp + 0x30]
call fcn.14019e250
cmp dword [rsp + 0x8c], 1
je 0x140002a44
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x7530
jbe 0x140002a42
lea rdx, [0x140002a7c]
mov rcx, qword [rsp + 0x30]
call fcn.14019e250
jmp 0x1400029c6
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
inc edi
jmp 0x1400028e1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
jmp 0x140002a7e
lea rcx, [rsp + 0xb0]
call fcn.140002620
xor eax, eax
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140190940
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret