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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140173950]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, rdx
lea rdx, [0x1401297f8]
call fcn.1400ff7d0
mov r15d, eax
mov rdx, r14
lea rcx, str.Start:_Idle_Task____s_n
call fcn.1400f5528
lea r12, [0x14016d280]
mov rcx, qword [0x14016d280]
cmp rcx, r12
je 0x14006f183
test byte [rcx + 0x1c], 4
je 0x14006f183
mov edx, 0xb
mov r9, r14
lea r8, [0x14013bbc0]
mov rcx, qword [rcx + 0x10]
call fcn.140044638
mov ecx, 0x18
call fcn.140030f88
mov rsi, rax
mov qword [rbp - 0x20], rax
xor edi, edi
mov dword [rax + 8], edi
lea rax, vtable.CMpIdleNotifierCallback.0
mov qword [rsi], rax
lea r13, [rsi + 0x10]
mov qword [r13], rdi
lea edx, [rdi + 1]
mov rcx, r13
call fcn.1400fa3e8
test eax, eax
js 0x14006f4f7
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call fcn.140107c30
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x40], rdi
mov dword [rbp - 0x20], 0x510311c6
mov dword [rbp - 0x1c], 0x4c47076b
mov dword [rbp - 0x18], 0xf8116092
mov dword [rbp - 0x14], 0x67ba0eae
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x20], xmm0
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
mov rax, qword [rax + 0x108]
call fcn.140107c30
mov ebx, eax
test eax, eax
js 0x14006f4a2
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov r9, r14
mov r8, rsi
lea rdx, [rbp - 0x38]
mov rax, qword [rax + 0x18]
call fcn.140107c30
mov ebx, eax
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14006f252
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.140107c30
test ebx, ebx
js 0x14006f4b7
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call fcn.140107c30
mov ebx, eax
test eax, eax
js 0x14006f4ff
mov rcx, qword [0x14016d280]
cmp rcx, r12
je 0x14006f29b
test byte [rcx + 0x1c], 4
je 0x14006f29b
mov edx, 0xe
lea r8, [0x14013bbc0]
mov rcx, qword [rcx + 0x10]
call fcn.140044360
mov rbx, qword [rbp - 0x38]
mov qword [rbp - 0x20], rbx
mov r12d, edi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x40], eax
mov edi, 0xea60
mov dword [rbp - 0x30], edi
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
lea r8, [rbp - 0x30]
mov edx, edi
lea rcx, str.MpCmdRun_IdleTaskWaitTimeout
mov rax, qword [rax + 0xa0]
call fcn.140107c30
nop
test eax, eax
js 0x14006f2de
mov edi, dword [rbp - 0x30]
cmp r15d, 0xffffffff
je 0x14006f300
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbp - 0x40]
cmp r15d, eax
jbe 0x14006f53f
mov ecx, r15d
sub ecx, eax
cmp edi, ecx
cmova edi, ecx
mov edx, edi
mov rcx, qword [r13]
call fcn.1400faddc
test al, al
je 0x14006f330
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x30]
call fcn.140107c30
mov ebx, eax
test eax, eax
js 0x14006f564
je 0x14006f342
mov rbx, qword [rbp - 0x20]
jmp 0x14006f2de
lea rcx, str.Idle_Task___service_shutdown_n
call fcn.1400f5500
mov r12d, 1
cmp r12d, 1
je 0x14006f38e
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call fcn.140107c30
mov ebx, eax
test eax, eax
js 0x14006f45b
lea rcx, str.StopIdle___succeeded._n
call fcn.1400f5528
mov rcx, qword [0x14016d280]
lea rdi, [0x14016d280]
cmp rcx, rdi
je 0x14006f3c8
test byte [rcx + 0x1c], 4
je 0x14006f3c8
mov edx, 0x11
jmp 0x14006f3b8
lea rcx, str.Service_stopped._Exiting_Idle_Task_n
call fcn.1400f5528
mov rcx, qword [0x14016d280]
lea rdi, [0x14016d280]
cmp rcx, rdi
je 0x14006f3c8
test byte [rcx + 0x1c], 4
je 0x14006f3c8
mov edx, 0x12
lea r8, [0x14013bbc0]
mov rcx, qword [rcx + 0x10]
call fcn.140044360
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call fcn.140107c30
mov rdx, r14
lea rcx, str.End:_Idle_Task____s_n
call fcn.1400f5528
mov rcx, qword [0x14016d280]
cmp rcx, rdi
je 0x14006f412
test byte [rcx + 0x1c], 4
je 0x14006f412
mov edx, 0x13
mov r9, r14
lea r8, [0x14013bbc0]
mov rcx, qword [rcx + 0x10]
call fcn.140044638
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14006f428
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.140107c30
nop
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call fcn.140107c30
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140030b80
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [0x14016d280]
lea rdi, [0x14016d280]
cmp rcx, rdi
je 0x14006f48c
test byte [rcx + 0x1c], 1
je 0x14006f48c
mov edx, 0x10
mov r9d, ebx
lea r8, [0x14013bbc0]
mov rcx, qword [rcx + 0x10]
call fcn.140044380
mov edx, ebx
lea rcx, str.ERROR:_StopIdle_Failed__lx_n
call fcn.1400f5528
mov ecx, ebx
call fcn.1400f9fc4
int3
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14006f4b7
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.140107c30
mov rcx, qword [0x14016d280]
cmp rcx, r12
je 0x14006f4e1
test byte [rcx + 0x1c], 1
je 0x14006f4e1
mov edx, 0xc
mov r9d, ebx
lea r8, [0x14013bbc0]
mov rcx, qword [rcx + 0x10]
call fcn.140044380
mov edx, ebx
lea rcx, str.ERROR:_Creating_Idle_Notifier_Context_Failed__lx_n
call fcn.1400f5528
mov ecx, ebx
call fcn.1400f9fc4
nop
mov ecx, eax
call fcn.1400f9fc4
nop
mov rcx, qword [0x14016d280]
cmp rcx, r12
je 0x14006f529
test byte [rcx + 0x1c], 1
je 0x14006f529
mov edx, 0xd
mov r9d, ebx
lea r8, [0x14013bbc0]
mov rcx, qword [rcx + 0x10]
call fcn.140044380
mov edx, ebx
lea rcx, str.ERROR:_StartIdle_Failed__lx_n
call fcn.1400f5528
mov ecx, ebx
call fcn.1400f9fc4
int3
mov eax, 0x10624dd3
mul r15d
shr edx, 6
lea rcx, str.Idle_Task___timeout__lu_n
call fcn.1400f5500
mov ebx, 0x800705b4
lea rdi, [0x14016d280]
jmp 0x14006f595
mov rcx, qword [0x14016d280]
lea rdi, [0x14016d280]
cmp rcx, rdi
je 0x14006f5bf
test byte [rcx + 0x1c], 1
je 0x14006f59c
mov edx, 0xa
mov r9d, eax
lea r8, [0x14013bbc0]
mov rcx, qword [rcx + 0x10]
call fcn.140044380
mov rcx, qword [0x14016d280]
cmp rcx, rdi
je 0x14006f5bf
test byte [rcx + 0x1c], 1
je 0x14006f5bf
mov edx, 0xf
mov r9d, ebx
lea r8, [0x14013bbc0]
mov rcx, qword [rcx + 0x10]
call fcn.140044380
mov edx, ebx
lea rcx, str.ERROR:_WaitForCompletion_Failed__lx_n
call fcn.1400f5528
mov ecx, ebx
call fcn.1400f9fc4
int3