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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r9
mov r12, r8
mov r15, rdx
mov rbp, rcx
mov r14, qword [rsp + 0xd0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x50], rbx
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x14007fa4c
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea r13, [0x1400e36c8]
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.140003e50
lea rdi, [rbx - 1]
test al, al
jne 0x14007f95f
mov rax, rdi
inc rax
cmp word [r13 + rax*2], 0
jne 0x14007f942
mov r8d, eax
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.1400040e0
nop
mov r9d, 1
mov r8, r15
mov rdx, rbp
lea rcx, [rsp + 0x40]
call fcn.1400280a0
test eax, eax
jne 0x14007f9f2
mov eax, dword [r14]
add eax, eax
mov dword [rsp + 0x30], eax
mov dword [r14], ebx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, r12
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14007f9f2
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
jbe 0x14007f9c0
mov eax, SafeArrayDestroy
jmp 0x14007f9f0
mov ecx, dword [rsp + 0x30]
test rsi, rsi
je 0x14007f9e9
test ecx, ecx
je 0x14007f9e6
test cl, 1
jne 0x14007f9df
mov eax, ecx
shr rax, 1
cmp word [rsi + rax*2 - 2], 0
je 0x14007f9e9
mov eax, SafeArrayDestroy
jmp 0x14007f9f0
mov word [rsi], bx
shr ecx, 1
mov dword [r14], ecx
mov eax, ebx
test eax, eax
sete bl
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14007fa1c
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14007fa2c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c17f0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.140004820
int3
Function at 0x14007fd90
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r9
mov r12, r8
mov r14, rdx
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor ebx, ebx
mov ebp, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rbx
mov r9d, 0x20019
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.1400280a0
mov r15d, ebx
test eax, eax
sete r15b
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14007fe12
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test r15d, r15d
jne 0x14007fe47
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call fcn.14007f1b0
test eax, eax
jne 0x14007fe47
mov r8d, 0x1e8
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005b9a0
jmp 0x14007fee8
mov r9d, 2
mov r8, r14
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400280a0
mov edi, eax
mov r9d, eax
mov r8d, 0x1ee
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_nRet_d
call fcn.14005b9a0
mov rbp, qword [rsp + 0x30]
test edi, edi
jne 0x14007fee5
test rsi, rsi
jne 0x14007fe8e
lea edi, [rsi + 0xd]
jmp 0x14007fec7
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rsi + rax*2], 0
jne 0x14007fe95
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov edi, eax
mov r9d, edi
mov r8d, 0x1f5
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_nRet_d
call fcn.14005b9a0
test edi, edi
sete bl
test rbp, rbp
je 0x14007fef6
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c17f0
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400812c0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x14013c010]
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.1400280a0
mov ebx, eax
test eax, eax
jne 0x1400813d7
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 0x1400813b1
nop dword [rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400812c0
mov ebx, eax
test eax, eax
jne 0x1400813d7
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 0x140081360
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400813c6
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.140027f60
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400813e7
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.1400c17f0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x140081410
Capabilities:
Persist via run registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [r11 - 0x18], 0
lea rax, [r11 - 0x38]
mov qword [r11 - 0x28], rax
lea rax, [r11 - 0x30]
mov qword [r11 - 0x20], rax
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x140081608
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rbx, str.RtkAudUService
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140003e50
mov rdi, 0xffffffffffffffff
test al, al
jne 0x1400814ab
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x140081490
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400040e0
nop
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x1400815fd
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rbx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140003e50
test al, al
jne 0x14008150b
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400814f0
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400040e0
nop
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.14007fa60
nop
mov r9, qword [rsp + 0x40]
mov r8d, reloc.OLEAUT32.dll_SafeArrayCopy
lea rdx, str.CRegKeyMgr::CheckRtkAudUServiceRunKey
lea rcx, str._s__d__s
call fcn.14005b9a0
lea rsi, [0x14013c4a8]
cmp word [0x14013c4a8], 0
jne 0x140081587
mov ebx, 0x22
mov word [0x14013c4a8], bx
mov r8d, 0xfe
lea rdx, [0x14013c4aa]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrlenW]
movsxd rcx, eax
mov word [rsi + rcx*2], bx
mov rax, qword [rsp + 0x40]
cmp dword [rax - 0x10], 0
jge 0x140081596
mov ebx, edi
jmp 0x1400815b8
mov rdx, rsi
mov rcx, rax
call fcn.1400c7374
mov rbx, rax
test rax, rax
mov rax, qword [rsp + 0x40]
jne 0x1400815b2
mov ebx, edi
jmp 0x1400815b8
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 0x1400815de
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c17f0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004820
nop
mov ecx, 0x80004005
call fcn.140004820
int3
Function at 0x1400832e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x140083318
mov r8d, 0x16a
lea rdx, str.CRegPKeyReWriter::OnRemoveDevice
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14005b9a0
mov ecx, dword [rdx + 0x1ac]
lea eax, [rcx - 1]
test eax, 0xfffffffd
je 0x1400833a1
cmp ecx, 4
jne 0x14008338e
call fcn.140006290
mov r8, qword [rbx + 0x158]
mov rcx, rax
mov rdx, 0xffffffff80000002
call fcn.140092f60
test rax, rax
je 0x14008335a
lea rcx, [rax + 0x20]
lea rdx, [rdi - 8]
call fcn.14000b680
call fcn.14000b2a0
test dword [rax + reloc.OLEAUT32.dll_LPSAFEARRAY_UserUnmarshal], 0x100
jne 0x140083380
call fcn.14000b2a0
test dword [rax + 0x128], 0x20000
je 0x14008340c
call fcn.140006290
mov r8, qword [rbx + 0x130]
jmp 0x1400833eb
cmp ecx, 5
jne 0x14008340c
call fcn.140006290
mov r8, qword [rbx + 0x130]
jmp 0x1400833eb
call fcn.140006290
mov r8, qword [rbx + 0x130]
mov rcx, rax
mov rdx, 0xffffffff80000002
call fcn.140092f60
test rax, rax
je 0x1400833ce
lea rcx, [rax + 0x20]
lea rdx, [rdi - 8]
call fcn.14000b680
call fcn.14000b2a0
test dword [rax + 0x1fc], 0x10000000
je 0x14008340c
call fcn.140006290
mov r8, qword [rbx + 0x158]
mov rdx, 0xffffffff80000002
mov rcx, rax
call fcn.140092f60
test rax, rax
je 0x14008340c
lea rdx, [rdi - 8]
lea rcx, [rax + 0x20]
call fcn.14000b680
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140085150
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
call fcn.14000b5c0
mov rcx, rax
call fcn.14008f5a0
call fcn.14000b5c0
cmp dword [rax + 0x140], 0
jne 0x1400851a9
cmp dword [0x140143c1c], 0
je 0x1400851a9
cmp dword [0x140143c18], 0
jne 0x140085190
mov rax, qword [0x14013d2a0]
test byte [rax + 0x1c], 1
je 0x1400851a9
mov r8d, 0x3e
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.14005b9a0
call fcn.14000b5c0
mov rbx, qword [rax + 0xe0]
test rbx, rbx
je 0x1400851e0
nop word [rax + rax]
call fcn.14000b5c0
call fcn.14000b5c0
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x1400851db
call fcn.140085500
test rbx, rbx
jne 0x1400851c0
call fcn.14000b5c0
sub dword [rax + 0x140], 1
mov ecx, dword [rax + 0x140]
jne 0x140085207
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 0x14008522a
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.14005b9a0
add rsp, 0x20
pop rbx
ret
Function at 0x140085e80
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
test rdx, rdx
jne 0x140085eb8
mov r8d, 0x1c1
lea rdx, str.CRtkAudioDriverHelper::OnEndpointVolumeChanged
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14005b9a0
test rbx, rbx
jne 0x140085ec5
mov r8d, 0x1c2
jmp 0x140085e9b
call fcn.14000b2a0
test byte [rax + 0xc8], 0x10
je 0x140085f0b
call fcn.14000b5c0
mov rdx, rdi
call fcn.140091520
test rax, rax
je 0x140085f0b
cmp dword [rax + 0x170], 0
je 0x140085f0b
cmp dword [rax + 0x178], 0
jne 0x140085f0b
cmp dword [rax + 0x174], 0
jne 0x140085f0b
mov edx, dword [rbx + 0x10]
mov rcx, rax
call fcn.140085c90
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140086170
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, r8d
mov rsi, rcx
call fcn.14000b2a0
cmp ebx, 0x2c
jne 0x1400862cf
mov qword [rsp + 0x78], rbp
xor ebp, ebp
cmp dword [0x140145338], ebp
mov dword [rsp + 0x50], ebp
jle 0x1400861db
movups xmm0, xmmword [str._alsC]
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
xor r8d, r8d
lea edx, [rbx + 0xc]
lea rcx, [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm0
call fcn.14008be50
jmp 0x14008624f
mov eax, dword [0x140145308]
mov dword [rsp + 0x54], ebp
test eax, eax
jg 0x140086204
mov r8d, 0x385
lea rdx, str.CDriverPropertyClient::KsProperty
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005b9a0
jmp 0x14008624f
movups xmm0, xmmword [str._alsC]
movaps xmmword [rsp + 0x40], xmm0
test eax, eax
jle 0x1400862ea
mov rcx, qword [0x140145300]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x38]
call fcn.14008c9c0
cmp dword [rsp + 0x50], ebp
lea rdx, str.CRtkAudioDriverHelperForNormalUser::IsACPowerStateChanged
mov ebx, dword [rsi + 0x40]
lea rcx, str._s_PowerStateChange_d_SysPowerState_d_DrvAcPowerState_d
mov qword [rsp + 0x80], rdi
mov r8d, ebp
mov edi, ebp
mov r9d, ebx
sete dil
cmp ebx, edi
mov dword [rsp + 0x20], edi
setne r8b
call fcn.14005b9a0
cmp ebx, edi
mov dword [rsi + 0x40], edi
mov rdi, qword [rsp + 0x80]
je 0x1400862ca
call fcn.14000b5c0
mov edx, 1
call fcn.140091a20
mov r9, rsi
mov qword [rsp + 0x28], rbp
lea r8, [0x140086300]
mov qword [rsi + 0x38], rax
xor edx, edx
mov dword [rsp + 0x20], ebp
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rsi + 0x48], rax
mov rbp, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c17f0
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rsi
ret
mov edx, 1
mov ecx, 0xc000008c
call fcn.1400149b0
int3
Function at 0x140087580
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xorps xmm0, xmm0
lea rdx, [rcx + 0x2fc]
movups xmmword [rcx + 0x300], xmm0
xor eax, eax
mov rsi, rcx
movups xmmword [rcx + 0x310], xmm0
movups xmmword [rcx + 0x320], xmm0
movups xmmword [rcx + 0x330], xmm0
mov dword [rcx + 0x348], eax
call fcn.140087fb0
mov eax, dword [rsi + 0x1c0]
shr eax, 9
xor eax, dword [rsi + 0x300]
and eax, 0x200
xor dword [rsi + 0x300], eax
cmp dword [rsi + 0x2f8], 0
jne 0x1400875f9
lea rdx, [rsi + 0x340]
xor eax, eax
mov qword [rdx], rax
call fcn.140087d70
test dword [rsi + 0x2fc], 0x200000
je 0x140087616
or dword [rsi + 0x90], 3
mov dword [rsi + 0x84], 1
movzx r9d, word [rsi + 0x342]
lea rdx, [rsi + 0x8c]
lea r8, [rsi + 0x2fc]
lea rcx, [rsi + 0x348]
call fcn.1400023e0
test byte [rsi + 0x2ec], 2
mov edi, 4
mov dword [rsi + 0x88], edi
je 0x14008765c
mov edi, 5
mov dword [rsi + 0x88], edi
jmp 0x1400876e4
cmp dword [0x140145308], 0
je 0x14008766f
xor edi, edi
mov dword [rsi + 0x88], edi
jmp 0x1400876e4
cmp dword [0x140145328], 0
je 0x1400876e4
mov qword [rsp + 0x30], rbp
call fcn.1400141e0
mov ebx, dword [0x140145308]
call fcn.1400141e0
mov ebp, dword [0x140145328]
test ebx, ebx
jne 0x1400876d0
test ebp, ebp
je 0x1400876d0
xor edi, edi
mov eax, edi
mov ebx, edi
test ebp, ebp
jle 0x1400876b6
mov ecx, ebx
call fcn.140088440
test eax, eax
jne 0x1400876d0
inc ebx
cmp ebx, ebp
jl 0x1400876a5
test eax, eax
jne 0x1400876d0
call fcn.1400884e0
test eax, eax
setne dil
add edi, 2
mov dword [rsi + 0x88], edi
jmp 0x1400876df
mov dword [rsi + 0x88], 1
mov edi, 1
mov rbp, qword [rsp + 0x30]
mov r9d, edi
lea rdx, str.CRtkAudioDriverInfo::RefreshDriverDependantMode
mov r8d, 0x25e
lea rcx, str._s__d_DriverDependantMode_d
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14005b9a0

Function at 0x14008f620
Capabilities:
Print debug messages

Disassembly:
sub dword [rcx + 0x140], 1
mov eax, dword [rcx + 0x140]
jne 0x14008f63d
mov rcx, qword [rcx + 0x150]
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
cmp eax, 0x32
jle 0x14008f65b
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.14005b9a0
ret
Function at 0x140091c50
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x20], rdi
call fcn.14000b5c0
mov rcx, rax
call fcn.14008f5a0
call fcn.14000b5c0
cmp dword [rax + 0x140], 0
jne 0x140091cac
cmp dword [0x140143c1c], 0
je 0x140091cac
cmp dword [0x140143c18], 0
jne 0x140091c93
mov rax, qword [0x14013d2a0]
test byte [rax + 0x1c], 1
je 0x140091cac
mov r8d, 0x3e
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.14005b9a0
call fcn.14000b5c0
mov rdi, qword [rax + 0xe0]
test rdi, rdi
je 0x140091d30
mov qword [rsp + 0x30], rbx
call fcn.14000b5c0
call fcn.14000b5c0
mov rbx, qword [rdi + 0x10]
mov rdi, qword [rdi]
test rbx, rbx
je 0x140091d26
mov rcx, rbx
call fcn.14000faa0
mov rcx, rbx
call fcn.14000edc0
lea rcx, [rbx + 0xc8]
call fcn.140010410
test rax, rax
je 0x140091d26
mov rbx, qword [rbx + 0x110]
mov rbx, qword [rbx]
test rbx, rbx
je 0x140091d26
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140091d21
call fcn.14006f250
test rbx, rbx
jne 0x140091d10
test rdi, rdi
jne 0x140091cc2
mov rbx, qword [rsp + 0x30]
call fcn.14000b5c0
mov rdi, qword [rsp + 0x20]
sub dword [rax + 0x140], 1
mov ecx, dword [rax + 0x140]
jne 0x140091d5b
mov rcx, qword [rax + 0x150]
add rsp, 0x28
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
cmp ecx, 0x32
jle 0x140091d7d
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, 0x28
jmp fcn.14005b9a0
add rsp, 0x28
ret
Function at 0x1400925f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [rcx + 0x508]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x140092646
nop dword [rax]
mov rcx, qword [rdi + 0x10]
mov rdi, qword [rdi]
test rcx, rcx
je 0x140092641
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 0x140092826
test rdi, rdi
jne 0x140092620
mov qword [rsp + 0x70], rbp
mov ecx, BSTR_UserMarshal
mov qword [rsp + 0x78], r14
call fcn.1400c1b88
xor edx, edx
mov r8d, BSTR_UserFree
mov rcx, rax
mov rdi, rax
call fcn.1400c7980
lea rbp, [rdi + 4]
mov edx, 0x7f
mov rcx, rbp
sub rsi, rbp
nop dword [rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1400926ad
movzx eax, word [rsi + rcx]
test ax, ax
je 0x1400926a4
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140092680
jmp 0x1400926a9
test rdx, rdx
jne 0x1400926ad
sub rcx, 2
xor r14d, r14d
mov word [rcx], r14w
cmp dword [rbx + 0x4f8], r14d
je 0x140092739
mov rcx, qword [rbx + 0x4e0]
mov r9, rdi
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 0x14009272f
mov eax, dword [rdi]
cmp eax, 4
je 0x1400926f7
cmp eax, 0xb
jne 0x140092739
mov dword [rsp + 0x30], 8
jmp 0x1400926ff
mov dword [rsp + 0x30], 4
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea rax, [rdi + 0x108]
mov rcx, qword [rbx + 0x4e0]
lea r9, [rsp + 0x34]
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
jmp 0x140092739
mov dword [rdi + 0x110], 1
mov rsi, qword [rbx + 0x510]
mov rbp, qword [rsp + 0x70]
cmp qword [rbx + 0x528], r14
jne 0x1400927df
mov ecx, dword [rbx + 0x530]
test rcx, rcx
jne 0x140092762
mov rcx, r14
jmp 0x140092780
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 0x18
jb 0x14009283b
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 0x14009283b
mov rcx, qword [rbx + 0x520]
mov qword [rbx + 0x520], rax
mov r8d, dword [rbx + 0x530]
mov qword [rax], rcx
lea ecx, [r8 - 1]
lea rdx, [rcx*2 + 1]
add rdx, rcx
sub r8d, 1
lea rdx, [rax + rdx*8]
js 0x1400927df
mov rax, qword [rbx + 0x528]
mov qword [rdx], rax
mov qword [rbx + 0x528], rdx
sub rdx, 0x18
sub r8d, 1
jns 0x1400927c4
mov rcx, qword [rbx + 0x528]
mov rax, qword [rcx]
mov qword [rcx + 0x10], rdi
mov qword [rbx + 0x528], rax
mov qword [rcx + 8], rsi
mov qword [rcx], r14
inc qword [rbx + 0x518]
mov rax, qword [rbx + 0x510]
test rax, rax
je 0x140092813
mov qword [rax], rcx
jmp 0x14009281a
mov qword [rbx + 0x508], rcx
mov r14, qword [rsp + 0x78]
mov qword [rbx + 0x510], rcx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c17f0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x8007000e
call fcn.140004820
int3
Function at 0x140092850
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
sub rsp, 0x60
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [r11 + 0x18], rsi
mov rbp, rcx
mov rsi, qword [rcx + 0x508]
test rsi, rsi
je 0x140092a09
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x18], r14
xor r14d, r14d
mov qword [r11 - 0x10], rdi
nop dword [rax]
mov rbx, qword [rsi + 0x10]
mov rsi, qword [rsi]
test rbx, rbx
je 0x1400929f1
mov edi, dword [rbx]
test edi, edi
jne 0x1400928cd
mov rcx, qword [rbp + 0x4e0]
lea rdx, [rbx + 4]
mov qword [rsp + 0x28], r14
mov r9, rbx
xor r8d, r8d
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400928cd
mov edi, dword [rbx]
sub edi, 1
je 0x1400929d9
sub edi, 3
je 0x140092963
cmp edi, 7
jne 0x1400929f1
mov rcx, qword [rbp + 0x4e0]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [rbx + 4]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x38], r14
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x30], 8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400929f1
cmp dword [rsp + 0x40], 0xb
jne 0x1400929f1
mov rcx, qword [rsp + 0x38]
mov eax, r14d
cmp rcx, qword [rbx + 0x108]
setne al
cmp dword [rbx + 0x110], r14d
je 0x14009295a
mov dword [rbx + 0x110], r14d
lea eax, [rdi - 6]
mov qword [rbx + 0x108], rcx
jmp 0x1400929d3
mov rcx, qword [rbp + 0x4e0]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, [rbx + 4]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], r14d
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x38], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400929f1
cmp dword [rsp + 0x44], 4
jne 0x1400929f1
mov ecx, dword [rsp + 0x30]
mov eax, r14d
cmp ecx, dword [rbx + 0x108]
setne al
cmp dword [rbx + 0x110], r14d
je 0x1400929cd
mov dword [rbx + 0x110], r14d
mov eax, 1
mov dword [rbx + 0x108], ecx
test eax, eax
je 0x1400929f1
jmp 0x1400929de
mov eax, 1
mov dword [rbx + 0x114], eax
mov rcx, qword [rbp + 0x4d0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
test rsi, rsi
jne 0x140092890
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x78]
cmp dword [rbp + 0x4fc], 0
mov rsi, qword [rsp + 0x80]
je 0x140092a27
mov rcx, qword [rbp + 0x4c0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c17f0
add rsp, 0x60
pop rbp
ret