Function at 0x140072180
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 [0x140120c90]
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.140050824
and dword [r12], 0
xor ebx, ebx
mov qword [rbp - 0x29], rbx
mov dword [rbp - 0x39], 0x4000
cmp qword [rdi + 0x18], 8
jb 0x1400721ed
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]
nop dword [rax + rax]
mov dword [r12], eax
test eax, eax
sete r15b
test eax, eax
jne 0x1400723bc
xor esi, esi
mov edx, dword [rbp - 0x39]
mov eax, 2
mul rdx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400a1a90
mov rdi, rax
cmp rax, rsi
je 0x140072261
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 - 0x29], 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 0x14007227b
mov r8, qword [r14]
jmp 0x14007227e
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]
nop dword [rax + rax]
mov dword [r12], eax
test eax, eax
je 0x1400722d0
mov rsi, rbx
xor edx, edx
movzx ecx, r15b
mov r8d, 0xea
cmp eax, r8d
cmove edx, ecx
mov r15b, dl
je 0x140072225
xor r12d, r12d
test r15b, r15b
je 0x1400723bc
mov qword [rbp - 1], 7
mov qword [rbp - 9], r12
mov word [rbp - 0x19], r12w
xor r8d, r8d
lea rdx, [0x1400d7060]
lea rcx, [rbp - 0x19]
call fcn.1400064bc
nop
mov esi, dword [rbp - 0x39]
shr rsi, 1
sub rsi, 2
mov edi, r12d
je 0x1400723a5
movzx eax, word [rbx + rdi*2]
test ax, ax
je 0x140072341
movzx r8d, ax
mov edx, 1
lea rcx, [rbp - 0x19]
call fcn.14000ebe0
movzx eax, word [rbx + rdi*2]
test ax, ax
je 0x140072341
lea rax, [rdi + 1]
cmp rax, rsi
jne 0x140072399
mov r14, qword [r13]
lea r9, [rbp - 0x19]
mov r8, qword [r14 + 8]
mov rdx, r14
call fcn.140045878
mov rdx, qword [r13 + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x14007240c
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 0x140072314
cmp qword [rbp - 1], 8
jb 0x1400723bc
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400723d2
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 + 7]
xor rcx, rsp
call fcn.1400be470
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.1400a0c2c
int3