Function at 0x140011bd0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xfe0]
mov eax, 0x10e0
call fcn.14005f060
sub rsp, rax
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x1120], rbx
mov rax, qword [0x1401385c0]
xor rax, rsp
mov qword [rbp + 0xfd8], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x70], rdx
xor r15d, r15d
mov dword [rsp + 0x60], r15d
mov dword [rbp + 0xfb4], r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
lea rax, [rbp + 0xfb4]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x140011c91
mov r8d, eax
lea rdx, str.Could_not_get_registry_value_count_while_attempting_to_get_value_names___i_.
lea rcx, [rbp - 0x70]
call fcn.140005290
lea rdx, [0x140135110]
lea rcx, [rbp - 0x70]
call fcn.140060304
int3
mov dword [rbp + 0xfb0], 0x7fff
mov qword [rbp + 0xfc8], r15
mov qword [rbp + 0xfd0], r15
mov qword [rbp + 0xfd0], 7
mov qword [rbp + 0xfc8], r15
mov word [rbp + 0xfb8], r15w
xor r8d, r8d
mov edx, 0x7fff
lea rcx, [rbp + 0xfb8]
call fcn.1400031b0
nop
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov dword [rsp + 0x60], 1
mov ecx, dword [rbp + 0xfb4]
mov edx, ecx
mov rax, qword [rbx + 0x10]
sub rax, qword [rbx]
sar rax, 5
cmp rax, rcx
jae 0x140011d11
mov rcx, rbx
call fcn.14000d4f0
mov ecx, dword [rbp + 0xfb4]
mov edi, r15d
test ecx, ecx
je 0x140011df7
nop dword [rax]
mov dword [rbp + 0xfb0], 0x7fff
lea r8, [rbp + 0xfb8]
cmp qword [rbp + 0xfd0], 8
cmovae r8, qword [rbp + 0xfb8]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0xfb0]
mov edx, edi
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140011dd0
lea rsi, [rbp + 0xfb8]
cmp qword [rbp + 0xfd0], 8
cmovae rsi, qword [rbp + 0xfb8]
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 8], rax
jne 0x140011d99
mov edx, 1
mov rcx, rbx
call fcn.14000d460
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], rcx
test rcx, rcx
je 0x140011dbb
mov r8d, dword [rbp + 0xfb0]
mov rdx, rsi
call fcn.1400028c0
nop
add qword [rbx + 8], 0x20
inc edi
cmp edi, dword [rbp + 0xfb4]
jb 0x140011d20
jmp 0x140011df7
mov r9d, eax
mov r8d, edi
lea rdx, str.Could_not_get_registry_value_name_at_index__i___i_.
lea rcx, [rbp - 0x70]
call fcn.140005290
lea rdx, [0x140135110]
lea rcx, [rbp - 0x70]
call fcn.140060304
nop
mov rax, qword [rbp + 0xfd0]
cmp rax, 8
jb 0x140011e6f
inc rax
mov rcx, qword [rbp + 0xfb8]
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
jbe 0x140011e23
call fcn.140069e64
int3
add rax, rax
cmp rax, 0x1000
jb 0x140011e6a
test byte [rbp + 0xfb8], 0x1f
je 0x140011e3d
call fcn.140069e64
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140011e4c
call fcn.140069e64
int3
sub rcx, rax
cmp rcx, 8
jae 0x140011e5b
call fcn.140069e64
int3
cmp rcx, 0x27
jbe 0x140011e67
call fcn.140069e64
int3
mov rcx, rax
call fcn.14005ed1c
mov qword [rbp + 0xfd0], 7
mov qword [rbp + 0xfc8], r15
mov word [rbp + 0xfb8], r15w
mov rax, rbx
mov rcx, qword [rbp + 0xfd8]
xor rcx, rsp
call fcn.14005f0d0
mov rbx, qword [rsp + 0x1120]
add rsp, 0x10e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret