Function at 0x1400661d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0x90
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x14011aa00]
xor rax, rsp
mov qword [rbp + 7], rax
mov r14, r9
mov rdi, r8
mov rsi, rdx
mov r13, qword [rbp + 0x77]
mov r12, qword [rbp + 0x7f]
and qword [rbp - 0x31], 0
mov rcx, r13
call fcn.140045a5c
and dword [r12], 0
xor ebx, ebx
mov qword [rbp - 0x29], rbx
mov dword [rbp - 0x39], 0x4000
cmp qword [rdi + 0x18], 8
jb 0x14006623d
mov rdi, qword [rdi]
lea rax, [rbp - 0x31]
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]
mov dword [r12], eax
test eax, eax
sete r15b
test eax, eax
jne 0x1400663ee
xor esi, esi
mov edx, dword [rbp - 0x39]
mov eax, 2
mul rdx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140093eac
mov rdi, rax
cmp rax, rsi
je 0x1400662a5
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov rbx, rdi
mov qword [rbp - 0x29], rbx
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
cmp qword [r14 + 0x18], 8
jb 0x1400662b9
mov r8, qword [r14]
jmp 0x1400662bc
mov r8, r14
lea rax, [rbp - 0x39]
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 - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [r12], eax
test eax, eax
je 0x140066308
mov rsi, rbx
xor edx, edx
movzx ecx, r15b
mov r8d, 0xea
cmp eax, r8d
cmove edx, ecx
mov r15b, dl
je 0x14006626f
xor r12d, r12d
test r15b, r15b
je 0x1400663ee
mov qword [rbp - 1], 7
mov qword [rbp - 9], r12
mov word [rbp - 0x19], r12w
xor r8d, r8d
lea rdx, [0x1400cad40]
lea rcx, [rbp - 0x19]
call fcn.140005bc4
nop
mov esi, dword [rbp - 0x39]
shr rsi, 1
sub rsi, 2
mov edi, r12d
je 0x1400663dd
movzx eax, word [rbx + rdi*2]
test ax, ax
je 0x140066379
movzx r8d, ax
mov edx, 1
lea rcx, [rbp - 0x19]
call fcn.14000d978
movzx eax, word [rbx + rdi*2]
test ax, ax
je 0x140066379
lea rax, [rdi + 1]
cmp rax, rsi
jne 0x1400663d1
mov r14, qword [r13]
lea r9, [rbp - 0x19]
mov r8, qword [r14 + 8]
mov rdx, r14
call fcn.14003c364
mov rdx, qword [r13 + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x140066431
lea rcx, [rdx + 1]
mov qword [r13 + 8], rcx
mov qword [r14 + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
mov qword [rbp - 9], r12
lea rax, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rax, qword [rbp - 0x19]
mov word [rax], r12w
inc rdi
cmp rdi, rsi
jb 0x14006634c
cmp qword [rbp - 1], 8
jb 0x1400663ee
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400663fe
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov al, r15b
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400afcd0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.140093170
int3