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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.14000b2a0
test byte [rax + 0x2dc], 0xf
je 0x14003fa40
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x40], 4
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x38], 1
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x14003fa58
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea r9, str.HP_CONTROL
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x1400e3308]
lea rcx, [rsp + 0x48]
call fcn.1400064f0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003fa1a
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14003fa1a
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.HP_CONTROL_DefVolumeLevelEnable
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
jne 0x14003fa1a
mov rax, qword [0x14013c480]
mov r9d, dword [rsp + 0x38]
lea r8, str.ForceRestoreDefaultVolumeWhenStart
lea rdx, str.Others
lea rcx, [0x14013c480]
mov rax, qword [rax + 0x28]
call qword [case.0x140048c62.0]
mov ecx, dword [rsp + 0x38]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8d, 0xf24
lea rdx, str.CCustomizeHP::SyncHpControlDefaultVolume
lea rcx, str._s__d_bSuccess__d__dwForceRestore___d
call fcn.14005b9a0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003fa40
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c17f0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004820
int3
Function at 0x140043c90
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
test rdx, rdx
jne 0x140043cc5
mov r8d, 0x147d
lea rdx, str.CCustomizeHP::OnNamedPipeEvent
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14005b9a0
cmp dword [rdx], 0x30000003
jne 0x140043d57
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rax
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x140043d62
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rdi, [0x1400e36c8]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140003e50
test al, al
jne 0x140043d3b
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x140043d20
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.1400040e0
nop
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x40]
call fcn.140003d80
nop
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.1400bd590
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004820
int3

Function at 0x140044c00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x30], eax
lea r9d, [rax + 1]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.1400280a0
test eax, eax
je 0x140044c86
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005b9a0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140044d0e
jmp 0x140044d08
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.SkipActionForS0
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140044d00
cmp dword [rsp + 0x38], 4
jne 0x140044d00
mov edi, dword [rsp + 0x30]
test rbx, rbx
je 0x140044cdc
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x140044d0e
mov r8d, 0x6d
lea rdx, str.CCustomizeHuawei::SkipActionForS0
lea rcx, str._s__d_mute_function_is_disable
call fcn.14005b9a0
mov eax, 1
jmp 0x140044d10
test rbx, rbx
je 0x140044d0e
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c17f0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x140045d40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
movsxd rdi, r8d
mov dword [rsp + 0x30], 0
cmp edi, 0xf
jg 0x140045e4b
call fcn.14002b7b0
mov rbx, rax
test rax, rax
jne 0x140045d8e
mov r8d, 0x162
lea rdx, str.CCustomizeHuawei::OnDriverEvent
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
jmp fcn.14005b9a0
lfence
mov edx, edi
mov rcx, rbx
call fcn.14005df00
imul rcx, rdi, 0xb0
movzx ebx, word [rcx + rbx + reloc.OLEAUT32.dll_BSTR_UserUnmarshal]
shr ebx, 1
and ebx, 1
mov qword [rsp + 0x38], 0
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x140045e56
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
lea r9, str.Others
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x1400e3308]
lea rcx, [rsp + 0x38]
call fcn.1400064f0
mov r9d, ebx
lea r8, str.JackStatus
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [0x14013c488]
call fcn.14007ef10
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140045e4b
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004820
int3

