Function at 0x140098f00
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp dword [rcx + 0x12c], 0
mov r13, rcx
jne 0x140099197
lea rax, [rcx + 0x138]
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r13 + 0x130]
mov r9d, 0xffffffff
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_2_1.dll_WaitForMultipleObjects]
mov dword [rsp + 0x50], eax
mov r9d, eax
test eax, eax
je 0x140099181
cmp qword [r13 + 0xe8], 0
je 0x140099181
mov edx, dword [r13 + 0xf0]
xor ecx, ecx
test edx, edx
je 0x140098f9f
mov r8, qword [r13 + 0xe0]
nop word [rax + rax]
mov r15, qword [r8 + rcx*8]
test r15, r15
jne 0x140098fb0
inc ecx
cmp ecx, edx
jb 0x140098f90
xor r15d, r15d
test r15, r15
je 0x140099181
nop dword [rax + rax]
mov r11, r15
test r15, r15
je 0x140098ff9
mov r9, qword [r15 + 0x10]
test r9, r9
jne 0x140098ff1
mov eax, dword [r15 + 0x18]
xor edx, edx
mov r10d, dword [r13 + 0xf0]
div r10d
inc edx
cmp edx, r10d
jae 0x140098ff1
mov rax, qword [r13 + 0xe0]
mov r8, qword [rax + rdx*8]
test r8, r8
cmovne r9, r8
inc edx
test r9, r9
je 0x140098fd3
mov r15, r9
mov r9d, dword [rsp + 0x50]
mov rax, qword [r11 + 8]
test rax, rax
je 0x140099173
cmp dword [rax + 0x18], r9d
jne 0x140099173
mov rdi, qword [rax]
test rdi, rdi
je 0x140099173
mov r14d, 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, 0xb0
lea rdx, str.CTimerEventNotify::OnServiceTimer
mov r9d, eax
lea rcx, str._s__d___Thread_ID___d
call fcn.14004c3d0
inc dword [rdi + 0xb4]
mov rsi, qword [rdi + 0x50]
test rsi, rsi
je 0x1400990d1
cmp dword [rdi + 0xb0], 0
jne 0x1400990d1
lea rcx, [rdi + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
test rsi, rsi
je 0x1400991cc
cmp qword [rdi + 0x90], 0
mov rbx, qword [rsi + 0x10]
mov rsi, qword [rsi]
jbe 0x1400990b2
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1400990b2
nop word [rax + rax]
cmp qword [rax + 0x10], rbx
je 0x1400990b0
mov rax, qword [rax]
test rax, rax
jne 0x1400990a0
jmp 0x1400990b2
xor ebx, ebx
lea rcx, [rdi + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1400990cc
mov rax, qword [rbx]
mov edx, r14d
mov rcx, rbx
call qword [rax]
test rsi, rsi
jne 0x140099061
dec dword [rdi + 0xb4]
cmp dword [rdi + 0xb4], 0
jne 0x140099149
cmp qword [rdi + 0x90], 0
jbe 0x140099149
lea rcx, [rdi + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rbx, qword [rdi + 0x80]
test rbx, rbx
je 0x140099133
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x14009912e
mov rdx, qword [rdi + 0x50]
test rdx, rdx
je 0x14009912e
cmp qword [rdx + 0x10], rcx
je 0x140099125
mov rdx, qword [rdx]
test rdx, rdx
jne 0x140099115
jmp 0x14009912e
lea rcx, [rdi + 0x50]
call fcn.14000b940
test rbx, rbx
jne 0x140099100
lea rcx, [rdi + 0x80]
call fcn.14000b9a0
lea rcx, [rdi + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
cmp r12d, 1
jbe 0x14009916d
mov r9d, r12d
lea rdx, str.CTimerEventNotify::OnServiceTimer
mov r8d, SystemTimeToVariantTime
lea rcx, str._s__d_CoInitializeEx_hr_x
call fcn.14004c3d0
jmp 0x140099173
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
mov r9d, dword [rsp + 0x50]
test r15, r15
jne 0x140098fb0
cmp dword [r13 + 0x12c], 0
jne 0x140099197
lea rax, [r13 + 0x138]
jmp 0x140098f40
mov r8d, 0xd9
lea rdx, str.CTimerEventNotify::WorkThreadLoop
lea rcx, [0x1400c4050]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp fcn.14004c3d0
mov ecx, 0x80004005
call fcn.140004670
int3