Function at 0x14006957c
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 [0x140168900]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, rdx
lea rdx, [0x140120508]
call fcn.1400f6850
mov r15d, eax
mov rdx, r14
lea rcx, str.Start:_Idle_Task____s_n
call fcn.1400ec618
lea r12, [0x140162280]
mov rcx, qword [0x140162280]
cmp rcx, r12
je 0x1400695f3
test byte [rcx + 0x1c], 4
je 0x1400695f3
mov edx, 0xb
mov r9, r14
lea r8, [0x140130c70]
mov rcx, qword [rcx + 0x10]
call fcn.140044708
mov ecx, 0x18
call fcn.140031048
mov rdi, rax
mov qword [rbp - 0x20], rax
xor esi, esi
mov dword [rax + 8], esi
lea rax, vtable.CMpIdleNotifierCallback.0
mov qword [rdi], rax
lea r13, [rdi + 0x10]
mov qword [r13], rsi
lea edx, [rsi + 1]
mov rcx, r13
call fcn.1400f14bc
test eax, eax
js 0x14006996d
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call fcn.1400fece0
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x40], rsi
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.1400fece0
mov ebx, eax
test eax, eax
js 0x140069918
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov r9, r14
mov r8, rdi
lea rdx, [rbp - 0x38]
mov rax, qword [rax + 0x18]
call fcn.1400fece0
mov ebx, eax
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400696c2
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.1400fece0
test ebx, ebx
js 0x14006992d
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call fcn.1400fece0
mov ebx, eax
test eax, eax
js 0x140069975
mov rcx, qword [0x140162280]
cmp rcx, r12
je 0x14006970b
test byte [rcx + 0x1c], 4
je 0x14006970b
mov edx, 0xe
lea r8, [0x140130c70]
mov rcx, qword [rcx + 0x10]
call fcn.140044430
mov rbx, qword [rbp - 0x38]
mov qword [rbp - 0x20], rbx
mov r12d, esi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x40], eax
mov esi, 0xea60
mov dword [rbp - 0x30], esi
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
lea r8, [rbp - 0x30]
mov edx, esi
lea rcx, str.MpCmdRun_IdleTaskWaitTimeout
mov rax, qword [rax + 0xa0]
call fcn.1400fece0
nop
mov esi, dword [rbp - 0x30]
test eax, eax
mov eax, 0xea60
cmovs esi, eax
cmp r15d, 0xffffffff
je 0x140069776
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbp - 0x40]
cmp r15d, eax
jbe 0x1400699b5
mov ecx, r15d
sub ecx, eax
cmp esi, ecx
cmova esi, ecx
mov edx, esi
mov rcx, qword [r13]
call fcn.1400f1e80
test al, al
je 0x1400697a6
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x30]
call fcn.1400fece0
mov ebx, eax
test eax, eax
js 0x1400699da
je 0x1400697b8
mov rbx, qword [rbp - 0x20]
jmp 0x140069754
lea rcx, str.Idle_Task___service_shutdown_n
call fcn.1400ec5f0
mov r12d, 1
cmp r12d, 1
je 0x140069804
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call fcn.1400fece0
mov ebx, eax
test eax, eax
js 0x1400698d1
lea rcx, str.StopIdle___succeeded._n
call fcn.1400ec618
mov rcx, qword [0x140162280]
lea rsi, [0x140162280]
cmp rcx, rsi
je 0x14006983e
test byte [rcx + 0x1c], 4
je 0x14006983e
mov edx, 0x11
jmp 0x14006982e
lea rcx, str.Service_stopped._Exiting_Idle_Task_n
call fcn.1400ec618
mov rcx, qword [0x140162280]
lea rsi, [0x140162280]
cmp rcx, rsi
je 0x14006983e
test byte [rcx + 0x1c], 4
je 0x14006983e
mov edx, 0x12
lea r8, [0x140130c70]
mov rcx, qword [rcx + 0x10]
call fcn.140044430
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call fcn.1400fece0
mov rdx, r14
lea rcx, str.End:_Idle_Task____s_n
call fcn.1400ec618
mov rcx, qword [0x140162280]
cmp rcx, rsi
je 0x140069888
test byte [rcx + 0x1c], 4
je 0x140069888
mov edx, 0x13
mov r9, r14
lea r8, [0x140130c70]
mov rcx, qword [rcx + 0x10]
call fcn.140044708
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14006989e
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.1400fece0
nop
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call fcn.1400fece0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140030c40
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 [0x140162280]
lea rsi, [0x140162280]
cmp rcx, rsi
je 0x140069902
test byte [rcx + 0x1c], 1
je 0x140069902
mov edx, 0x10
mov r9d, ebx
lea r8, [0x140130c70]
mov rcx, qword [rcx + 0x10]
call fcn.140044450
mov edx, ebx
lea rcx, str.ERROR:_StopIdle_Failed__lx_n
call fcn.1400ec618
mov ecx, ebx
call fcn.1400f10c4
int3
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14006992d
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.1400fece0
mov rcx, qword [0x140162280]
cmp rcx, r12
je 0x140069957
test byte [rcx + 0x1c], 1
je 0x140069957
mov edx, 0xc
mov r9d, ebx
lea r8, [0x140130c70]
mov rcx, qword [rcx + 0x10]
call fcn.140044450
mov edx, ebx
lea rcx, str.ERROR:_Creating_Idle_Notifier_Context_Failed__lx_n
call fcn.1400ec618
mov ecx, ebx
call fcn.1400f10c4
nop
mov ecx, eax
call fcn.1400f10c4
nop
mov rcx, qword [0x140162280]
cmp rcx, r12
je 0x14006999f
test byte [rcx + 0x1c], 1
je 0x14006999f
mov edx, 0xd
mov r9d, ebx
lea r8, [0x140130c70]
mov rcx, qword [rcx + 0x10]
call fcn.140044450
mov edx, ebx
lea rcx, str.ERROR:_StartIdle_Failed__lx_n
call fcn.1400ec618
mov ecx, ebx
call fcn.1400f10c4
int3
mov eax, 0x10624dd3
mul r15d
shr edx, 6
lea rcx, str.Idle_Task___timeout__lu_n
call fcn.1400ec5f0
mov ebx, 0x800705b4
lea rsi, [0x140162280]
jmp 0x140069a0b
mov rcx, qword [0x140162280]
lea rsi, [0x140162280]
cmp rcx, rsi
je 0x140069a35
test byte [rcx + 0x1c], 1
je 0x140069a12
mov edx, 0xa
mov r9d, eax
lea r8, [0x140130c70]
mov rcx, qword [rcx + 0x10]
call fcn.140044450
mov rcx, qword [0x140162280]
cmp rcx, rsi
je 0x140069a35
test byte [rcx + 0x1c], 1
je 0x140069a35
mov edx, 0xf
mov r9d, ebx
lea r8, [0x140130c70]
mov rcx, qword [rcx + 0x10]
call fcn.140044450
mov edx, ebx
lea rcx, str.ERROR:_WaitForCompletion_Failed__lx_n
call fcn.1400ec618
mov ecx, ebx
call fcn.1400f10c4
int3