Function at 0x1400839c0
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.140083500
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 0x140082c02
lea rdx, [rbx + 0x340]
xor eax, eax
mov qword [rdx], rax
call fcn.1400832c0
test dword [rbx + 0x2fc], 0x200000
je 0x140082c1f
or dword [rbx + 0x90], 3
mov dword [rbx + 0x84], 1
movzx eax, word [rbx + 0x340]
lea rdx, [rbx + 0x8c]
movzx r9d, word [rbx + 0x342]
lea r8, [rbx + 0x2fc]
lea rcx, [rbx + 0x348]
mov word [rsp + 0x20], ax
call fcn.140002e60
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x1400839c0
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 0x140083a09
mov edi, 5
mov dword [rcx + 0x88], edi
jmp 0x140083bbb
cmp dword [0x140158820], 0
je 0x140083a23
mov dword [rcx + 0x88], 0
xor edi, edi
jmp 0x140083bbb
cmp dword [0x140158840], 0
je 0x140083bbb
call fcn.140014060
mov ebx, dword [0x140158820]
call fcn.140014060
mov edi, dword [0x140158840]
test ebx, ebx
jne 0x140083baf
test edi, edi
je 0x140083baf
xor eax, eax
test edi, edi
jle 0x140083a75
nop dword [rax]
mov ecx, ebx
call fcn.140083920
test eax, eax
jne 0x140083baf
inc ebx
cmp ebx, edi
jl 0x140083a60
test eax, eax
jne 0x140083baf
cmp dword [0x140158bf0], eax
jne 0x140083b9e
xor r9d, r9d
lea r8, str.HasDCHUAudioHostDrvInstalled
lea rdx, str.General
lea rcx, [0x140157e40]
call fcn.140005700
xor ecx, ecx
test eax, eax
setne cl
mov dword [0x140158bf4], ecx
mov edi, 1
test eax, eax
jne 0x140083b98
call fcn.140014060
mov ebx, dword [0x140158820]
call fcn.140014060
mov ebp, dword [0x140158840]
test ebx, ebx
je 0x140083ae4
mov esi, edi
mov dword [0x140158bf4], edi
jmp 0x140083b11
test ebp, ebp
je 0x140083b0b
xor esi, esi
xor ebx, ebx
test ebp, ebp
jle 0x140083b03
mov ecx, ebx
call fcn.140083920
mov esi, eax
test eax, eax
jne 0x140083b03
inc ebx
cmp ebx, ebp
jl 0x140083af0
mov dword [0x140158bf4], esi
jmp 0x140083b11
mov esi, dword [0x140158bf4]
mov qword [rsp + 0x38], 0
call fcn.140004f00
mov rcx, rax
test rax, rax
je 0x140083bec
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, [0x1400dda68]
lea rcx, [rsp + 0x38]
call fcn.140006c20
mov r9d, esi
lea r8, str.HasDCHUAudioHostDrvInstalled
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [0x140157e48]
call fcn.14007bbf0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140083b98
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [0x140158bf0], edi
xor edi, edi
cmp dword [0x140158bf4], edi
setne dil
add edi, 2
jmp 0x140083bb4
mov edi, 1
mov dword [r14 + 0x88], edi
mov r9d, edi
mov r8d, 0x25e
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.14005be10
mov ecx, 0x80004005
call fcn.140005030
int3