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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1401a4010]
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.140029f10
mov ebx, eax
test eax, eax
jne 0x1400880c7
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 0x1400880a1
nop dword [rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140087fb0
mov ebx, eax
test eax, eax
jne 0x1400880c7
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 0x140088050
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400880b6
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.140029de0
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400880d7
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.1400d37a0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x140088100
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 [0x1401a4010]
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.140005430
mov rcx, rax
test rax, rax
je 0x1400882ab
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.140004bf0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14008819b
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140088180
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140004e70
nop
call fcn.140005430
mov rcx, rax
test rax, rax
je 0x1400882a0
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.140004bf0
test al, al
jne 0x1400881f1
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400881d6
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140004e70
nop
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.140086760
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.140065460
call fcn.140006b10
mov rdx, rax
test rax, rax
mov rax, qword [rsp + 0x48]
jne 0x140088241
mov ebx, edi
jmp 0x14008826a
cmp dword [rax - 0x10], 0
jge 0x14008824b
mov ebx, edi
jmp 0x14008826a
mov rcx, rax
call fcn.1400da418
mov rbx, rax
test rax, rax
mov rax, qword [rsp + 0x48]
jne 0x140088264
mov ebx, edi
jmp 0x14008826a
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 0x140088286
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.1400d37a0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x80004005
call fcn.140005560
nop
mov ecx, 0x80004005
call fcn.140005560
int3
Function at 0x140089400
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 0x140089438
mov r8d, 0x18e
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.140065460
mov ecx, dword [rdx + 0x1ac]
mov qword [rsp + 0x30], rbx
lea eax, [rcx - 1]
test eax, 0xfffffffd
je 0x1400894bf
cmp ecx, 4
jne 0x1400894b1
mov rbx, qword [rdx + 0x158]
call fcn.140006fb0
mov rcx, rax
mov r8, rbx
mov rdx, 0xffffffff80000002
call fcn.1400996f0
test rax, rax
je 0x140089482
lea rcx, [rax + 0x20]
lea rdx, [rsi - 8]
call fcn.14000bac0
call fcn.14000b810
test dword [rax + reloc.OLEAUT32.dll_LPSAFEARRAY_UserUnmarshal], 0x100
jne 0x1400894a8
call fcn.14000b810
test dword [rax + 0x128], 0x20000
je 0x140089530
mov rbx, qword [rdi + 0x130]
jmp 0x140089507
cmp ecx, 5
jne 0x140089530
mov rbx, qword [rdx + 0x130]
jmp 0x140089507
mov rbx, qword [rdx + 0x130]
call fcn.140006fb0
mov rcx, rax
mov r8, rbx
mov rdx, 0xffffffff80000002
call fcn.1400996f0
test rax, rax
je 0x1400894ef
lea rcx, [rax + 0x20]
lea rdx, [rsi - 8]
call fcn.14000bac0
call fcn.14000b810
test dword [rax + 0x1fc], 0x10000000
je 0x140089530
mov rbx, qword [rdi + 0x158]
call fcn.140006fb0
mov r8, rbx
mov rdx, 0xffffffff80000002
mov rcx, rax
call fcn.1400996f0
test rax, rax
je 0x140089530
lea rdx, [rsi - 8]
lea rcx, [rax + 0x20]
call fcn.14000bac0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14008a170
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x68]
mov rdi, rdx
test rax, rax
je 0x14008a190
cmp qword [rax + 0x10], rdi
je 0x14008a1b4
mov rax, qword [rax]
test rax, rax
jne 0x14008a182
mov r8d, 0x9e
lea rdx, str.CRpcServerHelper::StopRpcEventTunnel
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rdi
jmp fcn.140065460
add rsp, 0x20
pop rdi
ret
test rdi, rdi
je 0x14008a1ae
mov qword [rsp + 0x30], rbx
mov rbx, qword [rcx + 0x78]
mov qword [rsp + 0x40], rsi
call fcn.14008a450
cmp rbx, 1
mov rsi, rax
mov rbx, qword [rsp + 0x30]
jne 0x14008a1fb
mov r8d, 0x27
lea rdx, str.CRpcClientEventHelper::StopRpcEventTunnelPreHandle
lea rcx, [0x140119e10]
call fcn.140065460
mov edx, 1
xchg byte [rsi + 8], dl
mov rcx, qword [rdi]
call fcn.14009b4b0
mov rcx, qword [rdi]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14009bb70
Function at 0x14008b040
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rdx, rdx
jne 0x14008b06c
mov r8d, SystemTimeToVariantTime
lea rdx, str.CRtkAudioDriverHelper::OnStateChangedDevice
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.140065460
cmp dword [0x1401aef40], 0
je 0x14008b0e7
cmp dword [rdx + 0x170], 0
je 0x14008b0e7
cmp r8d, 1
jne 0x14008b0e7
mov r8d, SystemTimeToVariantTime
lea rdx, str.CRtkAudioDriverHelper::OnStateChangedDevice
lea rcx, [0x140119e10]
call fcn.140065460
lea rcx, [rbx + 0x10]
mov dword [rsp + 0x38], 0
xor r9d, r9d
lea r8, [rsp + 0x38]
lea rdx, [0x140118750]
call fcn.1400034c0
test eax, eax
jne 0x14008b0e7
mov r8d, 0xb8
lea rdx, str.CRtkAudioDriverHelper::OnStateChangedDevice
lea rcx, [0x140119e10]
call fcn.140065460
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14008b470
add rsp, 0x20
pop rbx
ret

