Function at 0x10000abd4
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, [0x1000066d0]
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 0x10000ae3f
mov rbp, qword [rsp + 0xc8]
mov eax, r14d
cmp eax, r14d
jne 0x10000ae3f
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 0x10000ae50
mov eax, dword [rsp + 0xb8]
cmp eax, r14d
jbe 0x10000ae5f
mov r13d, r14d
lea r15, [0x100025288]
cmp r13d, 4
jae 0x10000ae5f
cmp ebx, r14d
jl 0x10000ae5f
mov ecx, 0x50
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov rdi, rax
cmp rax, r14
je 0x10000acdf
mov dword [rax], r14d
mov dword [rax + 4], r14d
mov qword [rax + 0x48], r14
mov word [rax + 8], r14w
jmp 0x10000ace2
mov rdi, r14
cmp rdi, r14
je 0x10000ae00
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 0x10000adef
mov rdx, rbp
mov rcx, rdi
call fcn.10000a618
cmp eax, r14d
mov ebx, eax
jl 0x10000ae2c
mov r12d, dword [rsi + 0x910]
mov eax, dword [rsi + 0x914]
cmp r12d, eax
jne 0x10000ad9f
cmp eax, r14d
jne 0x10000ad65
mov r12d, 1
jmp 0x10000ad76
add r12d, r12d
cmp r12d, r14d
jl 0x10000adc1
cmp r12d, 0xfffffff
ja 0x10000adc1
mov rcx, qword [rsi + 0x908]
movsxd rdx, r12d
mov r8d, 8
call qword [0x100025100]
cmp rax, r14
je 0x10000adc1
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 0x10000adb9
mov qword [rdx], rdi
inc dword [rsi + 0x910]
jmp 0x10000ae2c
mov rcx, qword [0x100025288]
cmp rcx, r15
je 0x10000ade8
test byte [rcx + 0x1c], 4
je 0x10000ade8
mov rcx, qword [rcx + 0x10]
lea r8, [0x100006458]
mov edx, 0xa
call fcn.10000a5f4
mov ebx, 0x80004005
jmp 0x10000ae2c
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r14d
cmovle ebx, eax
jmp 0x10000ae2c
mov rcx, qword [0x100025288]
cmp rcx, r15
je 0x10000ae27
test byte [rcx + 0x1c], 4
je 0x10000ae27
mov rcx, qword [rcx + 0x10]
lea r8, [0x100006458]
mov edx, 0xb
call fcn.10000a5f4
mov ebx, 0x8007000e
inc r13d
cmp r13d, dword [rsp + 0xb8]
jb 0x10000aca8
jmp 0x10000ae5f
cmp eax, 2
jne 0x10000ae50
mov rcx, rsi
call fcn.10000ae90
mov ebx, eax
jmp 0x10000ae5f
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r14d
cmovle ebx, eax
cmp rbp, r14
je 0x10000ae6d
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