Function at 0x18003a8e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x1060
call fcn.18003eaa0
sub rsp, rax
mov rax, qword [0x180080c58]
xor rax, rsp
mov qword [rsp + 0x1050], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, 0x16
xor sil, sil
mov rdi, rax
call qword [sym.imp.dbghelp.dll_SymSetOptions]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
jne 0x18003a959
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, [0x18005b998]
lea rdx, str.UMDebugInitializeSymbols
lea rcx, str._s:_SymInitialize_returned_error_:__d__s_n
call fcn.18003a3a0
xor al, al
jmp 0x18003ab41
mov rdx, qword [str.SoftwareNvidia__Inc.Nvidia_SVGA]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x1070], rbx
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x18003ab21
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18003ab62
mov rdx, qword [str.DebugSearchPath]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r9d, dword [rsp + 0x40]
test eax, eax
jne 0x18003aa66
cmp r9d, 1
jne 0x18003aa66
mov ecx, dword [rsp + 0x30]
mov rax, 0xffffffffffffffff
add ecx, r9d
cmovb rcx, rax
call fcn.18004474c
mov rbx, rax
test rax, rax
je 0x18003aa51
mov rdx, qword [str.DebugSearchPath]
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18003aa2f
mov eax, dword [rsp + 0x30]
mov byte [rax + rbx], 0
jmp 0x18003aa7c
mov r8d, eax
lea rdx, str.UMDebugGetSearchPath
lea rcx, str._s:_RegQueryValueExA_failed:__d._n
call fcn.18003a3a0
mov rcx, rbx
call fcn.180044738
xor ebx, ebx
jmp 0x18003aa7c
lea rdx, str.UMDebugGetSearchPath
lea rcx, str._s:_malloc_failed._n
call fcn.18003a3a0
jmp 0x18003aa7c
mov r8d, eax
lea rdx, str.UMDebugGetSearchPath
lea rcx, str._s:_RegQueryValueExA_failed___d_type___d__n
call fcn.18003a3a0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x18003ab37
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.dbghelp.dll_SymGetSearchPath]
test eax, eax
jne 0x18003aab7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._s:_SymGetSearchPath_failed:__d_n
jmp 0x18003ab04
lea r8, [0x18006eb0c]
mov edx, 0x1000
lea rcx, [rsp + 0x50]
call fcn.180044a24
mov r8, rbx
lea rcx, [rsp + 0x50]
mov edx, 0x1000
call fcn.180044a24
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.dbghelp.dll_SymSetSearchPath]
test eax, eax
setne sil
test eax, eax
jne 0x18003ab13
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._s:_SymSetSearchPath_failed:__d_n
mov r8d, eax
lea rdx, str.UMDebugInitializeSymbols
call fcn.18003a3a0
mov rcx, rbx
call fcn.180044738
movzx eax, sil
jmp 0x18003ab39
mov r8d, eax
lea rdx, str.UMDebugGetSearchPath
lea rcx, str._s:_Open_failed_result___d._n
call fcn.18003a3a0
xor al, al
mov rbx, qword [rsp + 0x1070]
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.18003e9e0
mov rsi, qword [rsp + 0x1078]
add rsp, 0x1060
pop rdi
ret
mov r8d, 0x15b
lea rdx, str.d:_buildob_bora_18379147_bora_vmsoft_build_release_x64_svgawddm_srclibumlibumdebug.c
lea rcx, str.ASSERT__s:_d_n
call fcn.18002c630
int3