joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004e080
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, 0x88
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1400d6010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, r9
mov rbp, r8
mov qword [rsp + 0x48], r8
mov r13, rdx
mov r12, rcx
mov r15, qword [rsp + 0xf0]
xor eax, eax
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov r14d, ebx
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x68], rbx
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x14004e0f7
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, [0x1400939d8]
or rdi, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x14004e13b
movzx ebp, dx
mov ecx, ebp
call fcn.140005710
test rax, rax
je 0x14004e159
mov r8d, ebp
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400053d0
jmp 0x14004e159
mov rax, rdi
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x14004e140
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.140003d30
jmp 0x14004e15e
mov rbp, qword [rsp + 0x48]
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, r13
mov rcx, r12
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004e213
mov eax, ebx
mov r14, qword [rsp + 0x40]
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], ebx
test ebx, ebx
jne 0x14004e213
mov eax, dword [r15]
add eax, eax
mov dword [rsp + 0x38], eax
mov dword [r15], ebx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14004e213
mov eax, dword [rsp + 0x48]
dec eax
cmp eax, 1
jbe 0x14004e1e1
lea eax, [rbx + 0xd]
jmp 0x14004e211
mov ecx, dword [rsp + 0x38]
test rsi, rsi
je 0x14004e20a
test ecx, ecx
je 0x14004e207
test cl, 1
jne 0x14004e200
mov eax, ecx
shr rax, 1
cmp word [rsi + rax*2 - 2], 0
je 0x14004e20a
mov eax, 0xd
jmp 0x14004e211
mov word [rsi], bx
shr ecx, 1
mov dword [r15], ecx
mov eax, ebx
test eax, eax
sete bl
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14004e234
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004e244
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140078ef0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14004e4d0
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 [0x1400d6010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbp, r9
mov r15, r8
mov r14, rdx
mov rdi, rcx
xor eax, eax
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov esi, ebx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x50], rbx
call fcn.14004e640
test eax, eax
jne 0x14004e550
mov rdx, r14
mov rcx, rdi
call fcn.14004de70
test eax, eax
jne 0x14004e550
mov r8d, 0x1e3
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140032320
jmp 0x14004e614
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14004e58a
mov edi, ebx
mov rsi, qword [rsp + 0x38]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x48], ebx
mov r9d, edi
mov r8d, 0x1e9
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_nRet_d
call fcn.140032320
test edi, edi
jne 0x14004e611
test rbp, rbp
jne 0x14004e5b4
lea edi, [rbp + 0xd]
jmp 0x14004e5f3
or rax, 0xffffffffffffffff
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rbp + rax*2], 0
jne 0x14004e5c0
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbp
mov r9d, 1
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov edi, eax
mov r9d, edi
mov r8d, 0x1f0
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_nRet_d
call fcn.140032320
test edi, edi
sete bl
test rsi, rsi
je 0x14004e622
mov rcx, rsi
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.140078ef0
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14004eb30
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400d6010]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rbx, rcx
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
xor esi, esi
mov ebp, esi
mov dword [rsp + 0x68], esi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x58], rsi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov r13d, eax
test eax, eax
jne 0x14004ece0
mov r13d, esi
mov rbp, qword [rsp + 0x58]
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x68], esi
mov r12d, esi
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x80]
call fcn.140081670
mov dword [rsp + 0x58], 0x1ff
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x80]
xor edx, edx
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
test eax, eax
jne 0x14004eccf
mov r14, qword [rbx + 8]
mov rcx, rbx
call fcn.140005600
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x48], rdi
mov r15, qword [rdi]
mov qword [rsp + 0x50], rdi
test rdi, rdi
je 0x14004ec56
lea rcx, [rdi + 0x10]
lea rdx, [rsp + 0x80]
call fcn.1400052a0
nop
mov qword [rbx + 0x20], r15
mov qword [rdi + 8], r14
mov qword [rdi], rsi
inc qword [rbx + 0x10]
mov rax, qword [rbx + 8]
test rax, rax
je 0x14004ec73
mov qword [rax], rdi
jmp 0x14004ec76
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
inc r12d
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x80]
call fcn.140081670
mov dword [rsp + 0x58], 0x1ff
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x80]
mov edx, r12d
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
test eax, eax
je 0x14004ec22
test rbp, rbp
je 0x14004ece0
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rbp, rsi
test r13d, r13d
sete sil
test rbp, rbp
je 0x14004ecf5
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, esi
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140078ef0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14004ed30
Capabilities:
Persist via run registry key

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1400d6010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor eax, eax
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x38], rax
lea rdx, str.RtkAudUService
lea rcx, [rsp + 0x28]
call fcn.1400052a0
mov rbx, rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
lea rcx, [rsp + 0x20]
call fcn.1400052a0
nop
mov r9, rbx
mov r8, rax
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.14004e270
xor ebx, ebx
mov rcx, qword [rsp + 0x40]
cmp dword [rcx - 0x10], ebx
setne bl
lea rdx, [rcx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14004edc4
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140078ef0
add rsp, 0x50
pop rbx
ret

Function at 0x14004ede0
Capabilities:
Persist via run registry key

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1400d6010]
xor rax, rsp
mov qword [rsp + 0x30], rax
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x14004ee16
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
call fcn.1400050c0
mov r8, rax
lea r9, str._background
lea rdx, str._s__s
lea rcx, [rsp + 0x28]
call fcn.1400054e0
mov rbx, qword [rsp + 0x28]
mov r9, rbx
mov r8d, 0x23
lea rdx, str.CRegKeyMgr::AddRtkAudUServiceRunKey
lea rcx, str._s__d_szPath_s
call fcn.140032320
mov r9, rbx
lea r8, str.RtkAudUService
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
mov rcx, 0xffffffff80000002
call fcn.14004e4d0
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004ee9e
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.140078ef0
add rsp, 0x40
pop rbx
ret

