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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xc0
mov rax, qword [0x1400397a8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x30], rsp
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, 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 r15d, [r9 + 1]
mov edx, r15d
mov rcx, qword [0x1400415b8]
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesA]
test eax, eax
je 0x140003060
mov eax, r15d
jmp 0x1400030e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x1400030e4
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 rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400030e4
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, rdi
mov edx, r15d
mov rcx, qword [0x1400415b8]
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesA]
test eax, eax
jne 0x140003114
lea rdx, [0x1400030e4]
mov rcx, qword [rsp + 0x30]
call fcn.140029c80
nop
nop
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140012470
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
xor ebx, ebx
mov dword [rsp + 0x38], ebx
cmp ebx, dword [rsp + 0x84]
jae 0x140003256
lea rcx, [rbx + rbx*2]
add rcx, rcx
movups xmm0, xmmword [rdi + rcx*8 + 0x10]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rdi + rcx*8 + 0x20]
movups xmmword [rsp + 0x70], xmm1
mov r8d, 0x24
mov rdx, qword [rdi + rcx*8]
mov rcx, qword [0x1400415c0]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14000317e
lea rdx, [0x140003179]
mov rcx, qword [rsp + 0x30]
call fcn.140029c80
nop
nop
jmp 0x1400030e4
lea r8, [rsp + 0x88]
mov edx, r15d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x1400031af
lea rdx, [0x1400031aa]
mov rcx, qword [rsp + 0x30]
call fcn.140029c80
nop
nop
nop
jmp 0x1400030e4
cmp dword [rsp + 0x8c], r15d
je 0x140003245
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, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14000320d
lea rdx, [0x140003208]
mov rcx, qword [rsp + 0x30]
call fcn.140029c80
nop
nop
nop
jmp 0x1400030e4
cmp dword [rsp + 0x8c], r15d
je 0x140003245
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r14d
cmp eax, 0x7530
jbe 0x140003240
lea rdx, [0x14000323b]
mov rcx, qword [rsp + 0x30]
call fcn.140029c80
nop
nop
nop
jmp 0x1400030e4
jmp 0x1400031af
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add ebx, r15d
jmp 0x140003116
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140003058