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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140055040]
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 0x1400072cc
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 0x1400072cc
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 0x140007388
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.140002420
nop
lea rcx, [0x140055ca0]
call fcn.14000bb90
lea rdx, str.__
call fcn.140002140
lea rcx, [0x140055d00]
call fcn.14000bb90
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
call fcn.14000fec0
lea rcx, [0x140056530]
call fcn.14000d840
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400074c9
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400074c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400074e1
jmp 0x1400074c4
cmp eax, 1
jne 0x140007433
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.140002420
nop
lea rcx, [0x140055cb0]
call fcn.14000bb90
lea rdx, str._X_
call fcn.140002140
lea rcx, [0x140055d00]
call fcn.14000bb90
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
call fcn.14000fec0
mov rcx, rax
call fcn.14000d840
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400074c9
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400074c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400074e7
jmp 0x1400074c4
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.140002420
nop
lea rcx, [0x140055cb0]
call fcn.14000bb90
lea rdx, str._X_
call fcn.140002140
lea rcx, [0x140055d00]
call fcn.14000bb90
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
call fcn.14000fec0
mov rcx, rax
call fcn.14000d840
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400074c9
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400074c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400074db
call fcn.1400169d4
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140016970
add rsp, 0x70
pop rbp
ret
call fcn.14001d988
int3
call fcn.14001d988
int3
call fcn.14001d988
int3