Function at 0x14005e33c
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401620b0]
xor rax, rsp
mov qword [rbp + 0x1b8], 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 0x14005e3d5
call fcn.14008d174
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.0x14007ca24.0]
xor al, al
jmp 0x14005e82d
mov ecx, 0x400
call fcn.140097754
mov rdi, rax
test rax, rax
jne 0x14005e3f5
call fcn.14008d174
lea r8, str.Allocate_memory_failed_in_GetRegInfo
jmp 0x14005e3b9
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1a8], xmm0
movdqa xmm1, xmmword [0x14012d4d0]
movdqu xmmword [rbp + 0x1a8], xmm1
mov word [rbp + 0x198], 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 0x14005e785
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.1400c824c
test eax, eax
jne 0x14005e754
lea rdx, str.DEV_
mov rcx, rdi
call fcn.1400b6820
mov rbx, rax
test rax, rax
je 0x14005e754
lea rcx, str.DEV_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rbx, [rbx + rcx*2]
lea rdx, [0x1401279dc]
mov rcx, rbx
call fcn.1400b6820
test rax, rax
je 0x14005e754
mov qword [rbp + 0x188], r13
mov qword [rbp + 0x190], r13
mov qword [rbp + 0x188], r13
mov qword [rbp + 0x190], 7
mov word [rbp + 0x178], r13w
sub rax, rbx
sar rax, 1
movsxd r8, eax
mov rdx, rbx
lea rcx, [rbp + 0x178]
call fcn.140005dd4
nop
lea rcx, [rbp + 0x198]
call fcn.140005cfc
movups xmm0, xmmword [rbp + 0x178]
movups xmmword [rbp + 0x198], xmm0
movups xmm1, xmmword [rbp + 0x188]
movups xmmword [rbp + 0x1a8], xmm1
mov qword [rbp + 0x188], r13
mov qword [rbp + 0x190], 7
mov word [rbp + 0x178], r13w
lea rcx, [rbp + 0x178]
call fcn.140005cfc
nop
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 0x14005e754
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 0x14005e5c1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14005e754
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 0x14005e754
mov r15d, r13d
mov dword [rsp + 0x40], esi
xor edx, edx
jmp 0x14005e643
lea rdx, [0x1401279e0]
mov rcx, rdi
call fcn.1400bf288
test eax, eax
jne 0x14005e635
mov rax, qword [r14 + 8]
cmp qword [r14 + 0x10], rax
je 0x14005e623
lea rdx, [rbp + 0x198]
mov rcx, rax
call fcn.140004d88
add qword [r14 + 8], 0x20
jmp 0x14005e635
lea r8, [rbp + 0x198]
mov rdx, rax
mov rcx, r14
call fcn.14003fb04
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 0x14005e5f0
cmp eax, 0x103
je 0x14005e732
call fcn.14008d174
mov r9d, 1
mov r8, qword [rax]
lea edx, [r9 + 1]
lea rcx, [rsp + 0x68]
call fcn.14000499c
nop
lea rbx, [rax + 0x10]
lea rdx, str.Enum_h3rdKeyStr_0x
mov rcx, rbx
call fcn.1400098d0
test rbx, rbx
jne 0x14005e6b5
mov rcx, r13
jmp 0x14005e6bf
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
call fcn.140010ab0
mov edx, esi
mov rcx, rbx
call fcn.14003fde0
lea rdx, str._index_0x
mov rcx, rbx
call fcn.1400098d0
test rbx, rbx
jne 0x14005e6e7
mov rcx, r13
jmp 0x14005e6f1
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
call fcn.140010ab0
mov edx, r15d
mov rcx, rbx
call fcn.14003fde0
lea rdx, str._failed
mov rcx, rbx
call fcn.1400098d0
nop
lea rcx, [rbp + 0x10]
call fcn.140004938
nop
lea r15, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x10], r15
lea rcx, [rbp + 0x10]
call fcn.140002658
nop
jmp 0x14005e739
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 0x14005e459
call fcn.14008d174
mov r9d, 1
mov r8, qword [rax]
lea edx, [r9 + 1]
lea rcx, [rbp + 0x70]
call fcn.14000499c
nop
lea rbx, [rax + 0x10]
lea rdx, str.GetRegInfo_RegEnumKeyEx_Failed
mov rcx, rbx
call fcn.1400098d0
mov edx, r12d
mov rcx, rbx
call fcn.14003fde0
nop
lea rcx, [rbp + 0x118]
call fcn.140004938
nop
mov qword [rbp + 0x118], r15
lea rcx, [rbp + 0x118]
call fcn.140002658
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.1400974a0
call fcn.14008d174
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.Exit_GetRegInfo
mov edx, 3
mov rax, qword [rax + 0x38]
call qword [case.0x14007ca24.0]
nop
lea rcx, [rbp + 0x198]
call fcn.140005cfc
nop
mov al, 1
mov rcx, qword [rbp + 0x1b8]
xor rcx, rsp
call fcn.140097440
lea r11, [rsp + 0x2c0]
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