Function at 0x140001790
Capabilities:
Query or enumerate registry value
Reference wmi statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rdx, str.CPU_Information:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002860
mov rcx, rax
lea rdx, [0x140002a40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, str.Name
lea rcx, [rbp + 0x17]
call fcn.140002490
nop
lea rdx, str.SELECT__FROM_Win32_Processor
lea rcx, [rbp - 9]
call fcn.140002490
nop
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.140001240
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x140001855
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001850
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001850
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
movdqa xmm0, xmmword [0x140005bb0]
movdqu xmmword [rbp + 7], xmm0
xor esi, esi
mov word [rbp - 9], si
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x1400018ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400018a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
lea rdx, str.Manufacturer
lea rcx, [rbp + 0x17]
call fcn.140002490
nop
lea rdx, str.SELECT__FROM_Win32_Processor
lea rcx, [rbp - 9]
call fcn.140002490
nop
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.140001240
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x14000191e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001919
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001919
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
movdqa xmm0, xmmword [0x140005bb0]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], si
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x140001972
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000196d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000196d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
lea rdx, str._nGraphics_Card:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002860
mov rcx, rax
lea rdx, [0x140002a40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, str.Name
lea rcx, [rbp + 0x17]
call fcn.140002490
nop
lea rdx, str.SELECT__FROM_Win32_VideoController
lea rcx, [rbp - 9]
call fcn.140002490
nop
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.140001240
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x140001a08
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a03
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
movdqa xmm0, xmmword [0x140005bb0]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], si
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x140001a5c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
lea rdx, str.AdapterCompatibility
lea rcx, [rbp + 0x17]
call fcn.140002490
nop
lea rdx, str.SELECT__FROM_Win32_VideoController
lea rcx, [rbp - 9]
call fcn.140002490
nop
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.140001240
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x140001acf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001aca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001aca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
movdqa xmm0, xmmword [0x140005bb0]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], si
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x140001b23
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
lea rdx, str.DriverVersion
lea rcx, [rbp + 0x17]
call fcn.140002490
nop
lea rdx, str.SELECT__FROM_Win32_VideoController
lea rcx, [rbp - 9]
call fcn.140002490
nop
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.140001240
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x140001b96
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
movdqa xmm0, xmmword [0x140005bb0]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], si
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x140001bea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001be5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001be5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
lea rdx, str._nStorage:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002860
mov rcx, rax
lea rdx, [0x140002a40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, str.Model
lea rcx, [rbp + 0x17]
call fcn.140002490
nop
lea rdx, str.SELECT__FROM_Win32_DiskDrive
lea rcx, [rbp - 9]
call fcn.140002490
nop
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.140001240
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x140001c80
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c7b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
movdqa xmm0, xmmword [0x140005bb0]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], si
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x140001cd4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ccf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ccf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
lea rdx, str.FileSystem
lea rcx, [rbp + 0x17]
call fcn.140002490
nop
lea rdx, str.SELECT__FROM_Win32_Volume
lea rcx, [rbp - 9]
call fcn.140002490
nop
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.140001240
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x140001d47
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
movdqa xmm0, xmmword [0x140005bb0]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], si
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x140001d9b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
lea rdx, str._nWindows_Information:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002860
mov rcx, rax
lea rdx, [0x140002a40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, str.Caption
lea rcx, [rbp + 0x17]
call fcn.140002490
nop
lea rdx, str.SELECT__FROM_Win32_OperatingSystem
lea rcx, [rbp - 9]
call fcn.140002490
nop
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.140001240
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x140001e31
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
movdqa xmm0, xmmword [0x140005bb0]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], si
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x140001e85
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
lea rdx, str.Version
lea rcx, [rbp + 0x17]
call fcn.140002490
nop
lea rdx, str.SELECT__FROM_Win32_OperatingSystem
lea rcx, [rbp - 9]
call fcn.140002490
nop
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.140001240
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x140001ef8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ef3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ef3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
movdqa xmm0, xmmword [0x140005bb0]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], si
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x140001f4c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f47
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
lea rdx, str.RegisteredUser
lea rcx, [rbp + 0x17]
call fcn.140002490
nop
lea rdx, str.SELECT__FROM_Win32_OperatingSystem
lea rcx, [rbp - 9]
call fcn.140002490
nop
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.140001240
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x140001fbf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001fba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001fba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
movdqa xmm0, xmmword [0x140005bb0]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], si
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x140002013
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000200e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000200e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
lea rdx, str.InstallDate
lea rcx, [rbp + 0x17]
call fcn.140002490
nop
lea rdx, str.SELECT__FROM_Win32_OperatingSystem
lea rcx, [rbp - 9]
call fcn.140002490
nop
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.140001240
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x140002086
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002081
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002081
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
movdqa xmm0, xmmword [0x140005bb0]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], si
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x1400020da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400020d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
lea rdx, str.SystemDirectory
lea rcx, [rbp + 0x17]
call fcn.140002490
nop
lea rdx, str.SELECT__FROM_Win32_OperatingSystem
lea rcx, [rbp - 9]
call fcn.140002490
nop
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.140001240
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x14000214d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002148
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002148
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
movdqa xmm0, xmmword [0x140005bb0]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], si
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x1400021a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000219c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000219c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ff0
lea rdx, str._nSystem_Security_Information:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002860
mov rcx, rax
lea rdx, [0x140002a40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov dword [rbp + 0x3f], esi
mov dword [rbp + 0x43], 4
lea rax, [rbp + 0x37]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlDeviceGuard
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000223b
lea rax, [rbp + 0x43]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3f]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.EnableVirtualizationBasedSecurity
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14000223b
cmp dword [rbp + 0x3f], 1
jne 0x14000223b
mov al, 1
jmp 0x14000223d
xor al, al
lea r14, [0x140005b10]
lea rdi, [0x140005b18]
mov rbx, rdi
test al, al
cmovne rbx, r14
lea rdx, str.Virtualization_Enabled:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002860
mov rcx, rax
mov rdx, rbx
call fcn.140002860
mov rcx, rax
lea rdx, [0x140002a40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov dword [rbp + 0x3f], esi
mov dword [rbp + 0x43], 4
lea rax, [rbp + 0x37]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesTPMWMI_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400022f8
lea rax, [rbp + 0x43]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3f]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Status
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400022f8
cmp dword [rbp + 0x3f], ebx
jne 0x1400022f8
mov al, 1
jmp 0x1400022fa
xor al, al
mov rbx, rdi
test al, al
cmovne rbx, r14
lea rdx, str.TPM_Enabled:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002860
mov rcx, rax
mov rdx, rbx
call fcn.140002860
mov rcx, rax
lea rdx, [0x140002a40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov dword [rbp + 0x3f], esi
mov dword [rbp + 0x43], 4
lea rax, [rbp + 0x37]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlSecureBootState
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400023a8
lea rax, [rbp + 0x43]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3f]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.UEFISecureBootEnabled
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400023a8
cmp dword [rbp + 0x3f], 1
jne 0x1400023a8
mov al, 1
jmp 0x1400023aa
xor al, al
test al, al
cmovne rdi, r14
lea rdx, str.Secure_Boot_Enabled:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002860
mov rcx, rax
mov rdx, rdi
call fcn.140002860
mov rcx, rax
lea rdx, [0x140002a40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140002fd0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret