joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140079520
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14011f010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, qword [rcx + 0x4f0]
mov rsi, rdx
mov rdi, rcx
test rbx, rbx
je 0x14007956f
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x14007956a
add rcx, 4
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
test eax, eax
je 0x140079768
test rbx, rbx
jne 0x140079549
mov qword [rsp + 0x70], rbp
mov ecx, BSTR_UserUnmarshal
mov qword [rsp + 0x78], r14
call fcn.1400a464c
xor edx, edx
mov r8d, BSTR_UserUnmarshal
mov rcx, rax
mov rbx, rax
call fcn.1400aa8f0
lea rbp, [rbx + 4]
mov edx, 0x7f
mov rcx, rbp
sub rsi, rbp
nop word [rax + rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1400795d4
movzx eax, word [rsi + rcx]
test ax, ax
je 0x1400795d4
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400795b0
jmp 0x1400795d9
test rdx, rdx
jne 0x1400795dd
sub rcx, 2
xor r14d, r14d
mov word [rcx], r14w
cmp dword [rdi + 0x4e8], r14d
je 0x14007967b
mov rcx, qword [rdi + 0x4d0]
mov r9, rbx
mov qword [rsp + 0x28], r14
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140079671
mov eax, dword [rbx]
cmp eax, 4
je 0x140079639
cmp eax, 0xb
jne 0x14007967b
lea r8, [rbx + 0x108]
mov rdx, rbp
lea rcx, [rdi + 0x4d0]
call fcn.14007a370
jmp 0x14007967b
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0x108]
mov rcx, qword [rdi + 0x4d0]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
jmp 0x14007967b
mov dword [rbx + 0x110], 1
mov rsi, qword [rdi + 0x4f8]
mov rbp, qword [rsp + 0x70]
cmp qword [rdi + 0x510], r14
jne 0x140079721
mov ecx, dword [rdi + 0x518]
test rcx, rcx
jne 0x1400796a4
mov rcx, r14
jmp 0x1400796c2
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 0x18
jb 0x14007977d
lea rcx, [rcx + rcx*2]
shl rcx, 3
add rcx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14007977d
mov rcx, qword [rdi + 0x508]
mov qword [rax], rcx
mov qword [rdi + 0x508], rax
mov r8d, dword [rdi + 0x518]
lea ecx, [r8 - 1]
lea rdx, [rcx*2 + 1]
add rdx, rcx
sub r8d, 1
lea rdx, [rax + rdx*8]
js 0x140079721
mov rax, qword [rdi + 0x510]
mov qword [rdx], rax
mov qword [rdi + 0x510], rdx
sub rdx, 0x18
sub r8d, 1
jns 0x140079706
mov rcx, qword [rdi + 0x510]
mov rax, qword [rcx]
mov qword [rcx + 0x10], rbx
mov qword [rdi + 0x510], rax
mov qword [rcx + 8], rsi
mov qword [rcx], r14
inc qword [rdi + 0x500]
mov rax, qword [rdi + 0x4f8]
test rax, rax
je 0x140079755
mov qword [rax], rcx
jmp 0x14007975c
mov qword [rdi + 0x4f0], rcx
mov r14, qword [rsp + 0x78]
mov qword [rdi + 0x4f8], rcx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a4020
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x8007000e
call fcn.140004670
int3
Function at 0x140079f20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x270
mov rax, qword [0x14011f010]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, rcx
xor r14d, r14d
mov rcx, rdx
mov esi, r14d
mov rbx, rdx
call fcn.140015380
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x154]
mov r8d, 0x104
call fcn.1400aa8f0
xor edx, edx
mov dword [rsp + 0x40], 0x104
mov r8d, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400aa8f0
mov rcx, qword [rbp + 0x4d0]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], r14
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r14
mov edx, esi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
mov r8, qword [rbx + 8]
lea rdx, [rsp + 0x50]
xor r9d, r9d
mov rcx, rbx
mov edi, eax
inc esi
call fcn.140015450
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140079fe2
mov qword [rcx], rax
jmp 0x140079fe5
mov qword [rbx], rax
mov qword [rbx + 8], rax
test edi, edi
je 0x140079f60
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400a4020
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14007a370
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14011f010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov dword [rsp + 0x30], 8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14007a3bc
cmp dword [rsp + 0x34], 0xb
mov ecx, SafeArrayDestroy
cmovne eax, ecx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a4020
add rsp, 0x48
ret
Function at 0x14007c220
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
movzx eax, byte [rcx + 0x194]
mov rbx, rcx
test al, al
jne 0x14007c2a6
mov byte [rcx + 0x194], 1
call fcn.14000af30
mov rcx, rax
mov edx, 0x3f3
call fcn.140098be0
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rcx, qword [rbx + 0x88]
mov edx, 0xea60
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
lea rdx, str.CRpcClientObject::StopRpcEventTunnel
cmp eax, 0x102
jne 0x14007c28f
mov r9, rbx
lea r8d, [rax + 0xd]
lea rcx, str._s__d_WaitForSingleObject_hRpcEventTunnelTerminated__60000__timeout_CRpcClientObject_x
add rsp, 0x20
pop rbx
jmp fcn.14004c3d0
mov r8d, 0x113
lea rcx, [0x1400c4050]
add rsp, 0x20
pop rbx
jmp fcn.14004c3d0
add rsp, 0x20
pop rbx
ret
Function at 0x14007c7c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movzx eax, byte [rcx + 0x194]
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test al, al
je 0x14007c80b
mov r8d, 0x1de
lea rdx, str.CRpcClientObject::OnPropertyValueChanged
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp fcn.14004c3d0
cmp dword [rcx + 0x64], 0
je 0x14007c832
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14004c3d0
mov r8d, 0x1df
jmp 0x14007c7e9
mov qword [rsp + 0x30], rbp
mov eax, 1
mov qword [rsp + 0x38], r14
lock xadd dword [rcx + 0x60], eax
mov ecx, 0x8c
call fcn.1400a464c
xor edx, edx
mov r8d, 0x8c
mov rcx, rax
mov rbp, rax
call fcn.1400aa8f0
mov r8, rsi
mov edx, 0x3c
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x78], xmm0
mov ecx, dword [rdi + 0x10]
mov dword [rbp + 0x88], ecx
lea rcx, [rbx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
movzx eax, byte [rbx + 0x194]
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14007c983
cmp qword [rbx + 0xb0], 0
mov rsi, qword [rbx + 0x98]
jne 0x14007c93d
mov ecx, dword [rbx + 0xb8]
test rcx, rcx
je 0x14007c8de
xor edx, edx
mov rax, rdi
div rcx
cmp rax, 0x18
jb 0x14007c9cc
lea rcx, [rcx + rcx*2]
shl rcx, 3
add rcx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14007c9cc
mov rcx, qword [rbx + 0xa8]
mov qword [rax], rcx
mov qword [rbx + 0xa8], rax
mov r8d, dword [rbx + 0xb8]
lea ecx, [r8 - 1]
lea rdx, [rcx*2 + 1]
add rdx, rcx
sub r8d, 1
lea rdx, [rax + rdx*8]
js 0x14007c93d
mov rax, qword [rbx + 0xb0]
mov qword [rdx], rax
mov qword [rbx + 0xb0], rdx
sub rdx, 0x18
sub r8d, 1
jns 0x14007c922
mov rcx, qword [rbx + 0xb0]
mov rax, qword [rcx]
mov qword [rcx + 0x10], rbp
mov qword [rbx + 0xb0], rax
mov qword [rcx + 8], rsi
mov qword [rcx], 0
inc qword [rbx + 0xa0]
mov rax, qword [rbx + 0x98]
test rax, rax
je 0x14007c975
mov qword [rax], rcx
jmp 0x14007c97c
mov qword [rbx + 0x90], rcx
mov qword [rbx + 0x98], rcx
lea rcx, [rbx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
lock xadd dword [rbx + 0x60], edi
mov eax, dword [rbx + 0x60]
test eax, eax
jne 0x14007c9b2
cmp dword [rbx + 0x64], eax
je 0x14007c9b2
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x8007000e
call fcn.140004670
int3
Function at 0x14007c9e0
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 0x14007ca2b
mov r8d, 0x1f8
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.14004c3d0
cmp dword [rcx + 0x44], 0
je 0x14007ca52
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14004c3d0
mov r8d, 0x1f9
jmp 0x14007ca09
mov qword [rsp + 0x38], rbx
mov eax, 1
lock xadd dword [rcx + 0x40], eax
mov ecx, 0x408
call fcn.1400a464c
xor edx, edx
mov qword [rsp + 0x30], rax
mov r8d, 0x408
mov rcx, rax
mov rbx, rax
call fcn.1400aa8f0
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 0x14007cad0
lea rcx, [rdi + 0x100]
lea rdx, [rsp + 0x30]
call fcn.140006270
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 0x14007cb09
cmp dword [rdi + 0x44], eax
je 0x14007cb09
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 0x14007cb20
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 0x14007cb6b
mov r8d, 0x241
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.14004c3d0
cmp dword [rcx + 0x5c], 0
je 0x14007cb92
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14004c3d0
mov r8d, 0x242
jmp 0x14007cb49
mov qword [rsp + 0x38], rbx
mov eax, 1
lock xadd dword [rcx + 0x58], eax
mov ecx, 0x204
call fcn.1400a464c
xor edx, edx
mov qword [rsp + 0x30], rax
mov r8d, 0x204
mov rcx, rax
mov rbx, rax
call fcn.1400aa8f0
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 0x14007cc00
lea rcx, [rdi + 0xb8]
lea rdx, [rsp + 0x30]
call fcn.140006270
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 0x14007cc39
cmp dword [rdi + 0x5c], eax
je 0x14007cc39
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 0x14007cc80
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x20
movzx eax, byte [rcx + 0x194]
mov esi, r8d
mov rdi, rcx
test al, al
je 0x14007ccc3
mov r8d, 0x280
lea rdx, str.CRpcClientObject::OnServiceEvent
lea rcx, str._s__d_RETURN_ON_FALSE
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14004c3d0
cmp dword [rcx + 0x64], 0
je 0x14007ccea
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14004c3d0
mov r8d, 0x281
jmp 0x14007cca6
mov qword [rsp + 0x30], rbx
mov eax, 1
lock xadd dword [rcx + 0x60], eax
mov ecx, 0x208
call fcn.1400a464c
xor edx, edx
mov qword [rsp + 0x38], rax
mov r8d, 0x208
mov rcx, rax
mov rbx, rax
call fcn.1400aa8f0
lea r8, [0x1400c4360]
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], esi
lea rcx, [rdi + 0x28]
mov dword [rbx + 0x204], 0
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
movzx eax, byte [rdi + 0x194]
test al, al
jne 0x14007cd66
lea rcx, [rdi + 0xf0]
lea rdx, [rsp + 0x38]
call fcn.140006270
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 0x14007cd9f
cmp dword [rdi + 0x64], eax
je 0x14007cd9f
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14007cdb0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x54], 0
mov rbx, rcx
je 0x14007cdf6
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14004c3d0
mov r8d, 0x2b6
lea rdx, str.CRpcClientObject::OnTimer
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x30
pop rbx
jmp fcn.14004c3d0
mov eax, 1
lock xadd dword [rcx + 0x50], eax
cmp qword [rcx + 0x178], 0
je 0x14007ce7d
cmp edx, 0x3f3
jne 0x14007ce7d
mov r9d, dword [rcx + 0x180]
test r9d, r9d
je 0x14007ce64
lea rax, [rcx - 0x10]
mov r8d, 0x2bf
lea rcx, str._s__d_block_check_EventPostingType_d_CRpcClientObject_x
mov qword [rsp + 0x20], rax
lea rdx, str.CRpcClientObject::OnTimer
call fcn.14004c3d0
cmp dword [rbx + 0x170], 0
je 0x14007ce5a
mov dword [rbx + 0x174], 1
call fcn.1400972b0
jmp 0x14007ce64
mov dword [rbx + 0x170], 1
mov rax, qword [rbx - 8]
lea rcx, [rbx - 8]
mov r8d, 0x270f
lea rdx, [0x1400c4360]
call qword [rax]
jmp 0x14007cea6
cmp edx, 0x3f8
jne 0x14007cea6
call fcn.14000af30
mov rcx, rax
mov edx, 0x3f8
call fcn.140098be0
lea rcx, [rbx - 0x10]
mov r8d, 0x20000005
call fcn.14007cc80
mov eax, 0xffffffff
lock xadd dword [rbx + 0x50], eax
mov eax, dword [rbx + 0x50]
test eax, eax
jne case.default.0x14007cec5
cmp dword [rbx + 0x54], eax
je case.default.0x14007cec5
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
invalid
invalid
or eax, 0x88a088b
pop rsi
or bl, byte [rdx + rcx - 0x14]
or ch, ah
or bh, al
or al, bh
or byte [rbx], cl
or al, 0xa
or al, 0x11
invalid
push rcx
or edx, dword [rdx + 0xb]
inc dword [rdi]
add byte [rax], cl
add al, 0xa
add ecx, dword [rdx]
ret 0xc209
invalid

Function at 0x14007cee0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x4c], 0
mov rbx, rcx
je 0x14007cf26
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14004c3d0
mov r8d, 0x2db
lea rdx, str.CRpcClientObject::OnControlChanged
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.14004c3d0
mov eax, 1
lock xadd dword [rcx + 0x48], eax
call fcn.14000af30
mov rcx, rax
mov edx, 0x3f8
mov r8d, 0x64
call fcn.1400989d0
mov eax, 0xffffffff
lock xadd dword [rbx + 0x48], eax
mov eax, dword [rbx + 0x48]
test eax, eax
jne case.default.0x14007cf67
cmp dword [rbx + 0x4c], eax
je case.default.0x14007cf67
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 0x14007da30
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 [0x14011f010]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov byte [0x140125d58], 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.14007d8a0
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 0x14007db63
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, [0x1400bfa00]
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf3]
mov edi, eax
test eax, eax
jne 0x14007db67
lea rcx, [0x140127248]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov edi, eax
test eax, eax
jne 0x14007db67
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140127248]
lea rcx, [0x1400bfa00]
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
mov edi, eax
test eax, eax
jne 0x14007db67
mov r8d, BSTR_UserUnmarshal
lea rdx, str.RpcServerConnect
lea rcx, [0x1400c4050]
call fcn.14004c3d0
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.14004c3d0
cmp edi, 0x6b1
cmove edi, ebx
jmp 0x14007db67
mov edi, dword [rsp + 0x40]
mov r8d, edi
lea rdx, str.RpcServerConnect
lea rcx, str._s_status_d
call fcn.14004c3d0
nop
mov qword [rsp + 0x48], rbx
call fcn.140004540
mov rcx, rax
test rax, rax
je 0x14007dc28
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, [0x1400c3fc8]
lea rcx, [rsp + 0x48]
call fcn.140006190
mov r9d, edi
lea r8, str.End_RpcServerConnect
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
mov rcx, qword [0x1401267f8]
call fcn.14006a7f0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007dc05
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.1400a4020
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004670
int3
Function at 0x14007f910
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 [0x14011f010]
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.14007fc50
mov r12, qword [rsp + 0x50]
test r12, r12
je 0x14007faa2
mov rcx, qword [r12]
mov qword [rsp + 0xb0], rdi
mov dword [rsp + 0x58], ebx
test rcx, rcx
jne 0x14007f989
mov ebx, 0xc0000008
jmp 0x14007fa72
test rbp, rbp
je 0x14007fa6d
test rsi, rsi
je 0x14007fa6d
test r14, r14
je 0x14007fa6d
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 0x14007fa72
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 0x14007fa08
mov ebx, 0xc0000017
jmp 0x14007fa72
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 0x14007fa57
mov eax, dword [rsp + 0x58]
mov qword [rsi], rdi
mov dword [r14], eax
jmp 0x14007fa72
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 0x14007fa72
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 0x14007fa9e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
jmp 0x14007fac3
mov rdx, qword [r15]
mov eax, 0xffffffff
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007fac1
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.1400a4020
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret