Function at 0x1400869e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor eax, eax
lea rdx, [rcx + 0x2fc]
mov qword [rcx + 0x300], rax
mov rbx, rcx
mov qword [rcx + 0x308], rax
mov qword [rcx + 0x310], rax
mov qword [rcx + 0x318], rax
mov qword [rcx + 0x320], rax
mov qword [rcx + 0x328], rax
mov qword [rcx + 0x330], rax
mov qword [rcx + 0x338], rax
mov dword [rcx + 0x348], eax
call fcn.140087380
mov eax, dword [rbx + 0x1c0]
shr eax, 9
xor eax, dword [rbx + 0x300]
and eax, 0x200
xor dword [rbx + 0x300], eax
cmp dword [rbx + 0x2f8], 0
jne 0x140086a72
lea rdx, [rbx + 0x340]
xor eax, eax
mov qword [rdx], rax
call fcn.140087140
test dword [rbx + 0x2fc], 0x200000
je 0x140086a8f
or dword [rbx + 0x90], 3
mov dword [rbx + 0x84], 1
movzx eax, word [rbx + 0x340]
lea r9, [rbx + 0x2e0]
mov word [rsp + 0x28], ax
lea rdx, [rbx + 0x8c]
movzx eax, word [rbx + 0x342]
lea r8, [rbx + 0x2fc]
lea rcx, [rbx + 0x348]
mov word [rsp + 0x20], ax
call fcn.140002ee0
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x140087840
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov r14, rcx
mov dword [rax - 0x38], 0
mov edi, 4
mov dword [rcx + 0x88], edi
test byte [rcx + 0x2ec], 2
je 0x140087889
mov edi, 5
mov dword [rcx + 0x88], edi
jmp 0x140087a3b
cmp dword [0x140164cf0], 0
je 0x1400878a3
mov dword [rcx + 0x88], 0
xor edi, edi
jmp 0x140087a3b
cmp dword [0x140164d10], 0
je 0x140087a3b
call fcn.140014070
mov ebx, dword [0x140164cf0]
call fcn.140014070
mov edi, dword [0x140164d10]
test ebx, ebx
jne 0x140087a2f
test edi, edi
je 0x140087a2f
xor eax, eax
test edi, edi
jle 0x1400878f5
nop dword [rax]
mov ecx, ebx
call fcn.1400877a0
test eax, eax
jne 0x140087a2f
inc ebx
cmp ebx, edi
jl 0x1400878e0
test eax, eax
jne 0x140087a2f
cmp dword [0x1401650cc], eax
jne 0x140087a1e
xor r9d, r9d
lea r8, str.HasDCHUAudioHostDrvInstalled
lea rdx, str.General
lea rcx, [0x140164310]
call fcn.1400056a0
xor ecx, ecx
test eax, eax
setne cl
mov dword [0x1401650c8], ecx
mov edi, 1
test eax, eax
jne 0x140087a18
call fcn.140014070
mov ebx, dword [0x140164cf0]
call fcn.140014070
mov ebp, dword [0x140164d10]
test ebx, ebx
je 0x140087964
mov esi, edi
mov dword [0x1401650c8], edi
jmp 0x140087991
test ebp, ebp
je 0x14008798b
xor esi, esi
xor ebx, ebx
test ebp, ebp
jle 0x140087983
mov ecx, ebx
call fcn.1400877a0
mov esi, eax
test eax, eax
jne 0x140087983
inc ebx
cmp ebx, ebp
jl 0x140087970
mov dword [0x1401650c8], esi
jmp 0x140087991
mov esi, dword [0x1401650c8]
mov qword [rsp + 0x38], 0
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140087a6c
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edi
lea r9, str.General
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x1400e4b68]
lea rcx, [rsp + 0x38]
call fcn.140006bc0
mov r9d, esi
lea r8, str.HasDCHUAudioHostDrvInstalled
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [0x140164318]
call fcn.14007f600
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140087a18
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [0x1401650cc], edi
xor edi, edi
cmp dword [0x1401650c8], edi
setne dil
add edi, 2
jmp 0x140087a34
mov edi, 1
mov dword [r14 + 0x88], edi
mov r9d, edi
mov r8d, 0x261
lea rdx, str.CRtkAudioDriverInfo::RefreshDriverDependantMode
lea rcx, str._s__d_DriverDependantMode_d
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
jmp fcn.14005f240
mov ecx, 0x80004005
call fcn.140004fd0
int3