joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006a940
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
mov r8d, 0x86
lea rdx, str.CIndependentVolumeMgr::InitForAllIndepUsbHPVol
lea rcx, [0x140102ba8]
call fcn.14006dd20
cmp dword [0x14018026c], 0
je 0x14006ab10
cmp dword [0x140180268], 1
je 0x14006ab10
mov qword [rsp + 0x30], rdi
call fcn.14000bd10
mov rcx, rax
call fcn.1400a1a60
call fcn.14000bd10
cmp dword [rax + 0x140], 0
jne 0x14006a9cf
cmp dword [0x140180270], 0
je 0x14006a9cf
cmp dword [0x140180274], 0
jne 0x14006a9b6
mov rax, qword [0x140179638]
test byte [rax + 0x1c], 1
je 0x14006a9cf
mov r8d, 0x3e
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.14006dd20
call fcn.14000bd10
mov rdi, qword [rax + 0xe0]
test rdi, rdi
je 0x14006aaf5
mov qword [rsp + 0x40], rbx
nop dword [rax]
call fcn.14000bd10
call fcn.14000bd10
mov rbx, qword [rdi + 0x10]
mov rdi, qword [rdi]
test rbx, rbx
je 0x14006aa71
mov eax, dword [rbx + 0x1ac]
lea rdx, str.CIndependentVolumeMgr::InitForAllIndepUsbHPVol
mov r9, qword [rbx + 0x168]
lea rcx, str._s__d___EndPoint___s__FormFactor___d
mov r8d, 0x94
mov dword [rsp + 0x20], eax
call fcn.14006dd20
cmp dword [rbx + 0x178], 0
je 0x14006aa71
mov eax, dword [rbx + 0x1ac]
dec eax
test eax, 0xfffffffd
jne 0x14006aa71
mov r9d, dword [rbx + 0x184]
lea rdx, str.CIndependentVolumeMgr::InitForAllIndepUsbHPVol
mov r8d, 0xa0
lea rcx, str._s__d___pAudDev__m_dwDeviceState___d
call fcn.14006dd20
cmp dword [rbx + 0x184], 1
je 0x14006aa7c
test rdi, rdi
jne 0x14006a9f0
jmp 0x14006aaf0
mov r8d, 0xa7
lea rdx, str.CIndependentVolumeMgr::InitForAllIndepUsbHPVol
lea rcx, [0x140102ba8]
call fcn.14006dd20
mov rcx, rbx
call fcn.14006b780
test eax, eax
je 0x14006aaf0
mov r8d, 0xac
lea rdx, str.CIndependentVolumeMgr::InitForAllIndepUsbHPVol
lea rcx, [0x140102ba8]
call fcn.14006dd20
mov rax, qword [0x140178490]
lea r8, str.InitUsbHpSpkVol
mov r9d, 1
mov dword [0x140180268], 1
lea rdx, str.Others
lea rcx, [0x140178490]
mov rax, qword [rax + 0x28]
call qword [case.0x140050923.0]
mov rbx, qword [rsp + 0x40]
call fcn.14000bd10
mov rcx, rax
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
jmp fcn.1400a1ae0
add rsp, 0x38
ret
Function at 0x14006ab50
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x54], 0
mov rbx, rdx
mov rdi, rcx
je 0x14006ad30
mov rax, qword [r8]
cmp rax, qword [0x1400fdbd0]
jne 0x14006ab8f
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400fdbd8]
jne 0x14006ab8f
cmp dword [r8 + 0x10], 4
je 0x14006abbb
mov rax, qword [r8]
cmp rax, qword [0x1400fdb88]
jne 0x14006ad30
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400fdb90]
jne 0x14006ad30
cmp dword [r8 + 0x10], 6
jne 0x14006ad30
call fcn.14000bd10
mov rdx, rbx
call fcn.1400a39e0
cmp dword [rdi + 0x48], 0
mov rsi, rax
je 0x14006ac65
call fcn.14000bb10
cmp dword [rax + 0x80], 0
je 0x14006abf7
call fcn.14000bb10
mov rcx, rax
lea rdx, [rax + 0x2fc]
call fcn.14009a770
call fcn.14000bb10
test dword [rax + 0x2fc], 0x100
je 0x14006ac65
test rsi, rsi
je 0x14006adde
cmp dword [rsi + 0x1ac], 1
jne 0x14006adde
lea rcx, [rsi + 0x10]
mov r9d, 5
lea r8, [rsp + 0x30]
lea rdx, [0x1400fdbd0]
call fcn.140002b90
mov r9d, dword [rsp + 0x30]
lea rdx, str.CAudioDevice::IsInHeadphonesMode
mov r8d, eax
lea rcx, str._s_bSuccess_d_dwHpMode_d
mov ebx, eax
call fcn.14006dd20
test ebx, ebx
je 0x14006ac65
cmp dword [rsp + 0x30], 0
jne 0x14006adde
mov r8d, 0x106
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x140102ba8]
call fcn.14006dd20
mov dword [rdi + 0x38], 1
call fcn.14000be90
mov edx, 0x3f7
mov rcx, rax
lea r8d, [rdx - 0xf]
call fcn.1400d3e30
test rsi, rsi
je 0x14006adde
cmp dword [rsi + 0x178], 0
je 0x14006ad12
cmp dword [0x14018026c], 0
je 0x14006adde
cmp dword [0x140180268], 0
jne 0x14006ad12
mov r8d, 0x112
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x140102ba8]
call fcn.14006dd20
call fcn.14006a940
cmp dword [0x140180268], 0
jne 0x14006ad12
mov r8d, BSTR_UserMarshal
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x140102ba8]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14006dd20
lea rcx, [rdi + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rdi - 0x18]
xor r9d, r9d
mov rdx, rsi
call fcn.14006bfd0
jmp 0x14006add4
cmp dword [rcx + 0x58], 0
je 0x14006adde
mov rax, qword [r8]
cmp rax, qword [0x1400fdba0]
jne 0x14006adde
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400fdba8]
jne 0x14006adde
cmp dword [r8 + 0x10], 0x11
jne 0x14006adde
mov r8d, 0x12a
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x140102ba8]
call fcn.14006dd20
mov dword [rdi + 0x38], 1
call fcn.14000be90
mov edx, 0x3f7
mov rcx, rax
lea r8d, [rdx - 0xf]
call fcn.1400d3e30
call fcn.14000bd10
mov rdx, rbx
call fcn.1400a39e0
mov rsi, rax
test rax, rax
je 0x14006adde
cmp dword [rax + 0x178], 1
jne 0x14006adbf
cmp dword [0x14018026c], 0
je 0x14006adde
lea rcx, [rdi + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
xor r9d, r9d
mov rdx, rsi
call fcn.14006cbc0
lea rcx, [rdi + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14006af40
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
test rdx, rdx
je 0x14006afa8
cmp dword [rdx + 0x178], 1
jne 0x14006afa8
cmp dword [0x140180268], 0
jne 0x14006afa8
cmp dword [0x14018026c], 0
je 0x14006afa8
mov r8d, 0x17a
lea rdx, str.CIndependentVolumeMgr::OnAddDevice
lea rcx, [0x140102ba8]
call fcn.14006dd20
call fcn.14006a940
cmp dword [0x140180268], 0
jne 0x14006afa8
mov r8d, 0x17f
lea rdx, str.CIndependentVolumeMgr::OnAddDevice
lea rcx, [0x140102ba8]
add rsp, 0x28
jmp fcn.14006dd20
add rsp, 0x28
ret
Function at 0x14006e090
Capabilities:
Print debug messages

Disassembly:
mov ecx, 1
mov dword [0x1401780fc], 0
jmp 0x14006e090
push rbx
sub rsp, 0x20
cmp dword [0x1401802a4], 0
mov ebx, ecx
jne 0x14006e149
lea rcx, [0x140180278]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
cmp ebx, 1
jne 0x14006e117
cmp dword [0x140180274], 0
mov dword [0x1401802a0], ebx
je 0x14006e12a
cmp dword [0x140178388], 0
je 0x14006e108
mov rdx, qword [0x1401802a8]
test rdx, rdx
jne 0x14006e0ec
call fcn.14006d350
mov rdx, qword [0x1401802a8]
test rdx, rdx
je 0x14006e136
mov rcx, qword [0x140181ae8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov rcx, qword [0x1401802a8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x14006e12a
mov rcx, qword [0x140181ae8]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
jmp 0x14006e12a
xor edx, edx
mov dword [0x1401802a0], 0
xor ecx, ecx
call fcn.14006da80
lea rcx, [0x140181ae8]
call fcn.140004920
lea rcx, [0x140180278]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
add rsp, 0x20
pop rbx
ret
Function at 0x140073fd0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.140004e00
mov rcx, rax
test rax, rax
je 0x140074210
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140050923.0]
add rax, 0x18
mov qword [rsp + 0x40], rax
call fcn.1400221c0
mov rbp, rax
mov esi, SafeArrayUnaccessData
xor r14d, r14d
mov r9d, esi
lea r8, str.SoftwareRealtekAudioGUI_INFORMATIONJackInfomation
lea rdx, str._sJack_d
lea rcx, [rsp + 0x40]
call fcn.140006d30
mov dword [rsp + 0x30], r14d
lea r9, [rsp + 0x30]
lea r8, str.Docking
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call fcn.1400902e0
cmp dword [rsp + 0x30], 0
je 0x1400741b7
test rbp, rbp
je 0x1400740a4
cmp esi, 0x21
jae 0x1400740a4
mov eax, esi
lea rcx, [rax + rax*2]
lea rax, [rbp + 0xa0]
lea rax, [rax + rcx*4]
test rax, rax
je 0x1400740a4
cmp dword [rax], 0
jne 0x1400741b7
test rbx, rbx
jne 0x1400740c7
mov r8d, 0xc0
lea rdx, str.CRegClient::SetRegUI4PropertyNoCreateKey
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14006dd20
jmp 0x14007419b
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x58], r14
mov rdx, rbx
mov rcx, 0xffffffff80000002
call fcn.140091390
test eax, eax
jne 0x1400740f6
jmp 0x14007419b
mov r9d, 2
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.14002b400
test eax, eax
je 0x14007413a
mov r8d, 0xce
lea rdx, str.CRegClient::SetRegUI4PropertyNoCreateKey
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14006dd20
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14007419b
jmp 0x140074195
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.JackStatus
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
je 0x14007418d
mov r8d, 0xd2
lea rdx, str.CRegClient::SetRegUI4PropertyNoCreateKey
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14006dd20
nop
test rdi, rdi
je 0x14007419b
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r9d, esi
mov r8d, 0x107
lea rdx, str.CJackInfoRegWriter::DeleteUSBJackPlugStatusInReg
lea rcx, str._s__d_UIJackIndex_d_PlugState0
call fcn.14006dd20
inc esi
cmp esi, 0x20
jl 0x140074030
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400741e8
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400df340
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov ecx, 0x80004005
call fcn.140004f30
int3
Function at 0x140076270
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov edi, edx
mov rcx, qword [rcx + 0x250]
call fcn.1400703d0
test eax, eax
jne 0x1400762b2
mov r8d, 0x26d
lea rdx, str.CJackMgr::UpdateOneJack
lea rcx, str._s__d_EXIT_ON_FALSE
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14006dd20
mov rcx, qword [rbx + 0x250]
add rcx, 0x10
call fcn.1400508c0
mov rcx, qword [rbx + 0x250]
cmp edi, dword [rcx + 0x80]
jne 0x1400762f1
mov rax, qword [rbx]
mov r8d, 1
mov edx, dword [rcx + 0x7c]
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x140050923.0]
mov rcx, qword [rbx + 0x250]
cmp edi, dword [rcx + 0x78]
jne 0x140076316
mov rax, qword [rbx]
mov r8d, 1
mov edx, dword [rcx + 0x74]
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x140050923.0]
mov rcx, qword [rbx + 0x250]
lock dec dword [rcx + 0x28]
mov eax, dword [rcx + 0x28]
jne 0x140076334
mov rcx, qword [rcx + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov eax, dword [rcx + 0x28]
cmp eax, 0x32
jle 0x140076355
mov r8d, 0x6a
lea rdx, str.CDataAccessProtector::FinishAccess
lea rcx, str._s__d_calling_FinishAccess_isnt_matched_RequestAccess_or_directly_return_in_EnumAudioDeviceStart_loop
call fcn.14006dd20
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400768d0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
mov ebx, r8d
mov rbp, rdx
mov rdi, rcx
cmp r8d, 0xf
jg 0x1400769cd
mov qword [rsp + 0x30], rsi
call fcn.14002fcd0
mov rsi, rax
test rax, rax
jne 0x140076932
mov r8d, 0x578
lea rdx, str.CJackMgr::OnDriverEvent
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.14006dd20
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
lfence
mov rcx, rbp
call fcn.14009d8b0
movsxd rcx, eax
test eax, eax
jns 0x140076982
lfence
mov rcx, rbp
call fcn.14009f610
test eax, eax
js 0x1400769be
cmp eax, 9
jl 0x1400769b5
mov r8d, 0x6ea
lea rdx, str.CJackInfo::MapRealUsbPinIndex
lea rcx, str._s__d_RETURN_VALUE_ON_FALSE
call fcn.14006dd20
mov ebx, 0xffffffff
mov rcx, rdi
mov edx, ebx
call fcn.140076360
jmp 0x14007691d
mov eax, 0xffffffff
test ecx, ecx
jle 0x14007694f
cmp ecx, 9
jl 0x14007699f
mov r8d, 0x6e3
lea rdx, str.CJackInfo::MapRealHdaPinIndex
jmp 0x140076965
add ebx, dword [rsi + rcx*4 + 0x1730]
mov rcx, rdi
mov edx, ebx
call fcn.140076360
jmp 0x14007691d
cdqe
add ebx, dword [rsi + rax*4 + 0x1754]
mov edx, ebx
mov rcx, rdi
call fcn.140076360
jmp 0x14007691d
cmp ebx, 0x11
jne 0x140076922
call fcn.14002fcd0
mov rcx, rdi
mov qword [rdi + 0x250], rax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.140075cc0

Function at 0x140076a00
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.14002fcd0
mov rcx, rbx
mov qword [rbx + 0x250], rax
add rsp, 0x20
pop rbx
jmp fcn.140075cc0
Function at 0x140078e30
Capabilities:
Log keystrokes via application hook

Disassembly:
push rbx
sub rsp, 0x20
xor r9d, r9d
lea rdx, [0x140078ec0]
mov rbx, rcx
xor r8d, r8d
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov r8d, 0x54
lea rdx, str.CLowLevelKeyboardEventNotify::RegisterLLKeyboard
lea rcx, [0x140102ba8]
mov qword [rbx + 0xb8], rax
call fcn.14006dd20
cmp qword [rbx + 0xb8], 0
jne 0x140078eb0
mov r8d, 0x58
lea rdx, str.CLowLevelKeyboardEventNotify::RegisterLLKeyboard
lea rcx, str._s__d_set_hook_fail__
call fcn.14006dd20
call fcn.14000be90
mov rcx, rax
mov edx, 0x42e
mov r8d, 0x1388
add rsp, 0x20
pop rbx
jmp fcn.1400d3e30
add rsp, 0x20
pop rbx
ret
Function at 0x14007ced0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp dword [rcx + 0x38], 0
mov ebx, edx
jne 0x14007cf05
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400df340
add rsp, 0x60
pop rbx
ret
mov qword [rsp + 0x70], rdi
lea r8, str.SOFTWARERealtekAudioWOV
xor edi, edi
lea rcx, [rsp + 0x38]
mov r9d, 0x2001f
mov qword [rsp + 0x40], rdi
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], rdi
call fcn.14002b400
test eax, eax
jne 0x14007cf99
mov eax, edi
mov dword [rsp + 0x28], 4
test ebx, ebx
lea r9d, [rdi + 4]
mov rbx, qword [rsp + 0x38]
lea rdx, str.DefaultKeywordGlobalStatus
setne al
mov rcx, rbx
mov dword [rsp + 0x30], eax
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
je 0x14007cf84
test rbx, rbx
je 0x14007cfa9
mov rcx, rbx
jmp 0x14007cfa3
test rbx, rbx
je 0x14007cf92
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, 1
jmp 0x14007cfab
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14007cfa9
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400df340
add rsp, 0x60
pop rbx
ret

Function at 0x14007d260
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
call fcn.14007d0f0
xor ecx, ecx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, [0x14007d2c0]
mov r9, rbx
mov dword [rsp + 0x20], ecx
xor edx, edx
mov dword [rbx + 0x88], ecx
mov dword [rsp + 0x30], ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbx + 0x78], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400df340
add rsp, 0x40
pop rbx
ret
Function at 0x140081c70
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
test rcx, rcx
jne 0x140081cb7
lea r8d, [rcx + 0x73]
lea rcx, str._s__d_RETURN_ON_FALSE
lea rdx, str.CNamedPipeHelper::SendPipeMessage
call fcn.14006dd20
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400df340
add rsp, 0x50
pop rbx
ret
mov qword [rsp + 0x30], 0
lea rcx, str..pipeRtkAudUServiceNamedPipe
mov dword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
mov qword [rsp + 0x68], rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140081d4c
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, 0x208
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
mov ecx, dword [rsp + 0x40]
lea rdx, str.CNamedPipeHelper::SendPipeMessage
mov r9d, dword [rbx]
mov r8d, 0x85
mov dword [rsp + 0x28], ecx
mov ecx, dword [rbx + 4]
mov dword [rsp + 0x20], ecx
lea rcx, str._s__d_dwEventId_x_nIndex_d_dwWritten_d
call fcn.14006dd20
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x140081d76
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea r9, str..pipeRtkAudUServiceNamedPipe
mov r8d, 0x8c
lea rdx, str.CNamedPipeHelper::SendPipeMessage
mov dword [rsp + 0x20], eax
lea rcx, str._s__d_CreateFile__s__Err_d
call fcn.14006dd20
mov rdi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400df340
add rsp, 0x50
pop rbx
ret

Function at 0x140082160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rbx, rdx
mov rcx, rdx
call fcn.1400dd510
test eax, eax
je 0x14008221b
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0x22]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
je 0x14008221b
xor edi, edi
lea r8, [0x14010c340]
mov rcx, rax
lea edx, [rdi + 0x66]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x140082206
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
test eax, eax
je 0x140082206
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x140082206
mov rdx, rax
mov rcx, rbp
call fcn.140081f90
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
mov eax, 1
jmp 0x14008221d
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
test rdi, rdi
je 0x14008221b
mov eax, 1
jmp 0x14008221d
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400840a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, edx
mov rsi, rcx
cmp edx, 0xffffffff
je 0x14008410a
movsxd rax, dword [rcx + 0x68]
mov byte [rax + rcx + 0x6c], dil
mov eax, dword [rcx + 0x68]
inc eax
mov dword [rcx + 0x68], eax
cmp edx, 0xa
je 0x1400840d1
cmp eax, 0x200
jne 0x140084114
add rcx, 0x6c
mov qword [rsp + 0x30], rbx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
xor edx, edx
lea rcx, [rsi + 0x6c]
mov r8d, 0x200
call fcn.1400e5b40
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [rsi + 0x68], 0
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
add rcx, 0x6c
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov rsi, qword [rsp + 0x38]
mov eax, edi
add rsp, 0x20
pop rdi
ret
Function at 0x14008fcb0
Capabilities:
Print debug messages

Disassembly:
push rsi
sub rsp, 0x20
mov esi, edx
mov qword [rsp + 0x38], rdi
mov r9d, edx
lea rcx, str._s__d_bMute_d
lea rdx, str.CPrivacyMute::ControlMuteAll
mov r8d, 0x95
call fcn.14006dd20
call fcn.14000bd10
mov rcx, rax
call fcn.1400a1a60
call fcn.14000bd10
cmp dword [rax + 0x140], 0
jne 0x14008fd2c
cmp dword [0x140180270], 0
je 0x14008fd2c
cmp dword [0x140180274], 0
jne 0x14008fd13
mov rax, qword [0x140179638]
test byte [rax + 0x1c], 1
je 0x14008fd2c
mov r8d, 0x3e
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.14006dd20
call fcn.14000bd10
mov rdi, qword [rax + 0xe0]
test rdi, rdi
je 0x14008fd9d
mov qword [rsp + 0x30], rbx
call fcn.14000bd10
call fcn.14000bd10
mov rbx, qword [rdi + 0x10]
mov rdi, qword [rdi]
test rbx, rbx
je 0x14008fd93
cmp dword [rbx + 0x184], 1
jne 0x14008fd93
mov rcx, rbx
call fcn.1400178a0
test eax, eax
jne 0x14008fd93
lea rcx, [rbx + 0xc8]
call fcn.140010930
mov r8, rax
test rax, rax
je 0x14008fd93
mov rcx, qword [rax]
mov edx, esi
mov rax, qword [rcx + 0x10]
mov rcx, r8
call qword [case.0x140050923.0]
test rdi, rdi
jne 0x14008fd42
mov rbx, qword [rsp + 0x30]
call fcn.14000bd10
mov rdi, qword [rsp + 0x38]
sub dword [rax + 0x140], 1
mov ecx, dword [rax + 0x140]
jne 0x14008fdc5
mov rcx, qword [rax + 0x150]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x14008fde3
cmp ecx, 0x32
jle 0x14008fde3
mov r8d, 0x80
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.14006dd20
mov r9d, esi
lea rdx, str.CPrivacyMute::ControlMuteAll
mov r8d, 0xa6
lea rcx, str._s__d_bMute_d
add rsp, 0x20
pop rsi
jmp fcn.14006dd20
Function at 0x1400902e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r9
mov r14, r8
mov rbp, rdx
test rdx, rdx
jne 0x140090324
lea r8d, [rdx + 0x68]
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14006dd20
xor eax, eax
jmp 0x14009039b
test rsi, rsi
jne 0x14009032f
lea r8d, [rsi + 0x69]
jmp 0x14009030d
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], r15d
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x30], r15d
mov edi, 1
mov r9d, edi
mov r8, rbp
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.14002b400
test eax, eax
je 0x1400903b4
mov r9, rbp
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14006dd20
mov edi, r15d
cmp qword [rsp + 0x40], 0
je 0x140090399
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.1400df340
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
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 0x140090383
cmp dword [rsp + 0x38], 4
jne 0x140090383
mov eax, dword [rsp + 0x30]
mov dword [rsi], eax
jmp 0x140090386