Function at 0x1400427b0
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 [0x1400b4030]
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 0x140042809
mov rsi, qword [rdx]
jmp 0x14004280c
mov rsi, r14
mov ecx, 0x18
call fcn.1400555b4
mov rdi, rax
mov qword [rsp + 0x38], rax
xor ebx, ebx
test rax, rax
je 0x14004283d
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
mov rcx, rsi
call fcn.140055220
mov qword [rdi], rax
jmp 0x140042840
mov rdi, rbx
test rdi, rdi
jne 0x140042850
mov ecx, 0x8007000e
call fcn.1400551f0
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 0x1400428b4
mov rcx, qword [rdi]
test rcx, rcx
je 0x140042895
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400428a7
call fcn.1400558b0
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.1400558b0
test r12d, r12d
jne 0x140042b30
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 0x140042913
lea rdx, str.iusl::HKeyContainer::GetValueString
lea rcx, [rbp - 0x40]
call fcn.140024db0
nop
mov dword [rax + 0x4c], 3
lea rdx, str.Malloc_failed__GetValueString_cant_retrieve_value.
mov rcx, rax
call fcn.1400253c0
nop
lea rcx, [rbp - 0x40]
call fcn.140024f60
mov r12d, 0xea
jmp 0x140042b61
mov r8, r15
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
cmp qword [r14 + 0x18], 0x10
jb 0x14004292c
mov r12, qword [r14]
jmp 0x14004292f
mov r12, r14
mov ecx, 0x18
call fcn.1400555b4
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14004295e
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
mov rcx, r12
call fcn.140055220
mov qword [rdi], rax
jmp 0x140042961
mov rdi, rbx
test rdi, rdi
jne 0x140042971
mov ecx, 0x8007000e
call fcn.1400551f0
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 0x1400429d5
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400429b6
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400429c8
call fcn.1400558b0
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.1400558b0
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 0x140042a0b
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x140042a01
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140023580
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.140024890
mov rdx, rax
mov r15, qword [rsp + 0x48]
mov rcx, r15
call fcn.140029220
mov rax, qword [rbp - 0x68]
cmp rax, 0x10
jb 0x140042a93
inc rax
mov rcx, qword [rbp - 0x80]
cmp rax, 0x1000
jb 0x140042a8e
test cl, 0x1f
je 0x140042a5e
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 0x140042a6e
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 0x140042a7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140042a8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140055898
cmp qword [r15 + 0x10], rdi
je 0x140042ad7
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.140023490
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0xb0]
call fcn.140024650
lea rdx, [0x1400afe00]
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.iusl::HKeyContainer::GetValueString
lea rcx, [rbp + 0x10]
call fcn.140024db0
nop
mov dword [rax + 0x4c], 1
lea rdx, str.GetValueString_success._Value_
mov rcx, rax
call fcn.1400253c0
mov rbx, rax
mov rdx, r15
mov rcx, rax
call fcn.1400255b0
lea rdx, [0x14009cdec]
mov rcx, rbx
call fcn.1400253c0
nop
lea rcx, [rbp + 0x10]
call fcn.140024f60
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140042b61
lea rdx, str.iusl::HKeyContainer::GetValueString
lea rcx, [rbp + 0x60]
call fcn.140024db0
nop
mov dword [rax + 0x4c], 1
lea rdx, str.GetValueString_failed.
mov rcx, rax
call fcn.1400253c0
nop
lea rcx, [rbp + 0x60]
call fcn.140024f60
movzx ebx, r12w
mov rcx, r14
call fcn.140023400
mov eax, ebx
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140055590
mov rbx, qword [rsp + 0x278]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret