Function at 0x14006e670
Capabilities:
Inspect section memory permissions
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, r8
lea rdx, str.CCustomizeHP::AECustomize
mov rbx, rcx
mov r8d, 0x166c
lea rcx, [0x14011bca8]
mov r14, r9
call fcn.140075db0
test rbx, rbx
jne 0x140057520
mov r8d, 0x166d
lea rdx, str.CCustomizeHP::AECustomize
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
jmp fcn.140075db0
test rdi, rdi
jne 0x14005752d
mov r8d, 0x166e
jmp 0x1400574fd
test r14, r14
jne 0x14005753a
mov r8d, 0x166f
jmp 0x1400574fd
mov r8d, dword [0x1401b2668]
mov qword [rsp + 0x30], rsi
test r8d, r8d
je 0x140057670
mov rax, qword [0x1401ab9a8]
test byte [rax + 0x1c], 1
jne 0x140057569
cmp dword [0x1401b266c], 0
je 0x140057670
mov r9d, dword [rdi + 0xc]
lea rdx, str.CCustomizeHP::AECustomize
shr r9d, 0xd
lea rcx, str._s__d_m_HostAppPolicy.GlobalOutputMuteLED_UseAudioModuleCustomAccess_d
and r9d, 1
mov r8d, 0x1684
call fcn.140075db0
mov r9d, dword [rdi + 0xc]
lea rdx, str.CCustomizeHP::AECustomize
shr r9d, 0xe
lea rcx, str._s__d_m_HostAppPolicy.GlobalInputMuteLED_UseAudioModuleCustomAccess_d
and r9d, 1
mov r8d, 0x1685
call fcn.140075db0
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, 0x1686
call fcn.140075db0
movzx r9d, word [rdi + 0xe]
lea rdx, str.CCustomizeHP::AECustomize
and r9d, 1
lea rcx, str._s__d_m_HostAppPolicy.MuteNewDeviceWhenGlobalInputIsMute_d
mov r8d, 0x1687
call fcn.140075db0
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, 0x1688
call fcn.140075db0
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, 0x1689
call fcn.140075db0
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, 0x168a
call fcn.140075db0
mov r8d, dword [0x1401b2668]
mov edx, dword [rdi + 0xc]
xor esi, esi
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 0x140057754
mov byte [rbx + 0x249], al
mov ecx, esi
test dword [rdi + 0xc], 0x202000
mov eax, dword [rbx + 0x248]
setne cl
and eax, 0xfffffffe
or ecx, eax
mov dword [rbx + 0x248], ecx
mov edx, dword [rdi + 0xc]
shr edx, 0xd
xor edx, ecx
and edx, 2
xor edx, ecx
mov dword [rbx + 0x248], edx
shr edx, 8
test r8d, r8d
je 0x140057754
mov rax, qword [0x1401ab9a8]
test byte [rax + 0x1c], 1
jne 0x1400576ec
cmp dword [0x1401b266c], esi
je 0x140057754
movzx r9d, dl
lea rcx, str._s__d_pGlobalPolicy__MuteLedBehaviorType_d
lea rdx, str.CCustomizeHP::AECustomize
mov r8d, 0x169a
call fcn.140075db0
mov r9d, dword [rbx + 0x248]
lea rdx, str.CCustomizeHP::AECustomize
and r9d, 1
lea rcx, str._s__d_pGlobalPolicy__MuteLED_AudioOutputDev_d
mov r8d, 0x169b
call fcn.140075db0
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, 0x169c
call fcn.140075db0
test byte [rdi + 0xc], 2
je 0x14005777f
mov r8d, 0x16a6
lea rdx, str.CCustomizeHP::AECustomize
lea rcx, str._s__d_Hard_coding_HP_ACX_projects_as_cNB
call fcn.140075db0
mov dword [0x1401b264c], 0x9c48
jmp 0x140057784
call fcn.14006baf0
test dword [rbx + 0x98], 0x100
jne 0x1400577a3
cmp dword [rbx + 0xb0], esi
jl 0x1400577a3
test dword [rdi + 0xc], 0x8000
mov ecx, esi
je 0x1400577a8
mov ecx, 0x20000000
mov eax, dword [r14]
btr eax, 0x1d
or eax, ecx
mov dword [r14], eax
test dword [rbx + 0x98], 0x100
jne 0x1400577d2
test dword [rbx + 0x38], 0x40000
jne 0x1400577d2
test dword [rdi + 0xc], 0x10000
je 0x1400577d7
mov esi, 0x40000000
mov rbx, qword [rsp + 0x38]
btr eax, 0x1e
mov rdi, qword [rsp + 0x40]
or eax, esi
mov rsi, qword [rsp + 0x30]
mov dword [r14], eax
add rsp, 0x20
pop r14
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, r8
mov rsi, r9
movzx r8d, word [rsp + 0x60]
mov rdi, rcx
mov edx, r8d
sub edx, 0x1025
je 0x14006e7be
sub edx, 0x17
je 0x14006e7a7
cmp edx, 0x76e
jne 0x14006e8db
movzx ecx, word [rsp + 0x68]
mov edx, 0x6000
movzx eax, cx
sub ax, dx
mov edx, 0x7ff
cmp ax, dx
jbe 0x14006e8db
test rdi, rdi
jne 0x14006e6fd
mov r8d, 0x249
lea rdx, str.CCustomizeLenovo::AECustomize
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140075db0
test rsi, rsi
jne 0x14006e72a
mov r8d, 0x24a
lea rdx, str.CCustomizeLenovo::AECustomize
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140075db0
test rbx, rbx
jne 0x14006e757
mov r8d, 0x24b
lea rdx, str.CCustomizeLenovo::AECustomize
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140075db0
mov r9d, 0x17aa
cmp r8w, r9w
jne 0x14006e8db
mov eax, 0x2301
cmp cx, ax
jne 0x14006e8db
or dword [rsi], 0x10000000
lea rdx, str.CCustomizeLenovo::AECustomize
mov r8d, 0x250
mov dword [rsp + 0x60], eax
lea rcx, str._s__d_0x_04X_04X_DspR0_Copy_RSA1_R0_L_To_RSA1_R0_R
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140075db0
mov r8, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x1400574c0
mov r8d, 0x578
lea rdx, str.CCustomizeAcer::AECustomize
lea rcx, [0x14011bca8]
call fcn.140075db0
test rdi, rdi
jne 0x14006e804
mov r8d, 0x579
lea rdx, str.CCustomizeAcer::AECustomize
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140075db0
test rbx, rbx
jne 0x14006e811
mov r8d, 0x57a
jmp 0x14006e7e2
test rsi, rsi
jne 0x14006e81e
mov r8d, 0x57b
jmp 0x14006e7e2
mov ecx, dword [0x1401b2668]
test ecx, ecx
je 0x14006e868
mov rax, qword [0x1401ab9a8]
test byte [rax + 0x1c], 1
jne 0x14006e83e
cmp dword [0x1401b266c], 0
je 0x14006e868
mov r9d, dword [rbx + 0xc]
lea rdx, str.CCustomizeAcer::AECustomize
shr r9d, 1
lea rcx, str._s__d_m_HostAppPolicy.AcxSoundWireDevice_d
and r9d, 1
mov r8d, 0x580
call fcn.140075db0
mov ecx, dword [0x1401b2668]
test byte [rbx + 0xc], 2
je 0x14006e8db
mov dword [rdi + 0x1a0], 0x7e66
mov eax, dword [rbx + 0xc]
shr eax, 0x12
xor eax, dword [rdi + 0x64]
and eax, 0x10
xor dword [rdi + 0x64], eax
mov eax, dword [rbx + 0xc]
shr eax, 0x15
xor eax, dword [rdi + 0x130]
and eax, 2
xor dword [rdi + 0x130], eax
test ecx, ecx
je 0x14006e8db
mov rax, qword [0x1401ab9a8]
test byte [rax + 0x1c], 1
jne 0x14006e8b6
cmp dword [0x1401b266c], 0
je 0x14006e8db
mov r9d, dword [rbx + 0xc]
lea rdx, str.CCustomizeAcer::AECustomize
shr r9d, 0x16
lea rcx, str._s__d_m_HostAppPolicy.GlobalInputMuteLED_UseAudioModuleGPIO2_d
and r9d, 1
mov r8d, 0x58b
call fcn.140075db0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret