Function at 0x18001dbd0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x508]
sub rsp, 0x608
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x1800ea550]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
mov qword [rsp + 0x40], r9
mov r12, r8
mov qword [rsp + 0x38], r8
mov rsi, rdx
cmp qword [rdx + 0x18], 8
jb 0x18001dc1f
mov rdx, qword [rdx]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x18001de31
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x70]
call fcn.18000d500
nop
lea rdx, str.RegOpenKeyEx_Failed._lStatus:
lea rcx, [rsp + 0x70]
call fcn.180010b40
mov rcx, rax
mov edx, ebx
call fcn.18001f890
mov rcx, rax
lea rdx, str.._strSubKey:
call fcn.180010b40
mov rcx, rax
mov rdx, rsi
call fcn.180010da0
mov rcx, rax
lea rdx, str.__strKeyName:
call fcn.180010b40
mov rcx, rax
mov rdx, r12
call fcn.180010da0
mov qword [rbp + 0xa8], 0xf
xor edi, edi
mov qword [rbp + 0xa0], rdi
mov byte [rbp + 0x90], dil
lea r8d, [rdi + 0x19]
lea rdx, str.CRegUtility::ReadRegValue
lea rcx, [rbp + 0x90]
call fcn.1800071c0
nop
mov qword [rbp + 0x80], 0xf
mov qword [rbp + 0x78], rdi
mov byte [rbp + 0x68], dil
lea r8d, [rdi + 0xe]
lea rdx, str.RegUtility.cpp
lea rcx, [rbp + 0x68]
call fcn.1800071c0
nop
lea rdx, [rbp + 0xb8]
lea rcx, [rsp + 0x70]
call fcn.18000d630
mov rbx, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 0x1c]
lea r8, [rbp + 0x68]
xor edx, edx
call fcn.180002e80
nop
cmp qword [rbp + 0xd0], 8
jb 0x18001dd56
mov rcx, qword [rbp + 0xb8]
call fcn.18007309c
mov qword [rbp + 0xd0], 7
mov qword [rbp + 0xc8], rdi
mov word [rbp + 0xb8], di
cmp qword [rbp + 0x80], 0x10
jb 0x18001dd82
mov rcx, qword [rbp + 0x68]
call fcn.18007309c
mov qword [rbp + 0x80], 0xf
mov qword [rbp + 0x78], rdi
mov byte [rbp + 0x68], 0
cmp qword [rbp + 0xa8], 0x10
jb 0x18001ddab
mov rcx, qword [rbp + 0x90]
call fcn.18007309c
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], rdi
mov byte [rbp + 0x90], 0
lea rax, [rbp - 8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x70], r14
lea rcx, [rsp + 0x78]
call fcn.18000d670
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x70], r15
lea rax, [rbp - 8]
mov qword [rsp + 0x38], rax
lea r12, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 8], r12
lea r13, vtable.std::ios_base.0
mov qword [rbp - 8], r13
lea rcx, [rbp - 8]
call fcn.1800724a4
xor al, al
jmp 0x18001e2b7
mov byte [rsp + 0x30], 0
xor edi, edi
mov word [rbp + 0xe0], di
xor edx, edx
mov r8d, 0x40e
lea rcx, [rbp + 0xe2]
call fcn.180073cb0
mov dword [rsp + 0x48], 0x410
mov rcx, r12
call fcn.180003be0
mov rdx, rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea r14, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
lea r15, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
lea r12, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
lea r13, vtable.std::ios_base.0
test eax, eax
je 0x18001e07c
lea edx, [rdi + 2]
lea r8d, [rdi + 1]
lea rcx, [rsp + 0x70]
call fcn.18000d500
nop
lea rdx, str.RegQueryValueEx_Failed._lStatus:
lea rcx, [rsp + 0x70]
call fcn.180010b40
mov rcx, rax
xor edx, edx
call fcn.18001f890
mov rcx, rax
lea rdx, str.._strSubKey:
call fcn.180010b40
mov rcx, rax
mov rdx, rsi
call fcn.180010da0
mov rcx, rax
lea rdx, str.__strKeyName:
call fcn.180010b40
mov rcx, rax
mov rdx, qword [rsp + 0x38]
call fcn.180010da0
mov qword [rbp + 0x80], 0xf
mov qword [rbp + 0x78], rdi
mov byte [rbp + 0x68], dil
lea r8d, [rdi + 0x19]
lea rdx, str.CRegUtility::ReadRegValue
lea rcx, [rbp + 0x68]
call fcn.1800071c0
nop
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], rdi
mov byte [rbp + 0x90], dil
lea r8d, [rdi + 0xe]
lea rdx, str.RegUtility.cpp
lea rcx, [rbp + 0x90]
call fcn.1800071c0
nop
lea rdx, [rbp + 0xb8]
lea rcx, [rsp + 0x70]
call fcn.18000d630
mov rbx, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 0x29]
lea r8, [rbp + 0x90]
xor edx, edx
call fcn.180002e80
nop
cmp qword [rbp + 0xd0], 8
jb 0x18001dfc2
mov rcx, qword [rbp + 0xb8]
call fcn.18007309c
mov qword [rbp + 0xd0], 7
mov qword [rbp + 0xc8], rdi
mov word [rbp + 0xb8], di
cmp qword [rbp + 0xa8], 0x10
jb 0x18001dff1
mov rcx, qword [rbp + 0x90]
call fcn.18007309c
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], rdi
mov byte [rbp + 0x90], 0
cmp qword [rbp + 0x80], 0x10
jb 0x18001e01d
mov rcx, qword [rbp + 0x68]
call fcn.18007309c
mov qword [rbp + 0x80], 0xf
mov qword [rbp + 0x78], rdi
mov byte [rbp + 0x68], 0
lea rax, [rbp - 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r14
lea rcx, [rsp + 0x78]
call fcn.18000d670
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r15
lea rax, [rbp - 8]
mov qword [rsp + 0x58], rax
mov qword [rbp - 8], r12
mov qword [rbp - 8], r13
lea rcx, [rbp - 8]
call fcn.1800724a4
jmp 0x18001e097
cmp dword [rsp + 0x60], 4
jne 0x18001e097
mov byte [rsp + 0x30], 1
mov eax, dword [rbp + 0xe0]
mov rbx, qword [rsp + 0x40]
mov dword [rbx], eax
jmp 0x18001e09c
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rdi
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x70]
call fcn.18000d500
nop
lea rdx, str.bRet:
lea rcx, [rsp + 0x70]
call fcn.180010b40
mov rcx, rax
movzx edx, byte [rsp + 0x30]
call fcn.180016510
mov rcx, rax
lea rdx, str._strSubKey:
call fcn.180010b40
mov rcx, rax
mov rdx, rsi
call fcn.180010da0
mov rcx, rax
lea rdx, str.._strKeyName:
call fcn.180010b40
mov rcx, rax
mov rdx, qword [rsp + 0x38]
call fcn.180010da0
mov rcx, rax
lea rdx, str.._dwKeyValue:
call fcn.180010b40
mov rcx, rax
mov edx, dword [rbx]
call fcn.18000cd70
mov rcx, rax
lea rdx, str.._samDesired:
call fcn.180010b40
mov rcx, rax
xor edx, edx
call fcn.18000cd70
mov qword [rbp + 0x80], 0xf
mov qword [rbp + 0x78], rdi
mov byte [rbp + 0x68], 0
mov r8d, 0x19
lea rdx, str.CRegUtility::ReadRegValue
lea rcx, [rbp + 0x68]
call fcn.1800071c0
nop
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], rdi
mov byte [rbp + 0x90], 0
mov r8d, 0xe
lea rdx, str.RegUtility.cpp
lea rcx, [rbp + 0x90]
call fcn.1800071c0
nop
lea rdx, [rbp + 0xb8]
lea rcx, [rsp + 0x70]
call fcn.18000d630
mov rbx, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x38
lea r8, [rbp + 0x90]
lea edx, [r9 - 0x35]
call fcn.180002e80
nop
cmp qword [rbp + 0xd0], 8
jb 0x18001e1fa
mov rcx, qword [rbp + 0xb8]
call fcn.18007309c
mov qword [rbp + 0xd0], 7
mov qword [rbp + 0xc8], rdi
mov word [rbp + 0xb8], di
cmp qword [rbp + 0xa8], 0x10
jb 0x18001e229
mov rcx, qword [rbp + 0x90]
call fcn.18007309c
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], rdi
mov byte [rbp + 0x90], 0
cmp qword [rbp + 0x80], 0x10
jb 0x18001e255
mov rcx, qword [rbp + 0x68]
call fcn.18007309c
mov qword [rbp + 0x80], 0xf
mov qword [rbp + 0x78], rdi
mov byte [rbp + 0x68], 0
lea rax, [rbp - 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r14
lea rcx, [rsp + 0x78]
call fcn.18000d670
nop
mov rcx, qword [rsp + 0x70]
movsxd rdx, dword [rcx + 4]
mov qword [rsp + rdx + 0x70], r15
lea rax, [rbp - 8]
mov qword [rsp + 0x58], rax
mov qword [rbp - 8], r12
mov qword [rbp - 8], r13
lea rcx, [rbp - 8]
call fcn.1800724a4
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.180073c80
add rsp, 0x608
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret