Function at 0x140081340
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 0x1400815d7
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 0x1400815c1
cmp qword [r13 + 0xe8], 0
je 0x1400815c1
mov edx, dword [r13 + 0xf0]
xor ecx, ecx
test edx, edx
je 0x1400813df
mov r8, qword [r13 + 0xe0]
nop word [rax + rax]
mov r15, qword [r8 + rcx*8]
test r15, r15
jne 0x1400813f0
inc ecx
cmp ecx, edx
jb 0x1400813d0
xor r15d, r15d
test r15, r15
je 0x1400815c1
nop dword [rax + rax]
mov r11, r15
test r15, r15
je 0x140081439
mov r9, qword [r15 + 0x10]
test r9, r9
jne 0x140081431
mov eax, dword [r15 + 0x18]
xor edx, edx
mov r10d, dword [r13 + 0xf0]
div r10d
inc edx
cmp edx, r10d
jae 0x140081431
mov rax, qword [r13 + 0xe0]
mov r8, qword [rax + rdx*8]
test r8, r8
cmovne r9, r8
inc edx
test r9, r9
je 0x140081413
mov r15, r9
mov r9d, dword [rsp + 0x50]
mov rax, qword [r11 + 8]
test rax, rax
je 0x1400815b3
cmp dword [rax + 0x18], r9d
jne 0x1400815b3
mov rdi, qword [rax]
test rdi, rdi
je 0x1400815b3
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, 0xa9
lea rdx, str.CTimerEventNotify::OnServiceTimer
mov r9d, eax
lea rcx, str._s__d___Thread_ID___d
call fcn.14003f0e0
inc dword [rdi + 0xb4]
mov rsi, qword [rdi + 0x50]
test rsi, rsi
je 0x140081511
cmp dword [rdi + 0xb0], 0
jne 0x140081511
lea rcx, [rdi + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
test rsi, rsi
je 0x14008160c
cmp qword [rdi + 0x90], 0
mov rbx, qword [rsi + 0x10]
mov rsi, qword [rsi]
jbe 0x1400814f2
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1400814f2
nop word [rax + rax]
cmp qword [rax + 0x10], rbx
je 0x1400814f0
mov rax, qword [rax]
test rax, rax
jne 0x1400814e0
jmp 0x1400814f2
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 0x14008150c
mov rax, qword [rbx]
mov edx, r14d
mov rcx, rbx
call qword [rax]
test rsi, rsi
jne 0x1400814a1
dec dword [rdi + 0xb4]
cmp dword [rdi + 0xb4], 0
jne 0x140081589
cmp qword [rdi + 0x90], 0
jbe 0x140081589
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 0x140081573
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x14008156e
mov rdx, qword [rdi + 0x50]
test rdx, rdx
je 0x14008156e
cmp qword [rdx + 0x10], rcx
je 0x140081565
mov rdx, qword [rdx]
test rdx, rdx
jne 0x140081555
jmp 0x14008156e
lea rcx, [rdi + 0x50]
call 0x14000a4a0
test rbx, rbx
jne 0x140081540
lea rcx, [rdi + 0x80]
call fcn.14000a500
lea rcx, [rdi + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
cmp r12d, 1
jbe 0x1400815ad
mov r9d, r12d
lea rdx, str.CTimerEventNotify::OnServiceTimer
mov r8d, 0xac
lea rcx, str._s__d_CoInitializeEx_hr_x
call fcn.14003f0e0
jmp 0x1400815b3
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
mov r9d, dword [rsp + 0x50]
test r15, r15
jne 0x1400813f0
cmp dword [r13 + 0x12c], 0
jne 0x1400815d7
lea rax, [r13 + 0x138]
jmp 0x140081380
mov r8d, 0xd2
lea rdx, str.CTimerEventNotify::WorkThreadLoop
lea rcx, [0x1400a9e48]
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.14003f0e0
mov ecx, 0x80004005
call fcn.140003700
int3