joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140060380
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r9
mov r14, r8
mov rbp, rdx
test rdx, rdx
jne 0x1400603cd
lea r8d, [rdx + 0x68]
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
xor eax, eax
jmp 0x140060443
test rsi, rsi
jne 0x1400603d8
lea r8d, [rsi + 0x69]
jmp 0x1400603b6
xor eax, eax
mov qword [rsp + 0x50], rax
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x38], r15d
mov edi, 1
mov r9d, edi
mov r8, rbp
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.14001da70
test eax, eax
je 0x14006045c
mov r9, rbp
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.1400430e0
mov edi, r15d
cmp qword [rsp + 0x48], 0
je 0x140060441
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140091f30
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14006042b
cmp dword [rsp + 0x40], 4
jne 0x14006042b
mov eax, dword [rsp + 0x38]
mov dword [rsi], eax
jmp 0x14006042e
Function at 0x1400604b0
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x68
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r15d, r9d
mov r14, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
jne 0x140060506
mov r8d, 0x83
lea rdx, str.CRegClient::SetRegUI4Property
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
xor eax, eax
jmp 0x1400605eb
test r14, r14
jne 0x140060513
mov r8d, 0x84
jmp 0x1400604ec
xor eax, eax
mov qword [rsp + 0x48], rax
xor edi, edi
mov ebx, edi
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x50], rdi
call fcn.140060f30
test eax, eax
jne 0x14006054c
mov rdx, rsi
mov rcx, rbp
call fcn.140060730
test eax, eax
jne 0x14006054c
mov r8d, 0x8d
jmp 0x1400605c1
mov r9d, 2
mov r8, rsi
mov rdx, rbp
lea rcx, [rsp + 0x40]
call fcn.14001da70
test eax, eax
je 0x140060586
mov r8d, 0x92
lea rdx, str.CRegClient::SetRegUI4Property
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
mov rbx, qword [rsp + 0x40]
jmp 0x1400605db
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, r14
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
je 0x1400605d6
mov r8d, 0x96
lea rdx, str.CRegClient::SetRegUI4Property
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
jmp 0x1400605db
mov edi, 1
test rbx, rbx
je 0x1400605e9
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140091f30
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140060610
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x68
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r9
mov r14, r8
mov rbp, qword [rsp + 0xb0]
test rdx, rdx
jne 0x140060665
mov r8d, 0xda
lea rdx, str.CRegClient::GetRegBinary
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
xor eax, eax
jmp 0x140060712
test rbp, rbp
jne 0x140060672
mov r8d, 0xdc
jmp 0x14006064b
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], rax
mov edi, 1
mov r9d, edi
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.14001da70
test eax, eax
je 0x1400606ab
mov r8d, 0xe5
jmp 0x1400606e8
test rsi, rsi
je 0x1400606b5
mov rax, qword [rsi]
jmp 0x1400606b7
xor eax, eax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400606e2
cmp dword [rsp + 0x38], 3
je 0x1400606fd
mov r8d, 0xe9
lea rdx, str.CRegClient::GetRegBinary
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
xor edi, edi
cmp qword [rsp + 0x40], 0
je 0x140060710
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140091f30
add rsp, 0x68
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400607e0
Capabilities:
Delete registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r12d, r9d
mov r15, r8
mov r14, rdx
mov rbp, rcx
xor eax, eax
mov qword [rsp + 0x50], rax
xor edi, edi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x58], rdi
or r9d, 0x20006
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.14001da70
mov esi, eax
mov rbx, qword [rsp + 0x48]
test eax, eax
jne 0x140060876
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov esi, eax
test eax, eax
je 0x1400608a0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r15
mov r8d, 0x142
lea rcx, str._s__d_DeleteValue__x_s_s__nRet_d
jmp 0x14006088c
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], eax
mov r8d, 0x147
lea rcx, str._s__d_Open__x_s__nRet_d_AccMask_x
mov qword [rsp + 0x20], r14
mov r9, rbp
lea rdx, str.CRegClient::DeleteRegValue
call fcn.1400430e0
test rbx, rbx
je 0x1400608b1
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rbx, rdi
test esi, esi
sete dil
test rbx, rbx
je 0x1400608c5
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140091f30
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140060da0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov qword [r11 - 0x78], 0xfffffffffffffffe
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, r9
mov r12, r8
mov r14, rdx
mov rdi, rcx
xor eax, eax
mov qword [r11 - 0x68], rax
xor ebx, ebx
mov ebp, ebx
mov qword [r11 - 0x70], rbx
mov dword [rsp + 0x40], ebx
mov qword [r11 - 0x60], rbx
mov qword [r11 - 0x50], rbx
mov qword [r11 - 0x58], rbx
mov qword [r11 - 0x48], rbx
mov r9d, 0x20019
mov r8, rdx
mov rdx, rcx
lea rcx, [r11 - 0x58]
call fcn.14001da70
mov r15d, ebx
test eax, eax
sete r15b
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140060e24
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test r15d, r15d
jne 0x140060e56
mov rdx, r14
mov rcx, rdi
call fcn.140060730
test eax, eax
jne 0x140060e56
mov r8d, 0x1e3
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
jmp 0x140060ef7
mov r9d, 2
mov r8, r14
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.14001da70
mov edi, eax
mov r9d, eax
mov r8d, 0x1e9
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_nRet_d
call fcn.1400430e0
mov rbp, qword [rsp + 0x38]
test edi, edi
jne 0x140060ef4
test rsi, rsi
jne 0x140060e9d
lea edi, [rsi + 0xd]
jmp 0x140060ed6
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rsi + rax*2], 0
jne 0x140060ea4
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov edi, eax
mov r9d, edi
mov r8d, 0x1f0
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_nRet_d
call fcn.1400430e0
test edi, edi
sete bl
test rbp, rbp
je 0x140060f05
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140091f30
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140061400
Capabilities:
Persist via run registry key

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edi, edi
mov qword [r11 - 0x20], rdi
lea rax, [r11 - 0x48]
mov qword [r11 - 0x30], rax
lea rax, [r11 - 0x40]
mov qword [r11 - 0x28], rax
call fcn.140003db0
mov rcx, rax
test rax, rax
je 0x14006155b
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rsi, str.RtkAudUService
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140005580
lea rbx, [rdi - 1]
test al, al
jne 0x14006149b
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140061480
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140003840
nop
call fcn.140003db0
mov rcx, rax
test rax, rax
je 0x140061550
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rsi, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.140005580
test al, al
jne 0x1400614f1
mov rax, rbx
inc rax
cmp word [rsi + rax*2], 0
jne 0x1400614d6
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.140003840
nop
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.140060a90
mov rax, qword [rsp + 0x48]
cmp dword [rax - 0x10], 0
setne dil
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140061531
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140091f30
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x80004005
call fcn.140003b40
nop
mov ecx, 0x80004005
call fcn.140003b40
int3
Function at 0x140061f70
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x140061fa8
mov r8d, 0x100
lea rdx, str.CRegPKeyReWriter::OnRemoveDevice
lea rcx, str._s__d_RETURN_ON_FALSE
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400430e0
mov ecx, dword [rdx + 0x184]
mov qword [rsp + 0x30], rbx
lea eax, [rcx - 1]
test eax, 0xfffffffd
je 0x14006202f
cmp ecx, 4
jne 0x140062021
mov rbx, qword [rdx + 0x138]
call fcn.1400053c0
mov rcx, rax
mov r8, rbx
mov rdx, 0xffffffff80000002
call fcn.14006d870
test rax, rax
je 0x140061ff2
lea rcx, [rax + 0x20]
lea rdx, [rsi - 8]
call fcn.140009ef0
call fcn.140009c60
test dword [rax + 0xac], 0x100
jne 0x140062018
call fcn.140009c60
test dword [rax + 0xb0], 0x20000
je 0x1400620a0
mov rbx, qword [rdi + 0x130]
jmp 0x140062077
cmp ecx, 5
jne 0x1400620a0
mov rbx, qword [rdx + 0x130]
jmp 0x140062077
mov rbx, qword [rdx + 0x130]
call fcn.1400053c0
mov rcx, rax
mov r8, rbx
mov rdx, 0xffffffff80000002
call fcn.14006d870
test rax, rax
je 0x14006205f
lea rcx, [rax + 0x20]
lea rdx, [rsi - 8]
call fcn.140009ef0
call fcn.140009c60
test dword [rax + 0x184], 0x10000000
je 0x1400620a0
mov rbx, qword [rdi + 0x138]
call fcn.1400053c0
mov r8, rbx
mov rdx, 0xffffffff80000002
mov rcx, rax
call fcn.14006d870
test rax, rax
je 0x1400620a0
lea rdx, [rsi - 8]
lea rcx, [rax + 0x20]
call fcn.140009ef0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140062ed0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
call fcn.140009e20
mov rcx, rax
call fcn.14006b4e0
call fcn.140009e20
cmp dword [rax + 0x138], 0
jne 0x140062f29
cmp dword [0x140103eac], 0
je 0x140062f29
cmp dword [0x140103ea8], 0
jne 0x140062f10
mov rax, qword [0x1400ff930]
test byte [rax + 0x1c], 1
je 0x140062f29
mov r8d, 0x3b
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.1400430e0
call fcn.140009e20
mov rbx, qword [rax + 0xd8]
test rbx, rbx
je 0x140062f65
nop word [rax + rax]
call fcn.140009e20
call fcn.140009e20
test rbx, rbx
je 0x140062fb5
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140062f60
call fcn.1400631f0
test rbx, rbx
jne 0x140062f40
call fcn.140009e20
sub dword [rax + 0x138], 1
mov ecx, dword [rax + 0x138]
jne 0x140062f8c
mov rcx, qword [rax + 0x148]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
cmp ecx, 0x32
jle 0x140062faf
mov r8d, 0x81
lea rdx, str.CMMPlatform::AudioDevList_Release
lea rcx, str._s__d_calling_AudioDevList_Release_isnt_matched_AudioDevList_AddRef_or_directly_return_in_EnumAudioDeviceStart_loop
add rsp, 0x20
pop rbx
jmp fcn.1400430e0
add rsp, 0x20
pop rbx
ret
mov ecx, 0x80004005
call fcn.140003b40
int3
Function at 0x1400638b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
test rdx, rdx
jne 0x1400638e8
mov r8d, 0x186
lea rdx, str.CRtkAudioDriverHelper::OnEndpointVolumeChanged
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400430e0
test rbx, rbx
jne 0x1400638f5
mov r8d, 0x187
jmp 0x1400638cb
call fcn.140009c60
test byte [rax + 0x50], 0x10
je 0x140063938
call fcn.140009e20
mov rdx, rdi
call fcn.14006c450
test rax, rax
je 0x140063938
cmp dword [rax + 0x150], 0
je 0x140063938
cmp dword [rax + 0x158], 0
jne 0x140063938
cmp dword [rax + 0x154], 0
jne 0x140063938
mov edx, dword [rbx + 0x10]
mov rcx, rax
call fcn.140063720
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140063bb0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, r8d
mov rsi, rcx
call fcn.140009c60
cmp ebx, 0x2c
jne 0x140063d0f
mov qword [rsp + 0x78], rbp
xor ebp, ebp
cmp dword [0x1401051d8], ebp
mov dword [rsp + 0x50], ebp
jle 0x140063c1b
movups xmm0, xmmword [0x1400b01d0]
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
xor r8d, r8d
lea edx, [rbx + 0xc]
lea rcx, [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm0
call fcn.140067ee0
jmp 0x140063c8f
mov eax, dword [0x1401051a8]
mov dword [rsp + 0x54], ebp
test eax, eax
jg 0x140063c44
mov r8d, 0x376
lea rdx, str.CDriverPropertyClient::KsProperty
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
jmp 0x140063c8f
movups xmm0, xmmword [0x1400b01d0]
movaps xmmword [rsp + 0x40], xmm0
test eax, eax
jle 0x140063d2a
mov rcx, qword [0x1401051a0]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x38]
call fcn.1400686e0
cmp dword [rsp + 0x50], ebp
lea rdx, str.CRtkAudioDriverHelperForNormalUser::IsACPowerStateChanged
mov ebx, dword [rsi + 0x40]
lea rcx, str._s_PowerStateChange_d_SysPowerState_d_DrvAcPowerState_d
mov qword [rsp + 0x80], rdi
mov r8d, ebp
mov edi, ebp
mov r9d, ebx
sete dil
cmp ebx, edi
mov dword [rsp + 0x20], edi
setne r8b
call fcn.1400430e0
cmp ebx, edi
mov dword [rsi + 0x40], edi
mov rdi, qword [rsp + 0x80]
je 0x140063d0a
call fcn.140009e20
mov edx, 1
call fcn.14006c980
mov r9, rsi
mov qword [rsp + 0x28], rbp
lea r8, [0x140063d40]
mov qword [rsi + 0x38], rax
xor edx, edx
mov dword [rsp + 0x20], ebp
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rsi + 0x48], rax
mov rbp, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140091f30
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rsi
ret
mov edx, 1
mov ecx, 0xc000008c
call fcn.140011ae0
int3

