Function at 0x14001de10
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x30
cmp dword [rcx + reloc.OLEAUT32.dll_LPSAFEARRAY_UserUnmarshal], 0
mov r14, rdx
mov rbx, rcx
je 0x14001de67
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140075db0
mov r8d, 0x33
lea rdx, str.CAudioDeviceSessionEvents::OnPostEvent
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
jmp fcn.140075db0
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
lock inc dword [rcx + 0x120]
test r14, r14
je 0x14001e0db
mov ecx, dword [rdx]
test ecx, ecx
je 0x14001e0c1
sub ecx, 1
je 0x14001e01c
sub ecx, 1
je 0x14001df56
cmp ecx, 1
jne 0x14001e0ce
lock inc dword [rbx + 0x114]
mov rsi, qword [rbx + 0xb0]
test rsi, rsi
je 0x14001dff5
cmp dword [rbx + 0x110], 0
jne 0x14001dff5
lea rcx, [rbx + 0x88]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
test rsi, rsi
je 0x14001e11b
cmp qword [rbx + 0xf0], 0
mov rdi, qword [rsi + 0x10]
mov rsi, qword [rsi]
jbe 0x14001df10
mov rax, qword [rbx + 0xe0]
test rax, rax
je 0x14001df10
cmp qword [rax + 0x10], rdi
je 0x14001df47
mov rax, qword [rax]
test rax, rax
jne 0x14001df02
lea rcx, [rbx + 0x88]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
test rdi, rdi
je 0x14001df3d
mov rax, qword [rdi]
mov rcx, rdi
mov r9d, dword [r14 + 0x20]
mov r8, qword [r14 + 0x10]
mov edx, dword [r14 + 0x18]
mov rax, qword [rax]
call qword [case.0x14005eeb3.0]
test rsi, rsi
jne 0x14001dec2
jmp 0x14001dff5
lea rcx, [rbx + 0x88]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
jmp 0x14001df3d
lock inc dword [rbx + 0x114]
mov rsi, qword [rbx + 0xb0]
test rsi, rsi
je 0x14001dff5
nop dword [rax]
cmp dword [rbx + 0x110], 0
jne 0x14001dff5
lea rcx, [rbx + 0x88]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
test rsi, rsi
je 0x14001e11b
cmp qword [rbx + 0xf0], 0
mov rdi, qword [rsi + 0x10]
mov rsi, qword [rsi]
jbe 0x14001dfbe
mov rax, qword [rbx + 0xe0]
test rax, rax
je 0x14001dfbe
nop dword [rax]
cmp qword [rax + 0x10], rdi
je 0x14001e00d
mov rax, qword [rax]
test rax, rax
jne 0x14001dfb0
lea rcx, [rbx + 0x88]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
test rdi, rdi
je 0x14001dfec
mov rax, qword [rdi]
mov rcx, rdi
mov r9d, dword [r14 + 0x1c]
mov r8, qword [r14 + 0x10]
mov edx, dword [r14 + 0x18]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
test rsi, rsi
jne 0x14001df70
lock dec dword [rbx + 0x114]
lea rcx, [rbx + 0x88]
call fcn.140014520
jmp 0x14001e0ce
lea rcx, [rbx + 0x88]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
jmp 0x14001dfec
lock inc dword [rbx + 0x114]
mov rsi, qword [rbx + 0xb0]
test rsi, rsi
je 0x14001dff5
nop
cmp dword [rbx + 0x110], 0
jne 0x14001dff5
lea rcx, [rbx + 0x88]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
test rsi, rsi
je 0x14001e11b
cmp qword [rbx + 0xf0], 0
mov rdi, qword [rsi + 0x10]
mov rsi, qword [rsi]
jbe 0x14001e07e
mov rax, qword [rbx + 0xe0]
test rax, rax
je 0x14001e07e
nop dword [rax]
cmp qword [rax + 0x10], rdi
je 0x14001e0b2
mov rax, qword [rax]
test rax, rax
jne 0x14001e070
lea rcx, [rbx + 0x88]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
test rdi, rdi
je 0x14001e0a8
mov rax, qword [rdi]
mov rcx, rdi
mov r8, qword [r14 + 0x10]
mov edx, dword [r14 + 0x18]
mov rax, qword [rax + 0x10]
call qword [case.0x14005eeb3.0]
test rsi, rsi
jne 0x14001e030
jmp 0x14001dff5
lea rcx, [rbx + 0x88]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
jmp 0x14001e0a8
mov rdx, qword [rdx + 8]
lea rcx, [rbx - 8]
call fcn.14001e780
mov edx, 0x28
mov rcx, r14
call fcn.1400f4438
lock dec dword [rbx + 0x120]
mov eax, dword [rbx + 0x120]
jne 0x14001e100
cmp dword [rbx + reloc.OLEAUT32.dll_LPSAFEARRAY_UserUnmarshal], 0
je 0x14001e100
mov rcx, qword [rbx + 0x118]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov ecx, 0x80004005
call fcn.14000ce90
int3