Function at 0x14008b100
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
call fcn.14000b9e0
mov rcx, rax
call fcn.140095b00
call fcn.14000b9e0
cmp dword [rax + 0x140], 0
jne 0x14008b159
cmp dword [0x1401ad8a8], 0
je 0x14008b159
cmp dword [0x1401ad8ac], 0
jne 0x14008b140
mov rax, qword [0x1401a5308]
test byte [rax + 0x1c], 1
je 0x14008b159
mov r8d, 0x3e
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.140065460
call fcn.14000b9e0
mov rbx, qword [rax + 0xe0]
test rbx, rbx
je 0x14008b195
nop word [rax + rax]
call fcn.14000b9e0
call fcn.14000b9e0
test rbx, rbx
je 0x14008b1e5
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x14008b190
call fcn.14008b470
test rbx, rbx
jne 0x14008b170
call fcn.14000b9e0
sub dword [rax + 0x140], 1
mov ecx, dword [rax + 0x140]
jne 0x14008b1bc
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 0x14008b1df
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.140065460
add rsp, 0x20
pop rbx
ret
mov ecx, 0x80004005
call fcn.140005560
int3
Function at 0x14008be40
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 0x14008be76
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.140065460
test rbx, rbx
jne 0x14008be83
mov r8d, 0x224
jmp 0x14008be5c
call fcn.14000b810
test byte [rax + 0xc8], 0x10
je 0x14008bec9
call fcn.14000b9e0
mov rdx, rbp
call fcn.140097690
test rax, rax
je 0x14008bec9
cmp dword [rax + 0x170], 0
je 0x14008bec9
cmp dword [rax + 0x178], 0
jne 0x14008bec9
cmp dword [rax + 0x174], 0
jne 0x14008bec9
mov edx, dword [rbx + 0x10]
mov rcx, rax
call fcn.14008ba00
cmp dword [rsi + 0x14], 0
jne 0x14008bed9
cmp dword [rsi + 0x18], 0
je 0x14008bf89
mov ebx, dword [rsi + 0x18]
call fcn.14000b9e0
test ebx, ebx
je 0x14008beec
call fcn.1400985f0
jmp 0x14008bef6
xor r8d, r8d
xor edx, edx
call fcn.140097b70
test rax, rax
je 0x14008bf89
mov rdx, qword [rax + 0x168]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], r14
call fcn.140004ab0
mov r14, rax
mov edi, 0xffffffff
mov rcx, qword [rax]
cmp dword [rcx - 0x10], 0
jge 0x14008bf2f
mov ebx, edi
jmp 0x14008bf49
mov rdx, rbp
call fcn.1400da418
mov rbx, rax
test rax, rax
jne 0x14008bf43
mov ebx, edi
jmp 0x14008bf49
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 0x14008bf75
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x14008bf89
lea rcx, [rsi - 0x10]
add rsp, 0x20
pop rsi
pop rbp
pop rbx
jmp fcn.14008bb90
add rsp, 0x20
pop rsi
pop rbp
pop rbx
ret
Function at 0x14008bfa0
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [r11 - 0x40], rcx
add rcx, 0x20
call fcn.1400902f0
nop
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.2.0
mov qword [rbx], rax
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.3.0
mov qword [rbx + 8], rax
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.0
mov qword [rbx + 0x10], rax
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.1.0
mov qword [rbx + 0x18], rax
xor ebp, ebp
mov qword [rbx + 0x28], rbp
mov qword [rbx + 0x30], rbp
mov qword [rbx + 0x40], rbp
mov dword [rbx + 0x48], ebp
call fcn.14000b810
movzx ecx, byte [rax + 0x12f]
and ecx, 1
mov dword [rbx + 0x28], ecx
call fcn.14000b810
test dword [rax + 0x2ec], 0x100000
je 0x14008c07a
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 + 0x2c], r8d
lea rdx, str.CRtkAudioDriverHelperForNormalUser::CRtkAudioDriverHelperForNormalUser
lea rcx, str._s_PowerState_d
call fcn.140065460
call fcn.140034ad0
lea rcx, [rax + 8]
lea rdx, [rbx + 0x10]
call fcn.140007090
call fcn.14000b810
test dword [rax + 0x1a4], 0x400
je 0x14008c0ca
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 + 0x48], r8d
lea rdx, str.CRtkAudioDriverHelperForNormalUser::CRtkAudioDriverHelperForNormalUser
lea rcx, str._s_PowerState_d
call fcn.140065460
call fcn.1400148c0
lea rcx, [rax + 0x20]
mov rdx, rbx
call fcn.140007090
cmp dword [rbx + 0x28], ebp
je 0x14008c0f8
call fcn.14008c8e0
call fcn.14000bb60
lea rcx, [rax + 0x28]
lea rdx, [rbx + 0x18]
call fcn.140007090
call fcn.14000b9e0
lea rcx, [rax + 0x10]
lea rdx, [rbx + 8]
call fcn.140007090
mov qword [rbx + 0x38], rbp
call fcn.14000b810
test byte [rax + 0x1c0], 4
je 0x14008c12b
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x14008c720]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbx + 0x58], rax
call fcn.14000b810
test byte [rax + 0xb8], 1
jne 0x14008c158
call fcn.14000b810
test byte [rax + 0xb8], 8
jne 0x14008c158
call fcn.14000b810
test dword [rax + 0x1f4], 0x1000
je 0x14008c185
mov ecx, 0x20
call fcn.1400d3dcc
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.1400c5240
nop
mov qword [rbx + 0x30], rax
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400d37a0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14008c1b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebx, r8d
mov rsi, rcx
call fcn.14000b810
cmp ebx, 0x2c
jne 0x14008c2bb
cmp dword [0x1401af950], 0
movups xmm0, xmmword [str._alsC]
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x40], 0
movaps xmmword [rsp + 0x30], xmm0
jle 0x14008c21e
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
xor r8d, r8d
lea edx, [rbx + 0xc]
lea rcx, [rsp + 0x30]
call fcn.140092500
jmp 0x14008c243
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.140092440
mov ebx, dword [rsi + 0x48]
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.140065460
cmp ebx, edi
mov dword [rsi + 0x48], edi
mov rdi, qword [rsp + 0x68]
je 0x14008c2bb
call fcn.14000b9e0
mov edx, 1
call fcn.140097ea0
mov r9, rsi
mov qword [rsp + 0x28], 0
lea r8, [0x14008c2e0]
mov qword [rsi + 0x40], 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 + 0x50], rax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d37a0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rsi
ret

Function at 0x14008cf8d
Capabilities:
Create thread

Disassembly:
cmp r8d, 0x218
jne 0x14008d086
push rbx
push rdi
sub rsp, 0x58
mov rax, qword [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, r9
lea rdx, str.CRtkAudioDriverHelperForNormalUser::OnWindowsPowerMessage
mov r9d, r8d
mov qword [rsp + 0x20], rbx
mov rdi, rcx
mov r8d, 0x168
lea rcx, str._s__d___uMsg___d__wParam___d
call fcn.140065460
cmp rbx, 0xa
jne 0x14008d073
call fcn.14000b810
test dword [rax + 0x2ec], 0x100000
je 0x14008d073
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x50], rsi
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_GetSystemPowerStatus]
mov ebx, dword [rdi + 0x1c]
lea rdx, str.CRtkAudioDriverHelperForNormalUser::OnWindowsPowerMessage
xor esi, esi
lea rcx, str._s_PowerStateChange_d_ACLineStatus_d
cmp byte [rsp + 0x30], sil
setne sil
xor r8d, r8d
cmp ebx, esi
mov r9d, esi
setne r8b
call fcn.140065460
cmp ebx, esi
je 0x14008d06e
mov dword [rdi + 0x1c], esi
call fcn.14000b9e0
mov edx, 1
call fcn.140097d80
mov qword [rdi + 0x30], rax
test rax, rax
je 0x14008d06e
lea r9, [rdi - 0x10]
mov qword [rsp + 0x28], 0
lea r8, [0x14008c2e0]
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rdi + 0x40], rax
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400d37a0
add rsp, 0x58
pop rdi
pop rbx
ret
Function at 0x140095b80
Capabilities:
Print debug messages

