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

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x54], 0
mov rbx, rcx
je 0x140095006
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005f240
mov r8d, 0x2c0
lea rdx, str.CRpcClientObject::OnTimer
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x30
pop rbx
jmp fcn.14005f240
mov eax, 1
lock xadd dword [rcx + 0x50], eax
cmp qword [rcx + 0x178], 0
je 0x14009508d
cmp edx, 0x3f3
jne 0x14009508d
mov r9d, dword [rcx + 0x180]
test r9d, r9d
je 0x140095074
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.14005f240
cmp dword [rbx + 0x170], 0
je 0x14009506a
mov dword [rbx + 0x174], 1
call fcn.1400b4cb0
jmp 0x140095074
mov dword [rbx + 0x170], 1
mov rax, qword [rbx - 8]
lea rcx, [rbx - 8]
mov r8d, 0x270f
lea rdx, [0x1400e4fe8]
call qword [rax]
jmp 0x1400950b9
cmp edx, 0x3f8
jne 0x1400950b9
call fcn.14000b690
mov rcx, rax
mov edx, 0x3f8
call fcn.1400b6360
lea rcx, [rbx - 0x10]
xor r9d, r9d
mov r8d, 0x20000005
call fcn.140094db0
mov eax, 0xffffffff
lock xadd dword [rbx + 0x50], eax
mov eax, dword [rbx + 0x50]
test eax, eax
jne 0x1400950df
cmp dword [rbx + 0x54], eax
je 0x1400950df
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 0x1400950f0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x4c], 0
mov rbx, rcx
je 0x140095136
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005f240
mov r8d, 0x2e5
lea rdx, str.CRpcClientObject::OnControlChanged
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.14005f240
mov eax, 1
lock xadd dword [rcx + 0x48], eax
call fcn.14000b690
mov rcx, rax
mov edx, 0x3f8
mov r8d, 0x64
call fcn.1400b6130
mov eax, 0xffffffff
lock xadd dword [rbx + 0x48], eax
mov eax, dword [rbx + 0x48]
test eax, eax
jne 0x14009517e
cmp dword [rbx + 0x4c], eax
je 0x14009517e
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 0x1400952b0
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 [0x14015b010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r15d, r8d
mov rbp, rdx
mov r13, rcx
mov ecx, BSTR_UserUnmarshal
call fcn.1400c0f54
mov r14, rax
lea rcx, [rax + 2]
xor edx, edx
mov r8d, BSTR_UserMarshal
call fcn.1400c71e0
xor ebx, ebx
mov word [r14], bx
test rbp, rbp
je 0x140095351
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 0x140095345
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140095345
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140095320
jmp 0x14009534a
test rdx, rdx
jne 0x14009534e
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.140027bc0
test eax, eax
je 0x1400953c0
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005f240
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14009542b
jmp 0x140095425
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 0x14009541d
cmp dword [rsp + 0x40], 4
jne 0x14009541d
mov esi, dword [rsp + 0x38]
test rdi, rdi
je 0x140095416
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, 1
jmp 0x14009542b
test rdi, rdi
je 0x14009542b
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.14005f240
mov r9d, r15d
mov r8, rbp
lea rdx, str.CMMEndpointNotify::OnDeviceStateChanged
lea rcx, str._s_Endpoint_s_NewState_d
call fcn.14005f240
mov dword [rsp + 0x20], ebx
mov r9d, esi
mov r8d, 0x4c
lea rdx, str.CMMEndpointNotify::OnDeviceStateChanged
lea rcx, str._s__d_PostEvent
call fcn.14005f240
lea rcx, [r13 + 8]
mov rdx, r14
call fcn.14000d870
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c0920
add rsp, 0x70
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400954b0
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 [0x14015b010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, rdx
mov r15, rcx
mov ecx, BSTR_UserUnmarshal
call fcn.1400c0f54
mov r14, rax
lea rcx, [rax + 2]
xor edx, edx
mov r8d, BSTR_UserMarshal
call fcn.1400c71e0
mov r12d, 1
mov word [r14], r12w
xor ebx, ebx
test rbp, rbp
je 0x140095552
lea rcx, [r14 + 2]
mov edx, 0x7f
mov r8, rbp
sub r8, rcx
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x140095546
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140095546
mov word [rcx], ax
add rcx, 2
sub rdx, r12
jne 0x140095522
jmp 0x14009554b
test rdx, rdx
jne 0x14009554f
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.140027bc0
test eax, eax
je 0x1400955b9
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005f240
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140095622
jmp 0x14009561c
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 0x140095614
cmp dword [rsp + 0x40], 4
jne 0x140095614
mov esi, dword [rsp + 0x38]
test rdi, rdi
je 0x14009560f
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, r12d
jmp 0x140095622
test rdi, rdi
je 0x140095622
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.14005f240
mov r8, rbp
lea rdx, str.CMMEndpointNotify::OnDeviceAdded
lea rcx, str._s_Endpoint_s
call fcn.14005f240
mov dword [rsp + 0x20], ebx
mov r9d, esi
mov r8d, 0x6d
lea rdx, str.CMMEndpointNotify::OnDeviceAdded
lea rcx, str._s__d_PostEvent
call fcn.14005f240
lea rcx, [r15 + 8]
mov rdx, r14
call fcn.14000d870
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c0920
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 0x1400956b0
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 [0x14015b010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, rdx
mov r15, rcx
mov ecx, BSTR_UserUnmarshal
call fcn.1400c0f54
mov r14, rax
lea rcx, [rax + 2]
xor edx, edx
mov r8d, BSTR_UserMarshal
call fcn.1400c71e0
mov eax, 2
mov word [r14], ax
xor ebx, ebx
test rbp, rbp
je 0x140095751
lea rcx, [r14 + 2]
mov edx, 0x7f
mov r8, rbp
sub r8, rcx
nop
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x140095745
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140095745
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140095720
jmp 0x14009574a
test rdx, rdx
jne 0x14009574e
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.140027bc0
test eax, eax
je 0x1400957b9
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005f240
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140095824
jmp 0x14009581e
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 0x140095816
cmp dword [rsp + 0x40], 4
jne 0x140095816
mov esi, dword [rsp + 0x38]
test rdi, rdi
je 0x14009580f
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, 1
jmp 0x140095824
test rdi, rdi
je 0x140095824
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.14005f240
mov r8, rbp
lea rdx, str.CMMEndpointNotify::OnDeviceRemoved
lea rcx, str._s_Endpoint_s
call fcn.14005f240
mov dword [rsp + 0x20], ebx
mov r9d, esi
mov r8d, 0x8d
lea rdx, str.CMMEndpointNotify::OnDeviceRemoved
lea rcx, str._s__d_PostEvent
call fcn.14005f240
lea rcx, [r15 + 8]
mov rdx, r14
call fcn.14000d870
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c0920
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400958b0
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 [0x14015b010]
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.1400c0f54
mov r14, rax
lea rcx, [rax + 2]
xor edx, edx
mov r8d, BSTR_UserMarshal
call fcn.1400c71e0
mov eax, 3
mov word [r14], ax
xor edi, edi
test rbp, rbp
je 0x140095955
lea rcx, [r14 + 2]
mov edx, 0x7f
mov r8, rbp
sub r8, rcx
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x140095949
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140095949
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140095924
jmp 0x14009594e
test rdx, rdx
jne 0x140095952
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.140027bc0
test eax, eax
je 0x1400959cb
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005f240
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140095a36
jmp 0x140095a30
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 0x140095a28
cmp dword [rsp + 0x40], 4
jne 0x140095a28
mov esi, dword [rsp + 0x38]
test rbx, rbx
je 0x140095a21
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov edi, 1
jmp 0x140095a36
test rbx, rbx
je 0x140095a36
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.14005f240
mov r8, rbp
lea rdx, str.CMMEndpointNotify::OnDefaultDeviceChanged
lea rcx, [0x14011bca8]
call fcn.14005f240
mov dword [rsp + 0x20], edi
mov r9d, esi
mov r8d, 0xaf
lea rdx, str.CMMEndpointNotify::OnDefaultDeviceChanged
lea rcx, str._s__d_PostEvent
call fcn.14005f240
lea rcx, [r15 + 8]
mov rdx, r14
call fcn.14000d870
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c0920
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140095fa0
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 [0x14015b010]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov edi, ebx
mov byte [0x140162ddc], 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.140095e10
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 0x1400960cf
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, [0x1400dca70]
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf3]
mov edi, eax
test eax, eax
jne 0x1400960cf
lea rcx, [0x140164d88]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov edi, eax
test eax, eax
jne 0x1400960cf
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140164d88]
lea rcx, [0x1400dca70]
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
mov edi, eax
test eax, eax
jne 0x1400960cf
mov r8d, BSTR_UserUnmarshal
lea rdx, str.RpcServerConnect
lea rcx, [0x1400e4bf0]
call fcn.14005f240
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.14005f240
cmp edi, 0x6b1
cmove edi, ebx
mov r8d, edi
lea rdx, str.RpcServerConnect
lea rcx, str._s_status_d
call fcn.14005f240
nop
mov qword [rsp + 0x48], rbx
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140096190
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, [0x1400e4b68]
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 [0x140164318]
call fcn.14007f600
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14009616d
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.1400c0920
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x140097c70
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 [0x14015b010]
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.140097fb0
mov r12, qword [rsp + 0x50]
test r12, r12
je 0x140097e02
mov rcx, qword [r12]
mov qword [rsp + 0xb0], rdi
mov dword [rsp + 0x58], ebx
test rcx, rcx
jne 0x140097ce9
mov ebx, 0xc0000008
jmp 0x140097dd2
test rbp, rbp
je 0x140097dcd
test rsi, rsi
je 0x140097dcd
test r14, r14
je 0x140097dcd
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 0x140097dd2
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 0x140097d68
mov ebx, 0xc0000017
jmp 0x140097dd2
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 0x140097db7
mov eax, dword [rsp + 0x58]
mov qword [rsi], rdi
mov dword [r14], eax
jmp 0x140097dd2
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 0x140097dd2
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 0x140097dfe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
jmp 0x140097e23
mov rdx, qword [r15]
mov eax, 0xffffffff
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097e21
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.1400c0920
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret
Function at 0x140098950
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 [0x14015b010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x70], rcx
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140098b90
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x808], rax
test rbx, rbx
je 0x140098b69
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400989c0
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x808]
call fcn.1400048e0
mov rax, qword [rbp + 0x808]
cmp dword [rax - 8], 1
jle 0x1400989ff
mov edx, dword [rax - 0x10]
lea rcx, [rbp + 0x808]
call fcn.140004780
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 0x140098af2
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 0x140098a97
mov qword [rsp + 0x40], r15
jmp 0x140098ae9
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 0x140098a20
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 0x140098b52
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rbp
lea r8, [0x140098dd0]
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.1400c0920
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x1400993b0
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.14005f240
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 0x14009940b
mov r9, qword [rcx]
mov r8d, edi
mov rdx, qword [rsi + 0x800]
call qword [r9]
cmp ebx, 1
jbe 0x14009943b
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.14005f240
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 0x14009f370
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 0x14009f39c
mov r8d, 0x2e2
lea rdx, str.CRtkBssGen4PresetLoader::OnAddDevice
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.14005f240
mov rcx, rbx
call fcn.14000eda0
test eax, eax
jne 0x14009f3bf
call fcn.14001ddb0
test byte [rax + 4], 8
je 0x14009f3cc
mov rcx, rbx
call fcn.140024af0
test eax, eax
je 0x14009f3cc
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14009de40
add rsp, 0x20
pop rbx
ret

Function at 0x14009f3e0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
call fcn.14000b520
mov rcx, rax
call fcn.14008e7c0
call fcn.14000b520
cmp dword [rax + 0x140], 0
jne 0x14009f439
cmp dword [0x140162d94], 0
je 0x14009f439
cmp dword [0x140162d90], 0
jne 0x14009f420
mov rax, qword [0x14015c1e0]
test byte [rax + 0x1c], 1
je 0x14009f439
mov r8d, 0x3e
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.14005f240
call fcn.14000b520
mov rbx, qword [rax + 0xe0]
test rbx, rbx
je 0x14009f482
nop word [rax + rax]
call fcn.14000b520
call fcn.14000b520
test rbx, rbx
je 0x14009f4d2
mov rdx, qword [rbx + 0x10]
mov rbx, qword [rbx]
cmp dword [rdx + 0x170], 0
je 0x14009f47d
cmp dword [rdx + 0x184], 1
jne 0x14009f47d
call fcn.14009de40
test rbx, rbx
jne 0x14009f450
call fcn.14000b520
sub dword [rax + 0x140], 1
mov ecx, dword [rax + 0x140]
jne 0x14009f4a9
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 0x14009f4cc
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.14005f240
add rsp, 0x20
pop rbx
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3