Function at 0x140071970
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140110980]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, r9
mov rdi, r8
mov rsi, rdx
mov r13, qword [rbp + 0x60]
mov r12, qword [rbp + 0x68]
and qword [rbp - 0x38], 0
mov rcx, r13
call fcn.14004da14
and dword [r12], 0
xor ebx, ebx
mov qword [rbp - 0x30], rbx
mov dword [rbp - 0x40], 0x4000
cmp qword [rdi + 0x18], 8
jb 0x1400719d2
mov rdi, qword [rdi]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov dword [r12], eax
test eax, eax
sete r15b
test eax, eax
jne 0x140071ba1
xor esi, esi
mov ecx, dword [rbp - 0x40]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400a40f0
mov rdi, rax
cmp rax, rsi
je 0x140071a46
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov rbx, rdi
mov qword [rbp - 0x30], rbx
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
cmp qword [r14 + 0x18], 8
jb 0x140071a60
mov r8, qword [r14]
jmp 0x140071a63
mov r8, r14
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
and qword [rsp + 0x20], 0
xor edx, edx
mov r9d, 0xffff
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov dword [r12], eax
test eax, eax
je 0x140071ab5
mov rsi, rbx
xor edx, edx
movzx ecx, r15b
mov r8d, 0xea
cmp eax, r8d
cmove edx, ecx
mov r15b, dl
je 0x140071a0a
xor r12d, r12d
test r15b, r15b
je 0x140071ba1
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r12
mov word [rbp - 0x28], r12w
xor r8d, r8d
lea rdx, [0x1400db6f0]
lea rcx, [rbp - 0x28]
call fcn.1400063d0
nop
mov esi, dword [rbp - 0x40]
shr rsi, 1
sub rsi, 2
mov edi, r12d
je 0x140071b8a
movzx eax, word [rbx + rdi*2]
test ax, ax
je 0x140071b26
movzx r8d, ax
mov edx, 1
lea rcx, [rbp - 0x28]
call fcn.14000eebc
movzx eax, word [rbx + rdi*2]
test ax, ax
je 0x140071b26
lea rax, [rdi + 1]
cmp rax, rsi
jne 0x140071b7e
mov r14, qword [r13]
lea r9, [rbp - 0x28]
mov r8, qword [r14 + 8]
mov rdx, r14
call fcn.140076fec
mov rdx, qword [r13 + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x140071bf1
lea rcx, [rdx + 1]
mov qword [r13 + 8], rcx
mov qword [r14 + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
mov qword [rbp - 0x18], r12
mov word [rax], r12w
inc rdi
cmp rdi, rsi
jb 0x140071af9
cmp qword [rbp - 0x10], 8
jb 0x140071ba1
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140071bb7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov al, r15b
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400c2d60
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.1400a31cc
int3