Function at 0x14003ac70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14009a038]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov qword [rsp + 0x48], r8
mov rdi, rdx
mov r15, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x70], rdx
mov rsi, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x14003acbc
mov rsi, qword [rdx]
mov ecx, 0x18
call fcn.1400507d0
mov rbx, rax
mov qword [rsp + 0x38], rax
xor r14d, r14d
test rax, rax
je 0x14003acee
mov qword [rax + 8], r14
mov dword [rax + 0x10], 1
mov rcx, rsi
call fcn.14004fe90
mov qword [rbx], rax
jmp 0x14003acf1
mov rbx, r14
test rbx, rbx
je 0x14003b05e
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r13d, eax
mov rsi, 0xffffffffffffffff
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14003ad63
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003ad44
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003ad56
call fcn.1400507b0
mov qword [rbx + 8], r14
mov edx, 0x18
mov rcx, rbx
call fcn.1400507b0
test r13d, r13d
jne 0x14003af7c
mov r12d, dword [rsp + 0x30]
add r12, 2
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
jne 0x14003adc2
lea rdx, str.iusl::HKeyContainer::GetValueString
lea rcx, [rbp - 0x60]
call fcn.14001f150
nop
mov dword [rax + 0x6c], 3
lea rdx, str.Malloc_failed__GetValueString_cant_retrieve_value.
mov rcx, rax
call fcn.14001f800
nop
lea rcx, [rbp - 0x60]
call fcn.14001f300
mov r13d, 0xea
jmp 0x14003afad
mov r8, r12
xor edx, edx
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
mov r13, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14003addc
mov r13, qword [rdi]
mov ecx, 0x18
call fcn.1400507d0
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14003ae0b
mov qword [rax + 8], r14
mov dword [rax + 0x10], 1
mov rcx, r13
call fcn.14004fe90
mov qword [rbx], rax
jmp 0x14003ae0e
mov rbx, r14
test rbx, rbx
je 0x14003b05e
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r13d, eax
mov eax, esi
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14003ae7e
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003ae5f
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003ae71
call fcn.1400507b0
mov qword [rbx + 8], r14
mov edx, 0x18
mov rcx, rbx
call fcn.1400507b0
mov rdx, r12
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov rbx, rax
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
inc rsi
cmp word [r15 + rsi*2], 0
jne 0x14003aea0
mov r8, rsi
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.140024f50
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.14001ea60
mov rdx, rax
mov rsi, qword [rsp + 0x48]
mov rcx, rsi
call fcn.140024910
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14003af19
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003af14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003af14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400507b0
cmp qword [rsi + 0x10], rbx
jne 0x14003b026
lea rdx, str.iusl::HKeyContainer::GetValueString
lea rcx, [rbp - 0x60]
call fcn.14001f150
nop
mov dword [rax + 0x6c], 1
lea rdx, str.GetValueString_success._Value_
mov rcx, rax
call fcn.14001f800
mov rbx, rax
mov rdx, rsi
mov rcx, rax
call fcn.14001fa10
lea rdx, [0x14008a818]
mov rcx, rbx
call fcn.14001f800
nop
lea rcx, [rbp - 0x60]
call fcn.14001f300
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14003afad
lea rdx, str.iusl::HKeyContainer::GetValueString
lea rcx, [rbp - 0x60]
call fcn.14001f150
nop
mov dword [rax + 0x6c], 1
lea rdx, str.GetValueString_failed.
mov rcx, rax
call fcn.14001f800
nop
lea rcx, [rbp - 0x60]
call fcn.14001f300
movzx ebx, r13w
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14003afe7
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14003afe2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003b01f
mov rcx, r8
call fcn.1400507b0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov eax, ebx
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140050790
mov rbx, qword [rsp + 0x198]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r15
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 + 0x10]
call fcn.1400249d0
nop
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x60]
call fcn.14001e870
lea rdx, [0x1400967b0]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov ecx, 0x8007000e
call fcn.14004fe80
int3