Function at 0x14006b560
Capabilities:
Print debug messages

Disassembly:
sub dword [rcx + 0x138], 1
mov eax, dword [rcx + 0x138]
jne 0x14006b57d
mov rcx, qword [rcx + 0x148]
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
cmp eax, 0x32
jle 0x14006b59b
mov r8d, 0x81
lea rdx, str.CMMPlatform::AudioDevList_Release
lea rcx, str._s__d_calling_AudioDevList_Release_isnt_matched_AudioDevList_AddRef_or_directly_return_in_EnumAudioDeviceStart_loop
jmp fcn.1400430e0
ret
Function at 0x14006b840
Capabilities:
Print debug messages

Disassembly:
push rdi
push r14
sub rsp, 0x28
mov rdi, rcx
call fcn.14006c450
mov qword [rsp + 0x50], rax
mov r14, rax
test rax, rax
jne 0x14006b87d
mov r8d, 0xf9
lea rdx, str.CMMPlatform::OnDeviceRemoved
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x28
pop r14
pop rdi
jmp fcn.1400430e0
mov rcx, qword [rdi + 0x140]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
lea rcx, [rdi + 0xa0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov ebx, dword [rdi + 0x138]
lea rcx, [rdi + 0xa0]
mov dword [rdi + 0x13c], 1
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
test ebx, ebx
jle 0x14006b8d4
mov rcx, qword [rdi + 0x148]
mov edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
lea rdx, [rdi + 0xd8]
mov rcx, qword [rdx]
test rcx, rcx
je 0x14006b967
cmp qword [rcx + 0x10], r14
je 0x14006b8f7
mov rcx, qword [rcx]
test rcx, rcx
jne 0x14006b8e7
jmp 0x14006b967
mov r8, qword [rcx]
cmp rcx, qword [rdx]
jne 0x14006b904
mov qword [rdx], r8
jmp 0x14006b90b
mov rax, qword [rcx + 8]
mov qword [rax], r8
mov r8, qword [rcx + 8]
cmp rcx, qword [rdx + 8]
jne 0x14006b91b
mov qword [rdx + 8], r8
jmp 0x14006b922
mov rax, qword [rcx]
mov qword [rax + 8], r8
mov rax, qword [rdx + 0x20]
mov qword [rcx], rax
sub qword [rdx + 0x10], 1
mov qword [rdx + 0x20], rcx
jne 0x14006b93c
mov rcx, rdx
call fcn.14000aa00
lea rcx, [rdi + 0xa0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rdi + 0x108]
lea rdx, [rsp + 0x50]
call fcn.140005800
lea rcx, [rdi + 0xa0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x140]
mov qword [rsp + 0x48], rbp
mov dword [rdi + 0x13c], 0
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
inc dword [rdi + 0x9c]
mov rsi, qword [rdi + 0x38]
test rsi, rsi
je 0x14006b9f7
cmp dword [rdi + 0x98], 0
jne 0x14006b9f7
lea rcx, [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
test rsi, rsi
je 0x14006ba50
cmp qword [rdi + 0x78], 0
mov rbx, qword [rsi + 0x10]
mov rsi, qword [rsi]
jbe 0x14006b9d7
mov rax, qword [rdi + 0x68]
test rax, rax
je 0x14006b9d7
cmp qword [rax + 0x10], rbx
je 0x14006b9d5
mov rax, qword [rax]
test rax, rax
jne 0x14006b9c5
jmp 0x14006b9d7
xor ebx, ebx
lea rcx, [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14006b9f2
mov rax, qword [rbx]
mov rdx, r14
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test rsi, rsi
jne 0x14006b992
dec dword [rdi + 0x9c]
lea rcx, [rdi + 0x10]
call fcn.140009d30
mov dword [rdi + 0xd0], 1
call fcn.140009f90
mov rcx, rax
mov edx, 0x3f5
call fcn.140087ca0
call fcn.140009f90
mov rcx, rax
mov edx, 0x3f5
mov r8d, 0x2710
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rdi
jmp fcn.140087ab0
mov ecx, 0x80004005
call fcn.140003b40
int3
Function at 0x14006ba60
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
call fcn.140009e20
mov rcx, rax
call fcn.14006b4e0
call fcn.140009e20
cmp dword [rax + 0x138], 0
jne 0x14006bab9
cmp dword [0x140103eac], 0
je 0x14006bab9
cmp dword [0x140103ea8], 0
jne 0x14006baa0
mov rax, qword [0x1400ff930]
test byte [rax + 0x1c], 1
je 0x14006bab9
mov r8d, 0x3b
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.1400430e0
call fcn.140009e20
mov rbx, qword [rax + 0xd8]
test rbx, rbx
je 0x14006bafe
nop word [rax + rax]
call fcn.140009e20
call fcn.140009e20
test rbx, rbx
je 0x14006bb4e
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x14006baf9
cmp dword [rcx + 0x150], 0
jne 0x14006baf9
call fcn.14000caf0
test rbx, rbx
jne 0x14006bad0
call fcn.140009e20
sub dword [rax + 0x138], 1
mov ecx, dword [rax + 0x138]
jne 0x14006bb25
mov rcx, qword [rax + 0x148]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
cmp ecx, 0x32
jle 0x14006bb48
mov r8d, 0x81
lea rdx, str.CMMPlatform::AudioDevList_Release
lea rcx, str._s__d_calling_AudioDevList_Release_isnt_matched_AudioDevList_AddRef_or_directly_return_in_EnumAudioDeviceStart_loop
add rsp, 0x20
pop rbx
jmp fcn.1400430e0
add rsp, 0x20
pop rbx
ret
mov ecx, 0x80004005
call fcn.140003b40
int3
Function at 0x14006d320
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, qword [rcx + 0x4e8]
mov rsi, rdx
mov rdi, rcx
test rbx, rbx
je 0x14006d36f
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x14006d36a
add rcx, 4
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
test eax, eax
je 0x14006d568
test rbx, rbx
jne 0x14006d349
mov qword [rsp + 0x70], rbp
mov ecx, BSTR_UserUnmarshal
mov qword [rsp + 0x78], r14
call fcn.14009255c
xor edx, edx
mov r8d, BSTR_UserFree
mov rcx, rax
mov rbx, rax
call fcn.140098800
lea rbp, [rbx + 4]
mov edx, 0x7f
mov rcx, rbp
sub rsi, rbp
nop word [rax + rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x14006d3d4
movzx eax, word [rsi + rcx]
test ax, ax
je 0x14006d3d4
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14006d3b0
jmp 0x14006d3d9
test rdx, rdx
jne 0x14006d3dd
sub rcx, 2
xor r14d, r14d
mov word [rcx], r14w
cmp dword [rdi + 0x4e0], r14d
je 0x14006d47b
mov rcx, qword [rdi + 0x4c8]
mov r9, rbx
mov qword [rsp + 0x28], r14
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14006d471
mov eax, dword [rbx]
cmp eax, 4
je 0x14006d439
cmp eax, 0xb
jne 0x14006d47b
lea r8, [rbx + 0x108]
mov rdx, rbp
lea rcx, [rdi + 0x4c8]
call fcn.14006db70
jmp 0x14006d47b
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0x108]
mov rcx, qword [rdi + 0x4c8]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
jmp 0x14006d47b
mov dword [rbx + 0x110], 1
mov rsi, qword [rdi + 0x4f0]
mov rbp, qword [rsp + 0x70]
cmp qword [rdi + 0x508], r14
jne 0x14006d521
mov ecx, dword [rdi + 0x510]
test rcx, rcx
jne 0x14006d4a4
mov rcx, r14
jmp 0x14006d4c2
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 0x18
jb 0x14006d57d
lea rcx, [rcx + rcx*2]
shl rcx, 3
add rcx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14006d57d
mov rcx, qword [rdi + 0x500]
mov qword [rax], rcx
mov qword [rdi + 0x500], rax
mov r8d, dword [rdi + 0x510]
lea ecx, [r8 - 1]
lea rdx, [rcx*2 + 1]
add rdx, rcx
sub r8d, 1
lea rdx, [rax + rdx*8]
js 0x14006d521
mov rax, qword [rdi + 0x508]
mov qword [rdx], rax
mov qword [rdi + 0x508], rdx
sub rdx, 0x18
sub r8d, 1
jns 0x14006d506
mov rcx, qword [rdi + 0x508]
mov rax, qword [rcx]
mov qword [rcx + 0x10], rbx
mov qword [rdi + 0x508], rax
mov qword [rcx + 8], rsi
mov qword [rcx], r14
inc qword [rdi + 0x4f8]
mov rax, qword [rdi + 0x4f0]
test rax, rax
je 0x14006d555
mov qword [rax], rcx
jmp 0x14006d55c
mov qword [rdi + 0x4e8], rcx
mov r14, qword [rsp + 0x78]
mov qword [rdi + 0x4f0], rcx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140091f30
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x8007000e
call fcn.140003b40
int3