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

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1400ff010]
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 0x14006dbbc
cmp dword [rsp + 0x34], 0xb
mov ecx, 0xd
cmovne eax, ecx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140091f30
add rsp, 0x48
ret
Function at 0x14006fb80
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
movzx eax, byte [rcx + 0x194]
mov rbx, rcx
test al, al
jne 0x14006fc06
mov byte [rcx + 0x194], 1
call fcn.140009f90
mov rcx, rax
mov edx, 0x3f3
call fcn.140087ca0
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 0x14006fbef
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.1400430e0
mov r8d, 0x113
lea rcx, [0x1400b0e88]
add rsp, 0x20
pop rbx
jmp fcn.1400430e0
add rsp, 0x20
pop rbx
ret
Function at 0x140070120
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 0x14007016b
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.1400430e0
cmp dword [rcx + 0x64], 0
je 0x140070192
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
mov r8d, 0x1df
jmp 0x140070149
mov qword [rsp + 0x30], rbp
mov eax, 1
mov qword [rsp + 0x38], r14
lock xadd dword [rcx + 0x60], eax
mov ecx, 0x8c
call fcn.14009255c
xor edx, edx
mov r8d, 0x8c
mov rcx, rax
mov rbp, rax
call fcn.140098800
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 0x1400702e3
cmp qword [rbx + 0xb0], 0
mov rsi, qword [rbx + 0x98]
jne 0x14007029d
mov ecx, dword [rbx + 0xb8]
test rcx, rcx
je 0x14007023e
xor edx, edx
mov rax, rdi
div rcx
cmp rax, 0x18
jb 0x14007032c
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 0x14007032c
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 0x14007029d
mov rax, qword [rbx + 0xb0]
mov qword [rdx], rax
mov qword [rbx + 0xb0], rdx
sub rdx, 0x18
sub r8d, 1
jns 0x140070282
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 0x1400702d5
mov qword [rax], rcx
jmp 0x1400702dc
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 0x140070312
cmp dword [rbx + 0x64], eax
je 0x140070312
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.140003b40
int3
Function at 0x140070340
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 0x14007038b
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.1400430e0
cmp dword [rcx + 0x44], 0
je 0x1400703b2
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
mov r8d, 0x1f9
jmp 0x140070369
mov qword [rsp + 0x38], rbx
mov eax, 1
lock xadd dword [rcx + 0x40], eax
mov ecx, 0x408
call fcn.14009255c
xor edx, edx
mov qword [rsp + 0x30], rax
mov r8d, 0x408
mov rcx, rax
mov rbx, rax
call fcn.140098800
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 0x140070430
lea rcx, [rdi + 0x100]
lea rdx, [rsp + 0x30]
call fcn.140005800
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 0x140070469
cmp dword [rdi + 0x44], eax
je 0x140070469
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 0x140070480
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 0x1400704cb
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.1400430e0
cmp dword [rcx + 0x5c], 0
je 0x1400704f2
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
mov r8d, 0x242
jmp 0x1400704a9
mov qword [rsp + 0x38], rbx
mov eax, 1
lock xadd dword [rcx + 0x58], eax
mov ecx, 0x204
call fcn.14009255c
xor edx, edx
mov qword [rsp + 0x30], rax
mov r8d, 0x204
mov rcx, rax
mov rbx, rax
call fcn.140098800
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 0x140070560
lea rcx, [rdi + 0xb8]
lea rdx, [rsp + 0x30]
call fcn.140005800
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 0x140070599
cmp dword [rdi + 0x5c], eax
je 0x140070599
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 0x1400705e0
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 0x140070623
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.1400430e0
cmp dword [rcx + 0x64], 0
je 0x14007064a
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
mov r8d, 0x281
jmp 0x140070606
mov qword [rsp + 0x30], rbx
mov eax, 1
lock xadd dword [rcx + 0x60], eax
mov ecx, 0x208
call fcn.14009255c
xor edx, edx
mov qword [rsp + 0x38], rax
mov r8d, 0x208
mov rcx, rax
mov rbx, rax
call fcn.140098800
lea r8, [0x1400b1068]
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 0x1400706c6
lea rcx, [rdi + 0xf0]
lea rdx, [rsp + 0x38]
call fcn.140005800
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 0x1400706ff
cmp dword [rdi + 0x64], eax
je 0x1400706ff
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 0x140070710
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x54], 0
mov rbx, rcx
je 0x140070756
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
mov r8d, 0x2b6
lea rdx, str.CRpcClientObject::OnTimer
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x30
pop rbx
jmp fcn.1400430e0
mov eax, 1
lock xadd dword [rcx + 0x50], eax
cmp qword [rcx + 0x178], 0
je 0x1400707dd
cmp edx, 0x3f3
jne 0x1400707dd
mov r9d, dword [rcx + 0x180]
test r9d, r9d
je 0x1400707c4
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.1400430e0
cmp dword [rbx + 0x170], 0
je 0x1400707ba
mov dword [rbx + 0x174], 1
call fcn.140086b90
jmp 0x1400707c4
mov dword [rbx + 0x170], 1
mov rax, qword [rbx - 8]
lea rcx, [rbx - 8]
mov r8d, 0x270f
lea rdx, [0x1400b1068]
call qword [rax]
jmp 0x140070806
cmp edx, 0x3f8
jne 0x140070806
call fcn.140009f90
mov rcx, rax
mov edx, 0x3f8
call fcn.140087ca0
lea rcx, [rbx - 0x10]
mov r8d, 0x20000005
call fcn.1400705e0
mov eax, 0xffffffff
lock xadd dword [rbx + 0x50], eax
mov eax, dword [rbx + 0x50]
test eax, eax
jne case.default.0x140070825
cmp dword [rbx + 0x54], eax
je case.default.0x140070825
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 0x140070840
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x4c], 0
mov rbx, rcx
je 0x140070886
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
mov r8d, 0x2db
lea rdx, str.CRpcClientObject::OnControlChanged
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.1400430e0
mov eax, 1
lock xadd dword [rcx + 0x48], eax
call fcn.140009f90
mov rcx, rax
mov edx, 0x3f8
mov r8d, 0x64
call fcn.140087ab0
mov eax, 0xffffffff
lock xadd dword [rbx + 0x48], eax
mov eax, dword [rbx + 0x48]
test eax, eax
jne case.default.0x1400708c7
cmp dword [rbx + 0x4c], eax
je case.default.0x1400708c7
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 0x140071420
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 [0x1400ff010]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov byte [0x140103f90], 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.140071290
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 0x140071553
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, [0x1400ac9b0]
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf3]
mov edi, eax
test eax, eax
jne 0x140071557
lea rcx, [0x140105228]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov edi, eax
test eax, eax
jne 0x140071557
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140105228]
lea rcx, [0x1400ac9b0]
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
mov edi, eax
test eax, eax
jne 0x140071557
mov r8d, BSTR_UserUnmarshal
lea rdx, str.RpcServerConnect
lea rcx, [0x1400b0e88]
call fcn.1400430e0
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.1400430e0
cmp edi, 0x6b1
cmove edi, ebx
jmp 0x140071557
mov edi, dword [rsp + 0x40]
mov r8d, edi
lea rdx, str.RpcServerConnect
lea rcx, str._s_status_d
call fcn.1400430e0
nop
mov qword [rsp + 0x48], rbx
call fcn.140003db0
mov rcx, rax
test rax, rax
je 0x140071618
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, [0x1400b0b48]
lea rcx, [rsp + 0x48]
call fcn.140005720
mov r9d, edi
lea r8, str.End_RpcServerConnect
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
mov rcx, qword [0x140104a28]
call fcn.1400604b0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400715f5
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.140091f30
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov ecx, 0x80004005
call fcn.140003b40
int3
Function at 0x140072f60
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 [0x1400ff010]
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.1400732a0
mov r12, qword [rsp + 0x50]
test r12, r12
je 0x1400730f2
mov rcx, qword [r12]
mov qword [rsp + 0xb0], rdi
mov dword [rsp + 0x58], ebx
test rcx, rcx
jne 0x140072fd9
mov ebx, 0xc0000008
jmp 0x1400730c2
test rbp, rbp
je 0x1400730bd
test rsi, rsi
je 0x1400730bd
test r14, r14
je 0x1400730bd
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 0x1400730c2
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 0x140073058
mov ebx, 0xc0000017
jmp 0x1400730c2
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 0x1400730a7
mov eax, dword [rsp + 0x58]
mov qword [rsi], rdi
mov dword [r14], eax
jmp 0x1400730c2
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 0x1400730c2
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 0x1400730ee
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
jmp 0x140073113
mov rdx, qword [r15]
mov eax, 0xffffffff
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140073111
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.140091f30
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret
Function at 0x140073c40
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 [0x1400ff010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x70], rcx
call fcn.140003db0
mov rcx, rax
test rax, rax
je 0x140073e80
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x808], rax
test rbx, rbx
je 0x140073e59
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x140073cb0
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x808]
call fcn.140003840
mov rax, qword [rbp + 0x808]
cmp dword [rax - 8], 1
jle 0x140073cef
mov edx, dword [rax - 0x10]
lea rcx, [rbp + 0x808]
call fcn.140003780
mov rax, qword [rbp + 0x808]
mov qword [rbp + 0x800], rax
mov qword [rbp + 0x820], 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 0x140073de2
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 0x140073d87
mov qword [rsp + 0x40], r15
jmp 0x140073dd9
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 0x140073d10
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 0x140073e42
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rbp
lea r8, [0x1400740c0]
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
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 + 0x818], rax
mov rax, rbp
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140091f30
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003b40
int3
Function at 0x1400746a0
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, 0xd1
call fcn.1400430e0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
mov rcx, qword [rsi + 0x820]
mov ebx, eax
test rcx, rcx
je 0x1400746fb
mov r9, qword [rcx]
mov r8d, edi
mov rdx, qword [rsi + 0x800]
call qword [r9]
cmp ebx, 1
jbe 0x14007472b
mov r9d, ebx
lea rdx, str.CRtkAudioDriverEvent::NotifyEvent
mov r8d, 0xda
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.1400430e0
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]
outsb dx, byte [rsi]
out dx, al
mov edi, eax
jne 0x14019ff9a
invalid
cmp al, 0x7e
xor byte [rdi], dh
xchg esp, eax
rcl byte [rsi]
in eax, dx
outsd dx, dword [rsi]
cmc
invalid
invalid

Function at 0x1400796e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rsi, rcx
call fcn.140009e20
mov rdx, rbx
call fcn.14006c450
mov rdi, rax
test rax, rax
jne 0x140079732
mov r8d, 0x114
lea rdx, str.CRtkEffectConditionsBase::SaveCondToPropertyStore
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.1400430e0
mov rdx, rbx
mov rcx, rsi
call fcn.1400793e0
test rax, rax
jne 0x14007974a
mov r8d, BSTR_UserUnmarshal
jmp 0x140079710
mov r9d, 0x50c
lea rdx, [0x1400af638]
mov r8, rax
mov rcx, rdi
call fcn.140003190
test eax, eax
jne 0x140079775
mov rdx, rbx
lea rcx, str._s__d_EpId_s_set_PKEY_RTK_BSS_CONDITIONS_GUID_VALUE_ARRAY_failed
call fcn.1400430e0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret