Function at 0x14004611c
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 - 0x3c8]
sub rsp, 0x4b0
mov rax, qword [0x14027c940]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov r14, rcx
xor r12d, r12d
mov r15d, r12d
call fcn.140031b08
xor edx, edx
mov rcx, qword [rax + 8]
call fcn.14001a188
mov rbx, rax
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], r12d
mov qword [rsp + 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 + 0x48]
mov rcx, r14
call qword [case.0x1400258aa.0]
nop
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400461d6
mov rcx, qword [rsp + 0x40]
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 + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140046204
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400258aa.0]
test ebx, ebx
jne 0x14004634b
mov esi, r12d
mov word [rbp - 0x80], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x7e]
call fcn.1401decf0
mov dword [rsp + 0x48], 0x104
xor edx, edx
jmp 0x1400462b6
inc esi
mov dword [rsp + 0x48], 0x104
mov word [rbp + 0x190], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x192]
call fcn.1401decf0
mov dword [rsp + 0x40], 0x104
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x190]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.14004608c
test eax, eax
jne 0x1400462b4
lea rcx, [r14 + 8]
lea rdx, [rbp - 0x80]
call fcn.1400440e0
mov rbx, rax
lea rcx, [rbp + 0x190]
call fcn.1401bc0d0
mov r8d, eax
lea rdx, [rbp + 0x190]
mov rcx, rbx
call fcn.140003980
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 + 0x48]
lea r8, [rbp - 0x80]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x140046234
cmp qword [rsp + 0x50], r12
je 0x1400462fd
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 + 0x40]
mov rcx, r14
mov rax, qword [rax + 0x40]
call qword [case.0x1400258aa.0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x68]
call fcn.140044b50
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004634b
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400258aa.0]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14004635c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14004636c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r15d
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1401ae750
lea r11, [rsp + 0x4b0]
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