Function at 0x14016ac10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp - 8], rax
movzx r12d, r8b
mov rbx, rdx
mov r14, rcx
lea rax, str.CGenericJackEndpoint::UpdateOutputMode
mov qword [rsp + 0x28], rax
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 3]
lea r8, [0x1404675c0]
mov edx, 0xba
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedgenericjackendpoint.cpp
call fcn.140039f30
xor dil, dil
test rbx, rbx
je 0x14016af77
cmp byte [rbx + 0x140], r15b
je 0x14016af77
mov rax, qword [r14]
mov rdx, rbx
mov rcx, r14
mov rax, qword [rax + 0x20]
call qword [case.0x14004487d.0]
test al, al
je 0x14016af77
mov esi, r15d
lea rdx, [rbx + 0x50]
lea rcx, [rbp - 0x38]
cmp dword [rbx + 0x48], 1
jne 0x14016acf1
mov esi, 7
cmp byte [rbx + 0x142], r15b
cmovne esi, r15d
call fcn.14003ead0
movzx r8d, r12b
mov dword [rsp + 0x20], esi
mov r9d, esi
lea rdx, [rbp - 0x38]
mov rcx, r14
call fcn.14016b7b0
jmp 0x14016ad70
call fcn.14003ead0
lea rax, [rbp - 0x14]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x38]
mov rcx, r14
call fcn.14016b3d0
test al, al
je 0x14016ad70
cmp byte [rbx + 0x142], sil
jne 0x14016ad42
test r12b, r12b
je 0x14016ad42
mov r15d, dword [rbp - 0x14]
mov edi, dword [rbp - 0x18]
test edi, edi
jne 0x14016ad3e
mov edi, r15d
test r15d, r15d
mov eax, 2
cmove edi, eax
mov esi, edi
jmp 0x14016ad48
mov r15d, dword [rbp - 0x18]
xor edi, edi
lea rdx, [rbx + 0x50]
lea rcx, [rbp - 0x38]
call fcn.14003ead0
movzx r8d, r12b
mov dword [rsp + 0x20], r15d
mov r9d, edi
lea rdx, [rbp - 0x38]
mov rcx, r14
call fcn.14016b7b0
xor r15d, r15d
lea rdx, [rbx + 0x28]
lea rcx, [rbp - 0x38]
call fcn.14003ead0
nop
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rax, qword [rbp - 0x38]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], esi
lea rax, str.CGenericJackEndpoint::UpdateOutputMode_NewOutputMode___d_EndpointID___s
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 3
lea r8, [0x1404675c0]
mov edx, 0xeb
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedgenericjackendpoint.cpp
call fcn.140039f30
nop
lea rcx, [rbp - 0x38]
call fcn.14003b0f0
xor edx, edx
mov rcx, rbx
call fcn.14007c630
mov rdx, rax
movzx r9d, byte [r14 + 0x320]
mov r8d, esi
mov rcx, r14
call fcn.14016afe0
mov edx, 1
mov rcx, rbx
call fcn.14007c630
mov rdx, rax
movzx r9d, byte [r14 + 0x321]
mov r8d, esi
mov rcx, r14
call fcn.14016afe0
mov edx, 2
mov rcx, rbx
call fcn.14007c630
mov rdx, rax
xor r9d, r9d
mov r8d, esi
mov rcx, r14
call fcn.14016afe0
mov edx, 4
mov rcx, rbx
call fcn.14007c630
mov rdx, rax
xor r9d, r9d
mov r8d, esi
mov rcx, r14
call fcn.14016afe0
mov rdi, qword [r14 + 0x2c0]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14016af68
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rbp - 0x38], xmm0
movq rsi, xmm0
test rsi, rsi
je 0x14016af09
xor r8d, r8d
cmp byte [rbp - 0x30], r8b
je 0x14016aefc
mov dword [rbp - 0x18], r15d
mov qword [rbp - 0x38], r15
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, [0x140320430]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14016aeea
mov dword [rbp - 0x14], 4
lea rax, [rbp - 0x14]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x10]
xor r8d, r8d
lea rdx, str.FWBypass
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp dword [rbp - 0x18], 0
jne 0x14016af09
xor edx, edx
mov rcx, rsi
call fcn.1400944c0
jmp 0x14016af09
mov edx, 1
mov rcx, rsi
call fcn.140094600
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14016af38
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14016af33
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x14016af33
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14016af20
mov rbx, rax
jmp 0x14016af5f
mov rbx, rax
mov rdx, qword [rax]
cmp byte [rdx + 0x19], 0
jne 0x14016af5f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rdx
mov rax, qword [rdx]
mov rdx, rax
cmp byte [rax + 0x19], 0
je 0x14016af50
cmp rbx, rdi
jne 0x14016ae60
lea rcx, [r14 + 0x2c0]
call fcn.1400a9420
mov dil, 1
movzx edx, dil
mov dword [rsp + 0x30], edx
lea rax, str.CGenericJackEndpoint::UpdateOutputMode_return:__d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 3
lea r8, [0x1404675c0]
mov edx, 0x109
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedgenericjackendpoint.cpp
call fcn.140039f30
movzx eax, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140202880
mov rbx, qword [rsp + 0xd8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret