Function at 0x140084f60
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.140085900
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 0x140084ff2
lea rdx, [rbx + 0x340]
xor eax, eax
mov qword [rdx], rax
call fcn.1400856c0
test dword [rbx + 0x2fc], 0x200000
je 0x14008500f
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 0x140085dc0
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 0x140085e09
mov edi, 5
mov dword [rcx + 0x88], edi
jmp 0x140085fbb
cmp dword [0x140161d10], 0
je 0x140085e23
mov dword [rcx + 0x88], 0
xor edi, edi
jmp 0x140085fbb
cmp dword [0x140161d30], 0
je 0x140085fbb
call fcn.140013fc0
mov ebx, dword [0x140161d10]
call fcn.140013fc0
mov edi, dword [0x140161d30]
test ebx, ebx
jne 0x140085faf
test edi, edi
je 0x140085faf
xor eax, eax
test edi, edi
jle 0x140085e75
nop dword [rax]
mov ecx, ebx
call fcn.140085d20
test eax, eax
jne 0x140085faf
inc ebx
cmp ebx, edi
jl 0x140085e60
test eax, eax
jne 0x140085faf
cmp dword [0x140162118], eax
jne 0x140085f9e
xor r9d, r9d
lea r8, str.HasDCHUAudioHostDrvInstalled
lea rdx, str.General
lea rcx, [0x140161330]
call fcn.1400056a0
xor ecx, ecx
test eax, eax
setne cl
mov dword [0x14016211c], ecx
mov edi, 1
test eax, eax
jne 0x140085f98
call fcn.140013fc0
mov ebx, dword [0x140161d10]
call fcn.140013fc0
mov ebp, dword [0x140161d30]
test ebx, ebx
je 0x140085ee4
mov esi, edi
mov dword [0x14016211c], edi
jmp 0x140085f11
test ebp, ebp
je 0x140085f0b
xor esi, esi
xor ebx, ebx
test ebp, ebp
jle 0x140085f03
mov ecx, ebx
call fcn.140085d20
mov esi, eax
test eax, eax
jne 0x140085f03
inc ebx
cmp ebx, ebp
jl 0x140085ef0
mov dword [0x14016211c], esi
jmp 0x140085f11
mov esi, dword [0x14016211c]
mov qword [rsp + 0x38], 0
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140085fec
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, [0x1400e2b48]
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 [0x140161338]
call fcn.14007dbb0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140085f98
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [0x140162118], edi
xor edi, edi
cmp dword [0x14016211c], edi
setne dil
add edi, 2
jmp 0x140085fb4
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.14005dbf0
mov ecx, 0x80004005
call fcn.140004fd0
int3