Function at 0x14004fda0
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 0x14004fdd8
mov r8d, 0x13c
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.140032320
mov ecx, dword [rdx + 0x180]
mov qword [rsp + 0x30], rbx
lea eax, [rcx - 1]
test eax, 0xfffffffd
je 0x14004fdfb
cmp ecx, 4
jne 0x14004fe6c
mov rbx, qword [rdx + 0x138]
jmp 0x14004fe43
mov rbx, qword [rdx + 0x130]
call fcn.140005130
mov rcx, rax
mov r8, rbx
mov rdx, 0xffffffff80000002
call fcn.14005b0c0
test rax, rax
je 0x14004fe2b
lea rdx, [rsi - 8]
lea rcx, [rax + 0x20]
call fcn.140009900
call fcn.140009750
test dword [rax + 0x184], 0x10000000
je 0x14004fe6c
mov rbx, qword [rdi + 0x138]
call fcn.140005130
mov r8, rbx
mov rdx, 0xffffffff80000002
mov rcx, rax
call fcn.14005b0c0
test rax, rax
je 0x14004fe6c
lea rdx, [rsi - 8]
lea rcx, [rax + 0x20]
call fcn.140009900
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140050c20
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
call fcn.1400099e0
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.1400099e0
cmp dword [rax + 0x138], 0
jne 0x140050c8a
cmp dword [0x1400da6dc], 0
je 0x140050c8a
cmp dword [0x1400da710], 0
jne 0x140050c71
mov rax, qword [0x1400d63b8]
test byte [rax + 0x1c], 1
je 0x140050c8a
mov r8d, 0x39
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.140032320
call fcn.1400099e0
mov rbx, qword [rax + 0xd8]
test rbx, rbx
je 0x140050cc5
nop dword [rax + rax]
call fcn.1400099e0
call fcn.1400099e0
test rbx, rbx
je 0x140050d2a
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140050cc0
call fcn.1400510e0
test rbx, rbx
jne 0x140050ca0
call fcn.1400099e0
sub dword [rax + 0x138], 1
mov ecx, dword [rax + 0x138]
jne 0x140050d01
cmp dword [rax + 0x13c], 0
mov rcx, qword [rax + 0x148]
je case.default.0x140050cee
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 0x140050d24
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.140032320
add rsp, 0x20
pop rbx
ret
mov ecx, 0x80004005
call fcn.140003fc0
int3

Function at 0x140051780
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 0x1400517b8
mov r8d, 0x17b
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.140032320
test rbx, rbx
jne 0x1400517c5
mov r8d, 0x17c
jmp 0x14005179b
call fcn.140009750
test byte [rax + 0x50], 0x10
je 0x140051808
call fcn.1400099e0
mov rdx, rdi
call fcn.140059c80
test rax, rax
je 0x140051808
cmp dword [rax + 0x150], 0
je 0x140051808
cmp dword [rax + 0x158], 0
jne 0x140051808
cmp dword [rax + 0x154], 0
jne 0x140051808
mov edx, dword [rbx + 0x10]
mov rcx, rax
call fcn.1400515f0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140051820
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], rsi
mov rax, qword [0x1400d6010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov qword [r11 - 0x30], rcx
add rcx, 0x18
call fcn.140053830
nop
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.0
mov qword [rdi], rax
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.1.0
mov qword [rdi + 8], rax
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.2.0
mov qword [rdi + 0x10], rax
xor esi, esi
mov dword [rdi + 0x20], esi
mov qword [rdi + 0x28], rsi
mov qword [rdi + 0x38], rsi
mov dword [rdi + 0x40], esi
call fcn.140009750
movzx ecx, byte [rax + 0xb7]
and ecx, 1
mov dword [rdi + 0x20], ecx
call fcn.140009750
test dword [rax + 0x12c], 0x400
je 0x1400518ea
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_GetSystemPowerStatus]
mov r8d, esi
cmp byte [rsp + 0x40], sil
setne r8b
mov dword [rdi + 0x40], r8d
lea rdx, str.CRtkAudioDriverHelperForNormalUser::CRtkAudioDriverHelperForNormalUser
lea rcx, str._s_PowerState_d
call fcn.140032320
call fcn.140010800
lea rcx, [rax + 0x20]
mov rdx, rdi
call fcn.1400051f0
cmp dword [rdi + 0x20], esi
je 0x14005192c
call fcn.140051fd0
lea rbx, [rdi + 0x10]
test rdi, rdi
cmove rbx, rsi
call fcn.140009aa0
lea rcx, [rax + 0x28]
mov rdx, rbx
call fcn.1400051f0
lea rbx, [rdi + 8]
test rdi, rdi
cmove rbx, rsi
call fcn.1400099e0
lea rcx, [rax + 0x10]
mov rdx, rbx
call fcn.1400051f0
mov qword [rdi + 0x30], rsi
call fcn.140009750
test byte [rax + 0x148], 4
je 0x14005195f
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
mov r9, rdi
lea r8, [0x140051e50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rdi + 0x50], rax
call fcn.140009750
test byte [rax + 0x40], 1
jne 0x140051986
call fcn.140009750
test byte [rax + 0x40], 8
jne 0x140051986
call fcn.140009750
test dword [rax + 0x17c], 0x1000
je 0x1400519b3
mov ecx, 0x20
call fcn.14007953c
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.14006f0e0
nop
mov qword [rdi + 0x28], rax
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140078ef0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140051b40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x30
mov ebx, r8d
mov rsi, rcx
call fcn.140009750
cmp ebx, 0x2c
jne 0x140051bd4
mov qword [rsp + 0x40], rdi
call fcn.140051be0
mov r9d, dword [rsi + 0x40]
lea rdx, str.CRtkAudioDriverHelperForNormalUser::IsACPowerStateChanged
xor ebx, ebx
mov dword [rsp + 0x20], eax
cmp r9d, eax
lea rcx, str._s_PowerStateChange_d_SysPowerState_d_DrvAcPowerState_d
mov edi, eax
setne bl
mov r8d, ebx
call fcn.140032320
mov dword [rsi + 0x40], edi
mov rdi, qword [rsp + 0x40]
test ebx, ebx
je 0x140051bd4
call fcn.1400099e0
mov edx, 1
call fcn.14005a0d0
mov r9, rsi
mov qword [rsp + 0x28], 0
lea r8, [0x140051ca0]
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 rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
ret
Function at 0x140058b10
Capabilities:
Print debug messages

