Function at 0x1400068e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov ebp, r8d
mov r14, rdx
mov r15, rcx
mov rcx, qword [0x1400d0018]
lea r12, [0x1400d0018]
cmp rcx, r12
je 0x140006944
test byte [rcx + 0x1c], 1
je 0x140006944
cmp byte [rcx + 0x19], 5
jb 0x140006944
mov rcx, qword [rcx + 0x10]
mov r9, r15
mov dword [rax - 0x30], r8d
mov rax, qword [rdx]
mov qword [rsp + 0x20], rax
call fcn.140005530
mov rcx, qword [0x1400d0018]
xor ebx, ebx
cmp rcx, r12
je 0x14000699d
test byte [rcx + 0x1c], 2
je 0x140006971
cmp byte [rcx + 0x19], 5
jb 0x140006971
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x2b]
lea r8, [0x1400b0738]
call fcn.1400034f0
mov rcx, qword [0x1400d0018]
cmp rcx, r12
je 0x14000699d
test byte [rcx + 0x1c], 2
je 0x14000699d
cmp byte [rcx + 0x19], 5
jb 0x14000699d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b0738]
mov edx, 0x2c
mov r9d, 0x1f4
call fcn.1400035c4
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
mov rcx, qword [0x1400d0018]
cmp rcx, r12
je 0x1400069db
test byte [rcx + 0x1c], 2
je 0x1400069db
cmp byte [rcx + 0x19], 5
jb 0x1400069db
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b0738]
mov edx, 0x2d
call fcn.1400034f0
mov rdx, qword [r14]
mov r8d, 1
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140006a3c
mov esi, 1
mov rcx, qword [0x1400d0018]
cmp rcx, r12
je 0x140006a2b
test byte [rcx + 0x1c], 2
je 0x140006a2b
cmp byte [rcx + 0x19], 5
jb 0x140006a2b
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x2d]
lea r8, [0x1400b0738]
call fcn.1400034f0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop dword [rax + rax]
jmp 0x140006a69
xor esi, esi
mov rcx, qword [0x1400d0018]
cmp rcx, r12
je 0x140006a69
test byte [rcx + 0x1c], 2
je 0x140006a69
cmp byte [rcx + 0x19], 5
jb 0x140006a69
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x2f]
lea r8, [0x1400b0738]
call fcn.1400034f0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
sub eax, ebp
cmp eax, 0xea60
ja 0x140006a8f
mov rcx, qword [0x1400d0018]
test esi, esi
jne 0x140006971
jmp 0x140006aee
mov ebx, 0x5b4
mov rcx, qword [0x1400d0018]
cmp rcx, r12
je 0x140006b27
test byte [rcx + 0x1c], 2
je 0x140006aee
cmp byte [rcx + 0x19], 2
jb 0x140006aee
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov rcx, qword [0x1400d0018]
lea r8, [0x1400b0738]
mov edx, 0x30
mov dword [rsp + 0x28], 0xea60
mov r9d, ebp
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.14000512c
mov rcx, qword [0x1400d0018]
cmp rcx, r12
je 0x140006b27
test byte [rcx + 0x1c], 1
je 0x140006b27
movzx r9d, byte [rcx + 0x19]
mov eax, ebx
neg eax
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp r9d, edx
jb 0x140006b27
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b0738]
mov edx, 0x31
mov r9d, ebx
call fcn.1400035c4
mov rdx, qword [r14]
sub rdx, 0x18
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140006b4b
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x1400688bc.0]
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret