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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbp, rdx
mov r15, rcx
mov ecx, BSTR_UserMarshal
call fcn.1400df6d0
mov r14, rax
lea rcx, [rax + 2]
xor edx, edx
mov r8d, BSTR_UserMarshal
call fcn.1400e5b40
mov r12d, 1
mov word [r14], r12w
xor ebx, ebx
test rbp, rbp
je 0x1400a9310
lea rcx, [r14 + 2]
mov edx, 0x7f
mov r8, rbp
sub r8, rcx
nop dword [rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1400a930d
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400a9304
mov word [rcx], ax
add rcx, 2
sub rdx, r12
jne 0x1400a92e0
jmp 0x1400a9309
test rdx, rdx
jne 0x1400a930d
sub rcx, 2
mov word [rcx], bx
mov esi, 0x63
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x30], ebx
mov r9d, r12d
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.14002b400
test eax, eax
je 0x1400a9378
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14006dd20
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400a93e1
jmp 0x1400a93db
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.s0i3
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a93d3
cmp dword [rsp + 0x38], 4
jne 0x1400a93d3
mov esi, dword [rsp + 0x30]
test rdi, rdi
je 0x1400a93ce
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, r12d
jmp 0x1400a93e1
test rdi, rdi
je 0x1400a93e1
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.14006dd20
mov r8, rbp
lea rdx, str.CMMEndpointNotify::OnDeviceAdded
lea rcx, [0x14013dfc8]
call fcn.14006dd20
mov dword [rsp + 0x20], ebx
mov r9d, esi
mov r8d, 0x6d
lea rdx, str.CMMEndpointNotify::OnDeviceAdded
lea rcx, str._s__d_PostEvent
call fcn.14006dd20
lea rcx, [r15 + 8]
mov rdx, r14
call fcn.14000de20
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400df340
lea r11, [rsp + 0x60]
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 0x1400a9470
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbp, rdx
mov r15, rcx
mov ecx, BSTR_UserMarshal
call fcn.1400df6d0
mov r14, rax
lea rcx, [rax + 2]
xor edx, edx
mov r8d, BSTR_UserMarshal
call fcn.1400e5b40
mov eax, 2
mov word [r14], ax
xor ebx, ebx
test rbp, rbp
je 0x1400a9503
lea rcx, [r14 + 2]
mov edx, 0x7f
mov r8, rbp
sub r8, rcx
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1400a9500
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400a94f7
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400a94d2
jmp 0x1400a94fc
test rdx, rdx
jne 0x1400a9500
sub rcx, 2
mov word [rcx], bx
mov esi, 0x63
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x30], ebx
lea r9d, [rsi - 0x62]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.14002b400
test eax, eax
je 0x1400a956c
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14006dd20
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400a95d7
jmp 0x1400a95d1
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.s0i3
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a95c9
cmp dword [rsp + 0x38], 4
jne 0x1400a95c9
mov esi, dword [rsp + 0x30]
test rdi, rdi
je 0x1400a95c2
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, 1
jmp 0x1400a95d7
test rdi, rdi
je 0x1400a95d7
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.14006dd20
mov r8, rbp
lea rdx, str.CMMEndpointNotify::OnDeviceRemoved
lea rcx, [0x14013dfc8]
call fcn.14006dd20
mov dword [rsp + 0x20], ebx
mov r9d, esi
mov r8d, 0x8d
lea rdx, str.CMMEndpointNotify::OnDeviceRemoved
lea rcx, str._s__d_PostEvent
call fcn.14006dd20
lea rcx, [r15 + 8]
mov rdx, r14
call fcn.14000de20
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400df340
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a9660
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbp, r9
mov ebx, r8d
mov esi, edx
mov r15, rcx
mov ecx, BSTR_UserMarshal
call fcn.1400df6d0
mov r14, rax
lea rcx, [rax + 2]
xor edx, edx
mov r8d, BSTR_UserMarshal
call fcn.1400e5b40
mov eax, 3
mov word [r14], ax
xor edi, edi
test rbp, rbp
je 0x1400a9701
lea rcx, [r14 + 2]
mov edx, 0x7f
mov r8, rbp
sub r8, rcx
nop word [rax + rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1400a96fe
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400a96f5
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400a96d0
jmp 0x1400a96fa
test rdx, rdx
jne 0x1400a96fe
sub rcx, 2
mov word [rcx], di
mov dword [r14 + 0x104], esi
mov dword [r14 + 0x108], ebx
mov esi, 0x63
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x30], edi
lea r9d, [rsi - 0x62]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.14002b400
test eax, eax
je 0x1400a9778
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14006dd20
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400a97e3
jmp 0x1400a97dd
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.s0i3
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a97d5
cmp dword [rsp + 0x38], 4
jne 0x1400a97d5
mov esi, dword [rsp + 0x30]
test rbx, rbx
je 0x1400a97ce
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov edi, 1
jmp 0x1400a97e3
test rbx, rbx
je 0x1400a97e3
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.14006dd20
mov r8, rbp
lea rdx, str.CMMEndpointNotify::OnDefaultDeviceChanged
lea rcx, str._s_Endpoint_s
call fcn.14006dd20
mov dword [rsp + 0x20], edi
mov r9d, esi
mov r8d, 0xaf
lea rdx, str.CMMEndpointNotify::OnDefaultDeviceChanged
lea rcx, str._s__d_PostEvent
call fcn.14006dd20
lea rcx, [r15 + 8]
mov rdx, r14
call fcn.14000de20
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400df340
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a9d60
Capabilities:
Listen for remote procedure calls

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov edi, ebx
mov byte [0x140180368], bl
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x50]
call fcn.1400a9bd0
lea r9, [rsp + 0x50]
lea r8, str.RealtekAudioRpcEndpoint
lea edx, [rbx + 0xa]
lea rcx, str.ncalrpc
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
test eax, eax
jne 0x1400a9e81
lea rax, [rsp + 0x50]
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, [0x1400fa7e0]
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf3]
mov edi, eax
test eax, eax
jne 0x1400a9e81
lea rcx, [0x140181f08]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov edi, eax
test eax, eax
jne 0x1400a9e81
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140181f08]
lea rcx, [0x1400fa7e0]
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
mov edi, eax
test eax, eax
jne 0x1400a9e81
mov r8d, BSTR_UserFree
lea rdx, str.RpcServerConnect
lea rcx, [0x140102ba8]
call fcn.14006dd20
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.14006dd20
cmp edi, 0x6b1
cmove edi, ebx
mov r8d, edi
lea rdx, str.RpcServerConnect
lea rcx, str._s_status_d
call fcn.14006dd20
nop
mov qword [rsp + 0x48], rbx
call fcn.140004e00
mov rcx, rax
test rax, rax
je 0x1400a9f50
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140050923.0]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 1
lea r9, str.Others
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x140102b58]
lea rcx, [rsp + 0x48]
call fcn.140006d30
mov r9d, edi
lea r8, str.End_RpcServerConnect
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
mov rcx, qword [0x140178498]
call fcn.140090400
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a9f30
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
mov eax, edi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400df340
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004f30
int3
Function at 0x1400abfb0
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x140178010]
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 r13d, r13d
mov rdx, qword [rdx]
mov r12d, r9d
mov qword [rsp + 0x50], r13
call fcn.1400ac2f0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400ac161
mov rcx, qword [rcx]
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x58], r13d
test rcx, rcx
jne 0x1400ac02e
mov ebx, 0xc0000008
jmp 0x1400ac122
test rbp, rbp
je 0x1400ac11d
test rsi, rsi
je 0x1400ac11d
test r14, r14
je 0x1400ac11d
mov dword [rsp + 0x48], 2
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov dword [rsp + 0x38], r13d
mov r8d, r12d
mov qword [rsp + 0x30], r13
mov rdx, rbp
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.bcrypt.dll_BCryptEncrypt]
mov ebx, eax
test eax, eax
js 0x1400ac122
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 0x1400ac0af
mov ebx, 0xc0000017
jmp 0x1400ac122
lfence
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x48], 2
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov r8d, r12d
mov eax, dword [rsp + 0x58]
mov rdx, rbp
mov rcx, qword [rcx]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.bcrypt.dll_BCryptEncrypt]
mov ebx, eax
test eax, eax
js 0x1400ac104
mov eax, dword [rsp + 0x58]
mov qword [rsi], rdi
mov dword [r14], eax
jmp 0x1400ac122
lfence
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 0x1400ac122
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 + 0x70]
sub eax, 1
jg 0x1400ac155
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
mov eax, ebx
mov rbx, qword [rsp + 0xb0]
jmp 0x1400ac18c
mov rdx, qword [r15]
mov eax, 0xffffffff
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ac18a
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400df340
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
Function at 0x1400ac6b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x60], rcx
call fcn.140004e00
mov rcx, rax
test rax, rax
je 0x1400ac8cb
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140050923.0]
add rax, 0x18
mov qword [rbp + 0x808], rax
test rbx, rbx
je 0x1400ac8a7
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400ac716
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x808]
call fcn.1400047f0
mov rax, qword [rbp + 0x808]
cmp dword [rax - 8], 1
jle 0x1400ac755
mov edx, dword [rax - 0x10]
lea rcx, [rbp + 0x808]
call fcn.140004680
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
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 0x1400ac830
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x40], xmm1
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, [r9 + 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
je 0x1400ac822
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x60]
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 + 0x50]
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]
test ebx, ebx
jne 0x1400ac827
mov qword [rsp + 0x40], r15
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm0
add esi, 0xc
add rdi, 0x20
cmp esi, 0x5ef4
jl 0x1400ac770
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 0x1400ac890
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rbp
lea r8, [0x1400acb10]
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 + 0x68]
xor rcx, rsp
call fcn.1400df340
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004f30
int3
Function at 0x1400ad1a0
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.14006dd20
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 0x1400ad201
mov r8, qword [rcx]
mov rdx, qword [rsi + 0x800]
mov rax, qword [r8]
mov r8d, edi
call qword [case.0x140050923.0]
cmp ebx, 1
jbe 0x1400ad231
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.14006dd20
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]
Function at 0x1400b3bd0
Capabilities:
Check if file exists
Print debug messages
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rdx, rdx
jne 0x1400b3bfc
mov r8d, 0x2e2
lea rdx, str.CRtkBssGen4PresetLoader::OnAddDevice
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.14006dd20
mov rcx, rbx
call fcn.14000f620
test eax, eax
jne 0x1400b3c1f
call fcn.14001f7e0
test byte [rax + 4], 8
je 0x1400b3c2c
mov rcx, rbx
call fcn.1400279a0
test eax, eax
je 0x1400b3c2c
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400b23a0
add rsp, 0x20
pop rbx
ret

Function at 0x1400b3c40
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
call fcn.14000bd10
mov rcx, rax
call fcn.1400a1a60
call fcn.14000bd10
cmp dword [rax + 0x140], 0
jne 0x1400b3c99
cmp dword [0x140180270], 0
je 0x1400b3c99
cmp dword [0x140180274], 0
jne 0x1400b3c80
mov rax, qword [0x140179638]
test byte [rax + 0x1c], 1
je 0x1400b3c99
mov r8d, 0x3e
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.14006dd20
call fcn.14000bd10
mov rbx, qword [rax + 0xe0]
test rbx, rbx
je 0x1400b3cdd
nop word [rax + rax]
call fcn.14000bd10
call fcn.14000bd10
mov rdx, qword [rbx + 0x10]
mov rbx, qword [rbx]
cmp dword [rdx + 0x170], 0
je 0x1400b3cd8
cmp dword [rdx + 0x184], 1
jne 0x1400b3cd8
call fcn.1400b23a0
test rbx, rbx
jne 0x1400b3cb0
call fcn.14000bd10
sub dword [rax + 0x140], 1
mov ecx, dword [rax + 0x140]
jne 0x1400b3d04
mov rcx, qword [rax + 0x150]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
cmp ecx, 0x32
jle 0x1400b3d27
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
add rsp, 0x20
pop rbx
jmp fcn.14006dd20
add rsp, 0x20
pop rbx
ret
Function at 0x1400b65b0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
xor ecx, ecx
mov dword [rsp + 0x30], ecx
cmp qword [rbx + 0x8f0], rcx
je 0x1400b660c
mov dword [rbx + 0x8e8], 1
call fcn.14000be90
mov rcx, rax
mov edx, 0x446
mov r8d, 0x64
call fcn.1400d3e30
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400df340
add rsp, 0x40
pop rbx
ret
lea rax, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x1400b6670]
xor edx, edx
mov dword [rsp + 0x20], ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov r8d, 0x4c3
lea rdx, str.CRtkBssGen5SpkTrackEnroll::StartTrainThread
lea rcx, str._s__d_CreateThread_SpkEnroll_TrainThread___x
mov qword [rbx + 0x8f0], rax
mov r9, rax
call fcn.14006dd20
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400df340
add rsp, 0x40
pop rbx
ret
Function at 0x1400b8060
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
xor ecx, ecx
mov dword [rsp + 0x30], ecx
cmp qword [rbx + 0x900], rcx
je 0x1400b80bc
mov dword [rbx + 0x8f8], 1
call fcn.14000be90
mov rcx, rax
mov edx, 0x447
mov r8d, 0x64
call fcn.1400d3e30
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400df340
add rsp, 0x40
pop rbx
ret
lea rax, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x1400b8120]
xor edx, edx
mov dword [rsp + 0x20], ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov r8d, 0x763
lea rdx, str.CRtkBssGen5SpkTrackEnroll::StartDetectScoreThread
lea rcx, str._s__d_CreateThread_SpkEnroll_DetectScoreThread___x
mov qword [rbx + 0x900], rax
mov r9, rax
call fcn.14006dd20
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400df340
add rsp, 0x40
pop rbx
ret
Function at 0x1400becf0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.1400bf560
test rax, rax
jne 0x1400bed55
mov ecx, 0xa0c
call fcn.1400df6d0
lea rcx, [rdi + 8]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
mov rdx, rbx
call fcn.1400c0290
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x1400bed55
lea r8d, [rax + 0x7c]
lea rdx, str.CRtkEffectConditionsBase::ResetConditions
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14006dd20
mov rdx, rax
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400bed70

Function at 0x1400c00a0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
mov r8, rcx
test rcx, rcx
jne 0x1400c00c9
mov r8d, 0x24a
lea rdx, str.CRtkEffectConditionsBase::DisableAINRConditions
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x28
jmp fcn.14006dd20
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
xor edi, edi
mov ebx, edi
cmp dword [rcx + 4], ebx
jle 0x1400c0193
mov r10d, edi
nop dword [rax]
nop word [rax + rax]
mov edx, edi
mov r9, rdi
cmp dword [r8], edx
jle 0x1400c0183
movsxd r11, ebx
shl r11, 4
nop word [rax + rax]
movsxd rcx, edx
add rcx, r11
add rcx, rcx
mov rax, qword [r8 + rcx*8 + 0xc]
cmp rax, qword [0x140102878]
jne 0x1400c0135
mov rax, qword [r8 + rcx*8 + 0x14]
cmp rax, qword [0x140102880]
je 0x1400c016d
mov rax, qword [r8 + rcx*8 + 0xc]
cmp rax, qword [0x140102858]
jne 0x1400c0151
mov rax, qword [r8 + rcx*8 + 0x14]
cmp rax, qword [0x140102860]
je 0x1400c016d
mov rax, qword [r8 + rcx*8 + 0xc]
cmp rax, qword [0x140102838]
jne 0x1400c0179
mov rax, qword [r8 + rcx*8 + 0x14]
cmp rax, qword [0x140102840]
jne 0x1400c0179
lea rax, [r10 + r9]
mov dword [r8 + rax*4 + 0x80c], edi
inc edx
inc r9
cmp edx, dword [r8]
jl 0x1400c0110
inc ebx
add r10, 0x10
cmp ebx, dword [r8 + 4]
jl 0x1400c00f0
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret