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

Disassembly:
push rbx
push rsi
sub rsp, 0x28
cmp dword [rcx + reloc.OLEAUT32.dll_LPSAFEARRAY_UserUnmarshal], 0
mov rsi, rdx
mov rbx, rcx
je 0x140015d5e
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140065460
mov r8d, 0xf8
lea rdx, str.CAudioDeviceSessionEvents::AddNewAudioSession
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x28
pop rsi
pop rbx
jmp fcn.140065460
mov qword [rsp + 0x50], rdi
mov eax, 1
lock xadd dword [rcx + 0x120], eax
mov ecx, 0x38
call fcn.1400d3dcc
mov rdi, rax
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x30], rax
lea rax, vtable.CAudioSessionEvents.0
mov qword [rdi], rax
call fcn.140005430
mov rcx, rax
test rax, rax
je 0x140015f37
mov rax, qword [rax]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x20], r14
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
xor r14d, r14d
mov r8, rbx
add rax, 0x18
mov rdx, rsi
mov qword [rdi + 0x28], rax
mov rcx, rdi
mov qword [rdi + 8], r14
mov qword [rdi + 0x18], r14
mov qword [rdi + 0x20], r14
call fcn.14001d460
lea rsi, [r14 - 1]
mov rcx, rdi
test eax, eax
je 0x140015ee9
mov rax, qword [rdi]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbp, qword [rbx + 0x140]
cmp qword [rbx + 0x158], r14
jne 0x140015e9e
mov ecx, dword [rbx + 0x160]
test rcx, rcx
jne 0x140015e25
mov ecx, r14d
jmp 0x140015e3f
xor edx, edx
mov rax, rsi
div rcx
cmp rax, 0x18
jb 0x140015f2c
lea rcx, [rcx + rcx*2]
shl rcx, 3
add rcx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x140015f2c
mov rcx, qword [rbx + 0x150]
mov qword [rax], rcx
mov qword [rbx + 0x150], rax
mov r8d, dword [rbx + 0x160]
lea ecx, [r8 - 1]
lea rdx, [rcx*2 + 1]
add rdx, rcx
sub r8d, 1
lea rdx, [rax + rdx*8]
js 0x140015e9e
mov rax, qword [rbx + 0x158]
mov qword [rdx], rax
mov qword [rbx + 0x158], rdx
sub rdx, 0x18
sub r8d, 1
jns 0x140015e83
mov rcx, qword [rbx + 0x158]
mov rax, qword [rcx]
mov qword [rcx + 0x10], rdi
mov qword [rbx + 0x158], rax
mov qword [rcx + 8], rbp
mov qword [rcx], r14
inc qword [rbx + 0x148]
mov rax, qword [rbx + 0x140]
test rax, rax
je 0x140015ed9
mov qword [rax], rcx
mov qword [rbx + 0x140], rcx
jmp 0x140015eee
mov qword [rbx + 0x138], rcx
mov qword [rbx + 0x140], rcx
jmp 0x140015eee
call fcn.140015380
lock xadd dword [rbx + 0x120], esi
mov eax, dword [rbx + 0x120]
test eax, eax
jne 0x140015f16
cmp dword [rbx + reloc.OLEAUT32.dll_LPSAFEARRAY_UserUnmarshal], r14d
je 0x140015f16
mov rcx, qword [rbx + 0x118]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rbp, qword [rsp + 0x48]
mov r14, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x50]
add rsp, 0x28
pop rsi
pop rbx
ret
mov ecx, 0x8007000e
call fcn.140005560
int3
mov ecx, 0x80004005
call fcn.140005560
int3
Function at 0x14001b470
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x20
mov r14, qword [rcx + 0xc8]
lea r15, [rcx + 0x98]
mov rbx, qword [r15]
test rbx, rbx
je 0x14001b4df
test r14, r14
je 0x14001b4df
test rbx, rbx
je 0x14001b522
mov rdi, qword [r14 + 0x10]
mov rsi, qword [rbx + 0x10]
mov rcx, rdi
mov rbx, qword [rbx]
mov r14, qword [r14]
mov rax, qword [rdi]
mov rdx, qword [rsi]
call qword [rax + 0x38]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov edx, 8
mov rcx, rsi
call fcn.1400d37cc
test rbx, rbx
jne 0x14001b4a0
mov rcx, r15
call fcn.14000c7b0
mov rcx, r15
call fcn.14000c7b0
mov r8d, 0x20a
lea rdx, str.CAudioModuleAPIBase::UnregisterAllAudioDeviceModuleManagerEvent
lea rcx, [0x140119e10]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
jmp fcn.140065460
mov ecx, 0x80004005
call fcn.140005560
int3

Function at 0x14001e2d0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov rbp, r9
mov ecx, BSTR_UserMarshal
mov ebx, r8d
mov rdi, rdx
call fcn.1400d3dcc
xor edx, edx
mov r8d, BSTR_UserMarshal
mov rsi, rax
lea rcx, [rax + 2]
call fcn.1400daa40
mov word [rsi], bx
test rdi, rdi
je 0x14001e362
lea rax, [rsi + 2]
mov edx, 0x7f
sub rdi, rax
nop dword [rax + rax]
lea rcx, [rdx + 0x7fffff7f]
test rcx, rcx
je 0x14001e354
movzx ecx, word [rdi + rax]
test cx, cx
je 0x14001e354
mov word [rax], cx
add rax, 2
sub rdx, 1
jne 0x14001e330
jmp 0x14001e359
test rdx, rdx
jne 0x14001e35d
sub rax, 2
xor ecx, ecx
mov word [rax], cx
movaps xmm0, xmmword [rbp]
mov rdx, rsi
mov eax, dword [rbp + 0x10]
mov rcx, r14
movups xmmword [rsi + 0x104], xmm0
mov dword [rsi + 0x114], eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.14000dd50

Function at 0x14001f490
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp r8d, 0x16
jne 0x14001f4d4
mov rax, qword [rsp + 0x60]
lea rdx, str.CBackgroundProcMain::OnWindowsMessage
mov r8d, 0x2f
mov qword [rsp + 0x20], rax
lea rcx, str._s__d_WM_ENDSESSION_wParam_d_lParam_d
call fcn.140065460
call fcn.1400148c0
mov rcx, rax
add rsp, 0x30
pop rbx
jmp fcn.1400a1540
cmp r8d, 0x10
jne 0x14001f541
mov rax, qword [rsp + 0x60]
lea rdx, str.CBackgroundProcMain::OnWindowsMessage
mov r8d, 0x35
mov qword [rsp + 0x20], rax
lea rcx, str._s__d_WM_CLOSE_wParam_d_lParam_d_Start
call fcn.140065460
add rbx, 0xffffffffffffffe0
mov rcx, rbx
call fcn.1400206e0
test rbx, rbx
je 0x14001f523
mov rcx, rbx
call fcn.14001f3f0
mov edx, pe_nt_image_headers64
mov rcx, rbx
call fcn.1400d37cc
mov r8d, 0x38
lea rdx, str.CBackgroundProcMain::OnWindowsMessage
lea rcx, str._s__d_WM_CLOSE_end
add rsp, 0x30
pop rbx
jmp fcn.140065460
add rsp, 0x30
pop rbx
ret
Function at 0x140023d80
Capabilities:
Print debug messages

Disassembly:
sub rcx, 0xcaa0
jmp method.CIntelDspR0CalibrationAcx.3.virtual_8
push rbx
sub rsp, 0x20
cmp dword [rcx + 0xcab8], 0
mov rbx, rcx
jne 0x140023df7
call fcn.140022e10
mov dword [rbx + 0xcab8], eax
test eax, eax
jne 0x140023df7
mov r8d, 0x17d
lea rdx, str.CIntelDspR0CalibrationAcx::OnAddNewDriverPath
lea rcx, str._s__d_LoadAcxRtSpkPtDat_fail
call fcn.140065460
call fcn.14000bb60
mov edx, 0x453
mov rcx, rax
lea r8d, [rdx - 0x6b]
call fcn.1400c8b50
cmp dword [rbx + 0xcab8], 0
jne 0x140023df7
mov r8d, 0x17f
lea rdx, str.CIntelDspR0CalibrationAcx::OnAddNewDriverPath
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.140065460
mov rcx, rbx
call fcn.14004c970
lea rdx, str.CIntelDspR0CalibrationAcx::OnAddNewDriverPath
test eax, eax
jne 0x140023e45
mov r8d, 0x186
lea rcx, str._s__d_SetModuleParameterToIntelDsp_fail
call fcn.140065460
mov rax, qword [rbx]
mov edx, 0x1000
mov rcx, rbx
call qword [rax + 0x28]
call fcn.14000bb60
mov edx, 0x453
mov rcx, rax
lea r8d, [rdx - 0x6b]
add rsp, 0x20
pop rbx
jmp fcn.1400c8b50
mov r8d, 0x18d
lea rcx, str._s__d_SetModuleParameterToIntelDsp_success
call fcn.140065460
call fcn.14000bb60
mov rcx, rax
mov edx, 0x453
add rsp, 0x20
pop rbx
jmp fcn.1400c8d80
Function at 0x140023f40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
call fcn.14000b670
mov rbx, qword [rax + 0x68]
test rbx, rbx
je 0x140023fc4
nop
mov rdi, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rdi, rdi
je 0x140023fbf
mov r8, qword [rdi]
test r8, r8
je 0x140023fbf
add r8, 0x68
cmp qword [r8 + 0x18], 8
jb 0x140023f82
mov r8, qword [r8]
lea rdx, str.CRpcServerHelper::HasUWPConnected
lea rcx, str._s_rpcClientObjContext__RpcClientObject__m_AppPFN_s
call fcn.140065460
lea r8, [0x140150ca8]
lea rdx, str.CRpcServerHelper::HasUWPConnected
lea rcx, str._s__AppPFN_s
call fcn.140065460
mov rax, qword [rdi]
cmp dword [rax + 0x1a4], 0
je 0x140024046
test rbx, rbx
jne 0x140023f60
mov r8d, 0x34
lea rdx, str.CJackMgrAcx::OnAudioModuleEvent
lea rcx, [0x140119e10]
call fcn.140065460
mov r8d, esi
lea rcx, [0x140119b08]
mov edx, 0x20000009
call fcn.14009c780
call fcn.14000bb60
mov rcx, rax
mov edx, 0x40c
call fcn.1400c8d80
call fcn.14000bb60
mov rcx, rax
mov edx, 0x40c
mov r8d, 0xa
call fcn.1400c8b50
mov r9d, esi
lea rdx, str.CJackMgrAcx::OnAudioModuleEvent
mov r8d, 0x40
lea rcx, str._s__d_nVal_d
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140065460
mov r8d, 0x3b
lea rdx, str.CJackMgrAcx::OnAudioModuleEvent
lea rcx, [0x140119e10]
call fcn.140065460
call fcn.14000b670
mov rbx, rax
lea rdi, [rax + 0x30]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rbx, qword [rbx + 0x68]
test rbx, rbx
je 0x1400240ab
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x1400240a6
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400240a6
mov r9d, esi
lea rdx, [0x140119b08]
mov r8d, 0x20000009
call fcn.14009c650
test rbx, rbx
jne 0x14002407d
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
jmp 0x14002401b
Function at 0x140024310
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov rax, qword [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r8
mov rbp, rdx
mov r15, rcx
call fcn.140005430
mov rcx, rax
test rax, rax
je 0x140024540
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
xor r13d, r13d
mov dword [rsp + 0x38], r13d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [r15]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
lea r14, [r13 - 1]
test eax, eax
jne 0x140024502
cmp dword [rsp + 0x40], 7
jne 0x140024502
mov edi, dword [rsp + 0x38]
shr edi, 1
je 0x140024502
mov ecx, edi
mov eax, 2
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.1400d3e08
mov r12, rax
test rax, rax
je 0x140024502
cmp edi, 2
jb 0x1400244f9
lea r8d, [rdi + rdi]
mov dword [rsp + 0x3c], r8d
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [r15]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400244f9
cmp dword [rsp + 0x44], 7
jne 0x1400244f9
mov eax, dword [rsp + 0x3c]
test al, 1
jne 0x1400244f9
mov ebp, eax
shr ebp, 1
cmp ebp, 1
jb 0x1400244f9
shr rax, 1
cmp word [r12 + rax*2 - 2], r13w
jne 0x1400244f9
cmp ebp, 1
jbe 0x14002445a
cmp word [r12 + rax*2 - 4], r13w
jne 0x1400244f9
mov edi, r13d
test ebp, ebp
je 0x1400244f9
nop word [rax + rax]
mov eax, edi
lea rdx, [r12 + rax*2]
cmp r13w, word [rdx]
jne 0x140024483
mov eax, 1
jmp 0x1400244ef
test rdx, rdx
jne 0x14002448d
mov eax, r13d
jmp 0x14002449a
mov rax, r14
inc rax
cmp word [rdx + rax*2], r13w
jne 0x140024490
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.140004e70
mov rbx, qword [rsp + 0x48]
movzx eax, word [rbx]
cmp ax, word [0x140119b08]
je 0x1400244ec
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CLSIDFromString]
mov rdx, qword [rsi + 8]
cmp qword [rsi + 0x10], rdx
je 0x1400244df
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
add qword [rsi + 8], 0x10
jmp 0x1400244ec
lea r8, [rsp + 0x50]
mov rcx, rsi
call fcn.140029a70
mov eax, dword [rbx - 0x10]
add edi, eax
cmp edi, ebp
jb 0x140024470
mov rcx, r12
call fcn.1400d37cc
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x14002451b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d37a0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005560
int3
Function at 0x140024550
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xb8], rbx
mov rax, qword [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r13, r8
mov qword [rsp + 0x38], rdx
mov r14, rcx
mov qword [rsp + 0x30], rcx
mov r12, qword [r8 + 8]
sub r12, qword [r8]
sar r12, 4
lea eax, [r12 + r12*4]
shl eax, 3
movsxd rcx, eax
add rcx, 2
mov eax, 2
mul rcx
mov rbp, 0xffffffffffffffff
cmovo rax, rbp
mov rcx, rax
call fcn.1400d3e08
mov r15, rax
xor edi, edi
mov qword [rsp + 0x48], rdi
call fcn.140005430
mov rcx, rax
test rax, rax
je 0x14002472f
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
mov dword [r15], edi
mov esi, edi
test r12d, r12d
jle 0x1400246a0
mov r14d, edi
mov r12d, r12d
mov rcx, qword [r13]
add rcx, r14
lea rdx, [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromCLSID]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
jne 0x140024622
mov eax, edi
jmp 0x14002462f
mov rax, rbp
inc rax
cmp word [rdx + rax*2], 0
jne 0x140024625
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.140004e70
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140024651
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rsp + 0x48], rdi
mov rbx, qword [rsp + 0x50]
movzx eax, word [rbx]
cmp ax, word [0x140119b08]
je 0x14002468d
movsxd rax, dword [rbx - 0x10]
cmp eax, 0x28
jge 0x14002468d
mov r8, rax
add r8, r8
movsxd rax, esi
lea rcx, [r15 + rax*2]
mov rdx, rbx
call fcn.1400dacf0
add esi, dword [rbx - 0x10]
movsxd rax, esi
mov word [r15 + rax*2], di
inc esi
add r14, 0x10
sub r12, 1
jne 0x140024602
mov r14, qword [rsp + 0x30]
movsxd rax, esi
mov word [r15 + rax*2], di
test r15, r15
je 0x1400246ea
mov r9, r15
mov rax, rbp
inc rax
cmp word [r9 + rax*2], 0
jne 0x1400246b3
inc eax
lea r9, [r9 + rax*2]
lea edi, [rdi + rax*2]
cmp eax, 1
jne 0x1400246b0
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r15
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, r15
call fcn.1400d37cc
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x14002470a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400d37a0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005560
int3
Function at 0x140029de0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x140029e95
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x140029e61
lea rcx, str.Advapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x140029e80
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
test rax, rax
je 0x140029e80
mov rdx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rdi + 8], 0
je 0x140029e80
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp byte [0x1401afa68], 0
jne 0x140029ee0
lea rcx, str.Advapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x140029ed0
lea rdx, [0x140126198]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x1401afa70], rax
mov byte [0x1401afa68], 1
jmp 0x140029ee7
mov rax, qword [0x1401afa70]
mov byte [0x1401afa68], 1
jmp 0x140029ee7
mov rax, qword [0x1401afa70]
mov rcx, qword [rbx]
mov rdx, rsi
test rax, rax
je 0x140029e6a
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp rax

Function at 0x14002a040
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x14002a058
lea eax, [r8 + 0xd]
add rsp, 0x38
ret
xor r8d, r8d
mov rdx, r9
nop
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002a070
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x14002a060
mov rcx, qword [rcx]
mov rdx, r10
mov dword [rsp + 0x28], r8d
xor r8d, r8d
mov qword [rsp + 0x20], r9
lea r9d, [rax + 6]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x14002a510
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x14002a546
lea r8d, [rdx + 0x67]
lea rdx, str.CBssGen4ConditionMgr::SyncAudioDeviceConditions
lea rcx, str._s__d_RETURN_ON_FALSE
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140065460
mov rcx, rdi
call fcn.14002be00
test eax, eax
je 0x14002a5cd
mov rax, qword [rdi + 0x118]
lea rdx, str.CBssGen4ConditionMgr::SyncAudioDeviceConditions
mov r9, qword [rdi + 0x10]
lea rcx, str._s__d_EpId_d_Name_s
mov r8d, 0x6d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], rbx
call fcn.140065460
mov rdx, qword [rdi + 0x168]
mov rcx, rsi
call fcn.1400b6390
mov rdx, qword [rdi + 0x168]
mov rcx, rsi
call fcn.1400b62f0
mov r8, rax
mov rdx, rdi
mov rbx, rax
call fcn.14002ac30
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14002ae40
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14002b4e0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14002ac30
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push r14
sub rsp, 0x68
mov rbx, r8
mov r14, rdx
test rdx, rdx
jne 0x14002ac4f
mov r8d, 0xe9
jmp 0x14002ac5a
test rbx, rbx
jne 0x14002ac74
mov r8d, 0xea
lea rdx, str.CBssGen4ConditionMgr::UpdateScenario
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x68
pop r14
pop rbx
jmp fcn.140065460
mov dword [r8 + 8], 0
mov ecx, dword [rdx + 0x1ac]
lea eax, [rcx - 1]
test eax, 0xfffffffd
je 0x14002ae38
lea eax, [rcx - 5]
cmp eax, 1
ja 0x14002aca8
mov rcx, r14
call fcn.140017a40
test eax, eax
jne 0x14002ae38
mov rcx, r14
call fcn.14000f870
test eax, eax
je 0x14002ae38
mov qword [rsp + 0x90], rbp
mov rcx, r14
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x48], r13
call fcn.14000f9a0
cmp dword [r14 + 0x170], 0
mov edi, eax
mov dword [rsp + 0x88], eax
jne 0x14002acff
mov rcx, r14
call fcn.140010190
cmp eax, 1
je 0x14002acff
xor edx, edx
mov ecx, edx
mov dword [rsp + 0x80], edx
jmp 0x14002ad0d
mov ecx, 1
xor edx, edx
mov dword [rsp + 0x80], ecx
mov r13d, dword [rbx + 4]
mov ebp, ecx
xor ebp, 1
mov r10d, edx
inc ebp
test edi, edi
cmovne ebp, edx
test r13d, r13d
jle 0x14002ae26
mov qword [rsp + 0x60], rsi
mov edi, 0x203
mov esi, dword [rbx]
mov qword [rsp + 0x50], r12
mov r12, qword [0x140119a48]
mov qword [rsp + 0x40], r15
mov r15, qword [0x140119a50]
nop dword [rax]
mov r9d, 1
mov eax, edx
mov r8, rdx
test esi, esi
jle 0x14002adbc
movsxd r11, r10d
shl r11, 4
nop word [rax + rax]
movsxd rcx, eax
add rcx, r11
add rcx, rcx
cmp qword [rbx + rcx*8 + 0xc], r12
jne 0x14002ad9b
cmp qword [rbx + rcx*8 + 0x14], r15
jne 0x14002ad9b
lea rcx, [rdi + r8]
cmp dword [rbx + rcx*4], ebp
cmove edx, r9d
mov r9d, edx
test edx, edx
je 0x14002ada9
xor edx, edx
inc eax
inc r8
cmp eax, esi
jl 0x14002ad70
test r9d, r9d
jne 0x14002adbc
inc r10d
add rdi, 0x10
mov edx, 0
cmp r10d, r13d
jl 0x14002ad50
jmp 0x14002ae17
cmp dword [0x1401ad8a8], 0
mov dword [rbx + 8], r10d
je 0x14002ae17
cmp dword [0x1401ad8ac], 0
jne 0x14002addf
mov rax, qword [0x1401a5308]
test byte [rax + 0x1c], 1
je 0x14002ae17
mov eax, dword [rsp + 0x80]
lea rdx, str.CBssGen4ConditionMgr::UpdateScenario
mov r9, qword [r14 + 0x10]
lea rcx, str._s__d_EpId_s_ScenarioIdx_d_IsIntegratedMic_d_bRtkDev_d
mov dword [rsp + 0x30], eax
mov r8d, 0x12b
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.140065460
mov rsi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x50]
mov r15, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x90]
mov r13, qword [rsp + 0x48]
add rsp, 0x68
pop r14
pop rbx
ret
Function at 0x14002b440
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
call fcn.14000b9e0
mov rdx, rsi
call fcn.140097690
mov rbx, rax
test rax, rax
je 0x14002b4ab
mov rcx, rax
call fcn.14002be00
test eax, eax
je 0x14002b4ab
mov rdx, rsi
mov rcx, rdi
call fcn.1400b62f0
test rax, rax
jne 0x14002b48e
mov r8d, 0x1b0
jmp 0x14002b4b1
mov r8, rax
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14002b4e0
mov r8d, 0x1ad
lea rdx, str.CBssGen4ConditionMgr::UpdateConditionsToApo
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140065460
Function at 0x14002c2a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r8
mov rbx, rdx
mov qword [rsp + 0x20], r8
mov r9, rdx
mov r8d, 0x31d
lea rdx, str.CBssGen4ConditionMgr::OnRegKeyChanged
lea rcx, str._s__d__s__s
call fcn.140065460
lea rdx, str.SOFTWARERealtekAudioExtSettings
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
test eax, eax
jne 0x14002c498
mov r8d, 0x321
lea rdx, str.CBssGen4ConditionMgr::OnRegKeyChanged
lea rcx, [0x140119e10]
call fcn.140065460
lea rdx, str.DisableAllAINROnce
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
test eax, eax
jne 0x14002c498
mov r8d, 0x325
lea rdx, str.CBssGen4ConditionMgr::OnRegKeyChanged
lea rcx, [0x140119e10]
call fcn.140065460
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x38], eax
lea r9d, [rax + 1]
lea r8, str.SOFTWARERealtekAudioExtSettings
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.140029f10
test eax, eax
je 0x14002c3b9
lea r9, str.SOFTWARERealtekAudioExtSettings
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140065460
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14002c498
jmp 0x14002c492
mov dword [rsp + 0x3c], 4
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.DisableAllAINROnce
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14002c48a
cmp dword [rsp + 0x40], 4
jne 0x14002c48a
mov edi, dword [rsp + 0x38]
test rbx, rbx
je 0x14002c417
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r8d, 0x32b
lea rdx, str.CBssGen4ConditionMgr::OnRegKeyChanged
lea rcx, [0x140119e10]
call fcn.140065460
test edi, edi
je 0x14002c498
mov r8d, 0x32f
lea rdx, str.CBssGen4ConditionMgr::OnRegKeyChanged
lea rcx, [0x140119e10]
call fcn.140065460
mov r8d, 0x331
lea rdx, str.CBssGen4ConditionMgr::OnRegKeyChanged
lea rcx, str._s__d_DisableAllAINROnce
call fcn.140065460
call fcn.14002be70
xor r9d, r9d
lea r8, str.DisableAllAINROnce
lea rdx, str.SOFTWARERealtekAudioExtSettings
mov rcx, 0xffffffff80000002
call fcn.140086130
jmp 0x14002c498
test rbx, rbx
je 0x14002c498
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d37a0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret