Function at 0x14004ef14
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x140087010]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], r8
xor ebx, ebx
mov qword [rsp + 0x38], rbx
cmp qword [rdx + 0x18], 0x10
jb 0x14004ef62
mov rdx, qword [rdx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r13d, 1
mov r9d, r13d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14004f051
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [r14], rbx
lea r15d, [r13 + 0xe]
mov qword [r14 + 0x18], r15
mov byte [r14], bl
lea r8d, [r13 + 4]
mov qword [r14 + 0x10], r8
lea rdx, str.Error
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + 5], bl
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14004effb
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x14004eff6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004f36d
mov rcx, r8
call fcn.1400692d0
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], r15
mov byte [rsi], bl
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14004f03f
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14004f03a
add rdx, 0x27
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x14004f374
mov rcx, rax
call fcn.1400692d0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], r15
mov byte [rdi], bl
mov rax, r14
jmp 0x14004f34a
mov byte [rsp + 0x90], 0x2d
mov dword [rsp + 0x70], 0x103
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14004f06e
mov rdx, qword [rdi]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x91]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x14004f164
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [r14], rbx
mov r15d, 0xf
mov qword [r14 + 0x18], r15
mov byte [r14], bl
lea r8d, [r15 - 0xa]
mov qword [r14 + 0x10], r8
lea rdx, [0x140073524]
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + 5], bl
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14004f10e
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x14004f109
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004f36d
mov rcx, r8
call fcn.1400692d0
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], r15
mov byte [rsi], bl
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14004f152
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14004f14d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004f374
mov rcx, r8
call fcn.1400692d0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], r15
mov byte [rdi], bl
mov rax, r14
jmp 0x14004f34a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbx
mov r15d, 0xf
mov qword [rsp + 0x68], r15
mov byte [rsp + 0x50], bl
lea rax, [rsp + 0x90]
or r12, 0xffffffffffffffff
inc r12
cmp byte [rax + r12], bl
jne 0x14004f18f
lea rcx, [rsp + 0x50]
cmp r12, r15
ja 0x14004f1be
mov qword [rsp + 0x60], r12
mov r8, r12
lea rdx, [rsp + 0x90]
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + r12 + 0x50], bl
jmp 0x14004f1cf
lea r9, [rsp + 0x90]
mov rdx, r12
call fcn.14006889c
nop
mov r8, qword [rsp + 0x60]
cmp r8, r13
cmovb r13, r8
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rcx, qword [rsp + 0x50]
sub r8, r13
mov qword [rsp + 0x60], r8
inc r8
lea rdx, [rcx + r13]
call sub.VCRUNTIME140.dll_memmove
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [r14 + 0x10], xmm1
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], r15
mov byte [rsp + 0x50], bl
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14004f25b
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x14004f256
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004f36d
mov rcx, r8
call fcn.1400692d0
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], r15
mov byte [rsi], bl
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14004f29f
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14004f29a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004f374
mov rcx, r8
call fcn.1400692d0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], r15
mov byte [rdi], bl
mov rax, r14
jmp 0x14004f34a
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400691e0
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3