Function at 0x10000ac04
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
xor r14d, r14d
lea rax, [rax + 0x20]
mov rsi, rcx
mov qword [rax], r14
lea rdx, [0x100006700]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov ebx, r14d
mov rbp, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r14d
jne 0x10000ae6f
mov rbp, qword [rsp + 0xc8]
mov eax, r14d
cmp eax, r14d
jne 0x10000ae6f
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x30], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xb8], r14d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, r14d
jne 0x10000ae80
mov eax, dword [rsp + 0xb8]
cmp eax, r14d
jbe 0x10000ae8f
mov r13d, r14d
lea r15, [0x100025288]
cmp r13d, 4
jae 0x10000ae8f
cmp ebx, r14d
jl 0x10000ae8f
mov ecx, 0x50
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov rdi, rax
cmp rax, r14
je 0x10000ad0f
mov dword [rax], r14d
mov dword [rax + 4], r14d
mov qword [rax + 0x48], r14
mov word [rax + 8], r14w
jmp 0x10000ad12
mov rdi, r14
cmp rdi, r14
je 0x10000ae30
lea rax, [rsp + 0x60]
lea r8, [rdi + 8]
lea r9, [rsp + 0xc0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov edx, r13d
mov rcx, rbp
mov qword [rsp + 0x28], r14
mov dword [rsp + 0xc0], 0x20
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, r14d
jne 0x10000ae1f
mov rdx, rbp
mov rcx, rdi
call fcn.10000a648
cmp eax, r14d
mov ebx, eax
jl 0x10000ae5c
mov r12d, dword [rsi + 0x910]
mov eax, dword [rsi + 0x914]
cmp r12d, eax
jne 0x10000adcf
cmp eax, r14d
jne 0x10000ad95
mov r12d, 1
jmp 0x10000ada6
add r12d, r12d
cmp r12d, r14d
jl 0x10000adf1
cmp r12d, 0xfffffff
ja 0x10000adf1
mov rcx, qword [rsi + 0x908]
movsxd rdx, r12d
mov r8d, 8
call qword [0x100025100]
cmp rax, r14
je 0x10000adf1
mov dword [rsi + 0x914], r12d
mov qword [rsi + 0x908], rax
movsxd rcx, dword [rsi + 0x910]
mov rax, qword [rsi + 0x908]
lea rdx, [rax + rcx*8]
cmp rdx, r14
je 0x10000ade9
mov qword [rdx], rdi
inc dword [rsi + 0x910]
jmp 0x10000ae5c
mov rcx, qword [0x100025288]
cmp rcx, r15
je 0x10000ae18
test byte [rcx + 0x1c], 4
je 0x10000ae18
mov rcx, qword [rcx + 0x10]
lea r8, [0x100006488]
mov edx, 0xa
call fcn.10000a624
mov ebx, 0x80004005
jmp 0x10000ae5c
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r14d
cmovle ebx, eax
jmp 0x10000ae5c
mov rcx, qword [0x100025288]
cmp rcx, r15
je 0x10000ae57
test byte [rcx + 0x1c], 4
je 0x10000ae57
mov rcx, qword [rcx + 0x10]
lea r8, [0x100006488]
mov edx, 0xb
call fcn.10000a624
mov ebx, 0x8007000e
inc r13d
cmp r13d, dword [rsp + 0xb8]
jb 0x10000acd8
jmp 0x10000ae8f
cmp eax, 2
jne 0x10000ae80
mov rcx, rsi
call fcn.10000aec0
mov ebx, eax
jmp 0x10000ae8f
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r14d
cmovle ebx, eax
cmp rbp, r14
je 0x10000ae9d
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret