Function at 0x140068120
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
mov qword [rsp + 0x58], rbp
add rcx, 0x10
call fcn.140049450
mov ebp, dword [rbx + 0x68]
xor r10d, r10d
test ebp, ebp
je 0x140068300
mov r11d, dword [rsp + 0x50]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
lea r12, [rbx + 0x19c]
mov qword [rsp + 0x28], r14
mov rdi, r12
mov qword [rsp + 0x20], r15
mov r15, 0xfffffffffffffe64
sub r15, rbx
nop word [rax + rax]
mov ecx, dword [rdi]
cmp cl, 6
jae 0x140068291
shr ecx, 8
cmp cl, 4
je 0x140068291
mov eax, dword [rdi - 0x5c]
and r11d, 0xfff00000
shr eax, 0xc
or r11d, eax
mov eax, r11d
and eax, 0xf00
cmp eax, 0x400
jne 0x1400681c0
mov dword [rbx + 0x88], 1
mov eax, r11d
and eax, 0xf00
cmp eax, 0xc00
jne 0x1400681d9
mov dword [rbx + 0x84], 1
mov eax, r11d
and eax, 0xf00
cmp eax, 0xc00
je 0x1400681fb
mov eax, r11d
and eax, 0xf00
cmp eax, 0x400
jne 0x140068291
lea rcx, [r15 + rdi]
xor eax, eax
lea r14, [r12 + rcx]
lea rsi, [rcx + rbx]
nop dword [rax]
cmp eax, r10d
je 0x140068254
mov r8d, dword [r14]
mov ecx, eax
imul r9, rcx, 0xb0
mov edx, dword [r9 + rbx + 0x19c]
mov ecx, edx
xor ecx, r8d
test cl, cl
jne 0x140068254
shr edx, 8
shr r8d, 8
cmp r8b, dl
jne 0x140068254
mov ecx, dword [r9 + rbx + 0x118]
xor ecx, dword [rsi + 0x118]
test ecx, 0xf000
je 0x14006825c
inc eax
cmp eax, ebp
jb 0x140068210
jmp 0x140068291
mov ecx, r11d
and ecx, 0xf00
cmp ecx, 0x400
jne 0x140068276
mov dword [rbx + 0x74], r10d
mov dword [rbx + 0x78], eax
jmp 0x140068291
mov ecx, r11d
and ecx, 0xf00
cmp ecx, 0xc00
jne 0x140068291
mov dword [rbx + 0x7c], r10d
mov dword [rbx + 0x80], eax
mov ecx, dword [rdi]
movzx eax, cl
sub eax, 7
cmp eax, 1
ja 0x1400682d4
shr ecx, 8
test cl, cl
jne 0x1400682d4
mov eax, dword [rdi - 0x84]
and eax, 0xf00
cmp eax, 0x400
jne 0x1400682c3
mov dword [rbx + 0x88], 1
jmp 0x1400682d4
cmp eax, 0xc00
jne 0x1400682d4
mov dword [rbx + 0x84], 1
inc r10d
add rdi, 0xb0
cmp r10d, ebp
jb 0x140068180
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x60]
movsxd rax, dword [rbx + 0x74]
mov rbp, qword [rsp + 0x58]
cmp eax, 0xffffffff
je 0x140068350
movsxd rdx, dword [rbx + 0x78]
cmp edx, 0xffffffff
je 0x140068350
imul rcx, rax, 0xb0
test byte [rcx + rbx + reloc.OLEAUT32.dll_BSTR_UserUnmarshal], 2
je 0x140068350
imul rcx, rdx, 0xb0
mov dword [rcx + rbx + 0x1ac], 1
movsxd rax, dword [rbx + 0x78]
imul rcx, rax, 0xb0
mov dword [rcx + rbx + 0x1a4], 4
movsxd rax, dword [rbx + 0x7c]
cmp eax, 0xffffffff
je 0x1400683a1
movsxd rdx, dword [rbx + 0x80]
cmp edx, 0xffffffff
je 0x1400683a1
imul rcx, rax, 0xb0
test byte [rcx + rbx + reloc.OLEAUT32.dll_BSTR_UserUnmarshal], 2
je 0x1400683a1
imul rcx, rdx, 0xb0
mov dword [rcx + rbx + 0x1ac], 1
movsxd rax, dword [rbx + 0x80]
imul rcx, rax, 0xb0
mov dword [rcx + rbx + 0x1a4], SafeArrayDestroy
mov eax, 0xffffffff
lock xadd dword [rbx + 0x28], eax
mov eax, dword [rbx + 0x28]
test eax, eax
jne 0x1400683c2
mov rcx, qword [rbx + 0x20]
add rsp, 0x40
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov eax, dword [rbx + 0x28]
cmp eax, 0x32
jle 0x1400683e8
mov r8d, 0x6a
lea rdx, str.CDataAccessProtector::FinishAccess
lea rcx, str._s__d_calling_FinishAccess_isnt_matched_RequestAccess_or_directly_return_in_EnumAudioDeviceStart_loop
add rsp, 0x40
pop rbx
jmp fcn.140065460
add rsp, 0x40
pop rbx
ret