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

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movzx eax, byte [rcx + 0x174]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
test al, al
je 0x14009313b
mov r8d, 0x1fe
lea rdx, str.CRpcClientObject::OnRegKeyChanged
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp fcn.14005dbf0
cmp dword [rcx + 0x44], 0
je 0x140093162
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005dbf0
mov r8d, 0x1ff
jmp 0x140093119
mov qword [rsp + 0x38], rbx
mov eax, 1
lock xadd dword [rcx + 0x40], eax
mov ecx, 0x408
call fcn.1400bf154
xor edx, edx
mov qword [rsp + 0x30], rax
mov r8d, 0x408
mov rcx, rax
mov rbx, rax
call fcn.1400c53e0
lea rcx, [rbx + 8]
mov r8, rbp
mov edx, 0x100
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rbx + 0x208]
mov r8, rsi
mov edx, 0x100
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rdi + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
movzx eax, byte [rdi + 0x174]
test al, al
jne 0x1400931e0
lea rcx, [rdi + 0x100]
lea rdx, [rsp + 0x30]
call fcn.140006ca0
lea rcx, [rdi + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov eax, 0xffffffff
lock xadd dword [rdi + 0x40], eax
mov eax, dword [rdi + 0x40]
mov rbx, qword [rsp + 0x38]
test eax, eax
jne 0x140093219
cmp dword [rdi + 0x44], eax
je 0x140093219
mov rcx, qword [rdi + 0x38]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140093230
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movzx eax, byte [rcx + 0x18c]
mov esi, r8d
mov rbp, rdx
mov rdi, rcx
test al, al
je 0x14009327b
mov r8d, 0x247
lea rdx, str.CRpcClientObject::OnDriverEvent
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp fcn.14005dbf0
cmp dword [rcx + 0x5c], 0
je 0x1400932a2
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005dbf0
mov r8d, 0x248
jmp 0x140093259
mov qword [rsp + 0x38], rbx
mov eax, 1
lock xadd dword [rcx + 0x58], eax
mov ecx, 0x204
call fcn.1400bf154
xor edx, edx
mov qword [rsp + 0x30], rax
mov r8d, 0x204
mov rcx, rax
mov rbx, rax
call fcn.1400c53e0
mov r8, rbp
mov edx, 0x100
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rdi + 0x20]
mov dword [rbx + 0x200], esi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
movzx eax, byte [rdi + 0x18c]
test al, al
jne 0x140093310
lea rcx, [rdi + 0xb8]
lea rdx, [rsp + 0x30]
call fcn.140006ca0
lea rcx, [rdi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov eax, 0xffffffff
lock xadd dword [rdi + 0x58], eax
mov eax, dword [rdi + 0x58]
mov rbx, qword [rsp + 0x38]
test eax, eax
jne 0x140093349
cmp dword [rdi + 0x5c], eax
je 0x140093349
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140093390
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x20
movzx eax, byte [rcx + 0x194]
mov esi, r9d
mov ebp, r8d
mov rdi, rcx
test al, al
je 0x1400933e0
mov r8d, 0x28a
lea rdx, str.CRpcClientObject::OnServiceEvent
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp fcn.14005dbf0
cmp dword [rcx + 0x64], 0
je 0x140093407
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005dbf0
mov r8d, 0x28b
jmp 0x1400933be
mov qword [rsp + 0x30], rbx
mov eax, 1
lock xadd dword [rcx + 0x60], eax
mov ecx, 0x208
call fcn.1400bf154
xor edx, edx
mov qword [rsp + 0x38], rax
mov r8d, 0x208
mov rcx, rax
mov rbx, rax
call fcn.1400c53e0
lea r8, [0x1400e2fc8]
mov edx, 0x100
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov dword [rbx + 0x200], ebp
lea rcx, [rdi + 0x28]
mov dword [rbx + 0x204], esi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
movzx eax, byte [rdi + 0x194]
test al, al
jne 0x14009347f
lea rcx, [rdi + 0xf0]
lea rdx, [rsp + 0x38]
call fcn.140006ca0
lea rcx, [rdi + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x78]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov eax, 0xffffffff
lock xadd dword [rdi + 0x60], eax
mov eax, dword [rdi + 0x60]
mov rbx, qword [rsp + 0x30]
test eax, eax
jne 0x1400934b8
cmp dword [rdi + 0x64], eax
je 0x1400934b8
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400935a0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x54], 0
mov rbx, rcx
je 0x1400935e6
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005dbf0
mov r8d, 0x2c0
lea rdx, str.CRpcClientObject::OnTimer
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x30
pop rbx
jmp fcn.14005dbf0
mov eax, 1
lock xadd dword [rcx + 0x50], eax
cmp qword [rcx + 0x178], 0
je 0x14009366d
cmp edx, 0x3f3
jne 0x14009366d
mov r9d, dword [rcx + 0x180]
test r9d, r9d
je 0x140093654
lea rax, [rcx - 0x10]
mov r8d, 0x2c9
lea rcx, str._s__d_block_check_EventPostingType_d_CRpcClientObject_x
mov qword [rsp + 0x20], rax
lea rdx, str.CRpcClientObject::OnTimer
call fcn.14005dbf0
cmp dword [rbx + 0x170], 0
je 0x14009364a
mov dword [rbx + 0x174], 1
call fcn.1400b2f20
jmp 0x140093654
mov dword [rbx + 0x170], 1
mov rax, qword [rbx - 8]
lea rcx, [rbx - 8]
mov r8d, 0x270f
lea rdx, [0x1400e2fc8]
call qword [rax]
jmp 0x140093699
cmp edx, 0x3f8
jne 0x140093699
call fcn.14000b5e0
mov rcx, rax
mov edx, 0x3f8
call fcn.1400b45d0
lea rcx, [rbx - 0x10]
xor r9d, r9d
mov r8d, 0x20000005
call fcn.140093390
mov eax, 0xffffffff
lock xadd dword [rbx + 0x50], eax
mov eax, dword [rbx + 0x50]
test eax, eax
jne 0x1400936bf
cmp dword [rbx + 0x54], eax
je 0x1400936bf
mov rcx, qword [rbx + 0x48]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
add rsp, 0x30
pop rbx
ret