Disassembly:
sub dword [rcx + 0x140], 1
mov eax, dword [rcx + 0x140]
jne 0x140095b9d
mov rcx, qword [rcx + 0x150]
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
cmp eax, 0x32
jle 0x140095bbb
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.140065460
ret
Function at 0x140095bc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x70
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
cmp edx, 0x3f5
jne 0x140095c7d
call fcn.14000bb60
mov rcx, rax
mov edx, 0x3f5
call fcn.1400c8d80
lea rsi, [rbx + 0xa0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea r14, [rbx + 0x108]
mov rbx, qword [r14]
test rbx, rbx
je 0x140095c67
mov rdi, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rdi, rdi
je 0x140095c62
mov r9, qword [rdi + 0x10]
mov r8d, 0xaa
lea rdx, str.CMMPlatform::OnTimer
lea rcx, str._s__d_delete_AudDev_sEndPointId_s
call fcn.140065460
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
test rbx, rbx
jne 0x140095c2c
mov rcx, r14
call fcn.14000c7b0
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
jmp 0x140095de3
cmp edx, 0x441
jne 0x140095de3
mov r8d, 0xb9
lea rdx, str.CMMPlatform::OnTimer
lea rcx, str._s__d_GUID_CONSOLE_DISPLAY_STATE__weak_up_from_s0i3
call fcn.140065460
xor r9d, r9d
lea r8, str.s0i3
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.140085c10
mov esi, 0x63
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
mov dword [rsp + 0x38], edi
lea r9d, [rsi - 0x62]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.140029f10
test eax, eax
je 0x140095d29
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140065460
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140095d94
jmp 0x140095d8e
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 0x140095d86
cmp dword [rsp + 0x40], 4
jne 0x140095d86
mov esi, dword [rsp + 0x38]
test rbx, rbx
je 0x140095d7f
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov edi, 1
jmp 0x140095d94
test rbx, rbx
je 0x140095d94
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, 0xbe
lea rdx, str.CMMPlatform::OnTimer
lea rcx, str._s__d_s0i3_d__bSuccess_d
call fcn.140065460
test esi, esi
jne 0x140095de3
mov r8d, 0xc2
lea rdx, str.CMMPlatform::OnTimer
lea rcx, [0x140119e10]
call fcn.140065460
call fcn.14000bb60
mov rcx, rax
mov edx, 0x441
call fcn.1400c8d80
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d37a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140098d60
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, qword [rcx + 0x508]
mov rsi, rdx
mov rdi, rcx
test rbx, rbx
je 0x140098daf
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140098daa
add rcx, 4
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
test eax, eax
je 0x140098fa8
test rbx, rbx
jne 0x140098d89
mov qword [rsp + 0x70], rbp
mov ecx, BSTR_UserMarshal
mov qword [rsp + 0x78], r14
call fcn.1400d3dcc
xor edx, edx
mov r8d, BSTR_UserFree
mov rcx, rax
mov rbx, rax
call fcn.1400daa40
lea rbp, [rbx + 4]
mov edx, 0x7f
mov rcx, rbp
sub rsi, rbp
nop word [rax + rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x140098e14
movzx eax, word [rsi + rcx]
test ax, ax
je 0x140098e14
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140098df0
jmp 0x140098e19
test rdx, rdx
jne 0x140098e1d
sub rcx, 2
xor r14d, r14d
mov word [rcx], r14w
cmp dword [rdi + 0x4f8], r14d
je 0x140098ebb
mov rcx, qword [rdi + 0x4e0]
mov r9, rbx
mov qword [rsp + 0x28], r14
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140098eb1
mov eax, dword [rbx]
cmp eax, 4
je 0x140098e79
cmp eax, 0xb
jne 0x140098ebb
lea r8, [rbx + 0x108]
mov rdx, rbp
lea rcx, [rdi + 0x4e0]
call fcn.140099a70
jmp 0x140098ebb
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0x108]
mov rcx, qword [rdi + 0x4e0]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
jmp 0x140098ebb
mov dword [rbx + 0x110], 1
mov rsi, qword [rdi + 0x510]
mov rbp, qword [rsp + 0x70]
cmp qword [rdi + 0x528], r14
jne 0x140098f61
mov ecx, dword [rdi + 0x530]
test rcx, rcx
jne 0x140098ee4
mov rcx, r14
jmp 0x140098f02
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 0x18
jb 0x140098fbd
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 0x140098fbd
mov rcx, qword [rdi + 0x520]
mov qword [rax], rcx
mov qword [rdi + 0x520], rax
mov r8d, dword [rdi + 0x530]
lea ecx, [r8 - 1]
lea rdx, [rcx*2 + 1]
add rdx, rcx
sub r8d, 1
lea rdx, [rax + rdx*8]
js 0x140098f61
mov rax, qword [rdi + 0x528]
mov qword [rdx], rax
mov qword [rdi + 0x528], rdx
sub rdx, 0x18
sub r8d, 1
jns 0x140098f46
mov rcx, qword [rdi + 0x528]
mov rax, qword [rcx]
mov qword [rcx + 0x10], rbx
mov qword [rdi + 0x528], rax
mov qword [rcx + 8], rsi
mov qword [rcx], r14
inc qword [rdi + 0x518]
mov rax, qword [rdi + 0x510]
test rax, rax
je 0x140098f95
mov qword [rax], rcx
jmp 0x140098f9c
mov qword [rdi + 0x508], rcx
mov r14, qword [rsp + 0x78]
mov qword [rdi + 0x510], rcx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d37a0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x8007000e
call fcn.140005560
int3