Function at 0x14002666c
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 [0x1400d7c88]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, rdx
lea rdx, [0x1400a4d88]
call fcn.14007d294
mov r14d, eax
mov rdx, r15
lea rcx, str.Start:_Idle_Task____s_n
call fcn.140077d88
lea rax, str.8__r_
lea r12, [0x1400b3af0]
mov rcx, qword [str.8__r_]
cmp rcx, rax
je 0x1400266e6
test byte [rcx + 0x1c], 4
je 0x1400266e6
mov edx, 0xb
mov r9, r15
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140003b90
mov ecx, 0x18
call fcn.140084040
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.14007994c
test eax, eax
js 0x140026b44
mov rax, qword [rsi]
movabs r10, 0xbcc4b7c65e587b70
mov rcx, rsi
mov rax, qword [rax]
call qword [0x14009aae8]
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]
movabs r10, 0xc1b5968c36548170
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
mov rax, qword [rax + 0x108]
call qword [0x14009aae8]
mov ebx, eax
test eax, eax
jns 0x1400267b8
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400267ff
mov rax, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
call qword [0x14009aae8]
jmp 0x1400267ff
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
movabs r10, 0x9945363b34590070
mov r9, r15
mov r8, rsi
lea rdx, [rbp - 0x38]
mov rax, qword [rax + 0x18]
call qword [0x14009aae8]
mov ebx, eax
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400267ff
mov rax, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
call qword [0x14009aae8]
mov eax, ebx
shr eax, 0x1f
test al, al
jne 0x140026b4c
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
movabs r10, 0xb1d12fb374d85270
mov rax, qword [rax + 0x20]
call qword [0x14009aae8]
mov ebx, eax
test eax, eax
js 0x140026b8f
mov rcx, qword [str.8__r_]
lea rax, str.8__r_
cmp rcx, rax
je 0x14002685b
test byte [rcx + 0x1c], 4
je 0x14002685b
mov edx, 0xe
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140003cf8
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]
movabs r10, 0xb1e1875a16511370
lea r8, [rbp - 0x30]
mov edx, edi
lea rcx, str.MpCmdRun_IdleTaskWaitTimeout
mov rax, qword [rax + 0xa0]
call qword [0x14009aae8]
nop
mov edi, dword [rbp - 0x30]
cmp r14d, 0xffffffff
je 0x1400268c3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbp - 0x40]
cmp r14d, eax
jbe 0x140026904
mov ecx, r14d
sub ecx, eax
cmp edi, ecx
cmova edi, ecx
mov edx, edi
mov rcx, qword [r13]
call fcn.1400799fc
test al, al
je 0x140026a0a
mov rax, qword [rbx]
movabs r10, 0xf0ed96247e5c8270
mov rcx, rbx
mov rax, qword [rax + 0x30]
call qword [0x14009aae8]
mov ebx, eax
test eax, eax
js 0x140026933
test eax, eax
je 0x1400269b9
mov rbx, qword [rbp - 0x20]
jmp 0x1400268a5
mov eax, 0x10624dd3
mul r14d
shr edx, 6
lea rcx, str.Idle_Task___timeout__lu_n
call fcn.140077d60
mov ebx, 0x800705b4
mov dil, 1
mov rcx, qword [str.8__r_]
lea r14, str.8__r_
jmp 0x140026977
mov rcx, qword [str.8__r_]
lea r14, str.8__r_
cmp rcx, r14
je 0x14002696b
test byte [rcx + 0x1c], 1
je 0x14002696b
mov edx, 0xa
mov r9d, ebx
lea r8, [0x1400b3af0]
mov rcx, qword [rcx + 0x10]
call fcn.140004000
mov rcx, qword [str.8__r_]
test ebx, ebx
sets dil
mov r12d, 2
cmp rcx, r14
je 0x14002699a
test byte [rcx + 0x1c], 1
je 0x14002699a
mov edx, 0xf
mov r9d, ebx
lea r8, [0x1400b3af0]
mov rcx, qword [rcx + 0x10]
call fcn.140004000
mov edx, ebx
lea rcx, str.ERROR:_WaitForCompletion_Failed__lx_n
call fcn.140077d88
test dil, dil
jne 0x140026bd2
cmp r12d, 1
je 0x140026a1d
jmp 0x1400269c0
lea r14, str.8__r_
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
movabs r10, 0xd8bc9e8634deda70
mov rax, qword [rax + 0x28]
call qword [0x14009aae8]
mov ebx, eax
test eax, eax
js 0x140026b04
lea rcx, str.StopIdle___succeeded._n
call fcn.140077d88
mov rcx, qword [str.8__r_]
cmp rcx, r14
je 0x140026a50
test byte [rcx + 0x1c], 4
je 0x140026a50
mov edx, 0x11
jmp 0x140026a40
lea rcx, str.Idle_Task___service_shutdown_n
call fcn.140077d60
lea r14, str.8__r_
lea rcx, str.Service_stopped._Exiting_Idle_Task_n
call fcn.140077d88
mov rcx, qword [str.8__r_]
cmp rcx, r14
je 0x140026a50
test byte [rcx + 0x1c], 4
je 0x140026a50
mov edx, 0x12
lea r8, [0x1400b3af0]
mov rcx, qword [rcx + 0x10]
call fcn.140003cf8
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
movabs r10, 0xdc693ec912579b70
mov rax, qword [rax + 0x38]
call qword [0x14009aae8]
mov rdx, r15
lea rcx, str.End:_Idle_Task____s_n
call fcn.140077d88
mov rcx, qword [str.8__r_]
cmp rcx, r14
je 0x140026aa5
test byte [rcx + 0x1c], 4
je 0x140026aa5
mov edx, 0x13
mov r9, r15
lea r8, [0x1400b3af0]
mov rcx, qword [rcx + 0x10]
call fcn.140003b90
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140026ac6
mov rax, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
call qword [0x14009aae8]
nop
mov rax, qword [rsi]
movabs r10, 0xcc411749525d9370
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [0x14009aae8]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140083d20
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.8__r_]
cmp rcx, r14
je 0x140026b2e
test byte [rcx + 0x1c], 1
je 0x140026b2e
mov edx, 0x10
mov r9d, ebx
lea r8, [0x1400b3af0]
mov rcx, qword [rcx + 0x10]
call fcn.140004000
mov edx, ebx
lea rcx, str.ERROR:_StopIdle_Failed__lx_n
call fcn.140077d88
mov ecx, ebx
call fcn.140079754
nop
mov ecx, eax
call fcn.140079754
nop
mov rcx, qword [str.8__r_]
lea rax, str.8__r_
cmp rcx, rax
je 0x140026b79
test byte [rcx + 0x1c], 1
je 0x140026b79
mov edx, 0xc
mov r9d, ebx
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140004000
mov edx, ebx
lea rcx, str.ERROR:_Creating_Idle_Notifier_Context_Failed__lx_n
call fcn.140077d88
mov ecx, ebx
call fcn.140079754
int3
mov rcx, qword [str.8__r_]
lea rax, str.8__r_
cmp rcx, rax
je 0x140026bbc
test byte [rcx + 0x1c], 1
je 0x140026bbc
mov edx, 0xd
mov r9d, ebx
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140004000
mov edx, ebx
lea rcx, str.ERROR:_StartIdle_Failed__lx_n
call fcn.140077d88
mov ecx, ebx
call fcn.140079754
int3
mov ecx, ebx
call fcn.140079754
int3