Function at 0x14003b070
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
sub rsp, 0x140
mov rax, qword [0x14009a038]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov r13, r8
mov rdi, rdx
mov r12, rcx
mov qword [rsp + 0x40], rdx
mov rbp, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x14003b0b4
mov rbp, qword [rdx]
mov ecx, 0x18
call fcn.1400507d0
mov rbx, rax
mov qword [rsp + 0x38], rax
xor esi, esi
test rax, rax
je 0x14003b0e5
mov qword [rax + 8], rsi
mov dword [rax + 0x10], 1
mov rcx, rbp
call fcn.14004fe90
mov qword [rbx], rax
jmp 0x14003b0e8
mov rbx, rsi
test rbx, rbx
je 0x14003b385
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebp, eax
test eax, eax
setne r15b
mov r14d, 0xffffffff
mov ecx, r14d
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14003b160
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003b141
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003b153
call fcn.1400507b0
mov qword [rbx + 8], rsi
mov edx, 0x18
mov rcx, rbx
call fcn.1400507b0
test r15b, r15b
je 0x14003b1c0
lea rdx, str.iusl::HKeyContainer::GetValueDword
lea rcx, [rsp + 0xc0]
call fcn.14001f150
nop
mov dword [rax + 0x6c], 1
lea rdx, str.Value__
mov rcx, rax
call fcn.14001f800
mov rbx, rax
mov rdx, rdi
mov rcx, rax
call fcn.14001fa10
lea rdx, str.__not_read.
mov rcx, rbx
call fcn.14001f800
nop
lea rcx, [rsp + 0xc0]
call fcn.14001f300
jmp 0x14003b26a
mov rbp, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14003b1cd
mov rbp, qword [rdi]
mov ecx, 0x18
call fcn.1400507d0
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14003b1fc
mov qword [rax + 8], rsi
mov dword [rax + 0x10], 1
mov rcx, rbp
call fcn.14004fe90
mov qword [rbx], rax
jmp 0x14003b1ff
mov rbx, rsi
test rbx, rbx
je 0x14003b385
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebp, eax
lock xadd dword [rbx + 0x10], r14d
cmp r14d, 1
jne 0x14003b26a
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003b24b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003b25d
call fcn.1400507b0
mov qword [rbx + 8], rsi
mov edx, 0x18
mov rcx, rbx
call fcn.1400507b0
lea rdx, str.iusl::HKeyContainer::GetValueDword
lea rcx, [rsp + 0x50]
call fcn.14001f150
test ebp, ebp
je 0x14003b2b5
mov dword [rax + 0x6c], 1
lea rdx, str.GetValueDword_for_value__
mov rcx, rax
call fcn.14001f800
mov rbx, rax
mov rdx, rdi
mov rcx, rax
call fcn.14001fa10
lea rdx, str.__failed_to_read.
mov rcx, rbx
call fcn.14001f800
nop
jmp 0x14003b2ff
mov dword [rax + 0x6c], esi
lea rdx, str.Value__
mov rcx, rax
call fcn.14001f800
mov rbx, rax
mov rdx, rdi
mov rcx, rax
call fcn.14001fa10
lea rdx, str.__read_successfully._Value_
mov rcx, rbx
call fcn.14001f800
mov rdx, r13
mov rcx, rax
call fcn.140027780
lea rdx, [0x14008a818]
mov rcx, rax
call fcn.14001f800
nop
lea rcx, [rsp + 0x50]
call fcn.14001f300
movzx ebx, bp
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14003b342
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14003b33d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003b37e
mov rcx, r8
call fcn.1400507b0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov eax, ebx
mov rcx, qword [rsp + 0x130]
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 ecx, 0x8007000e
call fcn.14004fe80
int3