Function at 0x14005db40
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, 0x15a9
lea rcx, [0x140114db0]
mov r14, r9
call fcn.140064950
test rbx, rbx
jne 0x140043e10
mov r8d, 0x15aa
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.140064950
test rdi, rdi
jne 0x140043e1d
mov r8d, 0x15ab
jmp 0x140043ded
test r14, r14
jne 0x140043e2a
mov r8d, 0x15ac
jmp 0x140043ded
mov r8d, dword [0x1401a48a0]
mov qword [rsp + 0x30], rsi
test r8d, r8d
je 0x140043f60
cmp dword [0x1401a48a4], 0
jne 0x140043e59
mov rax, qword [0x14019c308]
test byte [rax + 0x1c], 1
je 0x140043f60
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, 0x15c1
call fcn.140064950
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, 0x15c2
call fcn.140064950
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, 0x15c3
call fcn.140064950
movzx r9d, word [rdi + 0xe]
lea rdx, str.CCustomizeHP::AECustomize
and r9d, 1
lea rcx, str._s__d_m_HostAppPolicy.MuteNewDeviceWhenGlobalInputIsMute_d
mov r8d, 0x15c4
call fcn.140064950
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, 0x15c5
call fcn.140064950
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, 0x15c6
call fcn.140064950
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, 0x15c7
call fcn.140064950
mov r8d, dword [0x1401a48a0]
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 0x140044044
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 0x140044044
cmp dword [0x1401a48a4], esi
jne 0x140043fdc
mov rax, qword [0x14019c308]
test byte [rax + 0x1c], 1
je 0x140044044
movzx r9d, dl
lea rcx, str._s__d_pGlobalPolicy__MuteLedBehaviorType_d
lea rdx, str.CCustomizeHP::AECustomize
mov r8d, 0x15d7
call fcn.140064950
mov r9d, dword [rbx + 0x248]
lea rdx, str.CCustomizeHP::AECustomize
and r9d, 1
lea rcx, str._s__d_pGlobalPolicy__MuteLED_AudioOutputDev_d
mov r8d, 0x15d8
call fcn.140064950
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, 0x15d9
call fcn.140064950
test byte [rdi + 0xc], 2
je 0x14004406f
mov r8d, 0x15e3
lea rdx, str.CCustomizeHP::AECustomize
lea rcx, str._s__d_Hard_coding_HP_ACX_projects_as_cNB
call fcn.140064950
mov dword [0x1401a4684], 0x9c48
jmp 0x140044074
call fcn.14005b610
test dword [rbx + 0x98], 0x100
jne 0x140044093
cmp dword [rbx + 0xb0], esi
jl 0x140044093
test dword [rdi + 0xc], 0x8000
mov ecx, esi
je 0x140044098
mov ecx, 0x20000000
mov eax, dword [r14]
btr eax, 0x1d
or eax, ecx
mov dword [r14], eax
test dword [rbx + 0x98], 0x100
jne 0x1400440c2
test dword [rbx + 0x38], 0x40000
jne 0x1400440c2
test dword [rdi + 0xc], 0x10000
je 0x1400440c7
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 0x14005dc8e
sub edx, 0x17
je 0x14005dc77
cmp edx, 0x76e
jne 0x14005ddab
movzx ecx, word [rsp + 0x68]
mov edx, 0x6000
movzx eax, cx
sub ax, dx
mov edx, 0x7ff
cmp ax, dx
jbe 0x14005ddab
test rdi, rdi
jne 0x14005dbcd
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.140064950
test rsi, rsi
jne 0x14005dbfa
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.140064950
test rbx, rbx
jne 0x14005dc27
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.140064950
mov r9d, 0x17aa
cmp r8w, r9w
jne 0x14005ddab
mov eax, 0x2301
cmp cx, ax
jne 0x14005ddab
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.140064950
mov r8, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x140043db0
mov r8d, 0x571
lea rdx, str.CCustomizeAcer::AECustomize
lea rcx, [0x140114db0]
call fcn.140064950
test rdi, rdi
jne 0x14005dcd4
mov r8d, 0x572
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.140064950
test rbx, rbx
jne 0x14005dce1
mov r8d, 0x573
jmp 0x14005dcb2
test rsi, rsi
jne 0x14005dcee
mov r8d, 0x574
jmp 0x14005dcb2
mov ecx, dword [0x1401a48a0]
test ecx, ecx
je 0x14005dd38
cmp dword [0x1401a48a4], 0
jne 0x14005dd0e
mov rax, qword [0x14019c308]
test byte [rax + 0x1c], 1
je 0x14005dd38
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, 0x579
call fcn.140064950
mov ecx, dword [0x1401a48a0]
test byte [rbx + 0xc], 2
je 0x14005ddab
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 0x14005ddab
cmp dword [0x1401a48a4], 0
jne 0x14005dd86
mov rax, qword [0x14019c308]
test byte [rax + 0x1c], 1
je 0x14005ddab
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, 0x584
call fcn.140064950
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret