Function at 0x14003fdb0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
lea rdx, str.CCustomizeHP::AECustomize
mov rbx, rcx
mov r8d, 0x14cc
lea rcx, [0x1400e2bd0]
mov rsi, r9
call fcn.14005dbf0
test rbx, rbx
jne 0x14003fe0e
mov r8d, 0x14cd
lea rdx, str.CCustomizeHP::AECustomize
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.14005dbf0
test rdi, rdi
jne 0x14003fe1b
mov r8d, 0x14ce
jmp 0x14003fdec
test rsi, rsi
jne 0x14003fe28
mov r8d, 0x14cf
jmp 0x14003fdec
mov r8d, dword [0x14015fde8]
test r8d, r8d
je 0x14003ff59
cmp dword [0x14015fdb4], 0
jne 0x14003fe52
mov rax, qword [0x1401591e0]
test byte [rax + 0x1c], 1
je 0x14003ff59
mov r9d, dword [rdi + 0xc]
lea rdx, str.CCustomizeHP::AECustomize
shr r9d, 0xd
lea rcx, str._s__d_m_HostAppPolicy.GlobalOutputMuteLED_UseAudioModule_d
and r9d, 1
mov r8d, 0x14e4
call fcn.14005dbf0
mov r9d, dword [rdi + 0xc]
lea rdx, str.CCustomizeHP::AECustomize
shr r9d, 0xe
lea rcx, str._s__d_m_HostAppPolicy.GlobalInputMuteLED_UseAudioModule_d
and r9d, 1
mov r8d, 0x14e5
call fcn.14005dbf0
mov r9d, dword [rdi + 0xc]
lea rdx, str.CCustomizeHP::AECustomize
shr r9d, 0xf
lea rcx, str._s__d_m_HostAppPolicy.MuteNewDeviceWhenGlobalOutputIsMute_d
and r9d, 1
mov r8d, 0x14e6
call fcn.14005dbf0
movzx r9d, word [rdi + 0xe]
lea rdx, str.CCustomizeHP::AECustomize
and r9d, 1
lea rcx, str._s__d_m_HostAppPolicy.MuteNewDeviceWhenGlobalInputIsMute_d
mov r8d, 0x14e7
call fcn.14005dbf0
mov r9d, dword [rdi + 0xc]
lea rdx, str.CCustomizeHP::AECustomize
shr r9d, 0x11
lea rcx, str._s__d_m_HostAppPolicy.MuteLedBehaviorTypeValue1_d
and r9d, 1
mov r8d, 0x14e8
call fcn.14005dbf0
mov r9d, dword [rdi + 0xc]
lea rdx, str.CCustomizeHP::AECustomize
shr r9d, 0x12
lea rcx, str._s__d_m_HostAppPolicy.MuteLedBehaviorTypeValue2_d
and r9d, 1
mov r8d, 0x14e9
call fcn.14005dbf0
mov r9d, dword [rdi + 0xc]
lea rdx, str.CCustomizeHP::AECustomize
shr r9d, 0x13
lea rcx, str._s__d_m_HostAppPolicy.MuteLedBehaviorTypeValue4_d
and r9d, 1
mov r8d, 0x14ea
call fcn.14005dbf0
mov r8d, dword [0x14015fde8]
mov edx, dword [rdi + 0xc]
mov ecx, edx
mov eax, edx
shr ecx, 0x13
shr eax, 0x12
and ecx, 1
and eax, 1
shr edx, 0x11
and edx, 1
lea ecx, [rax + rcx*2]
lea eax, [rdx + rcx*2]
test eax, eax
je 0x140040083
mov byte [rbx + 0x249], al
mov eax, dword [rdi + 0xc]
shr eax, 0xd
xor eax, dword [rbx + 0x248]
and eax, 1
xor dword [rbx + 0x248], eax
mov eax, dword [rbx + 0x248]
mov ecx, dword [rdi + 0xc]
shr ecx, 0xd
xor ecx, eax
and ecx, 2
xor ecx, eax
mov dword [rbx + 0x248], ecx
mov eax, dword [rdi + 0xc]
and eax, 0x6000
neg eax
mov eax, dword [rsi]
sbb ecx, ecx
btr eax, 0x1b
and ecx, 0x8000000
or ecx, eax
mov dword [rsi], ecx
test r8d, r8d
je 0x140040083
cmp dword [0x14015fdb4], 0
jne 0x14003fff3
mov rax, qword [0x1401591e0]
test byte [rax + 0x1c], 1
je 0x140040083
movzx r9d, byte [rbx + 0x249]
lea rdx, str.CCustomizeHP::AECustomize
mov r8d, 0x14fa
lea rcx, str._s__d_pGlobalPolicy__MuteLedBehaviorType_d
call fcn.14005dbf0
mov r9d, dword [rbx + 0x248]
lea rdx, str.CCustomizeHP::AECustomize
and r9d, 1
lea rcx, str._s__d_pGlobalPolicy__MuteLED_AudioOutputDev_d
mov r8d, 0x14fb
call fcn.14005dbf0
mov r9d, dword [rbx + 0x248]
lea rdx, str.CCustomizeHP::AECustomize
shr r9d, 1
lea rcx, str._s__d_pGlobalPolicy__MuteLED_AudioInputDev_d
and r9d, 1
mov r8d, 0x14fc
call fcn.14005dbf0
mov r9d, dword [rsi]
lea rdx, str.CCustomizeHP::AECustomize
shr r9d, 0x1b
lea rcx, str._s__d_pAEConfig__SetMutedLedByAudioModule_V1_d
and r9d, 1
mov r8d, 0x14fd
call fcn.14005dbf0
call fcn.140055e20
xor ecx, ecx
test dword [rbx + 0x98], 0x100
jne 0x1400400a9
cmp dword [rbx + 0xb0], ecx
jl 0x1400400a9
test dword [rdi + 0xc], 0x8000
mov edx, ecx
je 0x1400400ae
mov edx, 0x20000000
mov eax, dword [rsi]
btr eax, 0x1d
or eax, edx
mov dword [rsi], eax
test dword [rbx + 0x98], 0x100
jne 0x1400400d6
test dword [rbx + 0x38], 0x40000
jne 0x1400400d6
test dword [rdi + 0xc], 0x10000
je 0x1400400db
mov ecx, 0x40000000
mov rbx, qword [rsp + 0x30]
btr eax, 0x1e
or eax, ecx
mov dword [rsi], eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret