Function at 0x140014eb0
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 [0x140067040]
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 0x1400151ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x140014f4b
xor al, al
jmp 0x1400151cc
mov edi, dword [rsp + 0x88]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], r12
test rdi, rdi
je 0x140014fd1
cmp rdi, 0x1000
jb 0x140014fa0
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1400151f9
call fcn.14002398c
mov rcx, rax
test rax, rax
je 0x1400151ff
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140014fa8
mov rcx, rdi
call fcn.14002398c
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.140046c00
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 0x140015029
lea rcx, [rsp + 0x90]
call fcn.140013960
xor al, al
jmp 0x1400151cc
mov edi, r12d
mov dword [rsp + 0x30], r12d
cmp edi, dword [rsp + 0x8c]
jae 0x14001518c
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 0x140015093
lea rcx, [rsp + 0x90]
call fcn.140013960
xor al, al
jmp 0x1400151cc
lea rdx, [rsp + 0x38]
call fcn.140014e60
nop
lea r8, [rsp + 0xa8]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x1400150d0
lea rcx, [rsp + 0x90]
call fcn.140013960
xor al, al
jmp 0x1400151cc
cmp dword [rsp + 0xac], 1
je 0x140015156
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 0x140015125
lea rcx, [rsp + 0x90]
call fcn.140013960
xor al, al
jmp 0x1400151cc
cmp dword [rsp + 0xac], 1
je 0x140015156
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, r14
mov ecx, dword [rsi + 0x2c]
cmp rax, rcx
jbe 0x140015151
lea rcx, [rsp + 0x90]
call fcn.140013960
xor al, al
jmp 0x1400151cc
jmp 0x1400150d0
jmp 0x140015173
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rsp + 0x38], r12
inc edi
mov dword [rsp + 0x30], edi
jmp 0x140015031
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400151ca
mov rdx, qword [rsp + 0xa0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400151c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400151ff
call fcn.1400239d0
mov al, 1
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400236d0
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.14002fcf8
int3