Function at 0x140005ef0
Capabilities:
Query or enumerate registry value
Set console window title

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140051080]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, str.Checking_Secure_Boot
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
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 0x140005f7c
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 0x140005f7c
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 0x14000603a
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov r8d, 0x19
lea rdx, str.__Secure_Boot_is_disabled
call fcn.1400026b0
nop
lea rcx, [0x140051cf0]
call fcn.14000a2d0
lea rdx, str.__
call fcn.1400023d0
lea rcx, [0x140051d50]
call fcn.14000a2d0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
call fcn.14000e090
lea rcx, [0x140052500]
call fcn.14000bfa0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14000617f
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000617a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006197
jmp 0x14000617a
cmp eax, 1
jne 0x1400060e7
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov r8d, 0x41
lea rdx, str.__Secure_Boot_is_enabled__please_disable_Secure_Boot_in_your_BIOS
call fcn.1400026b0
nop
lea rcx, [0x140051d00]
call fcn.14000a2d0
lea rdx, str._X_
call fcn.1400023d0
lea rcx, [0x140051d50]
call fcn.14000a2d0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
call fcn.14000e090
mov rcx, rax
call fcn.14000bfa0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14000617f
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000617a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000619d
jmp 0x14000617a
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov r8d, 0x5f
lea rdx, str.__Unable_to_check_Secure_Boot_Status__manually_check_and_disable_Secure_Boot_in_BIOS__Error_12_
call fcn.1400026b0
nop
lea rcx, [0x140051d00]
call fcn.14000a2d0
lea rdx, str._X_
call fcn.1400023d0
lea rcx, [0x140051d50]
call fcn.14000a2d0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
call fcn.14000e090
mov rcx, rax
call fcn.14000bfa0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14000617f
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000617a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006191
call fcn.140014944
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400148e0
add rsp, 0x70
pop rbp
ret
call fcn.14001aa40
int3
call fcn.14001aa40
int3
call fcn.14001aa40
int3