Function at 0x140089860
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.14008a200
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 0x1400898f2
lea rdx, [rbx + 0x340]
xor eax, eax
mov qword [rdx], rax
call fcn.140089fc0
test dword [rbx + 0x2fc], 0x200000
je 0x14008990f
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 0x14008a6c0
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 0x14008a709
mov edi, 5
mov dword [rcx + 0x88], edi
jmp 0x14008a8bb
cmp dword [0x14016be18], 0
je 0x14008a723
mov dword [rcx + 0x88], 0
xor edi, edi
jmp 0x14008a8bb
cmp dword [0x14016be38], 0
je 0x14008a8bb
call fcn.140013f90
mov ebx, dword [0x14016be18]
call fcn.140013f90
mov edi, dword [0x14016be38]
test ebx, ebx
jne 0x14008a8af
test edi, edi
je 0x14008a8af
xor eax, eax
test edi, edi
jle 0x14008a775
nop dword [rax]
mov ecx, ebx
call fcn.14008a620
test eax, eax
jne 0x14008a8af
inc ebx
cmp ebx, edi
jl 0x14008a760
test eax, eax
jne 0x14008a8af
cmp dword [0x14016c220], eax
jne 0x14008a89e
xor r9d, r9d
lea r8, str.HasDCHUAudioHostDrvInstalled
lea rdx, str.General
lea rcx, [0x14016b430]
call fcn.1400056a0
xor ecx, ecx
test eax, eax
setne cl
mov dword [0x14016c224], ecx
mov edi, 1
test eax, eax
jne 0x14008a898
call fcn.140013f90
mov ebx, dword [0x14016be18]
call fcn.140013f90
mov ebp, dword [0x14016be38]
test ebx, ebx
je 0x14008a7e4
mov esi, edi
mov dword [0x14016c224], edi
jmp 0x14008a811
test ebp, ebp
je 0x14008a80b
xor esi, esi
xor ebx, ebx
test ebp, ebp
jle 0x14008a803
mov ecx, ebx
call fcn.14008a620
mov esi, eax
test eax, eax
jne 0x14008a803
inc ebx
cmp ebx, ebp
jl 0x14008a7f0
mov dword [0x14016c224], esi
jmp 0x14008a811
mov esi, dword [0x14016c224]
mov qword [rsp + 0x38], 0
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x14008a8ec
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, [0x1400e9be8]
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 [0x14016b438]
call fcn.1400821f0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008a898
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [0x14016c220], edi
xor edi, edi
cmp dword [0x14016c224], edi
setne dil
add edi, 2
jmp 0x14008a8b4
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.140061d00
mov ecx, 0x80004005
call fcn.140004fd0
int3