Function at 0x140029ccc
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 [0x14015da88]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, rdx
lea rdx, [0x14011c2c8]
call fcn.1400b7974
mov r14d, eax
mov rdx, r15
lea rcx, str.Start:_Idle_Task____s_n
call fcn.1400ae8c8
lea rax, [0x140158280]
lea r12, [0x14012b800]
mov rcx, qword [0x140158280]
cmp rcx, rax
je 0x140029d46
test byte [rcx + 0x1c], 4
je 0x140029d46
mov edx, 0xb
mov r9, r15
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140005570
mov ecx, 0x18
call fcn.1400e9770
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.1400b3f6c
test eax, eax
js 0x14002a1a4
mov rax, qword [rsi]
movabs r10, 0xbcc4b7c65e587b70
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x1400bdf0e.0]
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 [case.0x1400bdf0e.0]
mov ebx, eax
test eax, eax
jns 0x140029e18
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140029e5f
mov rax, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
call qword [case.0x1400bdf0e.0]
jmp 0x140029e5f
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 [case.0x1400bdf0e.0]
mov ebx, eax
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140029e5f
mov rax, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
call qword [case.0x1400bdf0e.0]
mov eax, ebx
shr eax, 0x1f
test al, al
jne 0x14002a1ac
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
movabs r10, 0xb1d12fb374d85270
mov rax, qword [rax + 0x20]
call qword [case.0x1400bdf0e.0]
mov ebx, eax
test eax, eax
js 0x14002a1ef
mov rcx, qword [0x140158280]
lea rax, [0x140158280]
cmp rcx, rax
je 0x140029ebb
test byte [rcx + 0x1c], 4
je 0x140029ebb
mov edx, 0xe
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.1400056e0
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, [0x14012b418]
mov rax, qword [rax + 0xa0]
call qword [case.0x1400bdf0e.0]
nop
mov edi, dword [rbp - 0x30]
cmp r14d, 0xffffffff
je 0x140029f23
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbp - 0x40]
cmp r14d, eax
jbe 0x140029f64
mov ecx, r14d
sub ecx, eax
cmp edi, ecx
cmova edi, ecx
mov edx, edi
mov rcx, qword [r13]
call fcn.1400b401c
test al, al
je 0x14002a06a
mov rax, qword [rbx]
movabs r10, 0xf0ed96247e5c8270
mov rcx, rbx
mov rax, qword [rax + 0x30]
call qword [case.0x1400bdf0e.0]
mov ebx, eax
test eax, eax
js 0x140029f93
test eax, eax
je 0x14002a019
mov rbx, qword [rbp - 0x20]
jmp 0x140029f05
mov eax, 0x10624dd3
mul r14d
shr edx, 6
lea rcx, str.Idle_Task___timeout__lu_n
call fcn.1400ae8a0
mov ebx, 0x800705b4
mov dil, 1
mov rcx, qword [0x140158280]
lea r14, [0x140158280]
jmp 0x140029fd7
mov rcx, qword [0x140158280]
lea r14, [0x140158280]
cmp rcx, r14
je 0x140029fcb
test byte [rcx + 0x1c], 1
je 0x140029fcb
mov edx, 0xa
mov r9d, ebx
lea r8, [0x14012b800]
mov rcx, qword [rcx + 0x10]
call fcn.1400059f4
mov rcx, qword [0x140158280]
test ebx, ebx
sets dil
mov r12d, 2
cmp rcx, r14
je 0x140029ffa
test byte [rcx + 0x1c], 1
je 0x140029ffa
mov edx, 0xf
mov r9d, ebx
lea r8, [0x14012b800]
mov rcx, qword [rcx + 0x10]
call fcn.1400059f4
mov edx, ebx
lea rcx, str.ERROR:_WaitForCompletion_Failed__lx_n
call fcn.1400ae8c8
test dil, dil
jne 0x14002a232
cmp r12d, 1
je 0x14002a07d
jmp 0x14002a020
lea r14, [0x140158280]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
movabs r10, 0xd8bc9e8634deda70
mov rax, qword [rax + 0x28]
call qword [case.0x1400bdf0e.0]
mov ebx, eax
test eax, eax
js 0x14002a164
lea rcx, str.StopIdle___succeeded._n
call fcn.1400ae8c8
mov rcx, qword [0x140158280]
cmp rcx, r14
je 0x14002a0b0
test byte [rcx + 0x1c], 4
je 0x14002a0b0
mov edx, 0x11
jmp 0x14002a0a0
lea rcx, str.Idle_Task___service_shutdown_n
call fcn.1400ae8a0
lea r14, [0x140158280]
lea rcx, str.Service_stopped._Exiting_Idle_Task_n
call fcn.1400ae8c8
mov rcx, qword [0x140158280]
cmp rcx, r14
je 0x14002a0b0
test byte [rcx + 0x1c], 4
je 0x14002a0b0
mov edx, 0x12
lea r8, [0x14012b800]
mov rcx, qword [rcx + 0x10]
call fcn.1400056e0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
movabs r10, 0xdc693ec912579b70
mov rax, qword [rax + 0x38]
call qword [case.0x1400bdf0e.0]
mov rdx, r15
lea rcx, str.End:_Idle_Task____s_n
call fcn.1400ae8c8
mov rcx, qword [0x140158280]
cmp rcx, r14
je 0x14002a105
test byte [rcx + 0x1c], 4
je 0x14002a105
mov edx, 0x13
mov r9, r15
lea r8, [0x14012b800]
mov rcx, qword [rcx + 0x10]
call fcn.140005570
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14002a126
mov rax, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
call qword [case.0x1400bdf0e.0]
nop
mov rax, qword [rsi]
movabs r10, 0xcc411749525d9370
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x1400bdf0e.0]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400e9450
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 [0x140158280]
cmp rcx, r14
je 0x14002a18e
test byte [rcx + 0x1c], 1
je 0x14002a18e
mov edx, 0x10
mov r9d, ebx
lea r8, [0x14012b800]
mov rcx, qword [rcx + 0x10]
call fcn.1400059f4
mov edx, ebx
lea rcx, str.ERROR:_StopIdle_Failed__lx_n
call fcn.1400ae8c8
mov ecx, ebx
call fcn.1400b3d74
nop
mov ecx, eax
call fcn.1400b3d74
nop
mov rcx, qword [0x140158280]
lea rax, [0x140158280]
cmp rcx, rax
je 0x14002a1d9
test byte [rcx + 0x1c], 1
je 0x14002a1d9
mov edx, 0xc
mov r9d, ebx
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.1400059f4
mov edx, ebx
lea rcx, str.ERROR:_Creating_Idle_Notifier_Context_Failed__lx_n
call fcn.1400ae8c8
mov ecx, ebx
call fcn.1400b3d74
int3
mov rcx, qword [0x140158280]
lea rax, [0x140158280]
cmp rcx, rax
je 0x14002a21c
test byte [rcx + 0x1c], 1
je 0x14002a21c
mov edx, 0xd
mov r9d, ebx
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.1400059f4
mov edx, ebx
lea rcx, str.ERROR:_StartIdle_Failed__lx_n
call fcn.1400ae8c8
mov ecx, ebx
call fcn.1400b3d74
int3
mov ecx, ebx
call fcn.1400b3d74
int3