Function at 0x14014bc60
Capabilities:
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1401d6668]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rcx
lea rax, [rsp + 0x38]
mov rcx, qword [rcx + 8]
lea r8, [rsp + 0x40]
mov r9d, 0x24
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14014bce9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r10, qword [0x1401d6a10]
lea rcx, [0x1401d6a10]
cmp r10, rcx
je 0x14014bce2
test byte [r10 + 0x1c], 1
je 0x14014bce2
cmp byte [r10 + 0x19], 3
jb 0x14014bce2
mov rcx, qword [r10 + 0x10]
lea r8, [0x140194250]
mov edx, SafeArrayUnlock
mov r9d, eax
call fcn.140020db0
mov eax, ebx
jmp 0x14014bf7c
mov eax, dword [rsp + 0x44]
mov qword [rsp + 0x88], rbp
cmp eax, 1
jne 0x14014bd41
mov rax, qword [0x1401d6a10]
lea rcx, [0x1401d6a10]
cmp rax, rcx
je 0x14014bf37
test byte [rax + 0x1c], 1
je 0x14014bf37
cmp byte [rax + 0x19], 3
jb 0x14014bf37
mov rcx, qword [rax + 0x10]
lea r8, [0x140194250]
mov edx, reloc.OLEAUT32.dll_SafeArrayUnlock
call fcn.140020d80
xor eax, eax
jmp 0x14014bf74
mov rcx, rdi
cmp eax, 3
jne 0x14014bd53
call fcn.14014bfa0
jmp 0x14014bf74
xor ebp, ebp
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.14014b780
mov ebx, eax
test eax, eax
jne 0x14014bf3b
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x90], rsi
nop dword [rax + rax]
test rbx, rbx
je 0x14014be65
mov rcx, rbx
call fcn.14014bc60
mov rcx, qword [rbx]
test rcx, rcx
je 0x14014bd9f
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14014bdae
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, 0x28
mov rcx, rbx
call fcn.140146acc
mov eax, dword [rdi + 0x24]
cmp eax, dword [rdi + 0x20]
jb 0x14014bdc8
mov rbx, rbp
jmp 0x14014bd80
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x18]
add rcx, rcx
mov rsi, qword [rax + rcx*8]
mov ecx, 0x28
call fcn.140146a90
mov qword [rsp + 0x30], rax
mov rbx, rax
test rax, rax
je 0x14014be54
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rbp
test rax, rax
je 0x14014be57
mov rdx, rsi
mov rcx, rax
call fcn.14014b930
test eax, eax
je 0x14014be5d
mov rcx, qword [rbx]
test rcx, rcx
je 0x14014be2d
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14014be3c
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, 0x28
mov rcx, rbx
call fcn.140146acc
inc dword [rdi + 0x24]
mov rbx, rbp
jmp 0x14014bd80
mov rbx, rbp
call qword [sym.imp.KERNEL32.dll_GetLastError]
inc dword [rdi + 0x24]
jmp 0x14014bd80
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x40]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rsi, qword [rsp + 0x90]
test eax, eax
jne 0x14014bef2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x40]
mov ebx, eax
mov r9d, 0x24
lea rax, [rsp + 0x38]
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14014bef2
mov ecx, dword [rsp + 0x44]
dec ecx
test ecx, 0xfffffffd
je 0x14014bef2
mov rax, qword [0x1401d6a10]
lea rcx, [0x1401d6a10]
cmp rax, rcx
je 0x14014bf72
test byte [rax + 0x1c], 1
je 0x14014bf72
cmp byte [rax + 0x19], 3
jb 0x14014bf72
mov edx, 0x17
jmp 0x14014bf5f
mov rcx, rdi
call fcn.14014bfa0
test eax, eax
je 0x14014bf37
mov r10, qword [0x1401d6a10]
lea rcx, [0x1401d6a10]
cmp r10, rcx
je 0x14014bf37
test byte [r10 + 0x1c], 1
je 0x14014bf37
cmp byte [r10 + 0x19], 3
jb 0x14014bf37
mov rcx, qword [r10 + 0x10]
lea r8, [0x140194250]
mov edx, 0x18
mov r9d, eax
call fcn.140020db0
xor eax, eax
jmp 0x14014bf74
mov rax, qword [0x1401d6a10]
lea rcx, [0x1401d6a10]
cmp rax, rcx
je 0x14014bf72
test byte [rax + 0x1c], 1
je 0x14014bf72
cmp byte [rax + 0x19], 3
jb 0x14014bf72
mov edx, reloc.OLEAUT32.dll_SafeArrayAccessData
mov rcx, qword [rax + 0x10]
lea r8, [0x140194250]
mov r9d, ebx
call fcn.140020db0
mov eax, ebx
mov rbp, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140146a70
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
ret