Function at 0x14000b570
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x298]
sub rsp, 0x370
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400273a8]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov r13, rdx
mov qword [rbp - 0x60], rdx
cmp qword [rdx + 0x18], 8
jb 0x14000b5c0
mov rdx, qword [rdx]
lea rcx, str.Entering_HyperVMonitor::IsTeamInstance___GUID_s
call fcn.140001140
xor r15b, r15b
xor esi, esi
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x70], esi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x50]
call sub.MSVCR100.dll_memset
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesiANSProtocolParametersAdapters_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b90a
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14000b8ff
mov r14d, esi
cmp dword [rsp + 0x60], esi
jbe 0x14000b8ff
nop word [rax + rax]
mov dword [rsp + 0x64], 0x104
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x50]
call sub.MSVCR100.dll_memset
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x64]
lea r8, [rbp + 0x50]
mov edx, r14d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000b8f1
lea rcx, [rbp]
call sym.IPROSetMonitor.exe_public:_void___cdecl_CNcsRegKey::constructor_void____ptr64
nop
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x58], si
mov r8d, 0x43
lea rdx, str.SYSTEMCurrentControlSetServicesiANSProtocolParametersAdapters_
lea rcx, [rbp - 0x58]
call sym.IPROSetMonitor.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const____ptr64__unsigned_long_long_unsigned___int64_____ptr64
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x58]
call sym.IPROSetMonitor.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const____ptr64__unsigned_long_long_unsigned___int64_____ptr64
xor r9d, r9d
lea r8, [rbp - 0x58]
mov rdx, 0xffffffff80000002
lea rcx, [rbp]
call sym.IPROSetMonitor.exe_public:_bool___cdecl_CNcsRegKey::Open_struct_HKEY______ptr64__class_CNcsString_const____ptr64__bool____ptr64
test al, al
je 0x14000b8c3
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
lea rdx, str.MiniportBindingList
lea rcx, [rbp - 0x30]
call sym.IPROSetMonitor.exe_public:_void___cdecl_CNcsString::constructor_wchar_t_const____ptr64____ptr64
nop
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x30]
lea rcx, [rbp]
call sym.IPROSetMonitor.exe_public:_bool___cdecl_CNcsRegKey::GetValue_class_CNcsString_const____ptr64__class_std::vector_class_CNcsString__class_std::allocator_class_CNcsString______ptr64____ptr64
movzx edi, al
cmp qword [rbp - 0x18], 8
jb 0x14000b77f
mov rcx, qword [rbp - 0x30]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
test dil, dil
je 0x14000b883
mov r12, rsi
mov rcx, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x78]
sub rcx, rbx
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14000b883
nop dword [rax + rax]
lea rdi, [rsi + rbx]
cmp qword [rdi + 0x18], 8
jb 0x14000b7ce
mov rdi, qword [rdi]
mov rcx, r13
call sym.IPROSetMonitor.exe_public:_wchar_t_const____ptr64___cdecl_CNcsString::operator_wchar_t_const____ptr64_void_const___ptr64
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
mov rbx, qword [rsp + 0x78]
test eax, eax
je 0x14000b852
mov rcx, r13
call sym.IPROSetMonitor.exe_public:_wchar_t_const____ptr64___cdecl_CNcsString::operator_wchar_t_const____ptr64_void_const___ptr64
mov rdx, rax
lea r10, [rsi + rbx]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r9, [rcx - 1]
xor r8d, r8d
mov rcx, r10
call sym.IPROSetMonitor.exe_public:_unsigned_long_long_unsigned___int64____cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__const___ptr64
cmp rax, 0xffffffffffffffff
jne 0x14000b852
inc r12
add rsi, 0x28
mov rcx, qword [rbp - 0x80]
sub rcx, rbx
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r12, rdx
jb 0x14000b7c0
jmp 0x14000b881
lea rax, [r12 + r12*4]
lea rdi, [rbx + rax*8]
cmp qword [rdi + 0x18], 8
jb 0x14000b864
mov rdi, qword [rdi]
mov rcx, r13
call sym.IPROSetMonitor.exe_public:_wchar_t_const____ptr64___cdecl_CNcsString::operator_wchar_t_const____ptr64_void_const___ptr64
mov r8, rax
mov rdx, rdi
lea rcx, str.Found_team_instance___miniportbinding_s__GUID_s
call fcn.140001140
mov r15b, 1
xor esi, esi
lea rcx, [rbp]
call sym.IPROSetMonitor.exe_public:_void___cdecl_CNcsRegKey::Close_void____ptr64
nop
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x14000b8c3
mov rbx, qword [rbp - 0x80]
cmp rdi, rbx
je 0x14000b8ba
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.1400087f0
add rdi, 0x28
cmp rdi, rbx
jne 0x14000b8a0
mov rdi, qword [rsp + 0x78]
mov rcx, rdi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
cmp qword [rbp - 0x40], 8
jb 0x14000b8d3
mov rcx, qword [rbp - 0x58]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x58], si
lea rcx, [rbp]
call sym.IPROSetMonitor.exe_public_virtual:_void___cdecl_CNcsRegKey::destructor_void____ptr64
test r15b, r15b
jne 0x14000b8ff
inc r14d
cmp r14d, dword [rsp + 0x60]
jb 0x14000b680
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx edx, r15b
lea rcx, str.Exiting_HyperVMonitor::IsTeamInstance___d
call fcn.140001140
nop
cmp qword [r13 + 0x18], 8
jb 0x14000b92b
mov rcx, qword [r13]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [r13 + 0x18], 7
mov qword [r13 + 0x10], rsi
mov word [r13], si
movzx eax, r15b
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.140013da0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret