Function at 0x140002e60
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
movzx esi, r9w
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x140002ea4
lea r8d, [rdx + 0x1d]
lea rdx, str.CAECustomized::Init
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.14005be10
test r8, r8
jne 0x140002eb1
mov r8d, 0x1e
jmp 0x140002e82
test dword [rdx + 0xa8], 0x10000000
jne 0x140002ee2
test byte [rdx + 0x134], 8
jne 0x140002ee2
test dword [rdx + 0xf4], 0x1000
jne 0x140002ee2
test dword [rdx + 0x148], 0x100
jne 0x140002ee2
xor eax, eax
jmp 0x140002ee7
mov eax, 0x80
and dword [rcx], 0xffffff7f
lea r8, str.TESHLLED
or dword [rcx], eax
lea rdx, str.Customize
lea rcx, [0x140157e40]
xor r9d, r9d
call fcn.140005700
xor ecx, ecx
mov edx, 0x400000
cmp eax, 0x51e305a9
mov eax, dword [rdi]
cmove ecx, edx
btr eax, 0x16
or ecx, eax
mov dword [rdi], ecx
test edx, ecx
jne 0x140002fa7
call fcn.1400ae6d0
test eax, eax
je 0x140002f43
mov eax, 0x1028
cmp si, ax
jne 0x140002f43
mov ecx, 0x4000
jmp 0x140002f45
xor ecx, ecx
mov eax, dword [rdi]
lea r9, [rsp + 0x48]
btr eax, 0xe
mov dword [rsp + 0x48], 0
or eax, ecx
lea r8, str.DellAudioUINotExist
lea rdx, str.SoftwareRealtekAudioGUI_INFORMATIONJackInfomation
lea ecx, [rax*8]
xor ecx, eax
and ecx, 0x20000
xor ecx, eax
mov eax, ecx
shl eax, 9
xor eax, ecx
and eax, 0x800000
xor eax, ecx
mov rcx, 0xffffffff80000002
mov dword [rdi], eax
call fcn.14007bac0
mov eax, dword [rsp + 0x48]
shl eax, 0x1a
xor eax, dword [rdi]
and eax, 0x4000000
xor dword [rdi], eax
mov ecx, dword [rdi]
mov eax, 0x103c
cmp si, ax
je 0x140003028
mov r9d, 0x17aa
cmp si, r9w
jne 0x1400030f5
movzx eax, word [rsp + 0x60]
mov edx, 0x6000
cmp ax, dx
jb 0x140002fde
mov edx, 0x67ff
cmp ax, dx
jbe 0x1400030f5
cmp si, r9w
jne 0x1400030f5
mov edx, 0x2301
cmp ax, dx
jne 0x1400030f5
bts ecx, 0x1c
mov dword [rsp + 0x60], edx
mov dword [rdi], ecx
lea rdx, str.CCustomizeLenovo::AECustomize
lea rcx, str._s__d_0x_04X_04X_DspR0_Copy_RSA1_R0_L_To_RSA1_R0_R
mov r8d, 0x12a
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.14005be10
mov r8d, 0x14cc
lea rdx, str.CCustomizeHP::AECustomize
lea rcx, [0x1400ddaf0]
call fcn.14005be10
mov eax, 0x8a7f
cmp word [rsp + 0x60], ax
jne 0x1400030f5
mov byte [rbx + 0x249], 1
lea rdx, str.CCustomizeHP::AECustomize
or dword [rbx + 0x248], 3
lea rcx, str._s__d_pGlobalPolicy__MuteLedBehaviorType_d
or dword [rdi], 0x8000000
mov r8d, 0x14da
movzx r9d, byte [rbx + 0x249]
call fcn.14005be10
mov r9d, dword [rbx + 0x248]
lea rdx, str.CCustomizeHP::AECustomize
and r9d, 1
lea rcx, str._s__d_pGlobalPolicy__MuteLED_AudioOutputDev_d
mov r8d, 0x14db
call fcn.14005be10
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, 0x14dc
call fcn.14005be10
mov r9d, dword [rdi]
lea rdx, str.CCustomizeHP::AECustomize
shr r9d, 0x1b
lea rcx, str._s__d_pAEConfig__HPSnwdAcxGrogu_d
and r9d, 1
mov r8d, 0x14dd
call fcn.14005be10
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret