Function at 0x140034e58
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x7e8]
sub rsp, 0x8c0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140126108]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov rbx, r8
mov qword [rsp + 0x70], rbx
mov rdi, rdx
mov qword [rsp + 0x78], rdx
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x60], r15
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x3b0]
call fcn.140089ff0
mov r14b, r15b
mov byte [rsp + 0x40], r15b
test rdi, rdi
je 0x140034f9d
test rbx, rbx
je 0x140034f9d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9d, [r15 + 9]
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetEnumDisplay
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
je 0x140034fca
call fcn.140062924
lea r9d, [r15 + 1]
mov r8, qword [rax]
lea edx, [r15 + 2]
lea rcx, [rbp - 0x78]
call fcn.14000c39c
nop
lea rbx, [rax + 0x10]
lea rdx, str.Open_key:
mov rcx, rbx
call fcn.140015a04
lea rdx, str.SYSTEMCurrentControlSetEnumDisplay
mov rcx, rbx
call fcn.140015a04
lea rdx, str._failed_ec
mov rcx, rbx
call fcn.140015a04
mov edx, esi
mov rcx, rbx
call fcn.140013980
nop
lea rcx, [rbp + 0x30]
call fcn.14000c32c
lea rax, [rbp + 0x30]
mov qword [rsp + 0x78], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x30], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x30]
call fcn.140069b78
xor al, al
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.14006b800
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov dword [rsp + 0x44], 0x200
mov edi, 1
lea r12, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
cmp r15d, 0x400
jae 0x1400352e9
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
lea r8, [rbp + 0x3b0]
mov edx, r15d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400352e9
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 9
xor r8d, r8d
lea rdx, [rbp + 0x3b0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
je 0x1400350c6
call fcn.140062924
mov r9d, edi
mov r8, qword [rax]
mov edx, 2
lea rcx, [rbp - 0x78]
call fcn.14000c39c
nop
lea rbx, [rax + 0x10]
lea rdx, str.updtDispDevEnumClass::GetEDIDData
mov rcx, rbx
call fcn.140015a04
lea rdx, str._RegEnumKeyEx_failed_with_code
mov rcx, rbx
call fcn.140015a04
mov edx, esi
mov rcx, rbx
call fcn.140013980
nop
lea rcx, [rbp + 0x30]
call fcn.14000c32c
lea rax, [rbp + 0x30]
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x30], r12
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x30]
call fcn.140069b78
jmp 0x1400352d8
xor esi, esi
test r14b, r14b
jne 0x1400352cd
cmp esi, 0x400
jae 0x1400352c6
mov dword [rsp + 0x44], 0x200
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
lea r8, [rbp + 0x3b0]
mov edx, esi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov r12d, eax
test eax, eax
jne 0x140035388
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x3b0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400352b0
mov dword [rsp + 0x44], 0x400
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3b0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Driver
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r12d, eax
test eax, eax
jne 0x1400352fd
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400352b0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.Device_Parameters
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400352ad
mov dword [rsp + 0x44], 0x100
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.EDID
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140035213
mov byte [rsp + 0x40], dil
jmp 0x1400352a2
call fcn.140062924
mov r9d, edi
mov r8, qword [rax]
mov edx, 2
lea rcx, [rbp + 0x90]
call fcn.14000c39c
nop
lea rbx, [rax + 0x10]
lea rdx, str.updtDispDevEnumClass::GetEDIDData
mov rcx, rbx
call fcn.140015a04
lea rdx, str._RegQueryValueEx_on_EDID_failed_with_code
mov rcx, rbx
call fcn.140015a04
xor edx, edx
mov rcx, rbx
call fcn.140013980
nop
lea rcx, [rbp + 0x138]
call fcn.14000c32c
lea rax, [rbp + 0x138]
mov qword [rsp + 0x68], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x138], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x138], rax
lea rcx, [rbp + 0x138]
call fcn.140069b78
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14b, dil
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, edi
test r14b, r14b
je 0x1400350d1
lea r12, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add r15d, edi
test r14b, r14b
mov rbx, qword [rsp + 0x70]
je 0x140034fde
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [rsp + 0x40]
jmp 0x140034f9f
call fcn.140062924
mov r9d, edi
mov r8, qword [rax]
mov edx, 2
lea rcx, [rbp + 0x198]
call fcn.14000c39c
nop
lea rbx, [rax + 0x10]
lea rdx, str.updtDispDevEnumClass::GetEDIDData
mov rcx, rbx
call fcn.140015a04
lea rdx, str._RegQueryValueEx_failed_with_code
mov rcx, rbx
call fcn.140015a04
mov edx, r12d
mov rcx, rbx
call fcn.140013980
nop
lea rcx, [rbp + 0x240]
call fcn.14000c32c
lea rax, [rbp + 0x240]
mov qword [rsp + 0x68], rax
lea r12, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x240], r12
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x240], rax
lea rcx, [rbp + 0x240]
jmp 0x140035434
cmp r12d, 0x103
je 0x1400352c6
call fcn.140062924
mov r9d, edi
mov r8, qword [rax]
mov edx, 2
lea rcx, [rbp + 0x2a0]
call fcn.14000c39c
nop
lea rbx, [rax + 0x10]
lea rdx, str.updtDispDevEnumClass::GetEDIDData
mov rcx, rbx
call fcn.140015a04
lea rdx, str._RegEnumKeyEx_failed__subIndex
mov rcx, rbx
call fcn.140015a04
mov edx, esi
mov rcx, rbx
call fcn.140013980
lea rdx, str.__code
mov rcx, rbx
call fcn.140015a04
mov edx, r12d
mov rcx, rbx
call fcn.140013980
nop
lea rcx, [rbp + 0x348]
call fcn.14000c32c
lea rax, [rbp + 0x348]
mov qword [rsp + 0x68], rax
lea r12, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x348], r12
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x348], rax
lea rcx, [rbp + 0x348]
call fcn.140069b78
jmp 0x1400352cd