Function at 0x140034688
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x2a0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x140126108]
xor rax, rsp
mov qword [rbp + 0x190], rax
call fcn.140062924
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.Detecting_DCH_status_using_registry
mov ebx, 3
mov edx, ebx
mov rax, qword [rax + 0x38]
call qword [case.0x14006c106.0]
mov dword [rbp + 0x70], 0x11c
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x80]
call fcn.140089ff0
xor r15d, r15d
mov word [rbp + 0x184], r15w
xor eax, eax
mov dword [rbp + 0x186], eax
mov word [rbp + 0x18a], ax
mov qword [rbp + 0x74], 0xa
mov dword [rbp + 0x7c], 0x42ca
mov r8b, bl
lea edi, [rbx - 1]
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov rcx, rax
mov r8b, bl
lea r12d, [rbx - 2]
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov rcx, rax
mov r8b, bl
lea edx, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8, rax
lea edx, [rbx + 4]
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x14003479a
call fcn.140062924
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.Windows_version_is_less_than_Windows_10_RS4__not_DCH_system
mov edx, ebx
mov rax, qword [rax + 0x38]
call qword [case.0x14006c106.0]
xor eax, eax
jmp 0x14003492c
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServices_nvlddmkm
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r14d, eax
mov rcx, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rcx
mov rsi, qword [rsp + 0x38]
mov qword [rsp + 0x58], rsi
test eax, eax
je 0x14003484d
call fcn.140062924
mov r9d, r12d
mov r8, qword [rax]
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.14000c39c
nop
lea rbx, [rax + 0x10]
lea rdx, str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_nvlddmkm_not_found__returning_clean_system_status__rc
mov rcx, rbx
call fcn.140015a04
mov edx, r14d
mov rcx, rbx
call fcn.140013b88
nop
lea rcx, [rbp + 8]
call fcn.14000c32c
lea rax, [rbp + 8]
mov qword [rsp + 0x40], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 8], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.140069b78
jmp 0x14003491c
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DCHUVen
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
call fcn.140062924
mov r9d, r12d
mov r8, qword [rax]
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.14000c39c
nop
lea rbx, [rax + 0x10]
lea rdx, str.DCHUVen_is
mov rcx, rbx
call fcn.140015a04
mov edx, dword [rsp + 0x30]
mov rcx, rbx
call fcn.140013980
lea rdx, str.__registry_read_result_code_is
mov rcx, rbx
call fcn.1400625ec
mov edx, edi
invalid
invalid