joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400820c0
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 rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r9
mov r14, r8
mov rbp, rdx
test rdx, rdx
jne 0x14008210d
lea r8d, [rdx + 0x68]
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140061d00
xor eax, eax
jmp 0x140082183
test rsi, rsi
jne 0x140082118
lea r8d, [rsi + 0x69]
jmp 0x1400820f6
xor eax, eax
mov qword [rsp + 0x50], rax
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x38], r15d
mov edi, 1
mov r9d, edi
mov r8, rbp
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140027f60
test eax, eax
je 0x14008219c
mov r9, rbp
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140061d00
mov edi, r15d
cmp qword [rsp + 0x48], 0
je 0x140082181
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c5860
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
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
mov rdx, r14
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14008216b
cmp dword [rsp + 0x40], 4
jne 0x14008216b
mov eax, dword [rsp + 0x38]
mov dword [rsi], eax
jmp 0x14008216e
Function at 0x1400821f0
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x68
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r15d, r9d
mov r14, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
jne 0x140082246
mov r8d, 0x83
lea rdx, str.CRegClient::SetRegUI4Property
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140061d00
xor eax, eax
jmp 0x14008232e
test r14, r14
jne 0x140082253
mov r8d, 0x84
jmp 0x14008222c
xor eax, eax
mov qword [rsp + 0x48], rax
xor edi, edi
mov ebx, edi
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x50], rdi
call fcn.1400831a0
test eax, eax
jne 0x14008228f
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call fcn.140082470
test eax, eax
jne 0x14008228f
mov r8d, 0x8d
jmp 0x140082304
mov r9d, 2
mov r8, rsi
mov rdx, rbp
lea rcx, [rsp + 0x40]
call fcn.140027f60
test eax, eax
je 0x1400822c9
mov r8d, 0x92
lea rdx, str.CRegClient::SetRegUI4Property
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140061d00
mov rbx, qword [rsp + 0x40]
jmp 0x14008231e
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, r14
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
je 0x140082319
mov r8d, 0x96
lea rdx, str.CRegClient::SetRegUI4Property
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140061d00
jmp 0x14008231e
mov edi, 1
test rbx, rbx
je 0x14008232c
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c5860
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140082350
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x68
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r9
mov r14, r8
mov rbp, qword [rsp + 0xb0]
test rdx, rdx
jne 0x1400823a5
mov r8d, 0xda
lea rdx, str.CRegClient::GetRegBinary
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140061d00
xor eax, eax
jmp 0x140082452
test rbp, rbp
jne 0x1400823b2
mov r8d, 0xdc
jmp 0x14008238b
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], rax
mov edi, 1
mov r9d, edi
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.140027f60
test eax, eax
je 0x1400823eb
mov r8d, 0xe5
jmp 0x140082428
test rsi, rsi
je 0x1400823f5
mov rax, qword [rsi]
jmp 0x1400823f7
xor eax, eax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140082422
cmp dword [rsp + 0x38], 3
je 0x14008243d
mov r8d, 0xe9
lea rdx, str.CRegClient::GetRegBinary
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140061d00
xor edi, edi
cmp qword [rsp + 0x40], 0
je 0x140082450
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c5860
add rsp, 0x68
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140082710
Capabilities:
Delete registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r12d, r9d
mov r15, r8
mov r14, rdx
mov rbp, rcx
xor eax, eax
mov qword [rsp + 0x50], rax
xor edi, edi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x58], rdi
or r9d, 0x20006
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140027f60
mov esi, eax
mov rbx, qword [rsp + 0x48]
test eax, eax
jne 0x1400827a6
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov esi, eax
test eax, eax
je 0x1400827d0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r15
mov r8d, 0x147
lea rcx, str._s__d_DeleteValue__x_s_s__nRet_d
jmp 0x1400827bc
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], eax
mov r8d, 0x14c
lea rcx, str._s__d_Open__x_s__nRet_d_AccMask_x
mov qword [rsp + 0x20], r14
mov r9, rbp
lea rdx, str.CRegClient::DeleteRegValue
call fcn.140061d00
test rbx, rbx
je 0x1400827e1
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rbx, rdi
test esi, esi
sete dil
test rbx, rbx
je 0x1400827f5
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c5860
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140083050
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x68
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, r9
mov r15, r8
mov r14, rdx
mov rsi, rcx
xor eax, eax
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov ebp, ebx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x48], rbx
call fcn.1400831a0
test eax, eax
jne 0x1400830d3
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call fcn.140082470
test eax, eax
jne 0x1400830d3
mov r8d, 0x1e8
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140061d00
jmp 0x140083174
mov r9d, 2
mov r8, r14
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140027f60
mov esi, eax
mov r9d, eax
mov r8d, 0x1ee
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_nRet_d
call fcn.140061d00
mov rbp, qword [rsp + 0x38]
test esi, esi
jne 0x140083171
test rdi, rdi
jne 0x14008311a
lea esi, [rdi + 0xd]
jmp 0x140083153
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rdi + rax*2], 0
jne 0x140083121
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov esi, eax
mov r9d, esi
mov r8d, 0x1f5
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_nRet_d
call fcn.140061d00
test esi, esi
sete bl
test rbp, rbp
je 0x140083182
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c5860
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140084590
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov qword [rsp + 0x48], rbp
mov r8, rdx
mov qword [rsp + 0x40], rbp
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x40]
call fcn.140027f60
mov ebx, eax
test eax, eax
jne 0x1400846a7
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
jne 0x140084681
nop dword [rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140084590
mov ebx, eax
test eax, eax
jne 0x1400846a7
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
je 0x140084630
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140084696
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov rdx, rsi
mov dword [rsp + 0x48], ebp
mov rcx, rdi
call fcn.140027e30
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400846b7
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400c5860
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400846e0
Capabilities:
Persist via run registry key

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [r11 - 0x20], 0
lea rax, [r11 - 0x48]
mov qword [r11 - 0x30], rax
lea rax, [r11 - 0x40]
mov qword [r11 - 0x28], rax
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x14008488b
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rbx, str.RtkAudUService
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140004660
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14008477b
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140084760
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400048e0
nop
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140084880
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rbx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140004660
test al, al
jne 0x1400847d1
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400847b6
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400048e0
nop
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.140082d40
nop
mov r9, qword [rsp + 0x48]
mov r8d, reloc.OLEAUT32.dll_SafeArrayCopy
lea rdx, str.CRegKeyMgr::CheckRtkAudUServiceRunKey
lea rcx, str._s__d__s
call fcn.140061d00
call fcn.140006580
mov rdx, rax
test rax, rax
mov rax, qword [rsp + 0x48]
jne 0x140084821
mov ebx, edi
jmp 0x14008484a
cmp dword [rax - 0x10], 0
jge 0x14008482b
mov ebx, edi
jmp 0x14008484a
mov rcx, rax
call fcn.1400cbaf0
mov rbx, rax
test rax, rax
mov rax, qword [rsp + 0x48]
jne 0x140084844
mov ebx, edi
jmp 0x14008484a
sub rbx, rax
sar rbx, 1
not ebx
shr ebx, 0x1f
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140084866
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c5860
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004fd0
nop
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x140085950
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 0x140085988
mov r8d, 0x175
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.140061d00
mov ecx, dword [rdx + 0x1ac]
mov qword [rsp + 0x30], rbx
lea eax, [rcx - 1]
test eax, 0xfffffffd
je 0x140085a0f
cmp ecx, 4
jne 0x140085a01
mov rbx, qword [rdx + 0x158]
call fcn.140006a20
mov rcx, rax
mov r8, rbx
mov rdx, 0xffffffff80000002
call fcn.1400950e0
test rax, rax
je 0x1400859d2
lea rcx, [rax + 0x20]
lea rdx, [rsi - 8]
call fcn.14000b510
call fcn.14000b280
test dword [rax + reloc.OLEAUT32.dll_LPSAFEARRAY_UserUnmarshal], 0x100
jne 0x1400859f8
call fcn.14000b280
test dword [rax + 0x128], 0x20000
je 0x140085a80
mov rbx, qword [rdi + 0x130]
jmp 0x140085a57
cmp ecx, 5
jne 0x140085a80
mov rbx, qword [rdx + 0x130]
jmp 0x140085a57
mov rbx, qword [rdx + 0x130]
call fcn.140006a20
mov rcx, rax
mov r8, rbx
mov rdx, 0xffffffff80000002
call fcn.1400950e0
test rax, rax
je 0x140085a3f
lea rcx, [rax + 0x20]
lea rdx, [rsi - 8]
call fcn.14000b510
call fcn.14000b280
test dword [rax + 0x1fc], 0x10000000
je 0x140085a80
mov rbx, qword [rdi + 0x158]
call fcn.140006a20
mov r8, rbx
mov rdx, 0xffffffff80000002
mov rcx, rax
call fcn.1400950e0
test rax, rax
je 0x140085a80
lea rdx, [rsi - 8]
lea rcx, [rax + 0x20]
call fcn.14000b510
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400873f0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rdx, rdx
jne 0x14008741c
mov r8d, SystemTimeToVariantTime
lea rdx, str.CRtkAudioDriverHelper::OnStateChangedDevice
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.140061d00
cmp dword [0x14016b440], 0
je 0x140087497
cmp dword [rdx + 0x170], 0
je 0x140087497
cmp r8d, 1
jne 0x140087497
mov r8d, SystemTimeToVariantTime
lea rdx, str.CRtkAudioDriverHelper::OnStateChangedDevice
lea rcx, [0x1400e9c70]
call fcn.140061d00
lea rcx, [rbx + 0x10]
mov dword [rsp + 0x38], 0
xor r9d, r9d
lea r8, [rsp + 0x38]
lea rdx, [0x1400e4768]
call fcn.140003180
test eax, eax
jne 0x140087497
mov r8d, 0xb8
lea rdx, str.CRtkAudioDriverHelper::OnStateChangedDevice
lea rcx, [0x1400e9c70]
call fcn.140061d00
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140087820
add rsp, 0x20
pop rbx
ret
Function at 0x1400874b0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
call fcn.14000b440
mov rcx, rax
call fcn.140091640
call fcn.14000b440
cmp dword [rax + 0x140], 0
jne 0x140087509
cmp dword [0x140169dd8], 0
je 0x140087509
cmp dword [0x140169da4], 0
jne 0x1400874f0
mov rax, qword [0x1401631e0]
test byte [rax + 0x1c], 1
je 0x140087509
mov r8d, 0x3e
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.140061d00
call fcn.14000b440
mov rbx, qword [rax + 0xe0]
test rbx, rbx
je 0x140087545
nop word [rax + rax]
call fcn.14000b440
call fcn.14000b440
test rbx, rbx
je 0x140087595
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140087540
call fcn.140087820
test rbx, rbx
jne 0x140087520
call fcn.14000b440
sub dword [rax + 0x140], 1
mov ecx, dword [rax + 0x140]
jne 0x14008756c
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 0x14008758f
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.140061d00
add rsp, 0x20
pop rbx
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3

Function at 0x1400881f0
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x20
mov rbx, r8
mov rbp, rdx
mov rsi, rcx
test rdx, rdx
jne 0x140088226
mov r8d, 0x223
lea rdx, str.CRtkAudioDriverHelper::OnEndpointVolumeChanged
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rsi
pop rbp
pop rbx
jmp fcn.140061d00
test rbx, rbx
jne 0x140088233
mov r8d, 0x224
jmp 0x14008820c
call fcn.14000b280
test byte [rax + 0xc8], 0x10
je 0x140088279
call fcn.14000b440
mov rdx, rbp
call fcn.1400931d0
test rax, rax
je 0x140088279
cmp dword [rax + 0x170], 0
je 0x140088279
cmp dword [rax + 0x178], 0
jne 0x140088279
cmp dword [rax + 0x174], 0
jne 0x140088279
mov edx, dword [rbx + 0x10]
mov rcx, rax
call fcn.140087db0
cmp dword [rsi + 0x14], 0
jne 0x140088289
cmp dword [rsi + 0x18], 0
je 0x140088339
mov ebx, dword [rsi + 0x18]
call fcn.14000b440
test ebx, ebx
je 0x14008829c
call fcn.140093fe0
jmp 0x1400882a6
xor r8d, r8d
xor edx, edx
call fcn.1400936b0
test rax, rax
je 0x140088339
mov rdx, qword [rax + 0x168]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], r14
call fcn.140004520
mov r14, rax
mov edi, 0xffffffff
mov rcx, qword [rax]
cmp dword [rcx - 0x10], 0
jge 0x1400882df
mov ebx, edi
jmp 0x1400882f9
mov rdx, rbp
call fcn.1400cbaf0
mov rbx, rax
test rax, rax
jne 0x1400882f3
mov ebx, edi
jmp 0x1400882f9
sub rbx, qword [r14]
sar rbx, 1
mov rdx, qword [rsp + 0x48]
shr ebx, 0x1f
xor bl, 1
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
mov r14, qword [rsp + 0x50]
sub edi, 1
mov rdi, qword [rsp + 0x40]
jg 0x140088325
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x140088339
lea rcx, [rsi - 0x10]
add rsp, 0x20
pop rsi
pop rbp
pop rbx
jmp fcn.140087f40
add rsp, 0x20
pop rsi
pop rbp
pop rbx
ret
Function at 0x140088350
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [r11 - 0x30], rcx
add rcx, 0x18
call fcn.14008be50
nop
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.0
mov qword [rbx], rax
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.2.0
mov qword [rbx + 8], rax
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.1.0
mov qword [rbx + 0x10], rax
xor ebp, ebp
mov dword [rbx + 0x20], ebp
mov qword [rbx + 0x28], rbp
mov qword [rbx + 0x38], rbp
mov dword [rbx + 0x40], ebp
call fcn.14000b280
movzx ecx, byte [rax + 0x12f]
and ecx, 1
mov dword [rbx + 0x20], ecx
call fcn.14000b280
test dword [rax + 0x1a4], 0x400
je 0x14008841e
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_GetSystemPowerStatus]
mov r8d, ebp
cmp byte [rsp + 0x40], bpl
setne r8b
mov dword [rbx + 0x40], r8d
lea rdx, str.CRtkAudioDriverHelperForNormalUser::CRtkAudioDriverHelperForNormalUser
lea rcx, str._s_PowerState_d
call fcn.140061d00
call fcn.140013f90
lea rcx, [rax + 0x20]
mov rdx, rbx
call fcn.140006ae0
cmp dword [rbx + 0x20], ebp
je 0x14008844c
call fcn.140088c30
call fcn.14000b5b0
lea rcx, [rax + 0x28]
lea rdx, [rbx + 0x10]
call fcn.140006ae0
call fcn.14000b440
lea rcx, [rax + 0x10]
lea rdx, [rbx + 8]
call fcn.140006ae0
mov qword [rbx + 0x30], rbp
call fcn.14000b280
test byte [rax + 0x1c0], 4
je 0x14008847f
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x140088a70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbx + 0x50], rax
call fcn.14000b280
test byte [rax + 0xb8], 1
jne 0x1400884ac
call fcn.14000b280
test byte [rax + 0xb8], 8
jne 0x1400884ac
call fcn.14000b280
test dword [rax + 0x1f4], 0x1000
je 0x1400884d9
mov ecx, 0x20
call fcn.1400c5e94
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov rcx, rax
call fcn.1400b7800
nop
mov qword [rbx + 0x28], rax
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c5860
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140088500
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebx, r8d
mov rsi, rcx
call fcn.14000b280
cmp ebx, 0x2c
jne 0x14008860b
cmp dword [0x14016be48], 0
movups xmm0, xmmword [str._alsC]
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x40], 0
movaps xmmword [rsp + 0x30], xmm0
jle 0x14008856e
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
xor r8d, r8d
lea edx, [rbx + 0xc]
lea rcx, [rsp + 0x30]
call fcn.14008e060
jmp 0x140088593
xor r9d, r9d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x40]
xor ecx, ecx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x38]
call fcn.14008dfa0
mov ebx, dword [rsi + 0x40]
lea rdx, str.CRtkAudioDriverHelperForNormalUser::IsACPowerStateChanged
xor edi, edi
lea rcx, str._s_PowerStateChange_d_SysPowerState_d_DrvAcPowerState_d
cmp dword [rsp + 0x40], edi
mov r9d, ebx
sete dil
xor r8d, r8d
cmp ebx, edi
mov dword [rsp + 0x20], edi
setne r8b
call fcn.140061d00
cmp ebx, edi
mov dword [rsi + 0x40], edi
mov rdi, qword [rsp + 0x68]
je 0x14008860b
call fcn.14000b440
mov edx, 1
call fcn.1400939e0
mov r9, rsi
mov qword [rsp + 0x28], 0
lea r8, [0x140088630]
mov qword [rsi + 0x38], rax
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rsi + 0x48], rax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c5860
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rsi
ret
Function at 0x1400916c0
Capabilities:
Print debug messages

Disassembly:
sub dword [rcx + 0x140], 1
mov eax, dword [rcx + 0x140]
jne 0x1400916dd
mov rcx, qword [rcx + 0x150]
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
cmp eax, 0x32
jle 0x1400916fb
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
jmp fcn.140061d00
ret