Function at 0x14004b570
Capabilities:
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, [0x140102ba8]
mov r14, r9
call fcn.14006dd20
test rbx, rbx
jne 0x14004b5d0
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.14006dd20
test rdi, rdi
jne 0x14004b5dd
mov r8d, 0x15ab
jmp 0x14004b5ad
test r14, r14
jne 0x14004b5ea
mov r8d, 0x15ac
jmp 0x14004b5ad
mov r8d, dword [0x140180270]
mov qword [rsp + 0x30], rsi
test r8d, r8d
je 0x14004b720
cmp dword [0x140180274], 0
jne 0x14004b619
mov rax, qword [0x140179638]
test byte [rax + 0x1c], 1
je 0x14004b720
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.14006dd20
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.14006dd20
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.14006dd20
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.14006dd20
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.14006dd20
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.14006dd20
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.14006dd20
mov r8d, dword [0x140180270]
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 0x14004b804
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 0x14004b804
cmp dword [0x140180274], esi
jne 0x14004b79c
mov rax, qword [0x140179638]
test byte [rax + 0x1c], 1
je 0x14004b804
movzx r9d, dl
lea rcx, str._s__d_pGlobalPolicy__MuteLedBehaviorType_d
lea rdx, str.CCustomizeHP::AECustomize
mov r8d, 0x15d7
call fcn.14006dd20
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.14006dd20
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.14006dd20
test byte [rdi + 0xc], 2
je 0x14004b82f
mov r8d, 0x15e3
lea rdx, str.CCustomizeHP::AECustomize
lea rcx, str._s__d_Hard_coding_HP_ACX_projects_as_cNB
call fcn.14006dd20
mov dword [0x14018025c], 0x9c48
jmp 0x14004b834
call fcn.1400640c0
test dword [rbx + 0x98], 0x100
jne 0x14004b853
cmp dword [rbx + 0xb0], esi
jl 0x14004b853
test dword [rdi + 0xc], 0x8000
mov ecx, esi
je 0x14004b858
mov ecx, 0x20000000
mov eax, dword [r14]
btr eax, 0x1d
or eax, ecx
mov dword [r14], eax
test dword [rbx + 0x98], 0x100
jne 0x14004b882
test dword [rbx + 0x38], 0x40000
jne 0x14004b882
test dword [rdi + 0xc], 0x10000
je 0x14004b887
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 0x140066afe
sub edx, 0x17
je 0x140066ae7
cmp edx, 0x76e
jne 0x140066c1b
movzx ecx, word [rsp + 0x68]
mov edx, 0x6000
movzx eax, cx
sub ax, dx
mov edx, 0x7ff
cmp ax, dx
jbe 0x140066c1b
test rdi, rdi
jne 0x140066a3d
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.14006dd20
test rsi, rsi
jne 0x140066a6a
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.14006dd20
test rbx, rbx
jne 0x140066a97
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.14006dd20
mov r9d, 0x17aa
cmp r8w, r9w
jne 0x140066c1b
mov eax, 0x2301
cmp cx, ax
jne 0x140066c1b
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.14006dd20
mov r8, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x14004b570
mov r8d, 0x571
lea rdx, str.CCustomizeAcer::AECustomize
lea rcx, [0x140102ba8]
call fcn.14006dd20
test rdi, rdi
jne 0x140066b44
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.14006dd20
test rbx, rbx
jne 0x140066b51
mov r8d, 0x573
jmp 0x140066b22
test rsi, rsi
jne 0x140066b5e
mov r8d, 0x574
jmp 0x140066b22
mov ecx, dword [0x140180270]
test ecx, ecx
je 0x140066ba8
cmp dword [0x140180274], 0
jne 0x140066b7e
mov rax, qword [0x140179638]
test byte [rax + 0x1c], 1
je 0x140066ba8
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.14006dd20
mov ecx, dword [0x140180270]
test byte [rbx + 0xc], 2
je 0x140066c1b
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 0x140066c1b
cmp dword [0x140180274], 0
jne 0x140066bf6
mov rax, qword [0x140179638]
test byte [rax + 0x1c], 1
je 0x140066c1b
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.14006dd20
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret