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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140053040]
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 0x140006efc
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 0x140006efc
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 0x140006fb8
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.140002430
nop
lea rcx, [0x140053ca0]
call fcn.14000b710
lea rdx, str.__
call fcn.140002150
lea rcx, [0x140053d00]
call fcn.14000b710
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
call fcn.14000fa40
lea rcx, [0x140054530]
call fcn.14000d3c0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400070f9
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400070f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007111
jmp 0x1400070f4
cmp eax, 1
jne 0x140007063
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.140002430
nop
lea rcx, [0x140053cb0]
call fcn.14000b710
lea rdx, str._X_
call fcn.140002150
lea rcx, [0x140053d00]
call fcn.14000b710
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
call fcn.14000fa40
mov rcx, rax
call fcn.14000d3c0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400070f9
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400070f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007117
jmp 0x1400070f4
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.140002430
nop
lea rcx, [0x140053cb0]
call fcn.14000b710
lea rdx, str._X_
call fcn.140002150
lea rcx, [0x140053d00]
call fcn.14000b710
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
call fcn.14000fa40
mov rcx, rax
call fcn.14000d3c0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400070f9
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400070f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000710b
call fcn.140016554
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400164f0
add rsp, 0x70
pop rbp
ret
call fcn.14001d508
int3
call fcn.14001d508
int3
call fcn.14001d508
int3