joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004f780
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.1400ce860
sub rsp, rax
mov rax, qword [0x140162010]
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 0x14004f80b
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.1400cba3c
test rax, rax
je 0x14004f814
lea edx, [rbx + 0x2e]
lea rcx, [rsp + 0x40]
call fcn.1400cba3c
mov word [rax], bx
jmp 0x14004f814
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.14002a530
cmp dword [rbp + 0x17e8], ebx
jne 0x14004f941
test edi, edi
jne 0x14004f8b0
lea r8, [0x1400eb954]
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 0x14004f8b0
lea r8, [0x140106590]
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 0x14004f92d
lea rcx, [rbp + 0x150]
call fcn.14004f380
lea rcx, [rbp + 0x150]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x14004f8f7
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 0x14004f9aa
mov dword [rsp + 0x30], ebx
call fcn.14000b280
test dword [rax + 0xc0], 0x20000000
je 0x14004f965
call fcn.14000b280
movzx r8d, byte [rax + 0x1f3]
jmp 0x14004f96b
mov r8d, 0x1e
mov r9, r14
mov rcx, rsi
call fcn.14004ff60
mov r9, rsi
mov dword [rsp + 0x30], eax
lea r8, str.RunCplByTaskScheduler__s
mov edx, 0x104
lea rcx, [rbp + 0x560]
call fcn.14002a530
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x560]
call fcn.14004f9d0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rbp + 0x1770]
xor rcx, rsp
call fcn.1400c5860
add rsp, 0x1888
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14004f9d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140162010]
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.1400905b0
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 0x14004fa4a
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 0x14004fa99
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov r9d, 4
mov rdx, rsi
test rdi, rdi
je 0x14004fa74
mov qword [rsp + 0x20], rdi
jmp 0x14004fa86
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 0x14004faba
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.1400c5860
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14005eb50
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, [0x1400e9c70]
mov r8d, 0x49
call fcn.140061d00
call fcn.14000b440
mov rcx, rax
call fcn.140091640
call fcn.14000b440
cmp dword [rax + 0x140], 0
jne 0x14005ebc8
cmp dword [0x140169dd8], 0
je 0x14005ebc8
cmp dword [0x140169da4], 0
jne 0x14005ebaf
mov rax, qword [0x1401631e0]
test byte [rax + 0x1c], 1
je 0x14005ebc8
mov r8d, 0x3e
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.140061d00
call fcn.14000b440
mov rbx, qword [rax + 0xe0]
test rbx, rbx
je 0x14005ec08
call fcn.14000b440
call fcn.14000b440
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x14005ebd4
cmp dword [rcx + 0x1ac], 1
jne 0x14005ebd4
cmp dword [rcx + 0x178], 0
jne 0x14005ebd4
mov edx, edi
call fcn.14005f2c0
call fcn.14000b440
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400916c0
Function at 0x14005edf0
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 0x14005ef95
mov rax, qword [r8]
cmp rax, qword [0x1400e4948]
jne 0x14005ee2f
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400e4950]
jne 0x14005ee2f
cmp dword [r8 + 0x10], 4
je 0x14005ee5b
mov rax, qword [r8]
cmp rax, qword [0x1400e4900]
jne 0x14005ef95
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400e4908]
jne 0x14005ef95
cmp dword [r8 + 0x10], 6
jne 0x14005ef95
call fcn.14000b440
mov rdx, rbx
call fcn.1400931d0
cmp dword [rdi + 0x48], 0
mov rsi, rax
je 0x14005eeca
call fcn.14000b280
cmp dword [rax + 0x80], 0
je 0x14005ee93
call fcn.14000b280
mov rcx, rax
lea rdx, [rax + 0x2fc]
call fcn.14008a200
call fcn.14000b280
test dword [rax + 0x2fc], 0x100
je 0x14005eeca
test rsi, rsi
je 0x14005f043
cmp dword [rsi + 0x1ac], 1
jne 0x14005f043
mov rcx, rsi
call fcn.14000f080
test eax, eax
jne 0x14005f043
mov r8d, 0x106
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x1400e9c70]
call fcn.140061d00
mov dword [rdi + 0x38], 1
call fcn.14000b5b0
mov edx, 0x3f7
mov rcx, rax
lea r8d, [rdx - 0xf]
call fcn.1400bb060
test rsi, rsi
je 0x14005f043
cmp dword [rsi + 0x178], 0
je 0x14005ef77
cmp dword [0x140169d98], 0
je 0x14005f043
cmp dword [0x140169d9c], 0
jne 0x14005ef77
mov r8d, 0x112
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x1400e9c70]
call fcn.140061d00
call fcn.14005ec20
cmp dword [0x140169d9c], 0
jne 0x14005ef77
mov r8d, BSTR_UserUnmarshal
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x1400e9c70]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140061d00
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.140060090
jmp 0x14005f039
cmp dword [rcx + 0x58], 0
je 0x14005f043
mov rax, qword [r8]
cmp rax, qword [0x1400e4918]
jne 0x14005f043
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400e4920]
jne 0x14005f043
cmp dword [r8 + 0x10], 0x11
jne 0x14005f043
mov r8d, 0x12a
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x1400e9c70]
call fcn.140061d00
mov dword [rdi + 0x38], 1
call fcn.14000b5b0
mov edx, 0x3f7
mov rcx, rax
lea r8d, [rdx - 0xf]
call fcn.1400bb060
call fcn.14000b440
mov rdx, rbx
call fcn.1400931d0
mov rsi, rax
test rax, rax
je 0x14005f043
cmp dword [rax + 0x178], 1
jne 0x14005f024
cmp dword [0x140169d98], 0
je 0x14005f043
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.140060ba0
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 0x14005f1b0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
test rdx, rdx
je 0x14005f218
cmp dword [rdx + 0x178], 1
jne 0x14005f218
cmp dword [0x140169d9c], 0
jne 0x14005f218
cmp dword [0x140169d98], 0
je 0x14005f218
mov r8d, 0x17a
lea rdx, str.CIndependentVolumeMgr::OnAddDevice
lea rcx, [0x1400e9c70]
call fcn.140061d00
call fcn.14005ec20
cmp dword [0x140169d9c], 0
jne 0x14005f218
mov r8d, 0x17f
lea rdx, str.CIndependentVolumeMgr::OnAddDevice
lea rcx, [0x1400e9c70]
add rsp, 0x28
jmp fcn.140061d00
add rsp, 0x28
ret
Function at 0x140062060
Capabilities:
Print debug messages

Disassembly:
mov ecx, 1
mov dword [0x14016213c], 0
jmp 0x140062060
push rbx
sub rsp, 0x20
cmp dword [0x140169da0], 0
mov ebx, ecx
jne 0x140062119
lea rcx, [0x140169da8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
cmp ebx, 1
jne 0x1400620e7
cmp dword [0x140169da4], 0
mov dword [0x140169ddc], ebx
je 0x1400620fa
cmp dword [0x1401623c8], 0
je 0x1400620d8
mov rdx, qword [0x140169dd0]
test rdx, rdx
jne 0x1400620bc
call fcn.140061330
mov rdx, qword [0x140169dd0]
test rdx, rdx
je 0x140062106
mov rcx, qword [0x14016b958]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov rcx, qword [0x140169dd0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x1400620fa
mov rcx, qword [0x14016b958]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
jmp 0x1400620fa
xor edx, edx
mov dword [0x140169ddc], 0
xor ecx, ecx
call fcn.140061a60
lea rcx, [0x14016b958]
call fcn.140004a00
lea rcx, [0x140169da8]
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 0x140067900
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 [0x140162010]
xor rax, rsp
mov qword [rsp + 0x68], rax
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140067b35
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
call fcn.140020530
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.1400820c0
cmp dword [rsp + 0x30], 0
je 0x140067ae6
test rbp, rbp
je 0x1400679d4
cmp esi, 0x21
jae 0x1400679d4
mov eax, esi
lea rcx, [rax + rax*2]
lea rax, [rbp + 0xa0]
lea rax, [rax + rcx*4]
test rax, rax
je 0x1400679d4
cmp dword [rax], 0
jne 0x140067ae6
test rbx, rbx
jne 0x1400679f7
mov r8d, 0xc0
lea rdx, str.CRegClient::SetRegUI4PropertyNoCreateKey
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140061d00
jmp 0x140067aca
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.1400831a0
test eax, eax
jne 0x140067a25
jmp 0x140067aca
mov r9d, 2
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.140027f60
test eax, eax
je 0x140067a69
mov r8d, 0xce
lea rdx, str.CRegClient::SetRegUI4PropertyNoCreateKey
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140061d00
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140067aca
jmp 0x140067ac4
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 0x140067abc
mov r8d, 0xd2
lea rdx, str.CRegClient::SetRegUI4PropertyNoCreateKey
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140061d00
nop
test rdi, rdi
je 0x140067aca
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.140061d00
inc esi
cmp esi, 0x20
jl 0x140067960
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140067b0d
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.1400c5860
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 0x140069780
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.140064270
test eax, eax
jne 0x1400697c2
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.140061d00
mov rcx, qword [rbx + 0x250]
add rcx, 0x10
call fcn.140047070
mov rcx, qword [rbx + 0x250]
cmp edi, dword [rcx + 0x80]
jne 0x1400697fa
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 0x140069818
mov edx, dword [rcx + 0x74]
mov r8d, 1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
mov rcx, qword [rbx + 0x250]
mov eax, 0xffffffff
lock xadd dword [rcx + 0x28], eax
mov eax, dword [rcx + 0x28]
test eax, eax
jne 0x14006983e
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 0x14006985f
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.140061d00
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140069ca0
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 0x140069daf
mov qword [rsp + 0x30], rbp
call fcn.14002ae60
mov rbp, rax
test rax, rax
jne 0x140069d04
mov r8d, 0x578
lea rdx, str.CJackMgr::OnDriverEvent
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.140061d00
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.14008d510
movsxd rdi, eax
test eax, eax
jns 0x140069d22
mov rcx, r14
call fcn.14008f340
jmp 0x140069d27
mov eax, 0xffffffff
test edi, edi
jle 0x140069d57
cmp edi, 9
jl 0x140069d3f
mov r8d, 0x6df
lea rdx, str.CJackInfo::MapRealHdaPinIndex
jmp 0x140069d6d
add ebx, dword [rbp + rdi*4 + 0x1730]
mov rcx, rsi
mov edx, ebx
call fcn.140069870
mov rdi, qword [rsp + 0x38]
jmp 0x140069cee
test eax, eax
js 0x140069d9b
cmp eax, 9
jl 0x140069d92
mov r8d, 0x6e6
lea rdx, str.CJackInfo::MapRealUsbPinIndex
lea rcx, str._s__d_RETURN_VALUE_ON_FALSE
call fcn.140061d00
mov ebx, 0xffffffff
mov rcx, rsi
mov edx, ebx
call fcn.140069870
mov rdi, qword [rsp + 0x38]
jmp 0x140069cee
cdqe
add ebx, dword [rbp + rax*4 + 0x1754]
mov edx, ebx
mov rcx, rsi
call fcn.140069870
mov rdi, qword [rsp + 0x38]
jmp 0x140069cee
cmp ebx, 0x11
jne 0x140069cf3
call fcn.14002ae60
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.1400691e0

Function at 0x140069de0
Capabilities:
Print debug messages

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

Disassembly:
push rbx
sub rsp, 0x20
xor r9d, r9d
lea rdx, [0x14006c060]
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, [0x1400e9c70]
mov qword [rbx + 0xb8], rax
call fcn.140061d00
cmp qword [rbx + 0xb8], 0
jne 0x14006c050
mov r8d, 0x58
lea rdx, str.CLowLevelKeyboardEventNotify::RegisterLLKeyboard
lea rcx, str._s__d_set_hook_fail__
call fcn.140061d00
call fcn.14000b5b0
mov rcx, rax
mov edx, 0x42e
mov r8d, 0x1388
add rsp, 0x20
pop rbx
jmp fcn.1400bb060
add rsp, 0x20
pop rbx
ret
Function at 0x14006fff0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
call fcn.14006fe90
xor ecx, ecx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, [0x140070050]
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.1400c5860
add rsp, 0x40
pop rbx
ret
Function at 0x1400746c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
test rcx, rcx
jne 0x140074707
lea r8d, [rcx + 0x73]
lea rcx, str._s__d_RETURN_ON_FALSE
lea rdx, str.CNamedPipeHelper::SendPipeMessage
call fcn.140061d00
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c5860
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 0x14007479c
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.140061d00
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x1400747c6
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.140061d00
mov rdi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c5860
add rsp, 0x50
pop rbx
ret

Function at 0x140074bb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
mov rbp, rcx
mov rbx, rdx
mov rcx, rdx
call fcn.1400c3bd0
test eax, eax
je 0x140074c72
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 0x140074c72
mov qword [rsp + 0x30], rsi
lea r8, [0x1400f2a38]
mov qword [rsp + 0x38], rdi
mov rcx, rax
xor edi, edi
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 0x140074c4a
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
test eax, eax
je 0x140074c4a
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 0x140074c4a
mov rdx, rax
mov rcx, rbp
call fcn.1400749e0
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
mov rsi, qword [rsp + 0x30]
test rdi, rdi
mov rdi, qword [rsp + 0x38]
je 0x140074c72
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x20
pop rbp
ret
Function at 0x1400765a0
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 0x14007660a
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 0x1400765d1
cmp eax, 0x200
jne 0x140076614
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.1400cc120
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 0x140081af0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
lea rcx, str._s__d_bMute_d
mov r9d, edx
mov r8d, 0x95
lea rdx, str.CPrivacyMute::ControlMuteAll
call fcn.140061d00
call fcn.14000b440
mov rcx, rax
call fcn.140091640
call fcn.14000b440
cmp dword [rax + 0x140], 0
jne 0x140081b6b
cmp dword [0x140169dd8], 0
je 0x140081b6b
cmp dword [0x140169da4], 0
jne 0x140081b52
mov rax, qword [0x1401631e0]
test byte [rax + 0x1c], 1
je 0x140081b6b
mov r8d, 0x3e
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.140061d00
mov qword [rsp + 0x30], rbx
call fcn.14000b440
mov rdi, qword [rax + 0xe0]
test rdi, rdi
je 0x140081c13
call fcn.14000b440
call fcn.14000b440
test rdi, rdi
je 0x140081c7f
mov rbx, qword [rdi + 0x10]
mov rdi, qword [rdi]
test rbx, rbx
je 0x140081c0a
cmp dword [rbx + 0x184], 1
jne 0x140081c0a
mov rcx, rbx
call fcn.140016430
cmp dword [rbx + 0x84], 0
jne 0x140081c0a
mov rax, qword [rbx + 0x110]
test rax, rax
je 0x140081bd3
cmp dword [rbx + 0x100], 0
jne 0x140081be6
lea rcx, [rbx + 0xc8]
call fcn.1400100f0
mov rax, qword [rbx + 0x110]
cmp qword [rax + 0x10], 0
jbe 0x140081c0a
mov rcx, qword [rax]
test rcx, rcx
je 0x140081c7f
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140081c0a
mov rax, qword [rcx]
mov edx, esi
call qword [rax + 0x10]
test rdi, rdi
jne 0x140081b85
call fcn.14000b440
sub dword [rax + 0x140], 1
mov ecx, dword [rax + 0x140]
jne 0x140081c36
mov rcx, qword [rax + 0x150]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x140081c54
cmp ecx, 0x32
jle 0x140081c54
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.140061d00
mov r9d, esi
lea rdx, str.CPrivacyMute::ControlMuteAll
mov r8d, 0xa6
lea rcx, str._s__d_bMute_d
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140061d00
mov ecx, 0x80004005
call fcn.140004fd0
int3