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

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x14005dc58
mov r8d, 0xfd
lea rdx, str.CRegPKeyReWriter::OnRemoveDevice
lea rcx, str._s__d_RETURN_ON_FALSE
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14003f0e0
mov ecx, dword [rdx + 0x180]
mov qword [rsp + 0x30], rbx
lea eax, [rcx - 1]
test eax, 0xfffffffd
je 0x14005dcdf
cmp ecx, 4
jne 0x14005dcd1
mov rbx, qword [rdx + 0x138]
call fcn.140004f10
mov rcx, rax
mov r8, rbx
mov rdx, 0xffffffff80000002
call fcn.1400690a0
test rax, rax
je 0x14005dca2
lea rcx, [rax + 0x20]
lea rdx, [rsi - 8]
call fcn.1400099f0
call fcn.140009760
test dword [rax + 0xac], 0x100
jne 0x14005dcc8
call fcn.140009760
test dword [rax + 0xb0], 0x20000
je 0x14005dd50
mov rbx, qword [rdi + 0x130]
jmp 0x14005dd27
cmp ecx, 5
jne 0x14005dd50
mov rbx, qword [rdx + 0x130]
jmp 0x14005dd27
mov rbx, qword [rdx + 0x130]
call fcn.140004f10
mov rcx, rax
mov r8, rbx
mov rdx, 0xffffffff80000002
call fcn.1400690a0
test rax, rax
je 0x14005dd0f
lea rcx, [rax + 0x20]
lea rdx, [rsi - 8]
call fcn.1400099f0
call fcn.140009760
test dword [rax + 0x184], 0x10000000
je 0x14005dd50
mov rbx, qword [rdi + 0x138]
call fcn.140004f10
mov r8, rbx
mov rdx, 0xffffffff80000002
mov rcx, rax
call fcn.1400690a0
test rax, rax
je 0x14005dd50
lea rdx, [rsi - 8]
lea rcx, [rax + 0x20]
call fcn.1400099f0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14005f560
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
test rdx, rdx
jne 0x14005f598
mov r8d, 0x186
lea rdx, str.CRtkAudioDriverHelper::OnEndpointVolumeChanged
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14003f0e0
test rbx, rbx
jne 0x14005f5a5
mov r8d, 0x187
jmp 0x14005f57b
call fcn.140009760
test byte [rax + 0x50], 0x10
je 0x14005f5e8
call fcn.140009920
mov rdx, rdi
call fcn.140067da0
test rax, rax
je 0x14005f5e8
cmp dword [rax + 0x150], 0
je 0x14005f5e8
cmp dword [rax + 0x158], 0
jne 0x14005f5e8
cmp dword [rax + 0x154], 0
jne 0x14005f5e8
mov edx, dword [rbx + 0x10]
mov rcx, rax
call fcn.14005f3d0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140068b50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, qword [rcx + 0x4e8]
mov rsi, rdx
mov rdi, rcx
test rbx, rbx
je 0x140068b9f
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140068b9a
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 0x140068d98
test rbx, rbx
jne 0x140068b79
mov qword [rsp + 0x70], rbp
mov ecx, BSTR_UserUnmarshal
mov qword [rsp + 0x78], r14
call fcn.14008b40c
xor edx, edx
mov r8d, BSTR_UserUnmarshal
mov rcx, rax
mov rbx, rax
call fcn.1400916b0
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 0x140068c04
movzx eax, word [rsi + rcx]
test ax, ax
je 0x140068c04
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140068be0
jmp 0x140068c09
test rdx, rdx
jne 0x140068c0d
sub rcx, 2
xor r14d, r14d
mov word [rcx], r14w
cmp dword [rdi + 0x4e0], r14d
je 0x140068cab
mov rcx, qword [rdi + 0x4c8]
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 0x140068ca1
mov eax, dword [rbx]
cmp eax, 4
je 0x140068c69
cmp eax, 0xb
jne 0x140068cab
lea r8, [rbx + 0x108]
mov rdx, rbp
lea rcx, [rdi + 0x4c8]
call fcn.1400693a0
jmp 0x140068cab
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0x108]
mov rcx, qword [rdi + 0x4c8]
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 0x140068cab
mov dword [rbx + 0x110], 1
mov rsi, qword [rdi + 0x4f0]
mov rbp, qword [rsp + 0x70]
cmp qword [rdi + 0x508], r14
jne 0x140068d51
mov ecx, dword [rdi + 0x510]
test rcx, rcx
jne 0x140068cd4
mov rcx, r14
jmp 0x140068cf2
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 0x18
jb 0x140068dad
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 0x140068dad
mov rcx, qword [rdi + 0x500]
mov qword [rax], rcx
mov qword [rdi + 0x500], rax
mov r8d, dword [rdi + 0x510]
lea ecx, [r8 - 1]
lea rdx, [rcx*2 + 1]
add rdx, rcx
sub r8d, 1
lea rdx, [rax + rdx*8]
js 0x140068d51
mov rax, qword [rdi + 0x508]
mov qword [rdx], rax
mov qword [rdi + 0x508], rdx
sub rdx, 0x18
sub r8d, 1
jns 0x140068d36
mov rcx, qword [rdi + 0x508]
mov rax, qword [rcx]
mov qword [rcx + 0x10], rbx
mov qword [rdi + 0x508], rax
mov qword [rcx + 8], rsi
mov qword [rcx], r14
inc qword [rdi + 0x4f8]
mov rax, qword [rdi + 0x4f0]
test rax, rax
je 0x140068d85
mov qword [rax], rcx
jmp 0x140068d8c
mov qword [rdi + 0x4e8], rcx
mov r14, qword [rsp + 0x78]
mov qword [rdi + 0x4f0], rcx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14008ade0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x8007000e
call fcn.140003700
int3
Function at 0x1400693a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1400f5010]
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 0x1400693ec
cmp dword [rsp + 0x34], 0xb
mov ecx, 0xd
cmovne eax, ecx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14008ade0
add rsp, 0x48
ret
Function at 0x14006b920
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 0x14006b96b
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.14003f0e0
cmp dword [rcx + 0x64], 0
je 0x14006b992
mov r8d, 0x2d
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14003f0e0
mov r8d, 0x1df
jmp 0x14006b949
mov qword [rsp + 0x30], rbp
mov eax, 1
mov qword [rsp + 0x38], r14
lock xadd dword [rcx + 0x60], eax
mov ecx, 0x8c
call fcn.14008b40c
xor edx, edx
mov r8d, 0x8c
mov rcx, rax
mov rbp, rax
call fcn.1400916b0
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 0x14006bae3
cmp qword [rbx + 0xb0], 0
mov rsi, qword [rbx + 0x98]
jne 0x14006ba9d
mov ecx, dword [rbx + 0xb8]
test rcx, rcx
je 0x14006ba3e
xor edx, edx
mov rax, rdi
div rcx
cmp rax, 0x18
jb 0x14006bb2c
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 0x14006bb2c
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 0x14006ba9d
mov rax, qword [rbx + 0xb0]
mov qword [rdx], rax
mov qword [rbx + 0xb0], rdx
sub rdx, 0x18
sub r8d, 1
jns 0x14006ba82
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 0x14006bad5
mov qword [rax], rcx
jmp 0x14006badc
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 0x14006bb12
cmp dword [rbx + 0x64], eax
je 0x14006bb12
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.140003700
int3
Function at 0x14006bb40
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 0x14006bb8b
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.14003f0e0
cmp dword [rcx + 0x44], 0
je 0x14006bbb2
mov r8d, 0x2d
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14003f0e0
mov r8d, 0x1f9
jmp 0x14006bb69
mov qword [rsp + 0x38], rbx
mov eax, 1
lock xadd dword [rcx + 0x40], eax
mov ecx, 0x408
call fcn.14008b40c
xor edx, edx
mov qword [rsp + 0x30], rax
mov r8d, 0x408
mov rcx, rax
mov rbx, rax
call fcn.1400916b0
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 0x14006bc30
lea rcx, [rdi + 0x100]
lea rdx, [rsp + 0x30]
call fcn.140005350
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 0x14006bc69
cmp dword [rdi + 0x44], eax
je 0x14006bc69
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 0x14006bc80
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 0x14006bccb
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.14003f0e0
cmp dword [rcx + 0x5c], 0
je 0x14006bcf2
mov r8d, 0x2d
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14003f0e0
mov r8d, 0x242
jmp 0x14006bca9
mov qword [rsp + 0x38], rbx
mov eax, 1
lock xadd dword [rcx + 0x58], eax
mov ecx, 0x204
call fcn.14008b40c
xor edx, edx
mov qword [rsp + 0x30], rax
mov r8d, 0x204
mov rcx, rax
mov rbx, rax
call fcn.1400916b0
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 0x14006bd60
lea rcx, [rdi + 0xb8]
lea rdx, [rsp + 0x30]
call fcn.140005350
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 0x14006bd99
cmp dword [rdi + 0x5c], eax
je 0x14006bd99
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 0x14006bdb0
Capabilities:
Print debug messages

Disassembly:
add rcx, 0xfffffffffffffff8
mov r8d, 0x20000003
test edx, edx
jne 0x14006bdc4
mov r8d, 0x20000002
jmp fcn.14006bde0
Function at 0x14006bde0
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 0x14006be23
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.14003f0e0
cmp dword [rcx + 0x64], 0
je 0x14006be4a
mov r8d, 0x2d
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14003f0e0
mov r8d, 0x281
jmp 0x14006be06
mov qword [rsp + 0x30], rbx
mov eax, 1
lock xadd dword [rcx + 0x60], eax
mov ecx, 0x208
call fcn.14008b40c
xor edx, edx
mov qword [rsp + 0x38], rax
mov r8d, 0x208
mov rcx, rax
mov rbx, rax
call fcn.1400916b0
lea r8, [0x1400aa028]
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 0x14006bec6
lea rcx, [rdi + 0xf0]
lea rdx, [rsp + 0x38]
call fcn.140005350
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 0x14006beff
cmp dword [rdi + 0x64], eax
je 0x14006beff
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 0x14006bf10
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x54], 0
mov rbx, rcx
je 0x14006bf56
mov r8d, 0x2d
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14003f0e0
mov r8d, 0x2b6
lea rdx, str.CRpcClientObject::OnTimer
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x30
pop rbx
jmp fcn.14003f0e0
mov eax, 1
lock xadd dword [rcx + 0x50], eax
cmp qword [rcx + 0x178], 0
je 0x14006bfdd
cmp edx, 0x3f3
jne 0x14006bfdd
mov r9d, dword [rcx + 0x180]
test r9d, r9d
je 0x14006bfc4
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.14003f0e0
cmp dword [rbx + 0x170], 0
je 0x14006bfba
mov dword [rbx + 0x174], 1
call fcn.14007fdd0
jmp 0x14006bfc4
mov dword [rbx + 0x170], 1
mov rax, qword [rbx - 8]
lea rcx, [rbx - 8]
mov r8d, 0x270f
lea rdx, [0x1400aa028]
call qword [rax]
jmp 0x14006c006
cmp edx, 0x3f8
jne 0x14006c006
call fcn.140009a90
mov rcx, rax
mov edx, 0x3f8
call fcn.140080fd0
lea rcx, [rbx - 0x10]
mov r8d, 0x20000005
call fcn.14006bde0
mov eax, 0xffffffff
lock xadd dword [rbx + 0x50], eax
mov eax, dword [rbx + 0x50]
test eax, eax
jne 0x14006c02c
cmp dword [rbx + 0x54], eax
je 0x14006c02c
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 0x14006c040
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x4c], 0
mov rbx, rcx
je 0x14006c086
mov r8d, 0x2d
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14003f0e0
mov r8d, 0x2db
lea rdx, str.CRpcClientObject::OnControlChanged
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.14003f0e0
mov eax, 1
lock xadd dword [rcx + 0x48], eax
call fcn.140009a90
mov rcx, rax
mov edx, 0x3f8
mov r8d, 0x64
call fcn.140080de0
mov eax, 0xffffffff
lock xadd dword [rbx + 0x48], eax
mov eax, dword [rbx + 0x48]
test eax, eax
jne 0x14006c0ce
cmp dword [rbx + 0x4c], eax
je 0x14006c0ce
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 0x14006e740
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 [0x1400f5010]
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.14006ea80
mov r12, qword [rsp + 0x50]
test r12, r12
je 0x14006e8d2
mov rcx, qword [r12]
mov qword [rsp + 0xb0], rdi
mov dword [rsp + 0x58], ebx
test rcx, rcx
jne 0x14006e7b9
mov ebx, 0xc0000008
jmp 0x14006e8a2
test rbp, rbp
je 0x14006e89d
test rsi, rsi
je 0x14006e89d
test r14, r14
je 0x14006e89d
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 0x14006e8a2
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 0x14006e838
mov ebx, 0xc0000017
jmp 0x14006e8a2
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 0x14006e887
mov eax, dword [rsp + 0x58]
mov qword [rsi], rdi
mov dword [r14], eax
jmp 0x14006e8a2
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 0x14006e8a2
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 0x14006e8ce
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
jmp 0x14006e8f3
mov rdx, qword [r15]
mov eax, 0xffffffff
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006e8f1
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.14008ade0
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret
Function at 0x14006f420
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x70], rcx
call fcn.140003970
mov rcx, rax
test rax, rax
je 0x14006f649
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x808], rax
test rbx, rbx
je 0x14006f622
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x14006f490
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x808]
call fcn.140003400
mov rax, qword [rbp + 0x808]
cmp dword [rax - 8], 1
jle 0x14006f4cf
mov edx, dword [rax - 0x10]
lea rcx, [rbp + 0x808]
call fcn.140003340
mov rax, qword [rbp + 0x808]
mov qword [rbp + 0x800], rax
mov qword [rbp + 0x818], rsi
mov rdi, rbp
mov esi, 0x5c00
xor r15d, r15d
nop dword [rax + rax]
mov qword [rdi + 8], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov qword [rdi], rax
test rax, rax
je 0x14006f5c2
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x60], xmm0
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov ebx, esi
or ebx, 0x220000
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rax + 3]
mov rcx, qword [rbp + 0x800]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14006f567
mov qword [rsp + 0x40], r15
jmp 0x14006f5b9
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], SafeArrayUnaccessData
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
lea r8, [rsp + 0x60]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
mov ebx, eax
mov rcx, r14
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
test ebx, ebx
cmove rcx, r15
mov qword [rsp + 0x40], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm0
add esi, 0xc
add rdi, 0x20
cmp esi, 0x5ef4
jl 0x14006f4f0
mov qword [rbp + 0x7e8], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov qword [rbp + 0x7e0], rax
test rax, rax
je 0x14006f622
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rbp
lea r8, [0x14006f660]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbp + 0x810], rax
mov rax, rbp
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14008ade0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003700
int3
Function at 0x14006fcc0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, edx
mov rsi, rcx
mov r9d, edx
lea rcx, str._s__d_nDriverEventIndex_d
lea rdx, str.CRtkAudioDriverEvent::NotifyEvent
mov r8d, 0xbb
call fcn.14003f0e0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
mov rcx, qword [rsi + 0x818]
mov ebx, eax
test rcx, rcx
je 0x14006fd1b
mov r9, qword [rcx]
mov r8d, edi
mov rdx, qword [rsi + 0x800]
call qword [r9]
cmp ebx, 1
jbe 0x14006fd4b
mov r9d, ebx
lea rdx, str.CRtkAudioDriverEvent::NotifyEvent
mov r8d, 0xc4
lea rcx, str._s__d_CoInitializeEx_hr_x
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14003f0e0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]