Function at 0x1400936d0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x4c], 0
mov rbx, rcx
je 0x140093716
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005dbf0
mov r8d, 0x2e5
lea rdx, str.CRpcClientObject::OnControlChanged
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.14005dbf0
mov eax, 1
lock xadd dword [rcx + 0x48], eax
call fcn.14000b5e0
mov rcx, rax
mov edx, 0x3f8
mov r8d, 0x64
call fcn.1400b43a0
mov eax, 0xffffffff
lock xadd dword [rbx + 0x48], eax
mov eax, dword [rbx + 0x48]
test eax, eax
jne 0x14009375e
cmp dword [rbx + 0x4c], eax
je 0x14009375e
mov rcx, qword [rbx + 0x40]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
add rsp, 0x20
pop rbx
ret
Function at 0x140093890
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x140158010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r15d, r8d
mov rbp, rdx
mov r13, rcx
mov ecx, BSTR_UserUnmarshal
call fcn.1400bf154
mov r14, rax
lea rcx, [rax + 2]
xor edx, edx
mov r8d, BSTR_UserMarshal
call fcn.1400c53e0
xor ebx, ebx
mov word [r14], bx
test rbp, rbp
je 0x140093931
lea rcx, [r14 + 2]
mov edx, 0x7f
mov r8, rbp
sub r8, rcx
nop dword [rax + rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x140093925
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140093925
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140093900
jmp 0x14009392a
test rdx, rdx
jne 0x14009392e
sub rcx, 2
mov word [rcx], bx
mov dword [r14 + 0x104], r15d
mov esi, 0x63
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x38], ebx
lea r9d, [rsi - 0x62]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1400278b0
test eax, eax
je 0x1400939a0
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005dbf0
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140093a0b
jmp 0x140093a05
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.s0i3
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400939fd
cmp dword [rsp + 0x40], 4
jne 0x1400939fd
mov esi, dword [rsp + 0x38]
test rdi, rdi
je 0x1400939f6
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, 1
jmp 0x140093a0b
test rdi, rdi
je 0x140093a0b
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov dword [rsp + 0x20], ebx
mov r9d, esi
mov r8d, 0x40
lea rdx, str.CMMEndpointNotify::OnDeviceStateChanged
lea rcx, str._s__d_s0i3_d__bSuccess_d
call fcn.14005dbf0
mov r9d, r15d
mov r8, rbp
lea rdx, str.CMMEndpointNotify::OnDeviceStateChanged
lea rcx, str._s_Endpoint_s_NewState_d
call fcn.14005dbf0
mov dword [rsp + 0x20], ebx
mov r9d, esi
mov r8d, 0x4c
lea rdx, str.CMMEndpointNotify::OnDeviceStateChanged
lea rcx, str._s__d_PostEvent
call fcn.14005dbf0
lea rcx, [r13 + 8]
mov rdx, r14
call fcn.14000d7c0
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400beb20
add rsp, 0x70
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140093a90
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x140158010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, rdx
mov r15, rcx
mov ecx, BSTR_UserUnmarshal
call fcn.1400bf154
mov r14, rax
lea rcx, [rax + 2]
xor edx, edx
mov r8d, BSTR_UserMarshal
call fcn.1400c53e0
mov r12d, 1
mov word [r14], r12w
xor ebx, ebx
test rbp, rbp
je 0x140093b32
lea rcx, [r14 + 2]
mov edx, 0x7f
mov r8, rbp
sub r8, rcx
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x140093b26
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140093b26
mov word [rcx], ax
add rcx, 2
sub rdx, r12
jne 0x140093b02
jmp 0x140093b2b
test rdx, rdx
jne 0x140093b2f
sub rcx, 2
mov word [rcx], bx
mov esi, 0x63
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x38], ebx
mov r9d, r12d
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1400278b0
test eax, eax
je 0x140093b99
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005dbf0
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140093c02
jmp 0x140093bfc
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.s0i3
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140093bf4
cmp dword [rsp + 0x40], 4
jne 0x140093bf4
mov esi, dword [rsp + 0x38]
test rdi, rdi
je 0x140093bef
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, r12d
jmp 0x140093c02
test rdi, rdi
je 0x140093c02
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov dword [rsp + 0x20], ebx
mov r9d, esi
mov r8d, 0x61
lea rdx, str.CMMEndpointNotify::OnDeviceAdded
lea rcx, str._s__d_s0i3_d__bSuccess_d
call fcn.14005dbf0
mov r8, rbp
lea rdx, str.CMMEndpointNotify::OnDeviceAdded
lea rcx, [0x140118cd8]
call fcn.14005dbf0
mov dword [rsp + 0x20], ebx
mov r9d, esi
mov r8d, 0x6d
lea rdx, str.CMMEndpointNotify::OnDeviceAdded
lea rcx, str._s__d_PostEvent
call fcn.14005dbf0
lea rcx, [r15 + 8]
mov rdx, r14
call fcn.14000d7c0
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400beb20
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140093c90
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xb0], rbx
mov rax, qword [0x140158010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, rdx
mov r15, rcx
mov ecx, BSTR_UserUnmarshal
call fcn.1400bf154
mov r14, rax
lea rcx, [rax + 2]
xor edx, edx
mov r8d, BSTR_UserMarshal
call fcn.1400c53e0
mov eax, 2
mov word [r14], ax
xor ebx, ebx
test rbp, rbp
je 0x140093d31
lea rcx, [r14 + 2]
mov edx, 0x7f
mov r8, rbp
sub r8, rcx
nop
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x140093d25
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140093d25
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140093d00
jmp 0x140093d2a
test rdx, rdx
jne 0x140093d2e
sub rcx, 2
mov word [rcx], bx
mov esi, 0x63
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x38], ebx
lea r9d, [rsi - 0x62]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1400278b0
test eax, eax
je 0x140093d99
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005dbf0
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140093e04
jmp 0x140093dfe
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.s0i3
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140093df6
cmp dword [rsp + 0x40], 4
jne 0x140093df6
mov esi, dword [rsp + 0x38]
test rdi, rdi
je 0x140093def
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, 1
jmp 0x140093e04
test rdi, rdi
je 0x140093e04
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov dword [rsp + 0x20], ebx
mov r9d, esi
mov r8d, 0x81
lea rdx, str.CMMEndpointNotify::OnDeviceRemoved
lea rcx, str._s__d_s0i3_d__bSuccess_d
call fcn.14005dbf0
mov r8, rbp
lea rdx, str.CMMEndpointNotify::OnDeviceRemoved
lea rcx, [0x140118cd8]
call fcn.14005dbf0
mov dword [rsp + 0x20], ebx
mov r9d, esi
mov r8d, 0x8d
lea rdx, str.CMMEndpointNotify::OnDeviceRemoved
lea rcx, str._s__d_PostEvent
call fcn.14005dbf0
lea rcx, [r15 + 8]
mov rdx, r14
call fcn.14000d7c0
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400beb20
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140093e90
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xa8], rbx
mov rax, qword [0x140158010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, r9
mov ebx, r8d
mov esi, edx
mov r15, rcx
mov ecx, BSTR_UserUnmarshal
call fcn.1400bf154
mov r14, rax
lea rcx, [rax + 2]
xor edx, edx
mov r8d, BSTR_UserMarshal
call fcn.1400c53e0
mov eax, 3
mov word [r14], ax
xor edi, edi
test rbp, rbp
je 0x140093f35
lea rcx, [r14 + 2]
mov edx, 0x7f
mov r8, rbp
sub r8, rcx
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x140093f29
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140093f29
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140093f04
jmp 0x140093f2e
test rdx, rdx
jne 0x140093f32
sub rcx, 2
mov word [rcx], di
mov dword [r14 + 0x104], esi
mov dword [r14 + 0x108], ebx
mov esi, 0x63
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x38], edi
lea r9d, [rsi - 0x62]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1400278b0
test eax, eax
je 0x140093fab
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005dbf0
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140094016
jmp 0x140094010
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.s0i3
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140094008
cmp dword [rsp + 0x40], 4
jne 0x140094008
mov esi, dword [rsp + 0x38]
test rbx, rbx
je 0x140094001
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov edi, 1
jmp 0x140094016
test rbx, rbx
je 0x140094016
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov dword [rsp + 0x20], edi
mov r9d, esi
mov r8d, 0xa3
lea rdx, str.CMMEndpointNotify::OnDefaultDeviceChanged
lea rcx, str._s__d_s0i3_d__bSuccess_d
call fcn.14005dbf0
mov r8, rbp
lea rdx, str.CMMEndpointNotify::OnDefaultDeviceChanged
lea rcx, str._s_Endpoint_s
call fcn.14005dbf0
mov dword [rsp + 0x20], edi
mov r9d, esi
mov r8d, 0xaf
lea rdx, str.CMMEndpointNotify::OnDefaultDeviceChanged
lea rcx, str._s__d_PostEvent
call fcn.14005dbf0
lea rcx, [r15 + 8]
mov rdx, r14
call fcn.14000d7c0
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400beb20
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140094580
Capabilities:
Listen for remote procedure calls

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x140158010]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov edi, ebx
mov byte [0x14015fea4], bl
xor eax, eax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
lea rcx, [r11 - 0x40]
call fcn.1400943f0
lea r9, [rsp + 0x58]
lea r8, str.RealtekAudioRpcEndpoint
lea edx, [rbx + 0xa]
lea rcx, str.ncalrpc
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
test eax, eax
jne 0x1400946af
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 0x4d2
lea r9d, [rbx + 0x21]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400daa60]
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf3]
mov edi, eax
test eax, eax
jne 0x1400946af
lea rcx, [0x140161da8]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov edi, eax
test eax, eax
jne 0x1400946af
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140161da8]
lea rcx, [0x1400daa60]
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
mov edi, eax
test eax, eax
jne 0x1400946af
mov r8d, BSTR_UserUnmarshal
lea rdx, str.RpcServerConnect
lea rcx, [0x1400e2bd0]
call fcn.14005dbf0
xor r8d, r8d
mov edx, 0x4d2
lea ecx, [rbx + 1]
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov edi, eax
mov r8d, eax
lea rdx, str.RpcServerConnect
lea rcx, str._s_status_d
call fcn.14005dbf0
cmp edi, 0x6b1
cmove edi, ebx
mov r8d, edi
lea rdx, str.RpcServerConnect
lea rcx, str._s_status_d
call fcn.14005dbf0
nop
mov qword [rsp + 0x48], rbx
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140094770
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 1
lea r9, str.Others
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x1400e2b48]
lea rcx, [rsp + 0x48]
call fcn.140006bc0
mov r9d, edi
lea r8, str.End_RpcServerConnect
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
mov rcx, qword [0x140161338]
call fcn.14007dbb0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14009474d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400beb20
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x140096250
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push rbx
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140158010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, qword [rsp + 0xd0]
mov rbp, r8
mov r14, qword [rsp + 0xd8]
lea r8, [rsp + 0x50]
mov r15, rdx
xor ebx, ebx
mov rdx, qword [rdx]
mov r13d, r9d
mov qword [rsp + 0x50], rbx
call fcn.140096590
mov r12, qword [rsp + 0x50]
test r12, r12
je 0x1400963e2
mov rcx, qword [r12]
mov qword [rsp + 0xb0], rdi
mov dword [rsp + 0x58], ebx
test rcx, rcx
jne 0x1400962c9
mov ebx, 0xc0000008
jmp 0x1400963b2
test rbp, rbp
je 0x1400963ad
test rsi, rsi
je 0x1400963ad
test r14, r14
je 0x1400963ad
mov dword [rsp + 0x48], 2
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov dword [rsp + 0x38], ebx
mov r8d, r13d
mov qword [rsp + 0x30], rbx
mov rdx, rbp
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.bcrypt.dll_BCryptEncrypt]
mov ebx, eax
test eax, eax
js 0x1400963b2
mov ebx, dword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov rdi, rax
test rax, rax
jne 0x140096348
mov ebx, 0xc0000017
jmp 0x1400963b2
mov rcx, qword [r12]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x48], 2
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov r8d, r13d
mov eax, dword [rsp + 0x58]
mov rdx, rbp
mov dword [rsp + 0x38], eax
xor eax, eax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.bcrypt.dll_BCryptEncrypt]
mov ebx, eax
test eax, eax
js 0x140096397
mov eax, dword [rsp + 0x58]
mov qword [rsi], rdi
mov dword [r14], eax
jmp 0x1400963b2
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
jmp 0x1400963b2
mov ebx, 0xc000000d
mov rdx, qword [r15]
not ebx
shr ebx, 0x1f
mov eax, 0xffffffff
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
mov rdi, qword [rsp + 0xb0]
sub eax, 1
jg 0x1400963de
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
jmp 0x140096403
mov rdx, qword [r15]
mov eax, 0xffffffff
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140096401
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400beb20
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret