Function at 0x140014e70
Capabilities:
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 [0x140073040]
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_GetTickCount64]
mov r14, rax
mov qword [rsp + 0x40], rax
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 0x14001518a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x140014f0b
xor al, al
jmp 0x14001518c
mov edi, dword [rsp + 0x88]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], r12
test rdi, rdi
je 0x140014f91
cmp rdi, 0x1000
jb 0x140014f60
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1400151b9
call fcn.14002c5ac
mov rcx, rax
test rax, rax
je 0x1400151bf
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140014f68
mov rcx, rdi
call fcn.14002c5ac
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.140050d90
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 0x140014fe9
lea rcx, [rsp + 0x90]
call fcn.140013920
xor al, al
jmp 0x14001518c
mov edi, r12d
mov dword [rsp + 0x30], r12d
cmp edi, dword [rsp + 0x8c]
jae 0x14001514c
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 0x140015053
lea rcx, [rsp + 0x90]
call fcn.140013920
xor al, al
jmp 0x14001518c
lea rdx, [rsp + 0x38]
call fcn.140014e20
nop
lea r8, [rsp + 0xa8]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x140015090
lea rcx, [rsp + 0x90]
call fcn.140013920
xor al, al
jmp 0x14001518c
cmp dword [rsp + 0xac], 1
je 0x140015116
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 0x1400150e5
lea rcx, [rsp + 0x90]
call fcn.140013920
xor al, al
jmp 0x14001518c
cmp dword [rsp + 0xac], 1
je 0x140015116
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, r14
mov ecx, dword [rsi + 0x2c]
cmp rax, rcx
jbe 0x140015111
lea rcx, [rsp + 0x90]
call fcn.140013920
xor al, al
jmp 0x14001518c
jmp 0x140015090
jmp 0x140015133
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rsp + 0x38], r12
inc edi
mov dword [rsp + 0x30], edi
jmp 0x140014ff1
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14001518a
mov rdx, qword [rsp + 0xa0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015185
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400151bf
call fcn.14002c5f0
mov al, 1
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14002c2f0
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.140005550
int3
call fcn.1400395bc
int3