Function at 0x14000423a
Capabilities:
Check if process is running under wine
Query or enumerate registry value

Disassembly:
push rbp
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xaa0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xa60], rcx
mov qword [rbp + 0xa68], rdx
lea rdi, [rbp + 0x400]
mov ebx, 0x11
lea r8, str.Identifier
lea rax, str.HARDWAREDEVICEMAPScsiScsi_Port_0Scsi_Bus_0Target_Id_0Logical_Unit_Id_0
mov rdx, rax
mov rcx, rdi
call method.std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.pair_char_const_____77___char_const_____11___char_const_____77___char_co
lea rsi, [rdi + 0x40]
sub rbx, 1
lea r8, str.SystemBiosVersion
lea rax, str.HARDWAREDescriptionSystem
mov rdx, rax
mov rcx, rsi
call method.std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.pair_char_const_____28___char_const_____18___char_const_____28___char_co
add rsi, 0x40
sub rbx, 1
lea r8, str.VideoBiosVersion
lea rax, str.HARDWAREDescriptionSystem
mov rdx, rax
mov rcx, rsi
call method.std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.pair_char_const_____28___char_const_____17___char_const_____28___char_co
add rsi, 0x40
sub rbx, 1
lea r8, str.SystemBiosDate
lea rax, str.HARDWAREDescriptionSystem
mov rdx, rax
mov rcx, rsi
call method.std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.pair_char_const_____28___char_const_____15___char_const_____28___char_co
add rsi, 0x40
sub rbx, 1
lea r8, str.SystemManufacturer
lea rax, str.SYSTEMControlSet001ControlSystemInformation
mov rdx, rax
mov rcx, rsi
call method.std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.pair_char_const_____47___char_const_____19___char_const_____47___char_co
add rsi, 0x40
sub rbx, 1
lea r8, str.SystemProductName
lea rax, str.SYSTEMControlSet001ControlSystemInformation
mov rdx, rax
mov rcx, rsi
call method.std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.pair_char_const_____47___char_const_____18___char_const_____47___char_co
add rsi, 0x40
sub rbx, 1
lea r8, [0x1400dd6d1]
lea rax, str.HARDWAREACPIDSDTVBOX__
mov rdx, rax
mov rcx, rsi
call method.std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.pair_char_const_____26___char_const_____1___char_const_____26___char_con
add rsi, 0x40
sub rbx, 1
lea r8, [0x1400dd6d1]
lea rax, str.HARDWAREACPIFADTVBOX__
mov rdx, rax
mov rcx, rsi
call method.std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.pair_char_const_____26___char_const_____1___char_const_____26___char_con
add rsi, 0x40
sub rbx, 1
lea r8, [0x1400dd6d1]
lea rax, str.HARDWAREACPIRSDTVBOX__
mov rdx, rax
mov rcx, rsi
call method.std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.pair_char_const_____26___char_const_____1___char_const_____26___char_con
add rsi, 0x40
sub rbx, 1
lea r8, [0x1400dd6d1]
lea rax, str.SOFTWAREOracleVirtualBox_Guest_Additions
mov rdx, rax
mov rcx, rsi
call method.std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.pair_char_const_____43___char_const_____1___char_const_____43___char_con
add rsi, 0x40
sub rbx, 1
lea r8, [0x1400dd6d1]
lea rax, str.SYSTEMControlSet001ServicesVBoxGuest
mov rdx, rax
mov rcx, rsi
call method.std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.pair_char_const_____40___char_const_____1___char_const_____40___char_con
add rsi, 0x40
sub rbx, 1
lea r8, [0x1400dd6d1]
lea rax, str.SYSTEMControlSet001ServicesVBoxMouse
mov rdx, rax
mov rcx, rsi
call method.std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.pair_char_const_____40___char_const_____1___char_const_____40___char_con
add rsi, 0x40
sub rbx, 1
lea r8, [0x1400dd6d1]
lea rax, str.SYSTEMControlSet001ServicesVBoxService
mov rdx, rax
mov rcx, rsi
call method.std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.pair_char_const_____42___char_const_____1___char_const_____42___char_con
add rsi, 0x40
sub rbx, 1
lea r8, [0x1400dd6d1]
lea rax, str.SYSTEMControlSet001ServicesVBoxSF
mov rdx, rax
mov rcx, rsi
call method.std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.pair_char_const_____37___char_const_____1___char_const_____37___char_con
add rsi, 0x40
sub rbx, 1
lea r8, [0x1400dd6d1]
lea rax, str.SYSTEMControlSet001ServicesVBoxVideo
mov rdx, rax
mov rcx, rsi
call method.std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.pair_char_const_____40___char_const_____1___char_const_____40___char_con
add rsi, 0x40
sub rbx, 1
lea r8, [0x1400dd6d1]
lea rax, str.SOFTWAREVMware__Inc.VMware_Tools
mov rdx, rax
mov rcx, rsi
call method.std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.pair_char_const_____35___char_const_____1___char_const_____35___char_con
add rsi, 0x40
sub rbx, 1
lea r8, [0x1400dd6d1]
lea rax, str.SOFTWAREWine
mov rdx, rax
mov rcx, rsi
call method.std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.pair_char_const_____14___char_const_____1___char_const_____14___char_con
lea rax, [rsi + 0x40]
sub rbx, 1
lea r8, [0x1400dd6d1]
lea rdx, str.SOFTWAREMicrosoftVirtual_MachineGuestParameters
mov rcx, rax
call method.std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.pair_char_const_____52___char_const_____1___char_const_____52___char_con
mov ebx, 0x11
lea rax, [rbp + 0x400]
mov r12, rax
mov r13d, 0x12
lea rax, [rbp + 0x88f]
mov qword [rbp + 0xa08], rax
nop
nop
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r13
lea rcx, [rbp + 0x88f]
lea rdx, [rbp - 0x50]
lea rax, [rbp + 0x3e0]
mov r8, rcx
mov rcx, rax
call sym.std::vector_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______std::allocator_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________::vector_std::initializer_list_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________std::allocator_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char________const_
nop
lea rbx, [rbp + 0x400]
add rbx, 0x480
lea rax, [rbp + 0x400]
cmp rbx, rax
je 0x140004527
sub rbx, 0x40
mov rcx, rbx
call dbg.std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~pair()
jmp 0x14000450d
lea rax, [rbp + 0x3e0]
mov qword [rbp + 0xa18], rax
mov rax, qword [rbp + 0xa18]
mov rcx, rax
call sym.std::vector_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______std::allocator_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________::begin__
mov qword [rbp + 0x3d8], rax
mov rax, qword [rbp + 0xa18]
mov rcx, rax
call sym.std::vector_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______std::allocator_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________::end__
mov qword [rbp + 0x3d0], rax
jmp 0x140004857
lea rax, [rbp + 0x3d8]
mov rcx, rax
call sym.__gnu_cxx::__normal_iterator_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______std::vector_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______std::allocator_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___________::operator___const
mov qword [rbp + 0xa10], rax
mov rax, qword [rbp + 0xa10]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const
mov rdx, rax
lea rax, [rbp + 0x3c8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov r8d, 0
mov rcx, 0xffffffff80000002
mov rax, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call rax
test eax, eax
sete al
test al, al
je 0x140004848
mov rax, qword [rbp + 0xa10]
add rax, 0x20
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::empty() const
xor eax, 1
test al, al
je 0x140004763
mov dword [rbp + 0x3c4], 0x400
mov rax, qword [rbp + 0xa10]
add rax, 0x20
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const
mov rcx, rax
mov rax, qword [rbp + 0x3c8]
lea rdx, [rbp + 0x3c4]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov rdx, rcx
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call rax
test eax, eax
sete al
test al, al
je 0x140004835
lea rax, [rbp - 0x40]
lea rdx, str.VBOX
mov rcx, rax
call sym.strstr
test rax, rax
jne 0x140004691
lea rax, [rbp - 0x40]
lea rdx, str.QEMU
mov rcx, rax
call sym.strstr
test rax, rax
jne 0x140004691
lea rax, [rbp - 0x40]
lea rdx, str.VMWARE
mov rcx, rax
call sym.strstr
test rax, rax
je 0x140004835
mov rax, qword [rbp + 0x3c8]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
mov rdx, qword [rbp + 0xa10]
lea rax, [rbp + 0x8c0]
mov r8, rdx
lea rdx, str.detected_via_registry_key:
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rdx, [rbp + 0x8c0]
lea rax, [rbp + 0x890]
mov rcx, rax
call method.std::optional_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____::optional_std::__cxx11::basic_string_char__std::char_traits_char___std.allocator_char_____true__std::__cxx11::basic_string_char__std::char_traits_char__
lea rax, [rbp + 0x90f]
mov qword [rbp + 0xa00], rax
nop
nop
lea rdx, [rbp + 0x90f]
lea rax, [rbp + 0x8e0]
mov r8, rdx
lea rdx, str.Registry_Key_Check
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
lea rcx, [rbp + 0x890]
lea rdx, [rbp + 0x8e0]
mov rax, qword [rbp + 0xa60]
mov r9d, 1
mov r8, rcx
mov rcx, rax
call method.protection::checks::base::CheckResult.CheckResult_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::optional_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char______const__bool_
lea rax, [rbp + 0x8e0]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
nop
lea rax, [rbp + 0x890]
mov rcx, rax
call dbg.std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~optional()
lea rax, [rbp + 0x8c0]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
jmp 0x1400048ff
mov rax, qword [rbp + 0x3c8]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
mov rdx, qword [rbp + 0xa10]
lea rax, [rbp + 0x940]
mov r8, rdx
lea rdx, str.detected_via_registry_key:
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rdx, [rbp + 0x940]
lea rax, [rbp + 0x910]
mov rcx, rax
call method.std::optional_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____::optional_std::__cxx11::basic_string_char__std::char_traits_char___std.allocator_char_____true__std::__cxx11::basic_string_char__std::char_traits_char__
lea rax, [rbp + 0x98f]
mov qword [rbp + 0x9f8], rax
nop
nop
lea rdx, [rbp + 0x98f]
lea rax, [rbp + 0x960]
mov r8, rdx
lea rdx, str.Registry_Key_Check
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
lea rcx, [rbp + 0x910]
lea rdx, [rbp + 0x960]
mov rax, qword [rbp + 0xa60]
mov r9d, 1
mov r8, rcx
mov rcx, rax
call method.protection::checks::base::CheckResult.CheckResult_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::optional_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char______const__bool_
lea rax, [rbp + 0x960]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
nop
lea rax, [rbp + 0x910]
mov rcx, rax
call dbg.std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~optional()
lea rax, [rbp + 0x940]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
jmp 0x1400048ff
mov rax, qword [rbp + 0x3c8]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
lea rax, [rbp + 0x3d8]
mov rcx, rax
call method.__gnu_cxx::__normal_iterator_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______std::vector_std::pair_std::__cxx11::basic_st
lea rdx, [rbp + 0x3d0]
lea rax, [rbp + 0x3d8]
mov rcx, rax
call sym._ZN9__gnu_cxxeqIPSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ESt6vectorIS8_SaIS8_EEEEbRKNS_17__normal_itera
xor eax, 1
test al, al
jne 0x140004566
lea rax, [rbp + 0x990]
mov edx, r14d
mov rcx, rax
call dbg.std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::optional(std::nullopt_t)
lea rax, [rbp + 0x9ef]
mov qword [rbp + 0x9f0], rax
nop
nop
lea rdx, [rbp + 0x9ef]
lea rax, [rbp + 0x9c0]
mov r8, rdx
lea rdx, str.registry_key_checks
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
lea rcx, [rbp + 0x990]
lea rdx, [rbp + 0x9c0]
mov rax, qword [rbp + 0xa60]
mov r9d, 0
mov r8, rcx
mov rcx, rax
call method.protection::checks::base::CheckResult.CheckResult_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::optional_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char______const__bool_
lea rax, [rbp + 0x9c0]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
nop
lea rax, [rbp + 0x990]
mov rcx, rax
call dbg.std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~optional()
lea rax, [rbp + 0x3e0]
mov rcx, rax
call sym.std::vector_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______std::allocator_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________::vector__
jmp 0x140004a38
mov rax, qword [rbp + 0xa60]
add rsp, 0xaa0
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop rbp
ret