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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x140050088]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x38], rsp
mov rdi, r8
mov r15, rdx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
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, [r9 + 1]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x140013ba7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x140013998
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140013ba9
mov ebx, dword [rsp + 0x88]
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 + 0x50], rax
test rax, rax
jne 0x1400139cd
mov eax, 0x80ea
jmp 0x140013ba9
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, r14
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x140013a2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rdx, [0x140013a21]
mov rcx, qword [rsp + 0x38]
call fcn.14001a8a0
nop
nop
mov eax, dword [rsp + 0x30]
jmp 0x140013ba9
xor edi, edi
mov dword [rsp + 0x40], edi
cmp edi, dword [rsp + 0x8c]
jae 0x140013b93
lea rcx, [rdi + rdi*2]
add rcx, rcx
movups xmm1, xmmword [r14 + rcx*8 + 0x10]
movups xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [r14 + rcx*8 + 0x20]
movups xmmword [rsp + 0x78], xmm0
mov r8d, 0x24
mov rdx, qword [r14 + rcx*8]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x140013aa0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rdx, [0x140013a97]
mov rcx, qword [rsp + 0x38]
call fcn.14001a8a0
nop
nop
mov eax, dword [rsp + 0x30]
jmp 0x140013ba9
lea r8, [rsp + 0x90]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x140013ae1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rdx, [0x140013ad8]
mov rcx, qword [rsp + 0x38]
call fcn.14001a8a0
nop
nop
nop
mov eax, dword [rsp + 0x30]
jmp 0x140013ba9
cmp dword [rsp + 0x94], 1
je 0x140013b83
mov ecx, dword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x90]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x140013b4a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rdx, [0x140013b44]
mov rcx, qword [rsp + 0x38]
call fcn.14001a8a0
nop
nop
nop
mov eax, dword [rsp + 0x30]
jmp 0x140013ba9
cmp dword [rsp + 0x94], 1
je 0x140013b83
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x1388
jbe 0x140013b7e
lea rdx, [0x140013b77]
mov rcx, qword [rsp + 0x38]
call fcn.14001a8a0
nop
nop
nop
mov eax, 0x80e9
jmp 0x140013ba9
jmp 0x140013ae1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
inc edi
jmp 0x140013a2c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1400164d0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret