Function at 0x1400ef600
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov rax, qword [0x140295a80]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r14, rcx
xor r12d, r12d
mov r15d, r12d
call fcn.1400409e4
xor edx, edx
mov rcx, qword [rax + 8]
call fcn.14004ccf8
mov rbx, rax
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], r12d
mov qword [rbp - 0x78], r12
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], r12d
mov qword [rsp + 0x60], r12
mov rcx, qword [r14]
mov rax, qword [rcx + 0x40]
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [case.0x140045926.0]
nop
mov qword [rsp + 0x48], r12
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400ef6b8
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], r12d
mov ecx, eax
neg ecx
sbb ebx, ebx
and ebx, eax
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ef6e6
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140045926.0]
test ebx, ebx
jne 0x1400ef85e
mov esi, r12d
mov byte [rbp + 0xa0], r12b
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0xa1]
call fcn.1401f22d0
mov dword [rsp + 0x40], 0x104
xor edx, edx
jmp 0x1400ef7c6
inc esi
mov dword [rsp + 0x40], 0x104
mov byte [rbp - 0x70], r12b
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp - 0x6f]
call fcn.1401f22d0
mov dword [rsp + 0x44], 0x104
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, [rbp + 0xa0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400ef7c4
mov eax, dword [rsp + 0x68]
dec eax
cmp eax, 1
ja 0x1400ef7c4
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x1400ef78f
cmp byte [rbp + rax - 0x71], r12b
je 0x1400ef793
jmp 0x1400ef7c4
mov byte [rbp - 0x70], r12b
lea rcx, [r14 + 8]
lea rdx, [rbp + 0xa0]
call fcn.1400edbc8
mov rbx, rax
lea rcx, [rbp - 0x70]
call fcn.1401cd140
mov r8d, eax
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.140008210
mov r15d, 1
mov edx, esi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
lea r8, [rbp + 0xa0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x1400ef71b
cmp qword [rsp + 0x50], r12
je 0x1400ef810
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], r12d
mov rax, qword [r14]
lea rdx, [rsp + 0x48]
mov rcx, r14
mov rax, qword [rax + 0x40]
call qword [case.0x140045926.0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x78]
call fcn.1400ee644
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ef85e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140045926.0]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400ef86f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400ef87f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r15d
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1401b9b30
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret