Function at 0x14003bc30
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x278], rbx
mov rax, qword [0x1400bf030]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov qword [rsp + 0x48], r8
mov r14, rdx
mov r13, rcx
mov qword [rsp + 0x78], rdx
cmp qword [rdx + 0x18], 0x10
jb 0x14003bc89
mov rsi, qword [rdx]
jmp 0x14003bc8c
mov rsi, r14
mov ecx, 0x18
call fcn.14005b134
mov rdi, rax
mov qword [rsp + 0x38], rax
xor ebx, ebx
test rax, rax
je 0x14003bcbd
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
mov rcx, rsi
call fcn.14005abb0
mov qword [rdi], rax
jmp 0x14003bcc0
mov rdi, rbx
test rdi, rdi
jne 0x14003bcd0
mov ecx, 0x8007000e
call fcn.14005ab80
int3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.DLL_RegQueryValueExW]
mov r12d, eax
or ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x14003bd34
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003bd15
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003bd27
call fcn.14005b420
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.14005b420
test r12d, r12d
jne 0x14003bfb0
mov r15d, dword [rsp + 0x30]
add r15, 2
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x14003bd93
lea rdx, str.iusl::HKeyContainer::GetValueString
lea rcx, [rbp - 0x40]
call fcn.140024a40
nop
mov dword [rax + 0x4c], 3
lea rdx, str.Malloc_failed__GetValueString_cant_retrieve_value.
mov rcx, rax
call fcn.140025050
nop
lea rcx, [rbp - 0x40]
call fcn.140024bf0
mov r12d, 0xea
jmp 0x14003bfe1
mov r8, r15
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
cmp qword [r14 + 0x18], 0x10
jb 0x14003bdac
mov r12, qword [r14]
jmp 0x14003bdaf
mov r12, r14
mov ecx, 0x18
call fcn.14005b134
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14003bdde
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
mov rcx, r12
call fcn.14005abb0
mov qword [rdi], rax
jmp 0x14003bde1
mov rdi, rbx
test rdi, rdi
jne 0x14003bdf1
mov ecx, 0x8007000e
call fcn.14005ab80
int3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.DLL_RegQueryValueExW]
mov r12d, eax
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x14003be55
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003be36
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003be48
call fcn.14005b420
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.14005b420
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov rdi, rax
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
cmp word [rsi], 0
je 0x14003be8b
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x14003be81
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.14002a140
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.140024520
mov rdx, rax
mov r15, qword [rsp + 0x48]
mov rcx, r15
call fcn.140029580
mov rax, qword [rbp - 0x68]
cmp rax, 0x10
jb 0x14003bf13
inc rax
mov rcx, qword [rbp - 0x80]
cmp rax, 0x1000
jb 0x14003bf0e
test cl, 0x1f
je 0x14003bede
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14003beee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x14003befe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14003bf0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.14005b418
cmp qword [r15 + 0x10], rdi
je 0x14003bf57
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, str.Unicode_installation_path_detected__terminating_process.
lea rcx, [rbp - 0x60]
call fcn.140029640
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0xb0]
call fcn.1400242e0
lea rdx, [0x1400bb068]
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.iusl::HKeyContainer::GetValueString
lea rcx, [rbp + 0x10]
call fcn.140024a40
nop
mov dword [rax + 0x4c], 1
lea rdx, str.GetValueString_success._Value_
mov rcx, rax
call fcn.140025050
mov rbx, rax
mov rdx, r15
mov rcx, rax
call fcn.140025240
lea rdx, [0x1400a4264]
mov rcx, rbx
call fcn.140025050
nop
lea rcx, [rbp + 0x10]
call fcn.140024bf0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14003bfe1
lea rdx, str.iusl::HKeyContainer::GetValueString
lea rcx, [rbp + 0x60]
call fcn.140024a40
nop
mov dword [rax + 0x4c], 1
lea rdx, str.GetValueString_failed.
mov rcx, rax
call fcn.140025050
nop
lea rcx, [rbp + 0x60]
call fcn.140024bf0
movzx ebx, r12w
mov rcx, r14
call fcn.1400294f0
mov eax, ebx
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14005b100
mov rbx, qword [rsp + 0x278]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret