Function at 0x140043b7c
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 [0x140126108]
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 0x140043c15
call fcn.140062444
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 [str._K_f_]
xor al, al
jmp 0x14004409e
mov ecx, 0x400
call fcn.14006bd30
mov rdi, rax
test rax, rax
jne 0x140043c35
call fcn.140062444
lea r8, str.Allocate_memory_failed_in_GetRegInfo
jmp 0x140043bf9
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1b0], xmm0
movdqa xmm1, xmmword [0x1400fea00]
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 0x140043fdf
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.14009d6f8
test eax, eax
jne 0x140043fae
lea rdx, str.DEV_
mov rcx, rdi
call fcn.14008a560
mov rbx, rax
test rax, rax
je 0x140043fae
lea rcx, str.DEV_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rbx, [rbx + rcx*2]
lea rdx, [0x1400face4]
mov rcx, rbx
call fcn.14008a560
test rax, rax
je 0x140043fae
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.140089700
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 0x140043fae
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 0x140043dfd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140043fae
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 0x140043fae
mov r15d, r13d
mov dword [rsp + 0x40], esi
xor edx, edx
jmp 0x140043e87
lea rdx, str.Control
mov rcx, rdi
call fcn.14009d6c0
test eax, eax
jne 0x140043e79
mov rax, qword [r14 + 8]
cmp qword [r14 + 0x10], rax
je 0x140043e67
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 0x140043e79
lea r8, [rbp + 0x1a0]
mov rdx, rax
mov rcx, r14
call fcn.1400257d4
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 0x140043e2c
cmp eax, 0x103
je 0x140043f8c
call fcn.140062444
mov r9d, 1
mov r8, qword [rax]
lea edx, [r9 + 1]
lea rcx, [rsp + 0x70]
call fcn.14000c39c
nop
lea rbx, [rax + 0x10]
lea rdx, str.Enum_h3rdKeyStr_0x
mov rcx, rbx
call fcn.140015a04
test rbx, rbx
jne 0x140043efd
mov rcx, r13
jmp 0x140043f07
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
call fcn.140003b3c
mov edx, esi
mov rcx, rbx
call fcn.140013980
lea rdx, [0x1400face8]
mov rcx, rbx
call fcn.140015a04
test rbx, rbx
jne 0x140043f2f
mov rcx, r13
jmp 0x140043f39
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
call fcn.140003b3c
mov edx, r15d
mov rcx, rbx
call fcn.140013980
lea rdx, str._failed
mov rcx, rbx
call fcn.140015a04
nop
lea rcx, [rbp + 0x18]
call fcn.14000c32c
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.140069698
jmp 0x140043f93
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 0x140043c99
call fcn.140062444
mov r9d, 1
mov r8, qword [rax]
lea edx, [r9 + 1]
lea rcx, [rbp + 0x78]
call fcn.14000c39c
nop
lea rbx, [rax + 0x10]
lea rdx, str.GetRegInfo_RegEnumKeyEx_Failed
mov rcx, rbx
call fcn.140015a04
mov edx, r12d
mov rcx, rbx
call fcn.140013980
nop
lea rcx, [rbp + 0x120]
call fcn.14000c32c
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.140069698
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.14006b200
call fcn.140062444
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.Exit_GetRegInfo
mov edx, 3
mov rax, qword [rax + 0x38]
call qword [str._K_f_]
nop
lea rcx, [rbp + 0x1a0]
call fcn.140001a14
mov al, 1
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14006b320
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