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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov rax, qword [0x1400d8010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov ebp, r8d
mov esi, edx
mov edi, ecx
xor eax, eax
mov qword [rsp + 0x74], rax
mov dword [rsp + 0x70], 0x1001
mov dword [rsp + 0x74], ecx
mov word [rsp + 0x78], si
mov word [rsp + 0x7a], bp
lea r9, str.RealtekAudioBackgroundProcessClass
lea r8, str.RealtekAudioBackgroundProcessClass
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov r14, rax
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0x2000
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 0xc
lea r9, [rsp + 0x58]
mov r8, qword [0x1400dc868]
mov edx, 0x4a
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15, rax
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x1400295f8
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x80], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r14
mov r9d, 0xcb
lea r8, str.CJackRetaskCommandLineHelper::SendRetaskCommandToActiveRtkAudUService
lea rdx, str._s__d_hWnd_x_Wid_x_DevType_d_Seq_d_hr_x_LastErr_d
lea rcx, [rsp + 0x80]
call fcn.1400054e0
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
cmp dword [0x1400dc724], 0
je 0x1400296b3
cmp dword [0x1400dc758], 0
jne 0x14002967b
mov rax, qword [0x1400d83b8]
test byte [rax + 0x1c], 1
je 0x1400296b3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edi
mov r9, r14
mov r8d, 0xcf
lea rdx, str.CJackRetaskCommandLineHelper::SendRetaskCommandToActiveRtkAudUService
lea rcx, str._s__d_hWnd_x_Wid_x_DevType_d_Seq_d_hr_x_LastErr_d
call fcn.140033040
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400296cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140079e30
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400297c0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
sub rsp, 0x70
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x1400d8010]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x1400297fe
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rbx, [0x1400dd070]
cmp word [0x1400dd070], 0
jne 0x140029835
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x26]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
lea r9, str.RealtekAudioHDA
mov r8, rbx
lea rdx, [0x1400944d8]
lea rcx, [rsp + 0x58]
call fcn.1400054e0
mov rbx, qword [rsp + 0x58]
add rbx, 0xffffffffffffffe8
mov rcx, rbx
call fcn.140005340
add rax, 0x18
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, str.RtkNGui64.exe
call fcn.140029960
mov rcx, rbx
call fcn.140005340
add rax, 0x18
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x48]
lea rdx, str.RAVCpl64.exe
call fcn.140029960
lea rdi, [0x1400dc870]
cmp word [0x1400dc870], 0
jne 0x1400298c5
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x25]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400052a0
mov r8, rax
lea rdx, str.RtkUGui64.exe
call fcn.140029960
mov rcx, rbx
call fcn.140005340
add rax, 0x18
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x38]
lea rdx, str.RAVBg64.exe
call fcn.140029960
call fcn.140029e80
call fcn.140029d80
call fcn.140029ab0
call fcn.140029cb0
call fcn.14006cf00
nop
or eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x140029936
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140079e30
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140029ab0
Capabilities:
Persist via run registry key

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x70
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x1400d8010]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor eax, eax
mov qword [r11 - 0x20], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor ebp, ebp
mov qword [r11 - 0x38], rbp
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x58], 0xa
lea rcx, [r11 - 0x48]
call fcn.14004f850
mov r14, qword [rsp + 0x30]
test r14, r14
je 0x140029c76
mov rcx, qword [r14 + 0x10]
mov r14, qword [r14]
sub rcx, 0x18
call fcn.140005340
lea rdi, [rax + 0x18]
mov qword [rsp + 0x60], rdi
mov rcx, rax
call fcn.140005340
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
movsxd rsi, dword [rbx - 0x10]
test esi, esi
js 0x140029c6b
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x140029b72
mov edx, esi
lea rcx, [rsp + 0x28]
call fcn.140003f00
mov rbx, qword [rsp + 0x28]
lea eax, [rsi + 1]
movsxd rdx, eax
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsupr_s]
cmp esi, dword [rbx - 0xc]
jg 0x140029c60
mov dword [rbx - 0x10], esi
mov word [rbx + rsi*2], bp
cmp dword [rbx - 0x10], 0
jl 0x140029c1b
lea rdx, str.RTHDVBG
mov rcx, rbx
call fcn.140081b98
test rax, rax
je 0x140029bb9
sub rax, rbx
sar rax, 1
test eax, eax
jns 0x140029c01
cmp dword [rbx - 0x10], 0
jl 0x140029c1b
lea rdx, str.RTHDVCPL
mov rcx, rbx
call fcn.140081b98
test rax, rax
je 0x140029bdd
sub rax, rbx
sar rax, 1
test eax, eax
jns 0x140029c01
cmp dword [rbx - 0x10], 0
jl 0x140029c1b
lea rdx, str.RTKUGUI
mov rcx, rbx
call fcn.140081b98
test rax, rax
je 0x140029c1b
sub rax, rbx
sar rax, 1
test eax, eax
js 0x140029c1b
xor r9d, r9d
mov r8, rdi
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
mov rcx, 0xffffffff80000002
call fcn.14004ec70
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140029c36
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140029c55
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test r14, r14
jne 0x140029b1a
jmp 0x140029c76
mov ecx, 0x80070057
call fcn.140003fc0
int3
mov ecx, 0x80070057
call fcn.140003fc0
nop
lea rcx, [rsp + 0x30]
call fcn.140013110
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140079e30
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140029cb0
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rax, qword [0x1400d8010]
xor rax, rsp
mov qword [rsp + 0x30], rax
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x140029cf0
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x28], rax
xor edi, edi
lea rsi, str.RTKCPL
nop dword [rax + rax]
mov r8, qword [rsi]
lea rdx, str.schtasks__delete__TN__s__F
lea rcx, [rsp + 0x28]
call fcn.140029f70
xor edx, edx
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WinExec]
inc edi
lea rsi, [rsi + 8]
cmp edi, 0x1d
jb 0x140029d10
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140029d59
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140079e30
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140029d80
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov rax, qword [0x1400d8010]
xor rax, rsp
mov qword [rsp + 0x40], rax
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x140029dc5
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
xor edi, edi
lea rsi, str.Music__Photos_and_VideosSRS_Audio_Control_Panel.lnk
lea rbp, [0x1400dca70]
cmp word [0x1400dca70], 0
jne 0x140029e05
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x17]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
mov r9, qword [rsi]
mov r8, rbp
lea rdx, [0x1400944d8]
lea rcx, [rsp + 0x38]
call fcn.1400054e0
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140029e38
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
inc edi
add rsi, 8
cmp edi, 0x24
jb 0x140029de4
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140029e5d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140079e30
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140029e80
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1400d8010]
xor rax, rsp
mov qword [rsp + 0x40], rax
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x140029eb6
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rbx, [0x1400dc870]
cmp word [0x1400dc870], 0
jne 0x140029eed
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x25]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
lea r9, str.RTSnMg64.cpl
mov r8, rbx
lea rdx, [0x1400944d8]
lea rcx, [rsp + 0x38]
call fcn.1400054e0
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140029f3d
lea r9, [0x1400949f8]
lea r8, str.RTSnMg64.cpl
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_Paneldont_load
mov rcx, 0xffffffff80000002
call fcn.14004f1f0
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140029f57
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140079e30
add rsp, 0x50
pop rbx
ret
Function at 0x14002a8b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400d8010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor eax, eax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov rbx, r8
mov rdi, rdx
call fcn.140058e80
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x14002a929
mov rdx, qword [rsp + 0x40]
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegCreateKeyW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002a97a
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov r9d, 4
mov rdx, rdi
test rbx, rbx
je 0x14002a953
mov qword [rsp + 0x20], rbx
jmp 0x14002a965
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x14002a97e
mov ebx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002a99d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140079e30
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14002b130
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x500
mov rax, qword [0x1400d8010]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov rbx, r8
mov edi, edx
mov r8, rcx
mov edx, 0x208
lea rcx, [rsp + 0xe0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.1400825c0
xor eax, eax
mov dword [rsp + 0x70], 0x68
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.14002a240
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
test eax, eax
je 0x14002b226
test edi, edi
je 0x14002b1f8
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
test rbx, rbx
je 0x14002b20b
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.140079e30
mov rbx, qword [rsp + 0x518]
add rsp, 0x500
pop rdi
ret
Function at 0x14002fd60
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x40], rbx
lea rdx, str.CIndependentVolumeMgr::RestoreIndepHPVol
mov qword [rsp + 0x48], rsi
mov r8d, 0x5e
mov rsi, rcx
lea rcx, [0x140094818]
call fcn.140033040
call fcn.140009a60
or edx, 0xffffffff
mov rbx, rax
mov rcx, qword [rax + 0x140]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
inc dword [rbx + 0x138]
call fcn.140009a60
cmp dword [rax + 0x138], 0
jne 0x14002fdee
cmp dword [0x1400dc724], 0
je 0x14002fdee
cmp dword [0x1400dc758], 0
jne 0x14002fdd5
mov rax, qword [0x1400d83b8]
test byte [rax + 0x1c], 1
je 0x14002fdee
mov r8d, 0x39
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.140033040
call fcn.140009a60
mov qword [rsp + 0x30], rdi
mov rbx, qword [rax + 0xd8]
nop
test rbx, rbx
je 0x14002fe95
call fcn.140009a60
call fcn.140009a60
mov rdi, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rdi, rdi
je 0x14002fe00
mov eax, dword [rdi + 0x180]
lea rdx, str.CIndependentVolumeMgr::RestoreIndepHPVol
mov r9, qword [rdi + 0x148]
lea rcx, str._s__d___EndPoint___s__FormFactor___d
mov r8d, 0x66
mov dword [rsp + 0x20], eax
call fcn.140033040
cmp dword [rdi + 0x158], 0
je 0x14002fe6a
cmp dword [0x1400dc718], 0
je 0x14002fe00
mov eax, dword [rdi + 0x180]
dec eax
test eax, 0xfffffffd
jmp 0x14002fe71
cmp dword [rdi + 0x180], 1
jne 0x14002fe00
lea rcx, [rsi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
xor r9d, r9d
mov rdx, rdi
mov rcx, rsi
call fcn.140031760
lea rcx, [rsi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
call fcn.140009a60
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
sub dword [rax + 0x138], 1
mov ecx, dword [rax + 0x138]
jne 0x14002fede
cmp dword [rax + 0x13c], 0
mov rcx, qword [rax + 0x148]
je case.default.0x14002fecc
add rsp, 0x38
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
add rsp, 0x38
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
cmp ecx, 0x32
jle 0x14002ff00
mov r8d, 0x6f
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, 0x38
jmp fcn.140033040
add rsp, 0x38
ret
Function at 0x140030120
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
call fcn.140009a60
or edx, 0xffffffff
mov rbx, rax
mov rcx, qword [rax + 0x140]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
inc dword [rbx + 0x138]
call fcn.140009a60
cmp dword [rax + 0x138], 0
jne 0x14003018a
cmp dword [0x1400dc724], 0
je 0x14003018a
cmp dword [0x1400dc758], 0
jne 0x140030171
mov rax, qword [0x1400d83b8]
test byte [rax + 0x1c], 1
je 0x14003018a
mov r8d, 0x39
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.140033040
call fcn.140009a60
mov rbx, qword [rax + 0xd8]
test rbx, rbx
je 0x1400301c8
call fcn.140009a60
call fcn.140009a60
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140030196
cmp dword [rcx + 0x180], 4
jne 0x140030196
cmp dword [rcx + 0x158], 0
jne 0x140030196
call fcn.140031d00
call fcn.140009a60
sub dword [rax + 0x138], 1
mov ecx, dword [rax + 0x138]
jne 0x140030204
cmp dword [rax + 0x13c], 0
mov rcx, qword [rax + 0x148]
je case.default.0x1400301f1
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
cmp ecx, 0x32
jle 0x140030227
mov r8d, 0x6f
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.140033040
add rsp, 0x20
pop rbx
ret
Function at 0x140030230
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x30], rbx
lea rdx, str.CIndependentVolumeMgr::RestoreIndepMicVol
mov qword [rsp + 0x38], rsi
mov r8d, 0xca
mov rsi, rcx
lea rcx, [0x140094818]
call fcn.140033040
call fcn.140009a60
or edx, 0xffffffff
mov rbx, rax
mov rcx, qword [rax + 0x140]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
inc dword [rbx + 0x138]
call fcn.140009a60
cmp dword [rax + 0x138], 0
jne 0x1400302be
cmp dword [0x1400dc724], 0
je 0x1400302be
cmp dword [0x1400dc758], 0
jne 0x1400302a5
mov rax, qword [0x1400d83b8]
test byte [rax + 0x1c], 1
je 0x1400302be
mov r8d, 0x39
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.140033040
call fcn.140009a60
mov qword [rsp + 0x20], rdi
mov rbx, qword [rax + 0xd8]
nop
test rbx, rbx
je 0x140030325
call fcn.140009a60
call fcn.140009a60
mov rdi, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rdi, rdi
je 0x1400302d0
cmp dword [rdi + 0x180], 4
jne 0x1400302d0
cmp dword [rdi + 0x158], 0
je 0x140030306
cmp dword [0x1400dc718], 0
je 0x1400302d0
lea rcx, [rsi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
xor r9d, r9d
mov rdx, rdi
call fcn.140032260
lea rcx, [rsi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
call fcn.140009a60
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
sub dword [rax + 0x138], 1
mov ecx, dword [rax + 0x138]
jne 0x14003036e
cmp dword [rax + 0x13c], 0
mov rcx, qword [rax + 0x148]
je case.default.0x14003035c
add rsp, 0x28
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
add rsp, 0x28
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
cmp ecx, 0x32
jle 0x140030390
mov r8d, 0x6f
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.140033040
add rsp, 0x28
ret
Function at 0x1400303d0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x54], 0
mov rbx, rdx
mov rdi, rcx
je 0x140030572
mov rax, qword [r8]
cmp rax, qword [0x140093230]
jne 0x14003040f
mov rax, qword [r8 + 8]
cmp rax, qword [0x140093238]
jne 0x14003040f
cmp dword [r8 + 0x10], 4
je 0x14003043b
mov rax, qword [r8]
cmp rax, qword [0x1400931e8]
jne 0x140030572
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400931f0]
jne 0x140030572
cmp dword [r8 + 0x10], 6
jne 0x140030572
call fcn.140009a60
mov rdx, rbx
call fcn.14005ab70
cmp dword [rdi + 0x48], 0
mov rsi, rax
je 0x1400304a7
call fcn.1400097d0
cmp dword [rax + 0xc], 0
je 0x140030470
call fcn.1400097d0
mov rcx, rax
lea rdx, [rax + 0x288]
call fcn.140053fd0
call fcn.1400097d0
test dword [rax + 0x288], 0x100
je 0x1400304a7
test rsi, rsi
je 0x140030620
cmp dword [rsi + 0x180], 1
jne 0x140030620
mov rcx, rsi
call fcn.14000ca30
test eax, eax
jne 0x140030620
mov r8d, 0x106
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x140094818]
call fcn.140033040
mov dword [rdi + 0x38], 1
call fcn.140009b20
mov edx, 0x3f7
mov rcx, rax
lea r8d, [rdx - 0xf]
call fcn.140071fe0
test rsi, rsi
je 0x140030620
cmp dword [rsi + 0x158], 0
je 0x140030554
cmp dword [0x1400dc718], 0
je 0x140030620
cmp dword [0x1400dc71c], 0
jne 0x140030554
mov r8d, 0x112
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x140094818]
call fcn.140033040
call fcn.14002ff10
cmp dword [0x1400dc71c], 0
jne 0x140030554
mov r8d, BSTR_UserUnmarshal
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x140094818]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140033040
lea rcx, [rdi + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rdi - 0x18]
xor r9d, r9d
mov rdx, rsi
call fcn.140031760
jmp 0x140030616
cmp dword [rcx + 0x58], 0
je 0x140030620
mov rax, qword [r8]
cmp rax, qword [0x140093200]
jne 0x140030620
mov rax, qword [r8 + 8]
cmp rax, qword [0x140093208]
jne 0x140030620
cmp dword [r8 + 0x10], 0x11
jne 0x140030620
mov r8d, 0x12a
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x140094818]
call fcn.140033040
mov dword [rdi + 0x38], 1
call fcn.140009b20
mov edx, 0x3f7
mov rcx, rax
lea r8d, [rdx - 0xf]
call fcn.140071fe0
call fcn.140009a60
mov rdx, rbx
call fcn.14005ab70
mov rsi, rax
test rax, rax
je 0x140030620
cmp dword [rax + 0x158], 1
jne 0x140030601
cmp dword [0x1400dc718], 0
je 0x140030620
lea rcx, [rdi + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
xor r9d, r9d
mov rdx, rsi
call fcn.140032260
lea rcx, [rdi + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400307a0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
test rdx, rdx
je 0x140030808
cmp dword [rdx + 0x158], 1
jne 0x140030808
cmp dword [0x1400dc71c], 0
jne 0x140030808
cmp dword [0x1400dc718], 0
je 0x140030808
mov r8d, 0x17a
lea rdx, str.CIndependentVolumeMgr::OnAddDevice
lea rcx, [0x140094818]
call fcn.140033040
call fcn.14002ff10
cmp dword [0x1400dc71c], 0
jne 0x140030808
mov r8d, 0x17f
lea rdx, str.CIndependentVolumeMgr::OnAddDevice
lea rcx, [0x140094818]
add rsp, 0x28
jmp fcn.140033040
add rsp, 0x28
ret