Function at 0x14003d1a0
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 - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140099038]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov qword [rsp + 0x30], r8
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x70], rdx
mov rsi, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x14003d1f2
mov rsi, qword [rdx]
mov ecx, 0x18
call fcn.140050344
mov rdi, rax
mov qword [rsp + 0x40], rax
xor ebx, ebx
test rax, rax
je 0x14003d223
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
mov rcx, rsi
call fcn.14004fff0
mov qword [rdi], rax
jmp 0x14003d226
mov rdi, rbx
test rdi, rdi
je 0x14003d931
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r13d, eax
mov rsi, 0xffffffffffffffff
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x14003d298
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003d279
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003d28b
call fcn.1400505d0
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.1400505d0
test r13d, r13d
jne 0x14003d74d
mov r12d, dword [rsp + 0x38]
add r12, 2
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
jne 0x14003d43f
lea rax, vtable.LogItem.0
mov qword [rbp + 0x20], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], r14b
lea r8d, [r13 + 0x23]
lea rdx, str.iusl::HKeyContainer::GetValueString
lea rcx, [rsp + 0x50]
call fcn.14001d610
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x28]
call fcn.14001e040
nop
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], r14b
lea r8d, [r13 + 0x23]
lea rdx, str.iusl::HKeyContainer::GetValueString
lea rcx, [rsp + 0x78]
call fcn.14001d610
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x48]
call fcn.14001e040
nop
mov dword [rbp + 0x68], 1
mov dword [rbp + 0x6c], 1
mov qword [rbp - 0x30], 0xf
mov qword [rbp - 0x38], 2
mov eax, 0x203a
mov word [rbp - 0x48], ax
mov byte [rbp - 0x46], r14b
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 2
mov qword [rbp - 0x10], 0xf
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x68]
call fcn.14001e040
mov rdi, rax
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14003d396
mov rdx, qword [rax]
lea rsi, [rax + 0x10]
mov r8, qword [rsi]
lea rcx, [rbp + 0x28]
call fcn.1400241d0
cmp qword [rdi + 0x18], 8
jb 0x14003d3b0
mov rdi, qword [rdi]
mov r8, qword [rsi]
mov rdx, rdi
lea rcx, [rbp + 0x48]
call fcn.1400241d0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14003d403
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d3fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003d3fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400505d0
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], bx
mov dword [rbp + 0x6c], 3
lea rdx, str.Malloc_failed__GetValueString_cant_retrieve_value.
lea rcx, [rbp + 0x20]
call fcn.14001eaa0
nop
lea rcx, [rbp + 0x20]
call fcn.14001e5f0
mov r13d, 0xea
jmp 0x14003d8c1
mov r8, r12
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
mov r13, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14003d459
mov r13, qword [r15]
mov ecx, 0x18
call fcn.140050344
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14003d488
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
mov rcx, r13
call fcn.14004fff0
mov qword [rdi], rax
jmp 0x14003d48b
mov rdi, rbx
test rdi, rdi
je 0x14003d931
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r13d, eax
mov eax, esi
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x14003d4fb
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003d4dc
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003d4ee
call fcn.1400505d0
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.1400505d0
mov rdx, r12
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov rdi, rax
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], bx
nop word [rax + rax]
inc rsi
cmp word [r14 + rsi*2], 0
jne 0x14003d520
mov r8, rsi
mov rdx, r14
lea rcx, [rbp - 0x68]
call fcn.14001d430
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x80]
call fcn.14001ded0
mov rdx, rax
mov r12, qword [rsp + 0x30]
mov rcx, r12
call fcn.140023aa0
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x14003d59e
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d599
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003d599
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400505d0
cmp qword [r12 + 0x10], rdi
jne 0x14003d8f9
lea rax, vtable.LogItem.0
mov qword [rbp + 0x20], rax
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov r8d, 0x23
lea rdx, str.iusl::HKeyContainer::GetValueString
lea rcx, [rsp + 0x78]
call fcn.14001d610
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x28]
call fcn.14001e040
nop
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov r8d, 0x23
lea rdx, str.iusl::HKeyContainer::GetValueString
lea rcx, [rsp + 0x50]
call fcn.14001d610
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x48]
call fcn.14001e040
nop
mov dword [rbp + 0x68], 1
mov dword [rbp + 0x6c], 1
mov qword [rbp - 0x10], 0xf
mov qword [rbp - 0x18], 2
mov eax, 0x203a
mov word [rbp - 0x28], ax
mov byte [rbp - 0x26], 0
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], 2
mov qword [rbp + 0x10], 0xf
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x48]
call fcn.14001e040
mov rdi, rax
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14003d684
mov rdx, qword [rax]
lea rsi, [rax + 0x10]
mov r8, qword [rsi]
lea rcx, [rbp + 0x28]
call fcn.1400241d0
cmp qword [rdi + 0x18], 8
jb 0x14003d69e
mov rdi, qword [rdi]
mov r8, qword [rsi]
mov rdx, rdi
lea rcx, [rbp + 0x48]
call fcn.1400241d0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14003d6f1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d6ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003d6ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400505d0
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], bx
mov dword [rbp + 0x6c], 1
lea rdx, str.GetValueString_success._Value_
lea rcx, [rbp + 0x20]
call fcn.14001eaa0
mov rbx, rax
mov rdx, r12
mov rcx, rax
call fcn.14001ec90
lea rdx, [0x140089b00]
mov rcx, rbx
call fcn.14001eaa0
nop
lea rcx, [rbp + 0x20]
call fcn.14001e5f0
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14003d8c1
lea rax, vtable.LogItem.0
mov qword [rbp + 0x20], rax
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov r8d, 0x23
lea rdx, str.iusl::HKeyContainer::GetValueString
lea rcx, [rbp - 0x48]
call fcn.14001d610
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x28]
call fcn.14001e040
nop
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov r8d, 0x23
lea rdx, str.iusl::HKeyContainer::GetValueString
lea rcx, [rbp - 0x68]
call fcn.14001d610
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x48]
call fcn.14001e040
nop
mov dword [rbp + 0x68], 1
mov dword [rbp + 0x6c], 1
mov qword [rbp + 0x10], 0xf
mov qword [rbp + 8], 2
mov eax, 0x203a
mov word [rbp - 8], ax
mov byte [rbp - 6], 0
movups xmm0, xmmword [rbp - 8]
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 2
mov qword [rbp - 0x10], 0xf
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x78]
call fcn.14001e040
mov rdi, rax
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14003d821
mov rdx, qword [rax]
lea rsi, [rax + 0x10]
mov r8, qword [rsi]
lea rcx, [rbp + 0x28]
call fcn.1400241d0
cmp qword [rdi + 0x18], 8
jb 0x14003d83b
mov rdi, qword [rdi]
mov r8, qword [rsi]
mov rdx, rdi
lea rcx, [rbp + 0x48]
call fcn.1400241d0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14003d88f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d88a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003d88a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400505d0
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], bx
mov dword [rbp + 0x6c], 1
lea rdx, str.GetValueString_failed.
lea rcx, [rbp + 0x20]
call fcn.14001eaa0
nop
lea rcx, [rbp + 0x20]
call fcn.14001e5f0
movzx ebx, r13w
mov rcx, r15
call fcn.14001d390
mov eax, ebx
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140050320
mov rbx, qword [rsp + 0x208]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, r14
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 - 8]
call fcn.14001d3f0
nop
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x20]
call fcn.14001dce0
lea rdx, [0x140095020]
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov ecx, 0x8007000e
call fcn.14004fe60
int3