Function at 0x1400d4390
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp dword [rcx + 0x12c], 0
mov r14, rcx
jne 0x1400d45a8
nop dword [rax]
mov ecx, dword [r14 + 0x130]
lea rdx, [r14 + 0x138]
mov r9d, 0xffffffff
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_synch_l1_2_1.dll_WaitForMultipleObjects]
mov r10d, eax
test eax, eax
je 0x1400d459a
lfence
cmp qword [r14 + 0xe8], 0
je 0x1400d459a
mov r8d, dword [r14 + 0xf0]
xor ecx, ecx
test r8d, r8d
je 0x1400d459a
mov rax, qword [r14 + 0xe0]
cmp qword [rax + rcx*8], 0
jne 0x1400d4425
inc ecx
cmp ecx, r8d
jb 0x1400d4412
jmp 0x1400d459a
lfence
mov rax, qword [r14 + 0xe0]
mov rcx, qword [rax + rcx*8]
test rcx, rcx
je 0x1400d459a
nop dword [rax]
mov rax, qword [rcx + 0x10]
lea r9, [rcx]
test rax, rax
je 0x1400d4451
mov rcx, rax
jmp 0x1400d4479
mov eax, dword [rcx + 0x18]
xor edx, edx
mov r8d, dword [r14 + 0xf0]
div r8d
inc edx
xor ecx, ecx
cmp edx, r8d
jae 0x1400d4479
mov rax, qword [r14 + 0xe0]
mov rcx, qword [rax + rdx*8]
test rcx, rcx
je 0x1400d4460
mov rax, qword [r9 + 8]
test rax, rax
je 0x1400d4490
cmp dword [rax + 0x18], r10d
jne 0x1400d4490
mov rdi, qword [rax]
test rdi, rdi
jne 0x1400d449a
test rcx, rcx
jne 0x1400d4440
jmp 0x1400d459a
mov r15d, dword [rax + 8]
mov edx, 2
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
mov r12d, eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov r8d, 0xb1
lea rdx, str.CTimerEventNotify::OnServiceTimer
mov r9d, eax
lea rcx, str._s__d___Thread_ID___d
call fcn.14006dd20
lock inc dword [rdi + 0xb4]
mov rsi, qword [rdi + 0x50]
test rsi, rsi
je 0x1400d4554
cmp dword [rdi + 0xb0], 0
jne 0x1400d4554
lea rcx, [rdi + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
test rsi, rsi
je 0x1400d45dd
cmp qword [rdi + 0x90], 0
mov rbx, qword [rsi + 0x10]
mov rsi, qword [rsi]
jbe 0x1400d452e
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1400d452e
nop dword [rax]
cmp qword [rax + 0x10], rbx
je 0x1400d4588
mov rax, qword [rax]
test rax, rax
jne 0x1400d4520
lea rcx, [rdi + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1400d454f
mov rax, qword [rbx]
mov edx, r15d
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140050923.0]
test rsi, rsi
jne 0x1400d44e0
lock dec dword [rdi + 0xb4]
lea rcx, [rdi + 0x28]
call fcn.14000bbd0
cmp r12d, 1
jbe 0x1400d4594
mov r9d, r12d
lea rdx, str.CTimerEventNotify::OnServiceTimer
mov r8d, SystemTimeToVariantTime
lea rcx, str._s__d_CoInitializeEx_hr_x
call fcn.14006dd20
jmp 0x1400d459a
lea rcx, [rdi + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
jmp 0x1400d454f
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
cmp dword [r14 + 0x12c], 0
je 0x1400d43c0
mov r8d, 0xdb
lea rdx, str.CTimerEventNotify::WorkThreadLoop
lea rcx, [0x140102ba8]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp fcn.14006dd20
mov ecx, 0x80004005
call fcn.140004f30
int3