Function at 0x14006a7f0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
mov eax, 0x18e0
call fcn.1400751b0
sub rsp, rax
xor esi, esi
mov rdi, rcx
lea rcx, [rsp + 0xa0]
lea r8d, [rsi + 0x28]
xor edx, edx
mov dword [rsp + 0x90], esi
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x98], esi
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x68]
call fcn.140057cd8
cmp eax, esi
je 0x14006a861
lea rax, [rsp + 0x40]
lea r9d, [rsi + 4]
lea r8, [rsp + 0x98]
lea rcx, [rsp + 0x68]
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.140057eb8
jmp 0x14006a864
or eax, 0xffffffff
cmp eax, esi
jne 0x14006ab7d
lea rcx, [0x14008ad40]
mov edx, 0x16d
call fcn.140066f78
lea rcx, [rsp + 0x48]
mov r9d, 0x20019
mov qword [rsp + 0x20], rcx
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x14006ab6e
mov r13d, 0x1fe
lea rcx, [rsp + 0xd2]
xor edx, edx
mov r8, r13
mov ebx, esi
mov word [rsp + 0xd0], si
call sub.msvcrt.dll_memset
mov ebp, 0xff
xor edx, edx
jmp 0x14006aab9
cmp dword [0x14008e7ac], esi
jne 0x14006aafc
lea rcx, [rsp + 0x8e1]
xor edx, edx
mov r8d, 0x7ff
mov byte [rsp + 0x8e0], sil
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x6d2]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x6d0], si
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x10e2]
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x10e0], si
call sub.msvcrt.dll_memset
lea rcx, [0x14008ad40]
mov edx, 0xdd
call fcn.140066f78
lea r9, [rsp + 0xd0]
lea rcx, [rsp + 0x10e0]
mov r8, rax
mov edx, 0x3ff
call sub.msvcrt.dll__snwprintf
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x1920]
lea r9, [rsp + 0x8e0]
lea r8, [0x140076f40]
lea rdx, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x1920], 0x3ff
call fcn.14004fc6c
cmp eax, esi
je 0x14006aa80
lea rcx, [rsp + 0x2d2]
mov r8, r13
xor edx, edx
mov dword [rsp + 0x1918], ebp
mov dword [rsp + 0x1928], ebp
mov word [rsp + 0x2d0], si
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x4d2]
mov r8, r13
xor edx, edx
mov word [rsp + 0x4d0], si
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x2d0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x1918]
lea r8, [rsp + 0x8e0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x4d0]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1928]
xor edx, edx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rsi
call fcn.1400528f0
cmp eax, esi
je 0x14006aa76
cmp word [rsp + 0x2d0], si
je 0x14006aa76
lea rax, [rsp + 0x2d0]
lea r9, [rsp + 0x4d0]
lea r8, [0x140076f48]
lea rcx, [rsp + 0x6d0]
mov rdx, rbp
mov qword [rsp + 0x20], rax
call sub.msvcrt.dll__snwprintf
lea rcx, [rsp + 0x50]
call fcn.140052850
mov r8, qword [rsp + 0x40]
lea rax, [rsp + 0x6d0]
lea r9, [rsp + 0x10e0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd0]
lea rdx, [rsp + 0x68]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14006a480
add ebx, 1
mov edx, ebx
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x1918]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0xd0]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x1918], ebp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, esi
je 0x14006a8d6
lea rcx, [0x14008ad40]
mov edx, 0xde
call fcn.140066f78
mov r8, qword [rsp + 0x40]
lea rbx, [0x140076a00]
lea rdx, [rsp + 0x68]
mov r9, rax
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call fcn.14006a480
lea rcx, [0x14008ad40]
mov edx, 0xdf
call fcn.140066f78
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x68]
mov r9, rax
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call fcn.14006a480
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.140057e18
lea rcx, [rsp + 0x68]
call fcn.140057c68
add rsp, 0x18e0
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret