joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140039c60
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 [0x1400ff010]
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], 0xc
mov qword [rsp + 0x58], 0x2000
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x58]
mov r8, qword [0x1401049e0]
mov edx, 0x4a
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15, rax
call fcn.140003db0
mov rcx, rax
test rax, rax
je 0x140039e22
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, 0xec
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.140005720
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
cmp dword [0x140103eac], 0
je 0x140039dda
cmp dword [0x140103ea8], 0
jne 0x140039da2
mov rax, qword [0x1400ff930]
test byte [rax + 0x1c], 1
je 0x140039dda
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, 0xf0
lea rdx, str.CJackRetaskCommandLineHelper::SendRetaskCommandToActiveRtkAudUService
lea rcx, str._s__d_hWnd_x_Wid_x_DevType_d_Seq_d_hr_x_LastErr_d
call fcn.1400430e0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140039df6
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.140091f30
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003b40
int3
Function at 0x14003af10
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0
mov rbx, r8
mov rdi, rdx
call fcn.14006a340
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x14003af8b
mov rdx, qword [rsp + 0x40]
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 0x14003afdc
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov r9d, 4
mov rdx, rdi
test rbx, rbx
je 0x14003afb5
mov qword [rsp + 0x20], rbx
jmp 0x14003afc7
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], 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]
jmp 0x14003afe0
mov ebx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov eax, 0xffffffff
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003b001
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.140091f30
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14003b8f0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x500
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov rbx, r8
mov edi, edx
mov r8, rcx
mov edx, 0x208
lea rcx, [rsp + 0xe0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
xor edx, edx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x64]
call fcn.140098800
xor eax, eax
mov dword [rsp + 0x70], 0x68
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.14003a840
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
test eax, eax
je 0x14003b9e8
test edi, edi
je 0x14003b9ba
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
test rbx, rbx
je 0x14003b9cd
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.140091f30
mov rbx, qword [rsp + 0x518]
add rsp, 0x500
pop rdi
ret
Function at 0x1400401a0
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, [0x1400b0e88]
mov r8d, 0x49
call fcn.1400430e0
call fcn.140009e20
mov rcx, rax
call fcn.14006b4e0
call fcn.140009e20
cmp dword [rax + 0x138], 0
jne 0x140040218
cmp dword [0x140103eac], 0
je 0x140040218
cmp dword [0x140103ea8], 0
jne 0x1400401ff
mov rax, qword [0x1400ff930]
test byte [rax + 0x1c], 1
je 0x140040218
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 0x140040258
call fcn.140009e20
call fcn.140009e20
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140040224
cmp dword [rcx + 0x184], 1
jne 0x140040224
cmp dword [rcx + 0x158], 0
jne 0x140040224
mov edx, edi
call fcn.140040920
call fcn.140009e20
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14006b560
Function at 0x140040440
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 0x1400405e2
mov rax, qword [r8]
cmp rax, qword [0x1400af8c0]
jne 0x14004047f
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400af8c8]
jne 0x14004047f
cmp dword [r8 + 0x10], 4
je 0x1400404ab
mov rax, qword [r8]
cmp rax, qword [0x1400af878]
jne 0x1400405e2
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400af880]
jne 0x1400405e2
cmp dword [r8 + 0x10], 6
jne 0x1400405e2
call fcn.140009e20
mov rdx, rbx
call fcn.14006c450
cmp dword [rdi + 0x48], 0
mov rsi, rax
je 0x140040517
call fcn.140009c60
cmp dword [rax + 0xc], 0
je 0x1400404e0
call fcn.140009c60
mov rcx, rax
lea rdx, [rax + 0x288]
call fcn.140065570
call fcn.140009c60
test dword [rax + 0x288], 0x100
je 0x140040517
test rsi, rsi
je 0x140040690
cmp dword [rsi + 0x184], 1
jne 0x140040690
mov rcx, rsi
call fcn.14000d4f0
test eax, eax
jne 0x140040690
mov r8d, 0x106
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x1400b0e88]
call fcn.1400430e0
mov dword [rdi + 0x38], 1
call fcn.140009f90
mov edx, 0x3f7
mov rcx, rax
lea r8d, [rdx - 0xf]
call fcn.140087ab0
test rsi, rsi
je 0x140040690
cmp dword [rsi + 0x158], 0
je 0x1400405c4
cmp dword [0x140103e98], 0
je 0x140040690
cmp dword [0x140103e94], 0
jne 0x1400405c4
mov r8d, 0x112
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x1400b0e88]
call fcn.1400430e0
call fcn.140040270
cmp dword [0x140103e94], 0
jne 0x1400405c4
mov r8d, BSTR_UserUnmarshal
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x1400b0e88]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400430e0
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.140041740
jmp 0x140040686
cmp dword [rcx + 0x58], 0
je 0x140040690
mov rax, qword [r8]
cmp rax, qword [0x1400af890]
jne 0x140040690
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400af898]
jne 0x140040690
cmp dword [r8 + 0x10], 0x11
jne 0x140040690
mov r8d, 0x12a
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x1400b0e88]
call fcn.1400430e0
mov dword [rdi + 0x38], 1
call fcn.140009f90
mov edx, 0x3f7
mov rcx, rax
lea r8d, [rdx - 0xf]
call fcn.140087ab0
call fcn.140009e20
mov rdx, rbx
call fcn.14006c450
mov rsi, rax
test rax, rax
je 0x140040690
cmp dword [rax + 0x158], 1
jne 0x140040671
cmp dword [0x140103e98], 0
je 0x140040690
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.140042240
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 0x140040810
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
test rdx, rdx
je 0x140040878
cmp dword [rdx + 0x158], 1
jne 0x140040878
cmp dword [0x140103e94], 0
jne 0x140040878
cmp dword [0x140103e98], 0
je 0x140040878
mov r8d, 0x17a
lea rdx, str.CIndependentVolumeMgr::OnAddDevice
lea rcx, [0x1400b0e88]
call fcn.1400430e0
call fcn.140040270
cmp dword [0x140103e94], 0
jne 0x140040878
mov r8d, 0x17f
lea rdx, str.CIndependentVolumeMgr::OnAddDevice
lea rcx, [0x1400b0e88]
add rsp, 0x28
jmp fcn.1400430e0
add rsp, 0x28
ret
Function at 0x1400430e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
mov eax, 0x1028
call fcn.14009af40
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rsp + 0x1010], rax
cmp dword [0x140103eac], 0
je 0x140043320
cmp dword [0x140103ea8], 0
jne 0x140043145
mov rax, qword [0x1400ff930]
test byte [rax + 0x1c], 1
je 0x140043320
lea rcx, [0x140103eb0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
xor edx, edx
mov r8d, 0x7ce
lea rcx, [rsp + 0x840]
call fcn.140098800
lea rbx, [rsp + 0x1048]
mov qword [rsp + 0x48], rbx
call fcn.140005a90
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x1040]
mov r8d, 0x3e6
lea rdx, [rsp + 0x840]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
mov rax, qword [0x1400ff930]
test byte [rax + 0x1c], 1
je 0x1400431c0
lea rcx, [rsp + 0x840]
call fcn.140091d50
cmp dword [0x140103ea8], 0
je 0x140043313
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
movzx eax, word [rsp + 0x66]
movzx ecx, word [rsp + 0x64]
movzx r8d, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
lea r10, [rsp + 0x840]
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r8d
lea r8, str._02d:_02d:_02d:_03d___s_n
mov edx, 0x3e6
lea rcx, [rsp + 0x70]
call fcn.140043460
cmp dword [0x1400ff13c], 1
jne 0x1400432bf
call fcn.140003db0
mov rcx, rax
test rax, rax
je 0x14004333a
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140005580
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14004328d
lea rcx, [rsp + 0x70]
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140043270
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140003840
nop
mov rbx, qword [rsp + 0x50]
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x140104e28]
call fcn.14000dfe0
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140043313
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140043313
cmp dword [0x140103e9c], 0
je 0x140043313
cmp dword [0x1400ff290], 0
je 0x140043308
mov rdx, qword [0x140103ea0]
test rdx, rdx
jne 0x1400432ee
call fcn.140042910
mov rdx, qword [0x140103ea0]
test rdx, rdx
je 0x140043313
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov rcx, qword [0x140103ea0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x140043313
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rcx, [0x140103eb0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x1010]
xor rcx, rsp
call fcn.140091f30
add rsp, 0x1028
pop rdi
pop rbx
ret
mov ecx, 0x80004005
call fcn.140003b40
int3
Function at 0x140043350
Capabilities:
Print debug messages

Disassembly:
xor ecx, ecx
mov dword [0x1400ff13c], 0
jmp 0x140043350
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea rcx, [0x140103eb0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
xor edi, edi
cmp ebx, 1
jne 0x1400433d2
cmp dword [0x140103ea8], edi
mov dword [0x140103e9c], ebx
je 0x1400433e1
cmp dword [0x1400ff290], edi
je 0x1400433c3
mov rdx, qword [0x140103ea0]
test rdx, rdx
jne 0x1400433a7
call fcn.140042910
mov rdx, qword [0x140103ea0]
test rdx, rdx
je 0x140043439
mov rcx, qword [0x140104e28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov rcx, qword [0x140103ea0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x1400433e1
mov rcx, qword [0x140104e28]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
jmp 0x1400433e1
xor edx, edx
mov dword [0x140103e9c], edi
xor ecx, ecx
call fcn.140042e60
mov rax, qword [0x140104e28]
lea rdx, [rax - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], edi
je 0x140043439
cmp dword [rdx + 0x10], edi
jge 0x14004340d
cmp dword [rax - 0xc], edi
jl 0x140043451
mov dword [rax - 0x10], edi
mov rax, qword [0x140104e28]
mov word [rax], di
jmp 0x140043439
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140043425
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [0x140104e28], rax
lea rcx, [0x140103eb0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov ecx, 0x80070057
call fcn.140003b40
int3
Function at 0x140047d40
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.140003db0
mov rcx, rax
test rax, rax
je 0x140047ef0
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov esi, SafeArrayGetElement
xor ebp, ebp
mov r9d, esi
lea r8, str.SoftwareRealtekAudioGUI_INFORMATIONJackInfomation
lea rdx, str._sJack_d
lea rcx, [rsp + 0x40]
call fcn.140005720
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x140047dd5
mov r8d, 0xc0
lea rdx, str.CRegClient::SetRegUI4PropertyNoCreateKey
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
jmp 0x140047ea6
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
mov rdx, rbx
mov rcx, 0xffffffff80000002
call fcn.140060f30
test eax, eax
jne 0x140047e02
jmp 0x140047ea6
mov r9d, 2
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.14001da70
test eax, eax
je 0x140047e46
mov r8d, 0xce
lea rdx, str.CRegClient::SetRegUI4PropertyNoCreateKey
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140047ea6
jmp 0x140047ea0
mov dword [rsp + 0x38], ebp
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 0x140047e98
mov r8d, 0xd2
lea rdx, str.CRegClient::SetRegUI4PropertyNoCreateKey
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
nop
test rdi, rdi
je 0x140047ea6
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
inc esi
cmp esi, 0x20
jl 0x140047d92
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140047ecd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140091f30
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.140003b40
int3
Function at 0x140049740
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.140045290
test eax, eax
jne 0x140049782
mov r8d, 0x255
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.1400430e0
mov rcx, qword [rbx + 0x250]
add rcx, 0x10
call fcn.140033ab0
mov rcx, qword [rbx + 0x250]
cmp edi, dword [rcx + 0x80]
jne 0x1400497ba
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 0x1400497d8
mov edx, dword [rcx + 0x74]
mov r8d, 1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
mov rcx, qword [rbx + 0x250]
add rcx, 0x10
call fcn.140033ba0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14004b960
Capabilities:
Log keystrokes via application hook

Disassembly:
push rbx
sub rsp, 0x20
xor r9d, r9d
lea rdx, [0x14004b9f0]
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, [0x1400b0e88]
mov qword [rbx + 0xb8], rax
call fcn.1400430e0
cmp qword [rbx + 0xb8], 0
jne 0x14004b9e0
mov r8d, 0x58
lea rdx, str.CLowLevelKeyboardEventNotify::RegisterLLKeyboard
lea rcx, str._s__d_set_hook_fail__
call fcn.1400430e0
call fcn.140009f90
mov rcx, rax
mov edx, 0x42e
mov r8d, 0x1388
add rsp, 0x20
pop rbx
jmp fcn.140087ab0
add rsp, 0x20
pop rbx
ret
Function at 0x14004f9b0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
call fcn.14004f850
xor ecx, ecx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, [0x14004fa10]
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.140091f30
add rsp, 0x40
pop rbx
ret
Function at 0x140053e60
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
test rcx, rcx
jne 0x140053ea7
lea r8d, [rcx + 0x73]
lea rcx, str._s__d_RETURN_ON_FALSE
lea rdx, str.CNamedPipeHelper::SendPipeMessage
call fcn.1400430e0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140091f30
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 0x140053f3c
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.1400430e0
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x140053f66
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.1400430e0
mov rdi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140091f30
add rsp, 0x50
pop rbx
ret

Function at 0x1400559a0
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 0x140055a0a
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 0x1400559d1
cmp eax, 0x200
jne 0x140055a14
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.140098800
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 0x14005fe30
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
mov ebp, edx
lea rcx, str._s__d_bMute_d
mov r9d, edx
mov r8d, 0x93
lea rdx, str.CPrivacyMute::ControlMuteAll
call fcn.1400430e0
call fcn.140009e20
mov rcx, rax
call fcn.14006b4e0
call fcn.140009e20
cmp dword [rax + 0x138], 0
jne 0x14005feab
cmp dword [0x140103eac], 0
je 0x14005feab
cmp dword [0x140103ea8], 0
jne 0x14005fe92
mov rax, qword [0x1400ff930]
test byte [rax + 0x1c], 1
je 0x14005feab
mov r8d, 0x3b
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.1400430e0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
call fcn.140009e20
mov rdi, qword [rax + 0xd8]
test rdi, rdi
je 0x14005ff3b
call fcn.140009e20
call fcn.140009e20
test rdi, rdi
je 0x14005ffac
mov rbx, qword [rdi + 0x10]
mov rdi, qword [rdi]
test rbx, rbx
je 0x14005ff36
cmp dword [rbx + 0x164], 1
jne 0x14005ff36
lea rcx, [rbx + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
cmp dword [rbx + 0x58], 0
jne 0x14005ff06
mov rcx, rbx
call fcn.140012880
lea rcx, [rbx + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
cmp dword [rbx + 0x8c], 0
jne 0x14005ff36
lea rcx, [rbx + 0xd0]
call fcn.14000e210
test rax, rax
je 0x14005ff36
mov r8, qword [rax]
mov edx, ebp
mov rcx, rax
call qword [r8 + 0x10]
test rdi, rdi
jne 0x14005fec6
call fcn.140009e20
sub dword [rax + 0x138], 1
mov ecx, dword [rax + 0x138]
jne 0x14005ff5e
mov rcx, qword [rax + 0x148]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x14005ff7c
cmp ecx, 0x32
jle 0x14005ff7c
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
call fcn.1400430e0
mov r9d, ebp
lea rdx, str.CPrivacyMute::ControlMuteAll
mov r8d, 0xa4
lea rcx, str._s__d_bMute_d
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400430e0
mov ecx, 0x80004005
call fcn.140003b40
int3