Function at 0x140083530
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.140083ec0
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 0x1400835c2
lea rdx, [rbx + 0x340]
xor eax, eax
mov qword [rdx], rax
call fcn.140083c80
test dword [rbx + 0x2fc], 0x200000
je 0x1400835df
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 0x140084380
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 0x1400843c9
mov edi, 5
mov dword [rcx + 0x88], edi
jmp 0x14008457b
cmp dword [0x140159820], 0
je 0x1400843e3
mov dword [rcx + 0x88], 0
xor edi, edi
jmp 0x14008457b
cmp dword [0x140159840], 0
je 0x14008457b
call fcn.140014060
mov ebx, dword [0x140159820]
call fcn.140014060
mov edi, dword [0x140159840]
test ebx, ebx
jne 0x14008456f
test edi, edi
je 0x14008456f
xor eax, eax
test edi, edi
jle 0x140084435
nop dword [rax]
mov ecx, ebx
call fcn.1400842e0
test eax, eax
jne 0x14008456f
inc ebx
cmp ebx, edi
jl 0x140084420
test eax, eax
jne 0x14008456f
cmp dword [0x140159c24], eax
jne 0x14008455e
xor r9d, r9d
lea r8, str.HasDCHUAudioHostDrvInstalled
lea rdx, str.General
lea rcx, [0x140158e40]
call fcn.140005700
xor ecx, ecx
test eax, eax
setne cl
mov dword [0x140159c20], ecx
mov edi, 1
test eax, eax
jne 0x140084558
call fcn.140014060
mov ebx, dword [0x140159820]
call fcn.140014060
mov ebp, dword [0x140159840]
test ebx, ebx
je 0x1400844a4
mov esi, edi
mov dword [0x140159c20], edi
jmp 0x1400844d1
test ebp, ebp
je 0x1400844cb
xor esi, esi
xor ebx, ebx
test ebp, ebp
jle 0x1400844c3
mov ecx, ebx
call fcn.1400842e0
mov esi, eax
test eax, eax
jne 0x1400844c3
inc ebx
cmp ebx, ebp
jl 0x1400844b0
mov dword [0x140159c20], esi
jmp 0x1400844d1
mov esi, dword [0x140159c20]
mov qword [rsp + 0x38], 0
call fcn.140004f00
mov rcx, rax
test rax, rax
je 0x1400845ac
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, [0x1400dea78]
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 [0x140158e48]
call fcn.14007c5b0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140084558
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [0x140159c24], edi
xor edi, edi
cmp dword [0x140159c20], edi
setne dil
add edi, 2
jmp 0x140084574
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.14005c7e0
mov ecx, 0x80004005
call fcn.140005030
int3