Function at 0x14005e6e0
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, 0x15b7
lea rcx, [0x140119e10]
mov r14, r9
call fcn.140065460
test rbx, rbx
jne 0x140044490
mov r8d, 0x15b8
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.140065460
test rdi, rdi
jne 0x14004449d
mov r8d, 0x15b9
jmp 0x14004446d
test r14, r14
jne 0x1400444aa
mov r8d, 0x15ba
jmp 0x14004446d
mov r8d, dword [0x1401ad8a8]
mov qword [rsp + 0x30], rsi
test r8d, r8d
je 0x1400445e0
cmp dword [0x1401ad8ac], 0
jne 0x1400444d9
mov rax, qword [0x1401a5308]
test byte [rax + 0x1c], 1
je 0x1400445e0
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, 0x15cf
call fcn.140065460
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, 0x15d0
call fcn.140065460
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, 0x15d1
call fcn.140065460
movzx r9d, word [rdi + 0xe]
lea rdx, str.CCustomizeHP::AECustomize
and r9d, 1
lea rcx, str._s__d_m_HostAppPolicy.MuteNewDeviceWhenGlobalInputIsMute_d
mov r8d, 0x15d2
call fcn.140065460
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, 0x15d3
call fcn.140065460
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, 0x15d4
call fcn.140065460
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, 0x15d5
call fcn.140065460
mov r8d, dword [0x1401ad8a8]
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 0x1400446c4
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 0x1400446c4
cmp dword [0x1401ad8ac], esi
jne 0x14004465c
mov rax, qword [0x1401a5308]
test byte [rax + 0x1c], 1
je 0x1400446c4
movzx r9d, dl
lea rcx, str._s__d_pGlobalPolicy__MuteLedBehaviorType_d
lea rdx, str.CCustomizeHP::AECustomize
mov r8d, 0x15e5
call fcn.140065460
mov r9d, dword [rbx + 0x248]
lea rdx, str.CCustomizeHP::AECustomize
and r9d, 1
lea rcx, str._s__d_pGlobalPolicy__MuteLED_AudioOutputDev_d
mov r8d, 0x15e6
call fcn.140065460
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, 0x15e7
call fcn.140065460
test byte [rdi + 0xc], 2
je 0x1400446ef
mov r8d, 0x15f1
lea rdx, str.CCustomizeHP::AECustomize
lea rcx, str._s__d_Hard_coding_HP_ACX_projects_as_cNB
call fcn.140065460
mov dword [0x1401ad88c], 0x9c48
jmp 0x1400446f4
call fcn.14005c1d0
test dword [rbx + 0x98], 0x100
jne 0x140044713
cmp dword [rbx + 0xb0], esi
jl 0x140044713
test dword [rdi + 0xc], 0x8000
mov ecx, esi
je 0x140044718
mov ecx, 0x20000000
mov eax, dword [r14]
btr eax, 0x1d
or eax, ecx
mov dword [r14], eax
test dword [rbx + 0x98], 0x100
jne 0x140044742
test dword [rbx + 0x38], 0x40000
jne 0x140044742
test dword [rdi + 0xc], 0x10000
je 0x140044747
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 0x14005e82e
sub edx, 0x17
je 0x14005e817
cmp edx, 0x76e
jne 0x14005e94b
movzx ecx, word [rsp + 0x68]
mov edx, 0x6000
movzx eax, cx
sub ax, dx
mov edx, 0x7ff
cmp ax, dx
jbe 0x14005e94b
test rdi, rdi
jne 0x14005e76d
mov r8d, reloc.OLEAUT32.dll_LPSAFEARRAY_UserMarshal
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.140065460
test rsi, rsi
jne 0x14005e79a
mov r8d, reloc.OLEAUT32.dll_LPSAFEARRAY_UserUnmarshal
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.140065460
test rbx, rbx
jne 0x14005e7c7
mov r8d, reloc.OLEAUT32.dll_LPSAFEARRAY_UserFree
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.140065460
mov r9d, 0x17aa
cmp r8w, r9w
jne 0x14005e94b
mov eax, 0x2301
cmp cx, ax
jne 0x14005e94b
or dword [rsi], 0x10000000
lea rdx, str.CCustomizeLenovo::AECustomize
mov r8d, 0x12a
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.140065460
mov r8, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x140044430
mov r8d, 0x573
lea rdx, str.CCustomizeAcer::AECustomize
lea rcx, [0x140119e10]
call fcn.140065460
test rdi, rdi
jne 0x14005e874
mov r8d, 0x574
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.140065460
test rbx, rbx
jne 0x14005e881
mov r8d, 0x575
jmp 0x14005e852
test rsi, rsi
jne 0x14005e88e
mov r8d, 0x576
jmp 0x14005e852
mov ecx, dword [0x1401ad8a8]
test ecx, ecx
je 0x14005e8d8
cmp dword [0x1401ad8ac], 0
jne 0x14005e8ae
mov rax, qword [0x1401a5308]
test byte [rax + 0x1c], 1
je 0x14005e8d8
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, 0x57b
call fcn.140065460
mov ecx, dword [0x1401ad8a8]
test byte [rbx + 0xc], 2
je 0x14005e94b
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 0x14005e94b
cmp dword [0x1401ad8ac], 0
jne 0x14005e926
mov rax, qword [0x1401a5308]
test byte [rax + 0x1c], 1
je 0x14005e94b
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, 0x586
call fcn.140065460
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret