Function at 0x14000df80
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1400e00c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
mov esi, eax
xor bpl, bpl
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r14, rax
test rax, rax
jne 0x14000e014
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000e006
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000e001
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000e1fb
mov rcx, r8
call fcn.140070654
xor eax, eax
mov qword [rbx + 0x10], rax
mov word [rbx], ax
jmp 0x14000e1d1
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x14000e021
mov rdx, qword [rbx]
mov r8d, 0x2c
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x14000e043
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000dfc7
lea rax, [rsp + 0x30]
mov r9d, 0x24
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000e177
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x14000e07c
movzx ebp, al
jmp 0x14000e177
mov qword [rsp + 0x98], r15
cmp eax, 3
jne 0x14000e103
mov r15d, 0x2710
nop
mov eax, 0xcccccccd
mul dword [rsp + 0x50]
shr edx, 3
cmp edx, 0x3e8
jae 0x14000e0ab
mov edx, 0x3e8
jmp 0x14000e0b2
cmp edx, r15d
cmova edx, r15d
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x30]
mov r9d, 0x24
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000e16f
cmp dword [rsp + 0x3c], 1
je 0x14000e16c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x7530
ja 0x14000e16f
cmp dword [rsp + 0x3c], 3
je 0x14000e090
lea r8, [rsp + 0x38]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14000e16f
cmp dword [rsp + 0x3c], 1
je 0x14000e16c
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x30]
mov r9d, 0x24
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000e16f
cmp dword [rsp + 0x3c], 1
je 0x14000e16c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x7530
ja 0x14000e16f
cmp dword [rsp + 0x3c], 1
jne 0x14000e121
mov bpl, 1
mov r15, qword [rsp + 0x98]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000e1c4
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000e1bf
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000e1fb
mov rcx, r8
call fcn.140070654
xor eax, eax
mov qword [rbx + 0x10], rax
mov word [rbx], ax
movzx eax, bpl
mov qword [rbx + 0x18], 7
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140070140
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.14007d0fc
int3