Function at 0x18001e2e0
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 - 0xd8]
sub rsp, 0x1d8
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1800ea550]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov qword [rsp + 0x38], r9
mov r13, r8
mov r12, rdx
mov r15, qword [rbp + 0x140]
cmp qword [rdx + 0x18], 8
jb 0x18001e331
mov rdx, qword [rdx]
mov r9d, dword [rbp + 0x148]
or r9d, 0x20019
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
je 0x18001e531
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x50]
call fcn.18000d500
nop
lea rdx, str.RegOpenKeyEx_Failed._lStatus:
lea rcx, [rsp + 0x50]
call fcn.180010b40
mov rcx, rax
mov edx, edi
call fcn.18001f890
mov rcx, rax
lea rdx, str.._strSubKey:
call fcn.180010b40
mov rcx, rax
mov rdx, r12
call fcn.180010da0
mov rcx, rax
lea rdx, str.__strKeyName:
call fcn.180010b40
mov rcx, rax
mov rdx, r13
call fcn.180010da0
mov qword [rbp + 0x60], 0xf
xor ebx, ebx
mov qword [rbp + 0x58], rbx
mov byte [rbp + 0x48], bl
lea r8d, [rbx + 0x19]
lea rdx, str.CRegUtility::ReadRegValue
lea rcx, [rbp + 0x48]
call fcn.1800071c0
nop
mov qword [rbp + 0x88], 0xf
mov qword [rbp + 0x80], rbx
mov byte [rbp + 0x70], bl
lea r8d, [rbx + 0xe]
lea rdx, str.RegUtility.cpp
lea rcx, [rbp + 0x70]
call fcn.1800071c0
nop
lea rdx, [rbp + 0x98]
lea rcx, [rsp + 0x50]
call fcn.18000d630
mov rdi, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 0x42]
lea r8, [rbp + 0x70]
xor edx, edx
call fcn.180002e80
nop
cmp qword [rbp + 0xb0], 8
jb 0x18001e462
mov rcx, qword [rbp + 0x98]
call fcn.18007309c
mov qword [rbp + 0xb0], 7
mov qword [rbp + 0xa8], rbx
mov word [rbp + 0x98], bx
cmp qword [rbp + 0x88], 0x10
jb 0x18001e48e
mov rcx, qword [rbp + 0x70]
call fcn.18007309c
mov qword [rbp + 0x88], 0xf
mov qword [rbp + 0x80], rbx
mov byte [rbp + 0x70], 0
cmp qword [rbp + 0x60], 0x10
jb 0x18001e4b4
mov rcx, qword [rbp + 0x48]
call fcn.18007309c
mov qword [rbp + 0x60], 0xf
mov qword [rbp + 0x58], rbx
mov byte [rbp + 0x48], 0
lea rax, [rbp - 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
lea rcx, [rsp + 0x58]
call fcn.18000d670
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x38], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x28], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.1800724a4
xor al, al
jmp 0x18001ea5c
xor ebx, ebx
mov dword [r15], ebx
xor r14b, r14b
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x30], ebx
mov rcx, r13
call fcn.180003be0
mov rdx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
je 0x18001e57d
test eax, eax
jne 0x18001e81d
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180072c28
mov rsi, rax
mov ecx, dword [rsp + 0x30]
test rcx, rcx
je 0x18001e5b1
movzx eax, bx
mov rdi, rsi
rep stosw word [rdi], ax
mov rcx, r13
call fcn.180003be0
mov rdx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x18001e767
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x50]
call fcn.18000d500
nop
lea rdx, str.RegQueryValueEx_Failed._lStatus:
lea rcx, [rsp + 0x50]
call fcn.180010b40
mov rcx, rax
mov edx, edi
call fcn.18001f890
mov rcx, rax
lea rdx, str.._strSubKey:
call fcn.180010b40
mov rcx, rax
mov rdx, r12
call fcn.180010da0
mov rcx, rax
lea rdx, str.__strKeyName:
call fcn.180010b40
mov rcx, rax
mov rdx, r13
call fcn.180010da0
mov qword [rbp + 0x88], 0xf
mov qword [rbp + 0x80], rbx
mov byte [rbp + 0x70], 0
mov r8d, 0x19
lea rdx, str.CRegUtility::ReadRegValue
lea rcx, [rbp + 0x70]
call fcn.1800071c0
nop
mov qword [rbp + 0x60], 0xf
mov qword [rbp + 0x58], rbx
mov byte [rbp + 0x48], 0
mov r8d, 0xe
lea rdx, str.RegUtility.cpp
lea rcx, [rbp + 0x48]
call fcn.1800071c0
nop
lea rdx, [rbp + 0x98]
lea rcx, [rsp + 0x50]
call fcn.18000d630
mov rdi, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x5b
lea r8, [rbp + 0x48]
xor edx, edx
call fcn.180002e80
nop
cmp qword [rbp + 0xb0], 8
jb 0x18001e6f1
mov rcx, qword [rbp + 0x98]
call fcn.18007309c
mov qword [rbp + 0xb0], 7
mov qword [rbp + 0xa8], rbx
mov word [rbp + 0x98], bx
cmp qword [rbp + 0x60], 0x10
jb 0x18001e71a
mov rcx, qword [rbp + 0x48]
call fcn.18007309c
mov qword [rbp + 0x60], 0xf
mov qword [rbp + 0x58], rbx
mov byte [rbp + 0x48], 0
cmp qword [rbp + 0x88], 0x10
jb 0x18001e73d
mov rcx, qword [rbp + 0x70]
call fcn.18007309c
mov qword [rbp + 0x88], 0xf
mov qword [rbp + 0x80], rbx
mov byte [rbp + 0x70], 0
lea rcx, [rsp + 0x50]
call fcn.18000caa0
mov rdi, qword [rsp + 0x38]
jmp 0x18001e80e
mov eax, dword [rsp + 0x34]
cmp eax, 1
jne 0x18001e799
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rsi
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
call fcn.180007850
mov eax, dword [rsp + 0x34]
jmp 0x18001e808
cmp eax, 7
je 0x18001e7a3
cmp eax, 2
jne 0x18001e803
mov r8d, dword [rsp + 0x30]
inc r8d
shr r8, 1
mov qword [rbp + 0x60], 7
mov qword [rbp + 0x58], rbx
mov word [rbp + 0x48], bx
mov rdx, rsi
lea rcx, [rbp + 0x48]
call fcn.180007850
nop
lea rdx, [rbp + 0x48]
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
call fcn.18000a370
nop
cmp qword [rbp + 0x60], 8
jb 0x18001e7ed
mov rcx, qword [rbp + 0x48]
call fcn.18007309c
mov qword [rbp + 0x60], 7
mov qword [rbp + 0x58], rbx
mov word [rbp + 0x48], bx
mov eax, dword [rsp + 0x34]
jmp 0x18001e808
mov rdi, qword [rsp + 0x38]
mov dword [r15], eax
mov r14b, 1
test rsi, rsi
je 0x18001e822
mov rcx, rsi
call fcn.180073b34
jmp 0x18001e822
mov rdi, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbx
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x50]
call fcn.18000d500
nop
lea rdx, str.bRet:
lea rcx, [rsp + 0x50]
call fcn.180010b40
mov rcx, rax
movzx edx, r14b
call fcn.180016510
mov rcx, rax
lea rdx, str._strSubKey:
call fcn.180010b40
mov rcx, rax
mov rdx, r12
call fcn.180010da0
mov rcx, rax
lea rdx, str.._strKeyName:
call fcn.180010b40
mov rcx, rax
mov rdx, r13
call fcn.180010da0
mov rcx, rax
lea rdx, str.._strKeyValue:
call fcn.180010b40
mov rcx, rax
mov rdx, rdi
call fcn.180010da0
mov rcx, rax
lea rdx, str.._dwType:
call fcn.180010b40
mov rcx, rax
mov edx, dword [r15]
call fcn.18000cd70
mov rcx, rax
lea rdx, str.._samDesired:
call fcn.180010b40
mov rcx, rax
mov edx, dword [rbp + 0x148]
call fcn.18000cd70
mov qword [rbp + 0x88], 0xf
mov qword [rbp + 0x80], rbx
mov byte [rbp + 0x70], 0
mov r8d, 0x19
lea rdx, str.CRegUtility::ReadRegValue
lea rcx, [rbp + 0x70]
call fcn.1800071c0
nop
mov qword [rbp + 0x60], 0xf
mov qword [rbp + 0x58], rbx
mov byte [rbp + 0x48], 0
mov r8d, 0xe
lea rdx, str.RegUtility.cpp
lea rcx, [rbp + 0x48]
call fcn.1800071c0
nop
lea rdx, [rbp + 0x98]
lea rcx, [rsp + 0x50]
call fcn.18000d630
mov rdi, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x70
lea r8, [rbp + 0x48]
lea edx, [r9 - 0x6d]
call fcn.180002e80
nop
cmp qword [rbp + 0xb0], 8
jb 0x18001e990
mov rcx, qword [rbp + 0x98]
call fcn.18007309c
mov qword [rbp + 0xb0], 7
mov qword [rbp + 0xa8], rbx
mov word [rbp + 0x98], bx
cmp qword [rbp + 0x60], 0x10
jb 0x18001e9b9
mov rcx, qword [rbp + 0x48]
call fcn.18007309c
mov qword [rbp + 0x60], 0xf
mov qword [rbp + 0x58], rbx
mov byte [rbp + 0x48], 0
cmp qword [rbp + 0x88], 0x10
jb 0x18001e9dc
mov rcx, qword [rbp + 0x70]
call fcn.18007309c
mov qword [rbp + 0x88], 0xf
mov qword [rbp + 0x80], rbx
mov byte [rbp + 0x70], 0
lea rax, [rbp - 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
lea rcx, [rsp + 0x58]
call fcn.18000d670
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x38], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x28], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.1800724a4
movzx eax, r14b
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.180073c80
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret