joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004eda0
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 [0x1400d8010]
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 0x14004ee17
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, [0x1400949f8]
or rdi, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x14004ee5b
movzx ebp, dx
mov ecx, ebp
call fcn.140005710
test rax, rax
je 0x14004ee79
mov r8d, ebp
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400053d0
jmp 0x14004ee79
mov rax, rdi
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x14004ee60
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.140003d30
jmp 0x14004ee7e
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 0x14004ef33
mov eax, ebx
mov r14, qword [rsp + 0x40]
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], ebx
test ebx, ebx
jne 0x14004ef33
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 0x14004ef33
mov eax, dword [rsp + 0x48]
dec eax
cmp eax, 1
jbe 0x14004ef01
lea eax, [rbx + 0xd]
jmp 0x14004ef31
mov ecx, dword [rsp + 0x38]
test rsi, rsi
je 0x14004ef2a
test ecx, ecx
je 0x14004ef27
test cl, 1
jne 0x14004ef20
mov eax, ecx
shr rax, 1
cmp word [rsi + rax*2 - 2], 0
je 0x14004ef2a
mov eax, 0xd
jmp 0x14004ef31
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 0x14004ef54
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 0x14004ef64
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.140079e30
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14004f1f0
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 [0x1400d8010]
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.14004f360
test eax, eax
jne 0x14004f270
mov rdx, r14
mov rcx, rdi
call fcn.14004eb90
test eax, eax
jne 0x14004f270
mov r8d, 0x1e3
lea rdx, str.CRegClient::SetRegStringValue
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140033040
jmp 0x14004f334
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 0x14004f2aa
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.140033040
test edi, edi
jne 0x14004f331
test rbp, rbp
jne 0x14004f2d4
lea edi, [rbp + 0xd]
jmp 0x14004f313
or rax, 0xffffffffffffffff
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rbp + rax*2], 0
jne 0x14004f2e0
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.140033040
test edi, edi
sete bl
test rsi, rsi
je 0x14004f342
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.140079e30
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14004f850
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 [0x1400d8010]
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 0x14004fa00
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.1400825c0
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 0x14004f9ef
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 0x14004f976
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 0x14004f993
mov qword [rax], rdi
jmp 0x14004f996
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
inc r12d
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x80]
call fcn.1400825c0
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 0x14004f942
test rbp, rbp
je 0x14004fa00
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 0x14004fa15
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.140079e30
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 0x14004fa50
Capabilities:
Persist via run registry key

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1400d8010]
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.14004ef90
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 0x14004fae4
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.140079e30
add rsp, 0x50
pop rbx
ret

Function at 0x14004fb00
Capabilities:
Persist via run registry key

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1400d8010]
xor rax, rsp
mov qword [rsp + 0x30], rax
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x14004fb36
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.140033040
mov r9, rbx
lea r8, str.RtkAudUService
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
mov rcx, 0xffffffff80000002
call fcn.14004f1f0
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004fbbe
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
add rsp, 0x40
pop rbx
ret

Function at 0x140050c60
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 0x140050c98
mov r8d, 0x15d
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.140033040
mov ecx, dword [rdx + 0x180]
mov qword [rsp + 0x30], rbx
lea eax, [rcx - 1]
test eax, 0xfffffffd
je 0x140050cbb
cmp ecx, 4
jne 0x140050d2c
mov rbx, qword [rdx + 0x138]
jmp 0x140050d03
mov rbx, qword [rdx + 0x130]
call fcn.140005130
mov rcx, rax
mov r8, rbx
mov rdx, 0xffffffff80000002
call fcn.14005bfb0
test rax, rax
je 0x140050ceb
lea rdx, [rsi - 8]
lea rcx, [rax + 0x20]
call fcn.140009980
call fcn.1400097d0
test dword [rax + 0x184], 0x10000000
je 0x140050d2c
mov rbx, qword [rdi + 0x138]
call fcn.140005130
mov r8, rbx
mov rdx, 0xffffffff80000002
mov rcx, rax
call fcn.14005bfb0
test rax, rax
je 0x140050d2c
lea rdx, [rsi - 8]
lea rcx, [rax + 0x20]
call fcn.140009980
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140051ae0
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 0x140051b4a
cmp dword [0x1400dc724], 0
je 0x140051b4a
cmp dword [0x1400dc758], 0
jne 0x140051b31
mov rax, qword [0x1400d83b8]
test byte [rax + 0x1c], 1
je 0x140051b4a
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 0x140051b85
nop dword [rax + rax]
call fcn.140009a60
call fcn.140009a60
test rbx, rbx
je 0x140051bea
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140051b80
call fcn.140051fd0
test rbx, rbx
jne 0x140051b60
call fcn.140009a60
sub dword [rax + 0x138], 1
mov ecx, dword [rax + 0x138]
jne 0x140051bc1
cmp dword [rax + 0x13c], 0
mov rcx, qword [rax + 0x148]
je case.default.0x140051bae
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 0x140051be4
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
mov ecx, 0x80004005
call fcn.140003fc0
int3

Function at 0x140052670
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 0x1400526a8
mov r8d, 0x186
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.140033040
test rbx, rbx
jne 0x1400526b5
mov r8d, 0x187
jmp 0x14005268b
call fcn.1400097d0
test byte [rax + 0x50], 0x10
je 0x1400526f8
call fcn.140009a60
mov rdx, rdi
call fcn.14005ab70
test rax, rax
je 0x1400526f8
cmp dword [rax + 0x150], 0
je 0x1400526f8
cmp dword [rax + 0x158], 0
jne 0x1400526f8
cmp dword [rax + 0x154], 0
jne 0x1400526f8
mov edx, dword [rbx + 0x10]
mov rcx, rax
call fcn.1400524e0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140052710
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 [0x1400d8010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov qword [r11 - 0x30], rcx
add rcx, 0x18
call fcn.140054720
nop
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.2.0
mov qword [rdi], rax
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.1.0
mov qword [rdi + 8], rax
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.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.1400097d0
movzx ecx, byte [rax + 0xb7]
and ecx, 1
mov dword [rdi + 0x20], ecx
call fcn.1400097d0
test dword [rax + 0x12c], 0x400
je 0x1400527da
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.140033040
call fcn.140010880
lea rcx, [rax + 0x20]
mov rdx, rdi
call fcn.1400051f0
cmp dword [rdi + 0x20], esi
je 0x14005281c
call fcn.140052ec0
lea rbx, [rdi + 0x10]
test rdi, rdi
cmove rbx, rsi
call fcn.140009b20
lea rcx, [rax + 0x28]
mov rdx, rbx
call fcn.1400051f0
lea rbx, [rdi + 8]
test rdi, rdi
cmove rbx, rsi
call fcn.140009a60
lea rcx, [rax + 0x10]
mov rdx, rbx
call fcn.1400051f0
mov qword [rdi + 0x30], rsi
call fcn.1400097d0
test byte [rax + 0x148], 4
je 0x14005284f
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
mov r9, rdi
lea r8, [0x140052d40]
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.1400097d0
test byte [rax + 0x40], 1
jne 0x140052876
call fcn.1400097d0
test byte [rax + 0x40], 8
jne 0x140052876
call fcn.1400097d0
test dword [rax + 0x17c], 0x1000
je 0x1400528a3
mov ecx, 0x20
call fcn.14007a474
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.140070020
nop
mov qword [rdi + 0x28], rax
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140079e30
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140052a30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x30
mov ebx, r8d
mov rsi, rcx
call fcn.1400097d0
cmp ebx, 0x2c
jne 0x140052ac4
mov qword [rsp + 0x40], rdi
call fcn.140052ad0
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.140033040
mov dword [rsi + 0x40], edi
mov rdi, qword [rsp + 0x40]
test ebx, ebx
je 0x140052ac4
call fcn.140009a60
mov edx, 1
call fcn.14005afc0
mov r9, rsi
mov qword [rsp + 0x28], 0
lea r8, [0x140052b90]
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 0x140059a00
Capabilities:
Print debug messages

Disassembly:
sub dword [rcx + 0x138], 1
mov eax, dword [rcx + 0x138]
jne 0x140059a2d
cmp dword [rcx + 0x13c], 0
mov rcx, qword [rcx + 0x148]
je switch.0x140059a26
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 0x140059a4b
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.140033040
ret
Function at 0x14005a3b0
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 0x14005a41a
cmp dword [0x1400dc724], 0
je 0x14005a41a
cmp dword [0x1400dc758], 0
jne 0x14005a401
mov rax, qword [0x1400d83b8]
test byte [rax + 0x1c], 1
je 0x14005a41a
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 0x14005a462
nop dword [rax + rax]
call fcn.140009a60
call fcn.140009a60
test rbx, rbx
je 0x14005a4c7
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x14005a45d
cmp dword [rcx + 0x150], 0
jne 0x14005a45d
call fcn.14000c290
test rbx, rbx
jne 0x14005a430
call fcn.140009a60
sub dword [rax + 0x138], 1
mov ecx, dword [rax + 0x138]
jne 0x14005a49e
cmp dword [rax + 0x13c], 0
mov rcx, qword [rax + 0x148]
je case.default.0x14005a48b
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 0x14005a4c1
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
mov ecx, 0x80004005
call fcn.140003fc0
int3
Function at 0x14005bb40
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x1400d8010]
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 0x14005bb93
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x14005bb8e
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 0x14005bccf
test rbx, rbx
jne 0x14005bb6d
mov qword [rsp + 0x90], r14
mov ecx, pe_nt_image_headers64
mov qword [rsp + 0x50], r15
call fcn.14007a474
xor edx, edx
mov r8d, pe_nt_image_headers64
mov rcx, rax
mov rbx, rax
call fcn.1400825c0
lea r14, [rbx + 4]
mov edx, 0x7f
mov rcx, r14
sub rdi, r14
nop dword [rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x14005bbf2
movzx eax, word [rdi + rcx]
test ax, ax
je 0x14005bbf2
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14005bbd0
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
xor r15d, r15d
mov word [rax], r15w
cmp dword [rbp + 0x4e0], r15d
je 0x14005bc7d
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 0x14005bc7d
mov eax, dword [rbx]
cmp eax, 4
je 0x14005bc47
cmp eax, 0xb
jne 0x14005bc7d
mov dword [rsp + 0x30], 8
jmp 0x14005bc4f
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 0x14005bca6
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 0x14005bcc8
mov qword [rcx], rax
jmp 0x14005bccb
mov qword [rsi], rax
mov qword [rsi + 8], rax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140079e30
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005d860
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
movzx eax, byte [rcx + 0x194]
mov rbx, rcx
test al, al
jne 0x14005d8e6
mov byte [rcx + 0x194], 1
call fcn.140009b20
mov rcx, rax
mov edx, 0x3f3
call fcn.1400721d0
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 0x14005d8cf
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.140033040
mov r8d, 0x113
lea rcx, [0x140094818]
add rsp, 0x20
pop rbx
jmp fcn.140033040
add rsp, 0x20
pop rbx
ret

Function at 0x14005dfe0
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 0x14005e01c
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.140033040
cmp dword [rcx + 0x64], 0
je 0x14005e043
mov r8d, 0x2d
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140033040
mov r8d, 0x1df
jmp 0x14005e002
mov qword [rsp + 0x48], rsi
mov eax, 1
mov qword [rsp + 0x50], r14
lock xadd dword [rcx + 0x60], eax
mov ecx, 0x8c
call fcn.14007a474
xor edx, edx
mov r8d, 0x8c
mov rcx, rax
mov rsi, rax
call fcn.1400825c0
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 0x14005e0fa
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 0x14005e0d2
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 0x14005e0f3
mov qword [rcx], rax
jmp 0x14005e0f6
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.0x14005e137
cmp dword [rbx + 0x64], eax
je case.default.0x14005e137
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