Disassembly:
sub dword [rcx + 0x138], 1
mov eax, dword [rcx + 0x138]
jne 0x140058b3d
cmp dword [rcx + 0x13c], 0
mov rcx, qword [rcx + 0x148]
je switch.0x140058b36
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
cmp eax, 0x32
jle 0x140058b5b
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
jmp fcn.140032320
ret
Function at 0x1400594c0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
call fcn.1400099e0
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.1400099e0
cmp dword [rax + 0x138], 0
jne 0x14005952a
cmp dword [0x1400da6dc], 0
je 0x14005952a
cmp dword [0x1400da710], 0
jne 0x140059511
mov rax, qword [0x1400d63b8]
test byte [rax + 0x1c], 1
je 0x14005952a
mov r8d, 0x39
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.140032320
call fcn.1400099e0
mov rbx, qword [rax + 0xd8]
test rbx, rbx
je 0x140059572
nop dword [rax + rax]
call fcn.1400099e0
call fcn.1400099e0
test rbx, rbx
je 0x1400595d7
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x14005956d
cmp dword [rcx + 0x150], 0
jne 0x14005956d
call fcn.14000c210
test rbx, rbx
jne 0x140059540
call fcn.1400099e0
sub dword [rax + 0x138], 1
mov ecx, dword [rax + 0x138]
jne 0x1400595ae
cmp dword [rax + 0x13c], 0
mov rcx, qword [rax + 0x148]
je case.default.0x14005959b
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 0x1400595d1
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.140032320
add rsp, 0x20
pop rbx
ret
mov ecx, 0x80004005
call fcn.140003fc0
int3
Function at 0x14005ac50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x1400d6010]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rsi, [rcx + 0x4e8]
mov rdi, rdx
mov rbx, qword [rsi]
mov rbp, rcx
test rbx, rbx
je 0x14005aca3
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x14005ac9e
add rcx, 4
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
test eax, eax
je 0x14005addf
test rbx, rbx
jne 0x14005ac7d
mov qword [rsp + 0x90], r14
mov ecx, 0x110
mov qword [rsp + 0x50], r15
call fcn.14007953c
xor edx, edx
mov r8d, 0x110
mov rcx, rax
mov rbx, rax
call fcn.140081670
lea r14, [rbx + 4]
mov edx, 0x7f
mov rcx, r14
sub rdi, r14
nop dword [rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x14005ad02
movzx eax, word [rdi + rcx]
test ax, ax
je 0x14005ad02
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14005ace0
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
xor r15d, r15d
mov word [rax], r15w
cmp dword [rbp + 0x4e0], r15d
je 0x14005ad8d
mov rcx, qword [rbp + 0x4c8]
mov r9, rbx
mov qword [rsp + 0x28], r15
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14005ad8d
mov eax, dword [rbx]
cmp eax, 4
je 0x14005ad57
cmp eax, 0xb
jne 0x14005ad8d
mov dword [rsp + 0x30], 8
jmp 0x14005ad5f
mov dword [rsp + 0x30], 4
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0x108]
mov rcx, qword [rbp + 0x4c8]
lea r9, [rsp + 0x38]
mov rdx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rdi, qword [rsi + 8]
mov rcx, rsi
call fcn.140005600
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x38], rax
mov r14, qword [rsp + 0x90]
mov rcx, qword [rax]
test rax, rax
je 0x14005adb6
mov qword [rax + 0x10], rbx
mov qword [rsi + 0x20], rcx
mov qword [rax], r15
mov r15, qword [rsp + 0x50]
mov qword [rax + 8], rdi
inc qword [rsi + 0x10]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14005add8
mov qword [rcx], rax
jmp 0x14005addb
mov qword [rsi], rax
mov qword [rsi + 8], rax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140078ef0
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005c970
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
movzx eax, byte [rcx + 0x194]
mov rbx, rcx
test al, al
jne 0x14005c9f6
mov byte [rcx + 0x194], 1
call fcn.140009aa0
mov rcx, rax
mov edx, 0x3f3
call fcn.140071290
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rcx, qword [rbx + 0x88]
mov edx, 0xea60
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
lea rdx, str.CRpcClientObject::StopRpcEventTunnel
cmp eax, 0x102
jne 0x14005c9df
mov r9, rbx
lea r8d, [rax + 0xd]
lea rcx, str._s__d_WaitForSingleObject_hRpcEventTunnelTerminated__60000__timeout_CRpcClientObject_x
add rsp, 0x20
pop rbx
jmp fcn.140032320
mov r8d, 0x113
lea rcx, [0x1400937f8]
add rsp, 0x20
pop rbx
jmp fcn.140032320
add rsp, 0x20
pop rbx
ret

Function at 0x14005d0f0
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
movzx eax, byte [rcx + 0x194]
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
test al, al
je 0x14005d12c
mov r8d, 0x1de
lea rdx, str.CRpcClientObject::OnPropertyValueChanged
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp fcn.140032320
cmp dword [rcx + 0x64], 0
je 0x14005d153
mov r8d, 0x2d
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140032320
mov r8d, 0x1df
jmp 0x14005d112
mov qword [rsp + 0x48], rsi
mov eax, 1
mov qword [rsp + 0x50], r14
lock xadd dword [rcx + 0x60], eax
mov ecx, 0x8c
call fcn.14007953c
xor edx, edx
mov r8d, 0x8c
mov rcx, rax
mov rsi, rax
call fcn.140081670
mov r8, rbp
mov edx, 0x3c
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
movups xmm0, xmmword [rdi]
movups xmmword [rsi + 0x78], xmm0
mov ecx, dword [rdi + 0x10]
mov dword [rsi + 0x88], ecx
lea rcx, [rbx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
movzx eax, byte [rbx + 0x194]
test al, al
jne 0x14005d20a
lea rdi, [rbx + 0x90]
mov rbp, qword [rdi + 8]
mov rcx, rdi
call fcn.140005600
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x40], rax
mov rcx, qword [rax]
test rax, rax
je 0x14005d1e2
mov qword [rax + 0x10], rsi
mov qword [rdi + 0x20], rcx
mov qword [rax + 8], rbp
mov qword [rax], 0
inc qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14005d203
mov qword [rcx], rax
jmp 0x14005d206
mov qword [rdi], rax
mov qword [rdi + 8], rax
lea rcx, [rbx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
or eax, 0xffffffff
lock xadd dword [rbx + 0x60], eax
mov eax, dword [rbx + 0x60]
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
test eax, eax
jne case.default.0x14005d247
cmp dword [rbx + 0x64], eax
je case.default.0x14005d247
mov rcx, qword [rbx + 0x58]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret