Function at 0x140006c20
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140053018]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlSecureBootState
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140006c9f
mov dword [rbp - 0x14], 4
lea rax, [rbp - 0x14]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.UEFISecureBootEnabled
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x140006c9f
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp - 0x18]
xorps xmm0, xmm0
lea rcx, [rbp - 0x40]
movups xmmword [rbp - 0x40], xmm0
test eax, eax
jne 0x140006d5b
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
lea r8d, [rax + 0x19]
lea rdx, str.__Secure_Boot_is_disabled
call fcn.1400023d0
nop
lea rcx, [0x140053c40]
call fcn.14000c0d0
lea rdx, str.__
call fcn.1400020f0
lea rcx, [0x140053c90]
call fcn.14000c0d0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
call fcn.1400101d0
lea rcx, [0x1400544d0]
call fcn.14000db50
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140006e9c
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006e97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006eb4
jmp 0x140006e97
cmp eax, 1
jne 0x140006e06
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
lea r8d, [rax + 0x41]
lea rdx, str.__Secure_Boot_is_enabled__please_disable_Secure_Boot_in_your_BIOS
call fcn.1400023d0
nop
lea rcx, [0x140053ca0]
call fcn.14000c0d0
lea rdx, str._X_
call fcn.1400020f0
lea rcx, [0x140053c90]
call fcn.14000c0d0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
call fcn.1400101d0
mov rcx, rax
call fcn.14000db50
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140006e9c
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006e97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006eba
jmp 0x140006e97
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
lea r8d, [rax + 0x5f]
lea rdx, str.__Unable_to_check_Secure_Boot_Status__manually_check_and_disable_Secure_Boot_in_BIOS__Error_12_
call fcn.1400023d0
nop
lea rcx, [0x140053ca0]
call fcn.14000c0d0
lea rdx, str._X_
call fcn.1400020f0
lea rcx, [0x140053c90]
call fcn.14000c0d0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
call fcn.1400101d0
mov rcx, rax
call fcn.14000db50
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140006e9c
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006e97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006eae
call fcn.140016d84
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140016d20
add rsp, 0x70
pop rbp
ret
call fcn.14001d9d8
int3
call fcn.14001d9d8
int3
call fcn.14001d9d8
int3