Function at 0x1400434f8
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2d0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140121108]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14, rcx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 9
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetEnumPCI
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r13d, r13d
test eax, eax
je 0x140043591
call fcn.14005f3e4
lea r8, str.Get_nVidia_Registry_failed
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0x38]
call qword [case.0x14004f9b0.0]
xor al, al
jmp 0x140043a1a
mov ecx, 0x400
call fcn.140068df0
mov rdi, rax
test rax, rax
jne 0x1400435b1
call fcn.14005f3e4
lea r8, str.Allocate_memory_failed_in_GetRegInfo
jmp 0x140043575
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1b0], xmm0
movdqa xmm1, xmmword [0x1400fa420]
movdqu xmmword [rbp + 0x1b0], xmm1
mov word [rbp + 0x1a0], r13w
mov r12d, r13d
mov esi, 0x200
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x40]
mov r8, rdi
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea r15, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
jmp 0x14004395b
lea rcx, str.VEN_10DE
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r8, eax
lea rdx, str.VEN_10DE
mov rcx, rdi
call fcn.14009a978
test eax, eax
jne 0x14004392a
lea rdx, str.DEV_
mov rcx, rdi
call fcn.140087510
mov rbx, rax
test rax, rax
je 0x14004392a
lea rcx, str.DEV_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rbx, [rbx + rcx*2]
lea rdx, [0x1400f6ed4]
mov rcx, rbx
call fcn.140087510
test rax, rax
je 0x14004392a
mov qword [rbp + 0x190], r13
mov qword [rbp + 0x198], r13
mov qword [rbp + 0x190], r13
mov qword [rbp + 0x198], 7
mov word [rbp + 0x180], r13w
sub rax, rbx
sar rax, 1
movsxd r8, eax
mov rdx, rbx
lea rcx, [rbp + 0x180]
call fcn.140001a78
nop
lea rcx, [rbp + 0x1a0]
call fcn.140001a14
mov r8d, 0x20
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x1a0]
call fcn.1400866c0
mov qword [rbp + 0x190], r13
mov qword [rbp + 0x198], 7
mov word [rbp + 0x180], r13w
lea rcx, [rbp + 0x180]
call fcn.140001a14
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 9
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004392a
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x40]
mov r8, rdi
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x140043779
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14004392a
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 9
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004392a
mov r15d, r13d
mov dword [rsp + 0x40], esi
xor edx, edx
jmp 0x140043803
lea rdx, str.Control
mov rcx, rdi
call fcn.14009a940
test eax, eax
jne 0x1400437f5
mov rax, qword [r14 + 8]
cmp qword [r14 + 0x10], rax
je 0x1400437e3
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
lea rdx, [rbp + 0x1a0]
mov rcx, rax
call fcn.140001ae4
add qword [r14 + 8], 0x20
jmp 0x1400437f5
lea r8, [rbp + 0x1a0]
mov rdx, rax
mov rcx, r14
call fcn.140026040
inc r15d
mov dword [rsp + 0x40], 0x200
mov edx, r15d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x40]
mov r8, rdi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
mov esi, eax
je 0x1400437a8
cmp eax, 0x103
je 0x140043908
call fcn.14005f3e4
mov r9d, 1
mov r8, qword [rax]
lea edx, [r9 + 1]
lea rcx, [rsp + 0x70]
call fcn.14000c28c
nop
lea rbx, [rax + 0x10]
lea rdx, str.Enum_h3rdKeyStr_0x
mov rcx, rbx
call fcn.140015984
test rbx, rbx
jne 0x140043879
mov rcx, r13
jmp 0x140043883
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
call fcn.140003b3c
mov edx, esi
mov rcx, rbx
call fcn.1400138fc
lea rdx, [0x1400f6ed8]
mov rcx, rbx
call fcn.140015984
test rbx, rbx
jne 0x1400438ab
mov rcx, r13
jmp 0x1400438b5
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
call fcn.140003b3c
mov edx, r15d
mov rcx, rbx
call fcn.1400138fc
lea rdx, str._failed
mov rcx, rbx
call fcn.140015984
nop
lea rcx, [rbp + 0x18]
call fcn.14000c21c
lea rax, [rbp + 0x18]
mov qword [rsp + 0x60], rax
lea r15, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x18], r15
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x18], rax
lea rcx, [rbp + 0x18]
call fcn.140066758
jmp 0x14004390f
lea r15, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 0x200
inc r12d
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x40]
mov r8, rdi
mov edx, r12d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140043615
call fcn.14005f3e4
mov r9d, 1
mov r8, qword [rax]
lea edx, [r9 + 1]
lea rcx, [rbp + 0x78]
call fcn.14000c28c
nop
lea rbx, [rax + 0x10]
lea rdx, str.GetRegInfo_RegEnumKeyEx_Failed
mov rcx, rbx
call fcn.140015984
mov edx, r12d
mov rcx, rbx
call fcn.1400138fc
nop
lea rcx, [rbp + 0x120]
call fcn.14000c21c
lea rax, [rbp + 0x120]
mov qword [rsp + 0x60], rax
mov qword [rbp + 0x120], r15
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x120], rax
lea rcx, [rbp + 0x120]
call fcn.140066758
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.1400682c0
call fcn.14005f3e4
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.Exit_GetRegInfo
mov edx, 3
mov rax, qword [rax + 0x38]
call qword [case.0x14004f9b0.0]
nop
lea rcx, [rbp + 0x1a0]
call fcn.140001a14
mov al, 1
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400683e0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret