Function at 0x1401d4a94
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rsi, r9
mov r14, r8
mov r15, rdx
mov rbx, rcx
and dword [rbp - 0x30], 0
mov rcx, qword [r8]
sub rcx, 0x18
call fcn.140003958
add rax, 0x18
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.1401d47f0
mov dword [rbp - 0x2c], eax
dec eax
cmp eax, 1
jbe 0x1401d4b0c
mov rcx, qword [rsi]
sub rcx, 0x18
call fcn.140003958
add rax, 0x18
mov qword [r15], rax
or rdi, 0xffffffffffffffff
jmp 0x1401d4c46
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rbx], eax
test eax, eax
jne 0x1401d4af0
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x2c]
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [rbp - 0x30]
inc eax
mov dword [rbp - 0x30], eax
mov ecx, eax
call fcn.1400054e8
mov r12, rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x2c]
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rbx], eax
call fcn.140007bec
mov rcx, rax
test rax, rax
je 0x1401d4c9d
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x18], rax
or rdi, 0xffffffffffffffff
test r12, r12
jne 0x1401d4bb8
xor r8d, r8d
jmp 0x1401d4bc5
mov r8, rdi
inc r8
cmp byte [r12 + r8], 0
jne 0x1401d4bbb
mov rdx, r12
lea rcx, [rbp - 0x18]
call fcn.14000372c
mov rcx, r12
call fcn.140003540
mov ebx, dword [rbx]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1401d4c16
mov rcx, qword [rsi]
sub rcx, 0x18
call fcn.140003958
add rax, 0x18
mov qword [r15], rax
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1401d4c46
mov rcx, qword [rdx]
jmp 0x1401d4c3f
mov rbx, qword [rbp - 0x18]
lea rcx, [rbx - 0x18]
call fcn.140003958
add rax, 0x18
mov qword [r15], rax
mov eax, edi
lock xadd dword [rbx - 8], eax
add eax, edi
test eax, eax
jg 0x1401d4c46
mov rcx, qword [rbx - 0x18]
lea rdx, [rbx - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1401d4c64
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1401d4c81
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, r15
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003930
int3