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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov rax, qword [0x14015b010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov ebp, r8d
mov esi, edx
mov edi, ecx
xor eax, eax
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x70], 0x1001
mov dword [rsp + 0x74], ecx
mov word [rsp + 0x78], si
mov word [rsp + 0x7a], bp
lea r9, str.RealtekAudioBackgroundProcessClass
lea r8, str.RealtekAudioBackgroundProcessClass
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov r14, rax
mov qword [rsp + 0x60], SafeArrayDestroy
mov qword [rsp + 0x58], 0x2000
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x58]
mov r8, qword [0x1401642d0]
mov edx, 0x4a
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15, rax
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x14004cc12
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x80], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r14
mov r9d, 0x104
lea r8, str.CJackRetaskCommandLineHelper::SendRetaskCommandToActiveRtkAudUService
lea rdx, str._s__d_hWnd_x_Wid_x_DevType_d_Seq_d_hr_x_LastErr_d
lea rcx, [rsp + 0x80]
call fcn.140006bc0
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
cmp dword [0x140162d94], 0
je 0x14004cbca
cmp dword [0x140162d90], 0
jne 0x14004cb92
mov rax, qword [0x14015c1e0]
test byte [rax + 0x1c], 1
je 0x14004cbca
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edi
mov r9, r14
mov r8d, 0x108
lea rdx, str.CJackRetaskCommandLineHelper::SendRetaskCommandToActiveRtkAudUService
lea rcx, str._s__d_hWnd_x_Wid_x_DevType_d_Seq_d_hr_x_LastErr_d
call fcn.14005f240
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004cbe6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400c0920
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x14004d3f0
Capabilities:
Persist via run registry key

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x70
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x14015b010]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor eax, eax
mov qword [r11 - 0x20], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor ebp, ebp
mov qword [r11 - 0x38], rbp
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x58], 0xa
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
lea rcx, [r11 - 0x48]
call fcn.1400814a0
mov r14, qword [rsp + 0x30]
test r14, r14
je 0x14004d5a9
mov rcx, qword [r14 + 0x10]
mov r14, qword [r14]
sub rcx, 0x18
call fcn.140006b40
lea rdi, [rax + 0x18]
mov qword [rsp + 0x60], rdi
mov rcx, rax
call fcn.140006b40
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
movsxd rsi, dword [rbx - 0x10]
test esi, esi
js 0x14004d5e6
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x14004d4b9
mov edx, esi
lea rcx, [rsp + 0x28]
call fcn.140004a80
mov rbx, qword [rsp + 0x28]
lea eax, [rsi + 1]
movsxd rdx, eax
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsupr_s]
cmp esi, dword [rbx - 0xc]
jg 0x14004d5db
mov dword [rbx - 0x10], esi
mov word [rbx + rsi*2], bp
cmp dword [rbx - 0x10], 0
jl 0x14004d562
lea rdx, str.RTHDVBG
mov rcx, rbx
call fcn.1400c6bb0
test rax, rax
je 0x14004d500
sub rax, rbx
sar rax, 1
test eax, eax
jns 0x14004d548
cmp dword [rbx - 0x10], 0
jl 0x14004d562
lea rdx, str.RTHDVCPL
mov rcx, rbx
call fcn.1400c6bb0
test rax, rax
je 0x14004d524
sub rax, rbx
sar rax, 1
test eax, eax
jns 0x14004d548
cmp dword [rbx - 0x10], 0
jl 0x14004d562
lea rdx, str.RTKUGUI
mov rcx, rbx
call fcn.1400c6bb0
test rax, rax
je 0x14004d562
sub rax, rbx
sar rax, 1
test eax, eax
js 0x14004d562
xor r9d, r9d
mov r8, rdi
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
mov rcx, 0xffffffff80000002
call fcn.14007fb20
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004d57f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004d5a0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test r14, r14
jne 0x14004d461
lea rcx, [rsp + 0x30]
call fcn.140017810
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400c0920
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, 0x80070057
call fcn.140004fd0
int3
mov ecx, 0x80070057
call fcn.140004fd0
int3
Function at 0x14004dae0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1788]
mov eax, 0x1888
call fcn.1400c9920
sub rsp, rax
mov rax, qword [0x14015b010]
xor rax, rsp
mov qword [rbp + 0x1770], rax
mov r14, r8
mov r15, rcx
mov r8, rdx
lea rcx, [rbp + 0x150]
mov edx, 0x208
mov rsi, r9
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
xor ebx, ebx
lea rcx, [rsp + 0x40]
mov edx, 0x104
test rsi, rsi
jne 0x14004db6b
mov r8, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea edx, [rbx + 0x2e]
lea rcx, [rsp + 0x40]
call fcn.1400c6afc
test rax, rax
je 0x14004db74
lea edx, [rbx + 0x2e]
lea rcx, [rsp + 0x40]
call fcn.1400c6afc
mov word [rax], bx
jmp 0x14004db74
mov r8, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edi, dword [rbp + 0x17e0]
lea rax, str.SoftwareMicrosoftWindowsCurrentVersionRun
test edi, edi
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov edx, 0x800
lea rcx, [rbp + 0x770]
cmove r8, rax
call fcn.140029a50
cmp dword [rbp + 0x17e8], ebx
jne 0x14004dca1
test edi, edi
jne 0x14004dc10
lea r8, [0x1400e68d4]
mov edx, 0x208
lea rcx, [rbp + 0x150]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r8, r15
lea rcx, [rbp + 0x150]
mov edx, 0x208
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
test r14, r14
je 0x14004dc10
lea r8, [0x1401005cc]
mov edx, 0x208
lea rcx, [rbp + 0x150]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r8, r14
lea rcx, [rbp + 0x150]
mov edx, 0x208
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x770]
mov rcx, 0xffffffff80000002
mov edi, ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004dc8d
lea rcx, [rbp + 0x150]
call fcn.14004d6e0
lea rcx, [rbp + 0x150]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x14004dc57
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
add eax, eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp + 0x150]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
sete bl
mov eax, ebx
jmp 0x14004dd0a
mov dword [rsp + 0x30], ebx
call fcn.14000b240
test dword [rax + 0xc0], 0x20000000
je 0x14004dcc5
call fcn.14000b240
movzx r8d, byte [rax + 0x1f3]
jmp 0x14004dccb
mov r8d, 0x1e
mov r9, r14
mov rcx, rsi
call fcn.14004e2c0
mov r9, rsi
mov dword [rsp + 0x30], eax
lea r8, str.RunCplByTaskScheduler__s
mov edx, 0x104
lea rcx, [rbp + 0x560]
call fcn.140029a50
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x560]
call fcn.14004dd30
mov eax, dword [rsp + 0x30]
mov rcx, qword [rbp + 0x1770]
xor rcx, rsp
call fcn.1400c0920
add rsp, 0x1888
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14004dd30
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14015b010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
mov rdi, r8
mov rsi, rdx
call fcn.14008d730
mov rdx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x14004ddaa
mov rdx, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegCreateKeyW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14004ddf9
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov r9d, 4
mov rdx, rsi
test rdi, rdi
je 0x14004ddd4
mov qword [rsp + 0x20], rdi
jmp 0x14004dde6
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rdx, qword [rsp + 0x38]
mov eax, 0xffffffff
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004de1a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c0920
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14005c0a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
lea rdx, str.CIndependentVolumeMgr::InitForAllIndepHPVol
lea rcx, [0x1400e4bf0]
mov r8d, 0x49
call fcn.14005f240
call fcn.14000b520
mov rcx, rax
call fcn.14008e7c0
call fcn.14000b520
cmp dword [rax + 0x140], 0
jne 0x14005c118
cmp dword [0x140162d94], 0
je 0x14005c118
cmp dword [0x140162d90], 0
jne 0x14005c0ff
mov rax, qword [0x14015c1e0]
test byte [rax + 0x1c], 1
je 0x14005c118
mov r8d, 0x3e
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.14005f240
call fcn.14000b520
mov rbx, qword [rax + 0xe0]
test rbx, rbx
je 0x14005c158
call fcn.14000b520
call fcn.14000b520
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x14005c124
cmp dword [rcx + 0x1ac], 1
jne 0x14005c124
cmp dword [rcx + 0x178], 0
jne 0x14005c124
mov edx, edi
call fcn.14005c810
call fcn.14000b520
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14008e840
Function at 0x14005c340
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x54], 0
mov rbx, rdx
mov rdi, rcx
je 0x14005c4e5
mov rax, qword [r8]
cmp rax, qword [0x1400df7e0]
jne 0x14005c37f
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400df7e8]
jne 0x14005c37f
cmp dword [r8 + 0x10], 4
je 0x14005c3ab
mov rax, qword [r8]
cmp rax, qword [0x1400df798]
jne 0x14005c4e5
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400df7a0]
jne 0x14005c4e5
cmp dword [r8 + 0x10], 6
jne 0x14005c4e5
call fcn.14000b520
mov rdx, rbx
call fcn.140090350
cmp dword [rdi + 0x48], 0
mov rsi, rax
je 0x14005c41a
call fcn.14000b240
cmp dword [rax + 0x80], 0
je 0x14005c3e3
call fcn.14000b240
mov rcx, rax
lea rdx, [rax + 0x2fc]
call fcn.140087380
call fcn.14000b240
test dword [rax + 0x2fc], 0x100
je 0x14005c41a
test rsi, rsi
je 0x14005c593
cmp dword [rsi + 0x1ac], 1
jne 0x14005c593
mov rcx, rsi
call fcn.14000f160
test eax, eax
jne 0x14005c593
mov r8d, 0x106
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x1400e4bf0]
call fcn.14005f240
mov dword [rdi + 0x38], 1
call fcn.14000b690
mov edx, 0x3f7
mov rcx, rax
lea r8d, [rdx - 0xf]
call fcn.1400b6130
test rsi, rsi
je 0x14005c593
cmp dword [rsi + 0x178], 0
je 0x14005c4c7
cmp dword [0x140162d88], 0
je 0x14005c593
cmp dword [0x140162d8c], 0
jne 0x14005c4c7
mov r8d, 0x112
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x1400e4bf0]
call fcn.14005f240
call fcn.14005c170
cmp dword [0x140162d8c], 0
jne 0x14005c4c7
mov r8d, BSTR_UserUnmarshal
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x1400e4bf0]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14005f240
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.14005d5e0
jmp 0x14005c589
cmp dword [rcx + 0x58], 0
je 0x14005c593
mov rax, qword [r8]
cmp rax, qword [0x1400df7b0]
jne 0x14005c593
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400df7b8]
jne 0x14005c593
cmp dword [r8 + 0x10], 0x11
jne 0x14005c593
mov r8d, 0x12a
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x1400e4bf0]
call fcn.14005f240
mov dword [rdi + 0x38], 1
call fcn.14000b690
mov edx, 0x3f7
mov rcx, rax
lea r8d, [rdx - 0xf]
call fcn.1400b6130
call fcn.14000b520
mov rdx, rbx
call fcn.140090350
mov rsi, rax
test rax, rax
je 0x14005c593
cmp dword [rax + 0x178], 1
jne 0x14005c574
cmp dword [0x140162d88], 0
je 0x14005c593
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.14005e0f0
lea rcx, [rdi + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14005c700
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
test rdx, rdx
je 0x14005c768
cmp dword [rdx + 0x178], 1
jne 0x14005c768
cmp dword [0x140162d8c], 0
jne 0x14005c768
cmp dword [0x140162d88], 0
je 0x14005c768
mov r8d, 0x17a
lea rdx, str.CIndependentVolumeMgr::OnAddDevice
lea rcx, [0x1400e4bf0]
call fcn.14005f240
call fcn.14005c170
cmp dword [0x140162d8c], 0
jne 0x14005c768
mov r8d, 0x17f
lea rdx, str.CIndependentVolumeMgr::OnAddDevice
lea rcx, [0x1400e4bf0]
add rsp, 0x28
jmp fcn.14005f240
add rsp, 0x28
ret
Function at 0x14005f5a0
Capabilities:
Print debug messages

Disassembly:
mov ecx, 1
mov dword [0x14015b3c8], 0
jmp 0x14005f5a0
push rbx
sub rsp, 0x20
mov ebx, ecx
lea rcx, [0x140162d98]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
cmp ebx, 1
jne 0x14005f61a
cmp dword [0x140162d90], 0
mov dword [0x140162dc0], ebx
je 0x14005f62d
cmp dword [0x14015b13c], 0
je 0x14005f60b
mov rdx, qword [0x140162dc8]
test rdx, rdx
jne 0x14005f5ef
call fcn.14005e880
mov rdx, qword [0x140162dc8]
test rdx, rdx
je 0x14005f639
mov rcx, qword [0x1401648b8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov rcx, qword [0x140162dc8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x14005f62d
mov rcx, qword [0x1401648b8]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
jmp 0x14005f62d
xor edx, edx
mov dword [0x140162dc0], 0
xor ecx, ecx
call fcn.14005efb0
lea rcx, [0x1401648b8]
call fcn.140004a00
lea rcx, [0x140162d98]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
Function at 0x140064da0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x70
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14015b010]
xor rax, rsp
mov qword [rsp + 0x68], rax
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140064fd5
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
call fcn.140020610
mov rbp, rax
mov esi, SafeArrayGetElement
xor r14d, r14d
mov r9d, esi
lea r8, str.SoftwareRealtekAudioGUI_INFORMATIONJackInfomation
lea rdx, str._sJack_d
lea rcx, [rsp + 0x48]
call fcn.140006bc0
mov dword [rsp + 0x30], r14d
lea r9, [rsp + 0x30]
lea r8, str.Docking
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call fcn.14007f4d0
cmp dword [rsp + 0x30], 0
je 0x140064f86
test rbp, rbp
je 0x140064e74
cmp esi, 0x21
jae 0x140064e74
mov eax, esi
lea rcx, [rax + rax*2]
lea rax, [rbp + 0xa0]
lea rax, [rax + rcx*4]
test rax, rax
je 0x140064e74
cmp dword [rax], 0
jne 0x140064f86
test rbx, rbx
jne 0x140064e97
mov r8d, 0xc0
lea rdx, str.CRegClient::SetRegUI4PropertyNoCreateKey
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005f240
jmp 0x140064f6a
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r14d
mov qword [rsp + 0x60], r14
mov rdx, rbx
mov rcx, 0xffffffff80000002
call fcn.1400805b0
test eax, eax
jne 0x140064ec5
jmp 0x140064f6a
mov r9d, 2
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.140027bc0
test eax, eax
je 0x140064f09
mov r8d, 0xce
lea rdx, str.CRegClient::SetRegUI4PropertyNoCreateKey
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005f240
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140064f6a
jmp 0x140064f64
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.JackStatus
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
je 0x140064f5c
mov r8d, 0xd2
lea rdx, str.CRegClient::SetRegUI4PropertyNoCreateKey
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005f240
nop
test rdi, rdi
je 0x140064f6a
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.14005f240
inc esi
cmp esi, 0x20
jl 0x140064e00
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140064fad
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400c0920
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.140004fd0
int3
Function at 0x140066be0
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.1400617a0
test eax, eax
jne 0x140066c22
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.14005f240
mov rcx, qword [rbx + 0x250]
add rcx, 0x10
call fcn.140045400
mov rcx, qword [rbx + 0x250]
cmp edi, dword [rcx + 0x80]
jne 0x140066c5a
mov edx, dword [rcx + 0x7c]
mov r8d, 1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
mov rcx, qword [rbx + 0x250]
cmp edi, dword [rcx + 0x78]
jne 0x140066c78
mov edx, dword [rcx + 0x74]
mov r8d, 1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
mov rcx, qword [rbx + 0x250]
sub dword [rcx + 0x28], 1
mov eax, dword [rcx + 0x28]
jne 0x140066c96
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]
cmp eax, 0x32
jle 0x140066cb4
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.14005f240
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400670f0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov ebx, r8d
mov r14, rdx
mov rsi, rcx
cmp r8d, 0xf
jg 0x1400671ff
mov qword [rsp + 0x30], rbp
call fcn.14002a380
mov rbp, rax
test rax, rax
jne 0x140067154
mov r8d, 0x578
lea rdx, str.CJackMgr::OnDriverEvent
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.14005f240
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rcx, r14
mov qword [rsp + 0x38], rdi
call fcn.14008a690
movsxd rdi, eax
test eax, eax
jns 0x140067172
mov rcx, r14
call fcn.14008c4c0
jmp 0x140067177
mov eax, 0xffffffff
test edi, edi
jle 0x1400671a7
cmp edi, 9
jl 0x14006718f
mov r8d, 0x6df
lea rdx, str.CJackInfo::MapRealHdaPinIndex
jmp 0x1400671bd
add ebx, dword [rbp + rdi*4 + 0x1730]
mov rcx, rsi
mov edx, ebx
call fcn.140066cc0
mov rdi, qword [rsp + 0x38]
jmp 0x14006713e
test eax, eax
js 0x1400671eb
cmp eax, 9
jl 0x1400671e2
mov r8d, 0x6e6
lea rdx, str.CJackInfo::MapRealUsbPinIndex
lea rcx, str._s__d_RETURN_VALUE_ON_FALSE
call fcn.14005f240
mov ebx, 0xffffffff
mov rcx, rsi
mov edx, ebx
call fcn.140066cc0
mov rdi, qword [rsp + 0x38]
jmp 0x14006713e
cdqe
add ebx, dword [rbp + rax*4 + 0x1754]
mov edx, ebx
mov rcx, rsi
call fcn.140066cc0
mov rdi, qword [rsp + 0x38]
jmp 0x14006713e
cmp ebx, 0x11
jne 0x140067143
call fcn.14002a380
mov rcx, rsi
mov qword [rsi + 0x250], rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.140066640

Function at 0x140067230
Capabilities:
Print debug messages

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

Disassembly:
push rbx
sub rsp, 0x20
xor r9d, r9d
lea rdx, [0x140069470]
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, [0x1400e4bf0]
mov qword [rbx + 0xb8], rax
call fcn.14005f240
cmp qword [rbx + 0xb8], 0
jne 0x140069460
mov r8d, 0x58
lea rdx, str.CLowLevelKeyboardEventNotify::RegisterLLKeyboard
lea rcx, str._s__d_set_hook_fail__
call fcn.14005f240
call fcn.14000b690
mov rcx, rax
mov edx, 0x42e
mov r8d, 0x1388
add rsp, 0x20
pop rbx
jmp fcn.1400b6130
add rsp, 0x20
pop rbx
ret
Function at 0x14006d400
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14015b010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
call fcn.14006d2a0
xor ecx, ecx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, [0x14006d460]
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.1400c0920
add rsp, 0x40
pop rbx
ret