Function at 0x140044068
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 0x140044101
call fcn.140062924
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.0x14006c106.0]
xor al, al
jmp 0x14004458a
mov ecx, 0x400
call fcn.14006c210
mov rdi, rax
test rax, rax
jne 0x140044121
call fcn.140062924
lea r8, str.Allocate_memory_failed_in_GetRegInfo
jmp 0x1400440e5
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1b0], xmm0
movdqa xmm1, xmmword [0x1400fe9e0]
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 0x1400444cb
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.14009dbd8
test eax, eax
jne 0x14004449a
lea rdx, str.DEV_
mov rcx, rdi
call fcn.14008aa40
mov rbx, rax
test rax, rax
je 0x14004449a
lea rcx, str.DEV_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rbx, [rbx + rcx*2]
lea rdx, [0x1400facc4]
mov rcx, rbx
call fcn.14008aa40
test rax, rax
je 0x14004449a
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.140089be0
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 0x14004449a
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 0x1400442e9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14004449a
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 0x14004449a
mov r15d, r13d
mov dword [rsp + 0x40], esi
xor edx, edx
jmp 0x140044373
lea rdx, str.Control
mov rcx, rdi
call fcn.14009dba0
test eax, eax
jne 0x140044365
mov rax, qword [r14 + 8]
cmp qword [r14 + 0x10], rax
je 0x140044353
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 0x140044365
lea r8, [rbp + 0x1a0]
mov rdx, rax
mov rcx, r14
call fcn.140026180
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 0x140044318
cmp eax, 0x103
je 0x140044478
call fcn.140062924
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 0x1400443e9
mov rcx, r13
jmp 0x1400443f3
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, [0x1400facc8]
mov rcx, rbx
call fcn.140015a04
test rbx, rbx
jne 0x14004441b
mov rcx, r13
jmp 0x140044425
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.140069b78
jmp 0x14004447f
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
add byte [rax], al
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 0x140044185
call fcn.140062924
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.140069b78
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.14006b6e0
invalid
invalid