Function at 0x1400e4240
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1401aa010]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r13, rcx
cmp edx, 0x45e
jne 0x1400e433d
call fcn.1400147e0
mov rcx, rax
mov edx, 0x45e
call fcn.1400e8940
call fcn.140014660
mov rcx, rax
call fcn.1400aa410
call fcn.140014660
cmp dword [rax + 0x140], 0
jne 0x1400e42e6
cmp dword [0x1401b2668], 0
je 0x1400e42e6
mov rax, qword [0x1401ab9a8]
test byte [rax + 0x1c], 1
jne 0x1400e42cd
cmp dword [0x1401b266c], 0
je 0x1400e42e6
mov r8d, 0x49
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.140075db0
call fcn.140014660
mov rdi, qword [rax + 0xe0]
test rdi, rdi
je 0x1400e501d
nop dword [rax + rax]
call fcn.140014660
call fcn.140014660
mov rbx, qword [rdi + 0x10]
mov rdi, qword [rdi]
test rbx, rbx
je 0x1400e4333
cmp dword [rbx + 0x18c], 1
jne 0x1400e4333
xor edx, edx
mov rcx, rbx
call fcn.1400e02a0
xor edx, edx
mov rcx, rbx
call fcn.1400e07d0
test rdi, rdi
jne 0x1400e4300
jmp 0x1400e501d
cmp edx, 0x45d
jne 0x1400e45c8
call fcn.1400147e0
mov rcx, rax
mov edx, 0x45d
call fcn.1400e8940
call fcn.140014660
mov rcx, rax
call fcn.1400aa410
call fcn.140014660
cmp dword [rax + 0x140], 0
jne 0x1400e43ae
cmp dword [0x1401b2668], 0
je 0x1400e43ae
mov rax, qword [0x1401ab9a8]
test byte [rax + 0x1c], 1
jne 0x1400e4395
cmp dword [0x1401b266c], 0
je 0x1400e43ae
mov r8d, 0x49
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.140075db0
call fcn.140014660
mov r15, qword [rax + 0xe0]
test r15, r15
je 0x1400e501d
mov ebx, 1
xor edi, edi
nop word [rax + rax]
call fcn.140014660
call fcn.140014660
mov rsi, qword [r15 + 0x10]
mov r15, qword [r15]
test rsi, rsi
je 0x1400e45b3
mov dword [rsp + 0x54], 0x63
lea r14, [rsi + 0x10]
mov r9d, ebx
lea r8, [rsp + 0x54]
lea rdx, [0x140115ae0]
mov rcx, r14
call fcn.14000ab50
mov ebx, eax
mov r12d, dword [rsp + 0x54]
mov dword [rsp + 0x20], r12d
mov r9, qword [rsi + 0x170]
mov r8d, 0x4f1
lea rdx, str.CSounzReal2AutoSwitch::OnTimer
lea rcx, str._s__d_EndpointId_s__temp_Scenario_Mode___d
call fcn.140075db0
test ebx, ebx
je 0x1400e45c1
cmp r12d, 0x63
je 0x1400e45c1
mov ebx, edi
call fcn.14002c560
test rax, rax
je 0x1400e44e5
cmp qword [0x1401aa7d8], rbx
je 0x1400e44e5
mov eax, edi
mov r8d, dword [0x1401aa7e0]
test r8d, r8d
je 0x1400e44e5
mov r9, qword [0x1401aa7d0]
mov rcx, r9
cmp qword [rcx], rbx
jne 0x1400e4492
inc eax
add rcx, 8
cmp eax, r8d
jb 0x1400e4480
jmp 0x1400e44e5
mov rcx, qword [r9 + rax*8]
test rcx, rcx
je 0x1400e44e5
mov r11d, 1
lea r10, [rcx]
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400e44b2
mov rcx, rax
jmp 0x1400e44cd
xor edx, edx
mov eax, dword [rcx + 0x18]
div r8d
inc edx
mov rcx, rdi
cmp edx, r8d
jae 0x1400e44cd
mov rcx, qword [r9 + rdx*8]
test rcx, rcx
je 0x1400e44ba
mov rdx, qword [r10 + 8]
test rdx, rdx
je 0x1400e44e0
mov eax, dword [r13 + 0x18]
cmp dword [rdx], eax
cmove ebx, r11d
test rcx, rcx
jne 0x1400e44a1
mov dword [rsp + 0x58], edi
mov esi, 1
mov r9d, esi
lea r8, [rsp + 0x58]
lea rdx, [0x140115ae0]
mov rcx, r14
call fcn.14000ab50
test eax, eax
je 0x1400e4510
cmp dword [rsp + 0x58], 0x63
je 0x1400e454d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
mov eax, SafeArrayUnaccessData
mov word [rbp - 0x20], ax
mov dword [rbp - 0x18], 0x63
mov r9d, esi
lea r8, [rbp - 0x20]
lea rdx, [0x140115ae0]
mov rcx, r14
call fcn.14000bae0
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
test ebx, ebx
je 0x1400e45b1
mov dword [rsp + 0x5c], edi
mov r9d, esi
lea r8, [rsp + 0x5c]
lea rdx, [0x1401197b8]
mov rcx, r14
call fcn.14000ab50
test eax, eax
je 0x1400e4577
cmp dword [rsp + 0x5c], r12d
je 0x1400e45b1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rax
mov eax, SafeArrayUnaccessData
mov word [rbp - 8], ax
mov dword [rbp], r12d
mov r9d, esi
lea r8, [rbp - 8]
lea rdx, [0x1401197b8]
mov rcx, r14
call fcn.14000bae0
lea rcx, [rbp - 8]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
mov ebx, esi
test r15, r15
jne 0x1400e43d0
jmp 0x1400e501d
mov ebx, 1
jmp 0x1400e45b3
cmp edx, 0x40f
jne 0x1400e4674
xor edi, edi
mov qword [rbp - 0x58], rdi
mov edx, dword [0x1401baee0]
lea rcx, [rbp - 0x58]
call fcn.1400f0830
nop
mov rax, qword [rbp - 0x58]
cmp dword [rax - 0x10], edi
jne 0x1400e463f
call fcn.1400147e0
mov rcx, rax
mov edx, 0x40f
call fcn.1400e8940
call fcn.14002c560
mov rbx, rax
test rax, rax
je 0x1400e463f
mov ecx, 0x1f4
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
lea r9d, [rdi + 4]
mov r8, qword [0x1401baf60]
mov edx, dword [0x1401baee0]
mov rcx, rbx
call qword [case.0x14005eeb3.0]
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov rsi, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400e5060
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
jmp 0x1400e5060
cmp edx, 0x410
jne 0x1400e472a
xor edi, edi
mov qword [rbp - 0x60], rdi
mov edx, dword [0x1401bafa0]
lea rcx, [rbp - 0x60]
call fcn.1400f0830
nop
mov r9, qword [rbp - 0x60]
mov r8d, 0x528
lea rdx, str.CSounzReal2AutoSwitch::OnTimer
lea rcx, str._s__d_find_VIDEO_UI____s
call fcn.140075db0
mov rax, qword [rbp - 0x60]
cmp dword [rax - 0x10], edi
jne 0x1400e4721
call fcn.1400147e0
mov rcx, rax
mov edx, 0x410
call fcn.1400e8940
call fcn.14002c560
mov rbx, rax
test rax, rax
je 0x1400e4721
mov ecx, 0x1f4
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov r8d, 0x533
lea rdx, str.CSounzReal2AutoSwitch::OnTimer
lea rcx, str._s__d_VIDEO_UI_On_Session_Disconnect
call fcn.140075db0
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
lea r9d, [rdi + 4]
mov r8, qword [0x1401bb020]
mov edx, dword [0x1401bafa0]
mov rcx, rbx
call qword [case.0x14005eeb3.0]
nop
mov rdx, qword [rbp - 0x60]
jmp 0x1400e4643
cmp edx, 0x411
jne 0x1400e47a6
xor edi, edi
mov qword [rbp - 0x50], rdi
mov edx, dword [0x1401bb040]
lea rcx, [rbp - 0x50]
call fcn.1400f0830
nop
mov rax, qword [rbp - 0x50]
cmp dword [rax - 0x10], edi
jne 0x1400e479d
call fcn.1400147e0
mov rcx, rax
mov edx, 0x411
call fcn.1400e8940
call fcn.14002c560
mov rbx, rax
test rax, rax
je 0x1400e479d
mov ecx, 0x1f4
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
lea r9d, [rdi + 4]
mov r8, qword [0x1401bb0c0]
mov edx, dword [0x1401bb040]
mov rcx, rbx
call qword [case.0x14005eeb3.0]
nop
mov rdx, qword [rbp - 0x50]
jmp 0x1400e4643
cmp edx, 0x45a
jne 0x1400e4822
xor edi, edi
mov qword [rbp - 0x48], rdi
mov edx, dword [0x1401bb0e0]
lea rcx, [rbp - 0x48]
call fcn.1400f0830
nop
mov rax, qword [rbp - 0x48]
cmp dword [rax - 0x10], edi
jne 0x1400e4819
call fcn.1400147e0
mov rcx, rax
mov edx, 0x45a
call fcn.1400e8940
call fcn.14002c560
mov rbx, rax
test rax, rax
je 0x1400e4819
mov ecx, 0x1f4
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
lea r9d, [rdi + 4]
mov r8, qword [0x1401bb160]
mov edx, dword [0x1401bb0e0]
mov rcx, rbx
call qword [case.0x14005eeb3.0]
nop
mov rdx, qword [rbp - 0x48]
jmp 0x1400e4643
cmp edx, 0x457
jne 0x1400e489e
xor edi, edi
mov qword [rbp - 0x40], rdi
mov edx, dword [0x1401baee0]
lea rcx, [rbp - 0x40]
call fcn.1400f0830
nop
mov rax, qword [rbp - 0x40]
cmp dword [rax - 0x10], edi
jne 0x1400e4895
call fcn.1400147e0
mov rcx, rax
mov edx, 0x457
call fcn.1400e8940
call fcn.14002c560
mov rbx, rax
test rax, rax
je 0x1400e4895
mov ecx, 0x1f4
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
lea r9d, [rdi + 4]
mov r8, qword [0x1401baf60]
mov edx, dword [0x1401baee0]
mov rcx, rbx
call qword [case.0x14005eeb3.0]
nop
mov rdx, qword [rbp - 0x40]
jmp 0x1400e4643
cmp edx, 0x45f
jne 0x1400e4f75
call fcn.14002c560
mov rbx, rax
test rax, rax
je 0x1400e5060
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xor edi, edi
mov qword [rbp - 0x38], rdi
mov dword [rbp - 0x30], edi
mov qword [rbp - 0x28], rdi
xor edx, edx
mov r8d, 0x6a80
lea r14, [0x1401b2b80]
mov rcx, r14
call fcn.1400fac10
mov r15d, edi
mov dword [rsp + 0x50], edi
mov r12, qword [rbx + 0xd8]
test r12, r12
je 0x1400e4e93
lea rsi, [rdi - 1]
lea r14d, [rdi + 1]
lea r13, [0x1401b2b80]
nop dword [rax]
cmp r15d, 0x10
jae 0x1400e4e8c
test r12, r12
je 0x1400e508d
mov ebx, dword [r12 + 0x10]
mov r12, qword [r12]
mov qword [rbp - 0x80], r12
mov r9d, ebx
mov r8d, 0x58b
lea rdx, str.CSounzReal2AutoSwitch::OnTimer
lea rcx, str._s__d_m_ProcessIdSequenceList_process_id_list____d
call fcn.140075db0
xor edx, edx
mov eax, ebx
div dword [0x1401aa7e0]
mov rcx, qword [0x1401aa7d0]
test rcx, rcx
je 0x1400e4d7d
mov rcx, qword [rcx + rdx*8]
test rcx, rcx
je 0x1400e4d7d
cmp dword [rcx + 0x18], ebx
jne 0x1400e497c
cmp dword [rcx], ebx
je 0x1400e4982
mov rcx, qword [rcx + 0x10]
jmp 0x1400e496a
mov r13, qword [rcx + 8]
test r13, r13
je 0x1400e4d58
mov eax, r15d
imul r12, rax, 0x6a8
lea r15, [0x1401b2b80]
mov dword [r12 + r15], r14d
mov eax, dword [r13]
mov dword [r12 + r15 + 4], eax
mov eax, dword [r13 + 4]
mov dword [r12 + r15 + 8], eax
mov eax, dword [r13 + 8]
mov dword [r12 + r15 + 0xc], eax
mov eax, dword [r13 + 0xc]
mov dword [r12 + r15 + 0x10], eax
mov eax, dword [r13 + 0x10]
mov dword [r12 + r15 + 0x14], eax
mov eax, dword [r13 + 0x14]
mov dword [r12 + r15 + 0x18], eax
mov rdx, qword [r13 + 0x18]
cmp dword [rdx - 8], 1
jle 0x1400e49f4
mov edx, dword [rdx - 0x10]
lea rcx, [r13 + 0x18]
call fcn.14000c5e0
mov rdx, qword [r13 + 0x18]
lea rcx, [r15 + 0x1c]
add rcx, r12
mov r8d, 0x40
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov rdx, qword [r13 + 0x28]
cmp dword [rdx - 8], 1
jle 0x1400e4a21
mov edx, dword [rdx - 0x10]
lea rcx, [r13 + 0x28]
call fcn.14000c5e0
mov rdx, qword [r13 + 0x28]
lea rcx, [r15 + 0x9c]
add rcx, r12
mov r8d, 0x40
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov r15d, edi
mov r14, qword [r13 + 0x30]
test r14, r14
je 0x1400e4b46
nop word [rax + rax]
mov rbx, qword [r14 + 0x10]
mov r14, qword [r14]
call fcn.14000cd60
mov rdx, rax
test rax, rax
je 0x1400e508d
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x14005eeb3.0]
add rax, 0x18
mov qword [rbp - 0x68], rax
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.14000c4c0
test al, al
jne 0x1400e4aba
test rbx, rbx
jne 0x1400e4a99
mov eax, edi
jmp 0x1400e4aaa
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400e4aa0
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.14000c750
nop
mov rbx, qword [rbp - 0x68]
cmp dword [rbx - 8], 1
jle 0x1400e4ad4
mov edx, dword [rbx - 0x10]
lea rcx, [rbp - 0x68]
call fcn.14000c5e0
mov rbx, qword [rbp - 0x68]
mov ecx, r15d
shl rcx, 7
add rcx, r12
lea rax, [0x1401b2c9c]
add rcx, rax
mov r8d, 0x40
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
inc r15d
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
cmp r15d, 8
jae 0x1400e4b2e
sub eax, 1
jg 0x1400e4b23
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
test r14, r14
jne 0x1400e4a50
jmp 0x1400e4b46
sub eax, 1
jg 0x1400e4b46
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
movups xmm0, xmmword [r13 + 0x60]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [r13 + 0x70]
movups xmmword [rsp + 0x70], xmm1
call fcn.14000cd60
mov rcx, rax
test rax, rax
je 0x1400e508d
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14005eeb3.0]
add rax, 0x18
mov qword [rbp - 0x78], rax
movzx eax, word [rsp + 0x6e]
movzx ecx, word [rsp + 0x6c]
movzx edx, word [rsp + 0x6a]
movzx r10d, word [rsp + 0x68]
movzx r11d, word [rsp + 0x66]
movzx r9d, word [rsp + 0x62]
movzx r8d, word [rsp + 0x60]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea rdx, str._04d._02d._02d__02d._02d._02d__03d
lea rcx, [rbp - 0x78]
call fcn.14000ec90
mov rdx, qword [rbp - 0x78]
cmp dword [rdx - 8], 1
jle 0x1400e4be7
mov edx, dword [rdx - 0x10]
lea rcx, [rbp - 0x78]
call fcn.14000c5e0
mov rdx, qword [rbp - 0x78]
lea r14, [0x1401b2b80]
lea rcx, [r14 + 0x51c]
add rcx, r12
mov r8d, 0x40
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
movzx eax, word [rsp + 0x7e]
movzx ecx, word [rsp + 0x7c]
movzx edx, word [rsp + 0x7a]
movzx r10d, word [rsp + 0x78]
movzx r11d, word [rsp + 0x76]
movzx r9d, word [rsp + 0x72]
movzx r8d, word [rsp + 0x70]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea rdx, str._04d._02d._02d__02d._02d._02d__03d
lea rcx, [rbp - 0x78]
call fcn.14000ec90
mov rdx, qword [rbp - 0x78]
cmp dword [rdx - 8], 1
jle 0x1400e4c6b
mov edx, dword [rdx - 0x10]
lea rcx, [rbp - 0x78]
call fcn.14000c5e0
mov rdx, qword [rbp - 0x78]
lea rcx, [r14 + 0x59c]
add rcx, r12
mov r8d, 0x40
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov rdx, qword [r13 + 0x80]
test rdx, rdx
jne 0x1400e4c91
mov eax, edi
jmp 0x1400e4c9e
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400e4c94
mov r8d, eax
lea rcx, [rbp - 0x78]
call fcn.14000c750
mov rbx, qword [rbp - 0x78]
cmp dword [rbx - 8], 1
jle 0x1400e4cc4
mov edx, dword [rbx - 0x10]
lea rcx, [rbp - 0x78]
call fcn.14000c5e0
mov rbx, qword [rbp - 0x78]
lea rcx, [r14 + 0x61c]
add rcx, r12
mov r8d, 0x40
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov eax, dword [r13 + 0x88]
mov dword [r12 + r14 + 0x69c], eax
mov eax, dword [r13 + 0x8c]
mov dword [r12 + r14 + 0x6a0], eax
mov r9d, dword [r13 + 0x8c]
mov r8d, 0x5cd
lea rdx, str.CSounzReal2AutoSwitch::OnTimer
lea rcx, str._s__d_set_pAppAudioSessionInfo__nPlaybackSr2ScenarioMode__d
call fcn.140075db0
mov eax, dword [r13 + 0x90]
mov dword [r12 + r14 + 0x6a4], eax
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400e4d4d
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
mov r15d, dword [rsp + 0x50]
mov r12, qword [rbp - 0x80]
jmp 0x1400e4d5f
lea r14, [0x1401b2b80]
inc r15d
mov dword [rsp + 0x50], r15d
cmp r15d, 0x10
jae 0x1400e4e93
lea r13, [0x1401b2b80]
jmp 0x1400e4e7d
mov r9d, ebx
mov r8d, 0x590
lea rdx, str.CSounzReal2AutoSwitch::OnTimer
lea rcx, str._s__d_no_data_for_process_id____d
call fcn.140075db0
mov eax, r15d
imul r14, rax, 0x6a8
mov r11d, 1
mov dword [r14 + r13], r11d
mov eax, dword [rdi]
mov dword [r14 + r13 + 4], eax
call fcn.14000cd60
mov rdx, rax
test rax, rax
je 0x1400e508d
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x14005eeb3.0]
add rax, 0x18
mov qword [rbp - 0x70], rax
lea rdx, [0x14011c160]
lea rcx, [rbp - 0x70]
call fcn.14000c4c0
test al, al
jne 0x1400e4e05
xor r8d, r8d
lea rdx, [0x14011c160]
lea rcx, [rbp - 0x70]
call fcn.14000c750
nop
lea rdx, str.no_data
lea rcx, [rbp - 0x70]
call fcn.14000ec90
mov rbx, qword [rbp - 0x70]
cmp dword [rbx - 8], 1
jle 0x1400e4e2f
mov edx, dword [rbx - 0x10]
lea rcx, [rbp - 0x70]
call fcn.14000c5e0
mov rbx, qword [rbp - 0x70]
lea rcx, [r13 + 0x9c]
add rcx, r14
mov r8d, 0x40
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
inc r15d
mov dword [rsp + 0x50], r15d
lea rdx, [rbx - 0x18]
cmp r15d, 0x10
jae 0x1400e4ef3
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400e4e7d
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
test r12, r12
mov r14d, 1
jne 0x1400e4910
lea r14, [0x1401b2b80]
mov r9d, 0x2001f
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000001
lea rcx, [rbp - 0x38]
call fcn.140035040
test eax, eax
jne 0x1400e4f41
mov dword [rsp + 0x28], 0x6a80
mov qword [rsp + 0x20], r14
lea r9d, [rax + 3]
xor r8d, r8d
lea rdx, str.SessionMonitorInfo
mov rbx, qword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
jne 0x1400e4f15
lea rcx, str._s__d_set_SessionMonitorInfo_success
mov r8d, 0x5dd
jmp 0x1400e4f22
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400e4e8c
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
jmp 0x1400e4e8c
lea rcx, [0x14011bca8]
mov r8d, 0x5e0
lea rdx, str.CSounzReal2AutoSwitch::OnTimer
call fcn.140075db0
test rbx, rbx
je 0x1400e4f5e
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rbx, rdi
jmp 0x1400e4f5e
mov r8d, 0x5e5
lea rdx, str.CSounzReal2AutoSwitch::OnTimer
lea rcx, [0x14011bca8]
call fcn.140075db0
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x1400e5060
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x1400e5060
cmp edx, 0x45c
jne 0x1400e5060
call fcn.1400147e0
mov rcx, rax
mov edx, 0x45c
call fcn.1400e8940
call fcn.140014660
mov rcx, rax
call fcn.1400aa410
call fcn.140014660
cmp dword [rax + 0x140], 0
jne 0x1400e4fe6
cmp dword [0x1401b2668], 0
je 0x1400e4fe6
mov rax, qword [0x1401ab9a8]
test byte [rax + 0x1c], 1
jne 0x1400e4fcd
cmp dword [0x1401b266c], 0
je 0x1400e4fe6
mov r8d, 0x49
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.140075db0
call fcn.140014660
mov rbx, qword [rax + 0xe0]
test rbx, rbx
je 0x1400e501d
mov edi, 1
nop dword [rax]
call fcn.140014660
call fcn.140014660
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
mov edx, edi
call fcn.1400e07d0
test rbx, rbx
jne 0x1400e5000
call fcn.140014660
mov ecx, dword [rax + 0x140]
sub ecx, 1
mov dword [rax + 0x140], ecx
jne 0x1400e5042
mov rcx, qword [rax + 0x150]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x1400e5060
cmp ecx, 0x32
jle 0x1400e5060
mov r8d, 0x8b
lea rdx, str.CMMPlatform::AudioDevList_Release
lea rcx, str._s__d_calling_AudioDevList_Release_isnt_matched_AudioDevList_AddRef_or_directly_return_in_EnumAudioDeviceStart_loop
call fcn.140075db0
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400f4410
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000ce90
int3