Function at 0x140046a60
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
cmp edx, 0x42d
jne 0x140046aa4
call fcn.140045170
test eax, eax
je 0x140046af4
call fcn.14000b740
mov rcx, rax
mov edx, 0x42d
call fcn.1400b5cd0
mov r8d, 0x2ae
lea rdx, str.CCustomizeHuawei::OnTimer
lea rcx, [0x1400e3358]
add rsp, 0x38
jmp fcn.14005b9a0
cmp edx, 0x432
jne 0x140046af4
mov r8d, 0x2b4
lea rdx, str.CCustomizeHuawei::OnTimer
lea rcx, str._s__d_SkipActionForS0_set_0
call fcn.14005b9a0
call fcn.14000b740
mov rcx, rax
mov edx, 0x432
call fcn.1400b5cd0
xor r9d, r9d
lea r8, str.SkipActionForS0
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.14007ef10
add rsp, 0x38
ret
Function at 0x140047c40
Capabilities:
Create thread

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov ebx, edx
mov rsi, rcx
mov r9d, edx
mov r8d, 0x63
lea rdx, str.CCustomizeMSI::OnTimer
lea rcx, str._s__d_dwTid_d
call fcn.14005b9a0
cmp ebx, 0x437
jne 0x140047eb7
call fcn.14000b740
mov rcx, rax
mov edx, ebx
call fcn.1400b5cd0
cmp dword [0x1401439d4], 0
jne 0x140047ee4
call fcn.14000b5c0
mov edx, 1
call fcn.140091a20
mov qword [rsi + 0x10], rax
mov r9, rax
mov r8d, 0x6b
lea rdx, str.CCustomizeMSI::OnTimer
lea rcx, str._s__d_m_pAudDev_x
call fcn.14005b9a0
cmp dword [0x14013c934], 0
jne 0x140047e32
mov dword [rsp + 0x58], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], rax
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x140047ef7
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdx, [0x1400f7268]
lea rcx, [rsp + 0x60]
call fcn.140003e50
test al, al
jne 0x140047d33
mov r8d, 3
lea rdx, [0x1400f7268]
lea rcx, [rsp + 0x60]
call fcn.1400040e0
nop
mov edx, 0xea60
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x60]
call fcn.1400bebd0
mov ebx, dword [rsp + 0x58]
mov ecx, ebx
call fcn.1400c1b80
mov rdi, rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call fcn.1400c7980
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], rax
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x140047eec
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdx, [0x1400f7268]
lea rcx, [rsp + 0x60]
call fcn.140003e50
test al, al
jne 0x140047dc8
mov r8d, 3
lea rdx, [0x1400f7268]
lea rcx, [rsp + 0x60]
call fcn.1400040e0
nop
mov edx, 0xea60
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [rsp + 0x60]
call fcn.1400bebd0
test eax, eax
je 0x140047e04
mov rdx, qword [rsi + 0x10]
add rdx, 0x10
mov r9d, dword [rsp + 0x58]
mov r8, rdi
lea rcx, vtable.CWasapiPlayback.0
call fcn.1400babc0
mov rcx, rdi
call fcn.1400c1818
mov r8d, 0x86
lea rdx, str.CCustomizeMSI::OnTimer
lea rcx, [0x1400e3358]
call fcn.14005b9a0
cmp dword [0x14013c934], 0
je 0x140047ee4
mov r8d, 0x8b
lea rdx, str.CCustomizeMSI::OnTimer
lea rcx, [0x1400e3358]
call fcn.14005b9a0
mov r8d, 0x54
lea rdx, str.CWasapiPlayback::Play
lea rcx, [0x1400e3358]
call fcn.14005b9a0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, vtable.CWasapiPlayback.0
lea r8, [0x1400bb290]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
call fcn.14000b740
mov rcx, rax
mov edx, 0x436
mov r8d, 0xea60
call fcn.1400b5a90
mov dword [0x1401439d4], 1
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
cmp ebx, 0x436
jne 0x140047ee4
mov r8d, 0x96
lea rdx, str.CCustomizeMSI::OnTimer
lea rcx, str._s__d
call fcn.14005b9a0
add rsp, 0x30
pop rdi
pop rsi
pop rbx
jmp fcn.140047ae0
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80004005
call fcn.140004820
int3
mov ecx, 0x80004005
call fcn.140004820
int3
Function at 0x14004aca0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp edx, 0x40e
jne 0x14004ad30
call fcn.14000b740
mov rcx, rax
mov edx, 0x40e
call fcn.1400b5cd0
cmp dword [0x1401439d8], 0
jne 0x14004ad68
cmp dword [rbx + 0x2c], 0
je 0x14004ad04
call fcn.14000b2a0
mov ecx, 0x103c
cmp word [rax + 0x342], cx
jne 0x14004acfa
mov edx, 1
mov ecx, edx
add rsp, 0x20
pop rbx
jmp fcn.14003fd20
add rsp, 0x20
pop rbx
jmp fcn.14004a180
call fcn.14000b2a0
mov ecx, 0x103c
cmp word [rax + 0x342], cx
jne 0x14004ad26
xor edx, edx
lea ecx, [rdx + 1]
add rsp, 0x20
pop rbx
jmp fcn.14003fd20
add rsp, 0x20
pop rbx
jmp fcn.14004a570
cmp edx, 0x435
jne 0x14004ad76
call fcn.14000b740
mov rcx, rax
mov edx, 0x435
call fcn.1400b5cd0
cmp dword [rbx + 0x20], 0
je 0x14004ad63
call fcn.14004a570
lea rcx, [rbx - 0x10]
add rsp, 0x20
pop rbx
jmp fcn.14004ab10
call fcn.14004a180
lea rcx, [rbx - 0x10]
add rsp, 0x20
pop rbx
jmp fcn.14004ab10
add rsp, 0x20
pop rbx
ret
Function at 0x14004ce00
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
xor r9d, r9d
lea r8, str.RSA0_R0_L
lea rdx, str.SOFTWARERealtekSpkProtection
mov rcx, 0xffffffff80000002
call fcn.14007f430
xor r9d, r9d
lea r8, str.RSA0_R0_R
lea rdx, str.SOFTWARERealtekSpkProtection
mov rcx, 0xffffffff80000002
call fcn.14007f430
xor r9d, r9d
lea r8, str.RSA1_R0_L
lea rdx, str.SOFTWARERealtekSpkProtection
mov rcx, 0xffffffff80000002
call fcn.14007f430
xor r9d, r9d
lea r8, str.RSA1_R0_R
lea rdx, str.SOFTWARERealtekSpkProtection
mov rcx, 0xffffffff80000002
add rsp, 0x28
jmp fcn.14007f430

Function at 0x14004ee00
Capabilities:
Print debug messages
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [r8]
mov rdi, rdx
cmp rax, qword [0x1400de380]
mov rbx, rcx
jne 0x14004eede
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400de388]
jne 0x14004eede
cmp dword [r8 + 0x10], 0
jne 0x14004eede
call fcn.14000b5c0
mov rdx, rdi
call fcn.140091520
mov rdi, rax
test rax, rax
jne 0x14004ee74
mov r8d, 0x14f
lea rdx, str.CJackImpedanceDetect::OnPropertyValueChanged
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14005b9a0
mov eax, dword [rax + 0x1ac]
dec eax
test eax, 0xfffffffd
jne 0x14004eede
cmp dword [rbx + 0x64], 0
je 0x14004eecf
mov qword [rsp + 0x30], rsi
call fcn.1400529f0
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x38]
mov rcx, rdx
call qword [case.0x140048c62.0]
cmp eax, 2
jne 0x14004eeb1
mov r8d, dword [rbx + 0x70]
jmp 0x14004eeb4
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbx - 0x18]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14004e270
cmp dword [rbx + 0x68], 0
je 0x14004eede
lea rcx, [rbx - 0x18]
call fcn.14004e850
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14004fb10
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdi, rcx
cmp edx, 0x20
jb 0x14004fb47
mov r8d, 0x70
lea rdx, str.CJackRetaskCommandLineHelper::OnJackPlugStatusChanged
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14005b9a0
call fcn.14002b7b0
lea rcx, [rax + 0x10]
call fcn.140048c00
cmp dword [rdi + 0x70], ebx
jne 0x14004fb77
call fcn.14002b7b0
imul rdx, rbx, 0xb0
test byte [rax + rdx + reloc.OLEAUT32.dll_BSTR_UserUnmarshal], 2
jne 0x14004fb77
mov ebx, 1
jmp 0x14004fb79
xor ebx, ebx
call fcn.14002b7b0
sub dword [rax + 0x28], 1
mov ecx, dword [rax + 0x28]
jne 0x14004fb93
mov rcx, qword [rax + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x14004fbb1
cmp ecx, 0x32
jle 0x14004fbb1
mov r8d, 0x6a
lea rdx, str.CDataAccessProtector::FinishAccess
lea rcx, str._s__d_calling_FinishAccess_isnt_matched_RequestAccess_or_directly_return_in_EnumAudioDeviceStart_loop
call fcn.14005b9a0
test ebx, ebx
je 0x14004fbd0
call fcn.14000b740
mov rcx, rax
mov edx, 0x3f2
call fcn.1400b5cd0
lea rcx, [rdi - 0x10]
call fcn.14004fd00
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140050160
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov ebp, r8d
mov esi, edx
mov edi, ecx
mov dword [rsp + 0x68], 0x1001
mov dword [rsp + 0x6c], ecx
mov word [rsp + 0x70], si
mov word [rsp + 0x72], 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
mov qword [rsp + 0x58], SafeArrayDestroy
mov qword [rsp + 0x50], 0x2000
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
lea r9, [rsp + 0x50]
mov r8, qword [0x140144d58]
mov edx, 0x4a
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15, rax
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x140050312
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
add rax, 0x18
mov qword [rsp + 0x78], 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, 0xf5
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 + 0x78]
call fcn.1400064f0
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
cmp dword [0x140143c1c], 0
je 0x1400502c0
cmp dword [0x140143c18], 0
jne 0x140050288
mov rax, qword [0x14013d2a0]
test byte [rax + 0x1c], 1
je 0x1400502c0
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, 0xf9
lea rdx, str.CJackRetaskCommandLineHelper::SendRetaskCommandToActiveRtkAudUService
lea rcx, str._s__d_hWnd_x_Wid_x_DevType_d_Seq_d_hr_x_LastErr_d
call fcn.14005b9a0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400502e6
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
mov eax, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400c17f0
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004820
int3
Function at 0x140051590
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
mov rdi, r8
mov rsi, rdx
call fcn.14008e500
mov rdx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x14005160a
mov rdx, qword [rsp + 0x38]
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 0x140051659
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov r9d, 4
mov rdx, rsi
test rdi, rdi
je 0x140051634
mov qword [rsp + 0x20], rdi
jmp 0x140051646
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 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]
mov rdx, qword [rsp + 0x38]
mov eax, 0xffffffff
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140051684
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 + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140053560
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, [0x140143c20]
mov dword [0x14013c378], 0
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
cmp dword [0x140143c18], 0
mov dword [0x140143c14], 1
je 0x1400535dd
cmp dword [0x14013c0ec], 0
je 0x1400535d0
mov rdx, qword [0x140143c48]
test rdx, rdx
jne 0x1400535b4
call fcn.14005afe0
mov rdx, qword [0x140143c48]
test rdx, rdx
je 0x1400535e9
mov rcx, qword [0x140144f78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov rcx, qword [0x140143c48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x1400535dd
mov rcx, qword [0x140144f78]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rcx, [0x140144f78]
call fcn.140004210
lea rcx, [0x140143c20]
add rsp, 0x28
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]

Function at 0x140054800
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
cmp dword [0x14013c498], 0
mov r9, rdx
je 0x1400549c8
mov rax, qword [r8]
cmp rax, qword [0x1400de4b8]
mov qword [rsp + 0x20], rbx
jne 0x14005487e
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400de4c0]
jne 0x14005487e
cmp dword [r8 + 0x10], 3
jne 0x14005487e
mov edx, 0x10000226
mov rcx, r9
call fcn.14009c700
cmp qword [0x140143d10], 0
je 0x1400549c3
mov ecx, 0x108
call fcn.1400c1b88
xor edx, edx
mov r8d, 0x100
mov rbx, rax
lea rcx, [rax + 8]
call fcn.1400c7980
mov dword [rbx + 4], 0x10000226
jmp 0x1400549a1
mov rax, qword [r8]
cmp rax, qword [0x1400de488]
jne 0x1400548e3
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400de490]
jne 0x1400548e3
cmp dword [r8 + 0x10], 0
jne 0x1400548e3
mov edx, 0x10000222
mov rcx, r9
call fcn.14009c700
cmp qword [0x140143d10], 0
je 0x1400549c3
mov ecx, 0x108
call fcn.1400c1b88
xor edx, edx
mov r8d, 0x100
mov rbx, rax
lea rcx, [rax + 8]
call fcn.1400c7980
mov dword [rbx + 4], 0x10000222
jmp 0x1400549a1
mov rax, qword [r8]
cmp rax, qword [0x1400de458]
jne 0x140054945
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400de460]
jne 0x140054945
cmp dword [r8 + 0x10], 2
jne 0x140054945
mov edx, 0x10000228
mov rcx, r9
call fcn.14009c700
cmp qword [0x140143d10], 0
je 0x1400549c3
mov ecx, 0x108
call fcn.1400c1b88
xor edx, edx
mov r8d, 0x100
mov rbx, rax
lea rcx, [rax + 8]
call fcn.1400c7980
mov dword [rbx + 4], 0x10000228
jmp 0x1400549a1
mov rax, qword [r8]
cmp rax, qword [0x1400de470]
jne 0x1400549c3
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400de478]
jne 0x1400549c3
cmp dword [r8 + 0x10], 1
jne 0x1400549c3
mov edx, 0x1000022a
mov rcx, r9
call fcn.14009c700
cmp qword [0x140143d10], 0
je 0x1400549c3
mov ecx, 0x108
call fcn.1400c1b88
xor edx, edx
mov r8d, 0x100
mov rbx, rax
lea rcx, [rax + 8]
call fcn.1400c7980
mov dword [rbx + 4], 0x1000022a
mov rcx, qword [0x140143d10]
mov rdx, rbx
add rcx, 0x30
mov dword [rbx], 0
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp fcn.14000d7a0
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x1400583a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
lea rdx, str.CIndependentVolumeMgr::InitForAllIndepHPVol
lea rcx, [0x1400e3358]
mov r8d, 0x49
call fcn.14005b9a0
call fcn.14000b5c0
mov rcx, rax
call fcn.14008f5a0
call fcn.14000b5c0
cmp dword [rax + 0x140], 0
jne 0x140058418
cmp dword [0x140143c1c], 0
je 0x140058418
cmp dword [0x140143c18], 0
jne 0x1400583ff
mov rax, qword [0x14013d2a0]
test byte [rax + 0x1c], 1
je 0x140058418
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 0x140058458
call fcn.14000b5c0
call fcn.14000b5c0
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140058424
cmp dword [rcx + 0x1ac], 1
jne 0x140058424
cmp dword [rcx + 0x178], 0
jne 0x140058424
mov edx, edi
call fcn.140058c00
call fcn.14000b5c0
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14008f620