Function at 0x14003d890
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 [0x1400b0068]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov qword [rsp + 0x70], r8
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x78], rdx
mov rsi, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x14003d8dc
mov rsi, qword [rdx]
mov ecx, 0x18
call fcn.140058830
mov rbx, rax
mov qword [rsp + 0x60], rax
xor edi, edi
test rax, rax
je 0x14003d919
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rdi
mov dword [rbx + 0x10], 1
mov rcx, rsi
call fcn.1400583a0
mov qword [rbx], rax
jmp 0x14003d91c
mov rbx, rdi
test rbx, rbx
je 0x14003dd81
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
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 0x14003d98e
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003d96f
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003d981
call fcn.140058b8c
mov qword [rbx + 8], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.140058b8c
test r13d, r13d
jne 0x14003dc2d
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 0x14003da60
lea rdx, str.iusl::HKeyContainer::GetValueString
lea rcx, [rbp - 0x60]
call fcn.140035980
mov rbx, rax
mov dword [rax + 0x6c], 3
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], r15b
lea r8d, [r13 + 0x33]
lea rdx, str.Malloc_failed__GetValueString_cant_retrieve_value.
lea rcx, [rsp + 0x38]
call fcn.14002b560
nop
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14002d540
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14003da4c
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003da46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003da46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b8c
nop
lea rcx, [rbp - 0x60]
call fcn.14002cfc0
mov r13d, 0xea
jmp 0x14003dccf
mov r8, r12
xor edx, edx
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
mov r13, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14003da7a
mov r13, qword [r14]
mov ecx, 0x18
call fcn.140058830
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14003dab5
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rdi
mov dword [rbx + 0x10], 1
mov rcx, r13
call fcn.1400583a0
mov qword [rbx], rax
jmp 0x14003dab8
mov rbx, rdi
test rbx, rbx
je 0x14003dd81
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x68]
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 0x14003db28
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003db09
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003db1b
call fcn.140058b8c
mov qword [rbx + 8], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.140058b8c
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 + 0x38], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], 7
nop word [rax + rax]
inc rsi
cmp word [r15 + rsi*2], 0
jne 0x14003db50
mov r8, rsi
mov rdx, r15
lea rcx, [rsp + 0x38]
call fcn.140032770
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x80]
call fcn.140035750
mov rdx, rax
mov rsi, qword [rsp + 0x70]
mov rcx, rsi
call fcn.140032460
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14003dbc7
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003dbc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003dbc2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b8c
cmp qword [rsi + 0x10], rbx
jne 0x14003dd49
lea rdx, str.iusl::HKeyContainer::GetValueString
lea rcx, [rbp - 0x60]
call fcn.140035980
nop
mov dword [rax + 0x6c], 1
lea rdx, str.GetValueString_success._Value_
mov rcx, rax
call fcn.14002d470
mov rbx, rax
mov rdx, rsi
mov rcx, rax
call fcn.14002d540
lea rdx, [0x1400a02fc]
mov rcx, rbx
call fcn.14002d470
nop
lea rcx, [rbp - 0x60]
call fcn.14002cfc0
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14003dccf
lea rdx, str.iusl::HKeyContainer::GetValueString
lea rcx, [rbp - 0x60]
call fcn.140035980
mov rbx, rax
mov dword [rax + 0x6c], 1
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov r8d, 0x16
lea rdx, str.GetValueString_failed.
lea rcx, [rsp + 0x38]
call fcn.14002b560
nop
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14002d540
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14003dcc6
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003dcc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003dcc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b8c
nop
lea rcx, [rbp - 0x60]
call fcn.14002cfc0
movzx ebx, r13w
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x14003dd09
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14003dd04
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003dd42
mov rcx, r8
call fcn.140058b8c
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov eax, ebx
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140058810
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.14002b700
nop
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x60]
call fcn.14002c930
lea rdx, [0x1400ac520]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov ecx, 0x8007000e
call fcn.140058390
int3