Function at 0x14001c65c
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 [0x1400748d8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, rdx
lea rdx, [0x140051e48]
call fcn.14003c688
mov r15d, eax
mov rdx, r14
lea rcx, str.Start:_Idle_Task____s_n
call fcn.140006cd8
lea rax, str.___a_
lea r12, [0x14005fa20]
mov rcx, qword [str.___a_]
cmp rcx, rax
je 0x14001c6d6
test byte [rcx + 0x1c], 4
je 0x14001c6d6
mov edx, 0xb
mov r9, r14
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.1400022ac
mov ecx, 0x18
call fcn.1400407e0
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.14003bb7c
test eax, eax
js 0x14001cad9
mov rax, qword [rdi]
movabs r10, 0xbcc4b7c65e587b70
mov rcx, rdi
mov rax, qword [rax]
call qword [0x14004a4e8]
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]
movabs r10, 0xc1b5968c36548170
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
mov rax, qword [rax + 0x108]
call qword [0x14004a4e8]
mov ebx, eax
test eax, eax
js 0x14001ca76
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
movabs r10, 0x9945363b34590070
mov r9, r14
mov r8, rdi
lea rdx, [rbp - 0x38]
mov rax, qword [rax + 0x18]
call qword [0x14004a4e8]
mov ebx, eax
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14001c7d1
mov rax, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
call qword [0x14004a4e8]
test ebx, ebx
js 0x14001ca96
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
movabs r10, 0xb1d12fb374d85270
mov rax, qword [rax + 0x20]
call qword [0x14004a4e8]
mov ebx, eax
test eax, eax
js 0x14001cae1
mov rcx, qword [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x14001c828
test byte [rcx + 0x1c], 4
je 0x14001c828
mov edx, 0xe
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140002150
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]
movabs r10, 0xb1e1875a16511370
lea r8, [rbp - 0x30]
mov edx, esi
lea rcx, str.MpCmdRun_IdleTaskWaitTimeout
mov rax, qword [rax + 0xa0]
call qword [0x14004a4e8]
nop
mov esi, dword [rbp - 0x30]
cmp r15d, 0xffffffff
je 0x14001c894
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbp - 0x40]
cmp r15d, eax
jbe 0x14001cb24
mov ecx, r15d
sub ecx, eax
cmp esi, ecx
cmova esi, ecx
mov edx, esi
mov rcx, qword [r13]
call fcn.14003bc2c
test al, al
je 0x14001c8d1
mov rax, qword [rbx]
movabs r10, 0xf0ed96247e5c8270
mov rcx, rbx
mov rax, qword [rax + 0x30]
call qword [0x14004a4e8]
mov ebx, eax
test eax, eax
js 0x14001cb42
test eax, eax
je 0x14001c8e3
mov rbx, qword [rbp - 0x20]
jmp 0x14001c872
lea rcx, str.Idle_Task___service_shutdown_n
call fcn.140006cb0
mov r12d, 1
cmp r12d, 1
je 0x14001c93a
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
movabs r10, 0xd8bc9e8634deda70
mov rax, qword [rax + 0x28]
call qword [0x14004a4e8]
mov ebx, eax
test eax, eax
js 0x14001ca2f
lea rcx, str.StopIdle___succeeded._n
call fcn.140006cd8
mov rcx, qword [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x14001c974
test byte [rcx + 0x1c], 4
je 0x14001c974
mov edx, 0x11
jmp 0x14001c964
lea rcx, str.Service_stopped._Exiting_Idle_Task_n
call fcn.140006cd8
mov rcx, qword [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x14001c974
test byte [rcx + 0x1c], 4
je 0x14001c974
mov edx, 0x12
lea r8, [0x14005fa20]
mov rcx, qword [rcx + 0x10]
call fcn.140002150
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
movabs r10, 0xdc693ec912579b70
mov rax, qword [rax + 0x38]
call qword [0x14004a4e8]
mov rdx, r14
lea rcx, str.End:_Idle_Task____s_n
call fcn.140006cd8
mov rcx, qword [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x14001c9d0
test byte [rcx + 0x1c], 4
je 0x14001c9d0
mov edx, 0x13
mov r9, r14
lea r8, [0x14005fa20]
mov rcx, qword [rcx + 0x10]
call fcn.1400022ac
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14001c9f1
mov rax, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
call qword [0x14004a4e8]
nop
mov rax, qword [rdi]
movabs r10, 0xcc411749525d9370
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [0x14004a4e8]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140040760
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 [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x14001ca60
test byte [rcx + 0x1c], 1
je 0x14001ca60
mov edx, 0x10
mov r9d, ebx
lea r8, [0x14005fa20]
mov rcx, qword [rcx + 0x10]
call fcn.140002534
mov edx, ebx
lea rcx, str.ERROR:_StopIdle_Failed__X_n
call fcn.140006cd8
mov ecx, ebx
call fcn.14003b6a4
int3
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14001ca96
mov rax, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
call qword [0x14004a4e8]
mov rcx, qword [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x14001cac3
test byte [rcx + 0x1c], 1
je 0x14001cac3
mov edx, 0xc
mov r9d, ebx
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140002534
mov edx, ebx
lea rcx, str.ERROR:_Creating_Idle_Notifier_Context_Failed__X_n
call fcn.140006cd8
mov ecx, ebx
call fcn.14003b6a4
nop
mov ecx, eax
call fcn.14003b6a4
nop
mov rcx, qword [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x14001cb0e
test byte [rcx + 0x1c], 1
je 0x14001cb0e
mov edx, 0xd
mov r9d, ebx
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140002534
mov edx, ebx
lea rcx, str.ERROR:_StartIdle_Failed__X_n
call fcn.140006cd8
mov ecx, ebx
call fcn.14003b6a4
int3
mov eax, 0x10624dd3
mul r15d
shr edx, 6
lea rcx, str.Idle_Task___timeout__u_n
call fcn.140006cb0
mov ebx, 0x800705b4
jmp 0x14001cb73
mov rcx, qword [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x14001cb7a
test byte [rcx + 0x1c], 1
je 0x14001cb7a
mov edx, 0xa
mov r9d, ebx
lea r8, [0x14005fa20]
mov rcx, qword [rcx + 0x10]
call fcn.140002534
mov rcx, qword [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x14001cba4
test byte [rcx + 0x1c], 1
je 0x14001cba4
mov edx, 0xf
mov r9d, ebx
lea r8, [0x14005fa20]
mov rcx, qword [rcx + 0x10]
call fcn.140002534
mov edx, ebx
lea rcx, str.ERROR:_WaitForCompletion_Failed__X_n
call fcn.140006cd8
mov ecx, ebx
call fcn.14003b6a4
int3