Function at 0x14000e550
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rbx, r8
xor r12d, r12d
mov r15d, r12d
movzx r8d, r9b
call fcn.14000e360
mov r14, rax
test rax, rax
je 0x14000e7e4
mov dword [rbp + 3], 1
mov dword [rbp - 5], r12d
mov dword [rbp - 1], r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
lea rax, [rbp - 5]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 1]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 7]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [rbp + 7], r12d
jbe 0x14000e7db
mov eax, dword [rbp - 1]
inc eax
mov dword [rbp - 1], eax
inc dword [rbp - 5]
mov dword [rbp + 0xf], r12d
mov ecx, eax
mov eax, 2
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.14002660c
mov rsi, rax
mov ecx, dword [rbp - 5]
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14002660c
mov r12, rax
mov qword [rbp + 0x17], rax
mov eax, dword [rbp - 5]
mov dword [rbp - 9], eax
mov eax, dword [rbp - 1]
mov dword [rbp + 0xb], eax
test r12, r12
je 0x14000e7ce
test rsi, rsi
je 0x14000e7c6
xor ecx, ecx
mov word [r12], cx
mov word [rsi], cx
mov r13d, ecx
cmp dword [rbp + 7], ecx
jbe 0x14000e7c6
nop dword [rax + rax]
mov eax, dword [rbp - 5]
mov dword [rbp - 9], eax
mov eax, dword [rbp - 1]
mov dword [rbp + 0xb], eax
mov rdi, rcx
lea rax, [rbp - 9]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
lea rax, [rbp + 3]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0xb]
mov r8, rsi
mov edx, r13d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14000e7ab
mov eax, dword [rbp + 3]
cmp eax, 4
jne 0x14000e6e5
mov dword [rbp - 9], eax
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x20], rax
jmp 0x14000e727
cmp eax, 1
jne 0x14000e704
mov eax, dword [rbp - 9]
lea eax, [rax + rax + 2]
mov dword [rbp - 9], eax
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
jmp 0x14000e727
cmp eax, 3
jne 0x14000e73e
mov ecx, dword [rbp - 9]
call fcn.14002660c
mov rdi, rax
test rax, rax
je 0x14000e73e
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 3]
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000e7ab
mov ecx, 0x28
call fcn.140027be8
mov rcx, rax
mov qword [rbp + 0x27], rax
test rax, rax
je 0x14000e774
mov eax, dword [rbp - 9]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, dword [rbp + 0xf]
mov r8, r12
mov rdx, rsi
call fcn.14000d450
mov r12, rax
jmp 0x14000e777
xor r12d, r12d
mov rdi, qword [rbx + 8]
cmp rdi, qword [rbx + 0x10]
jb 0x14000e791
lea rdx, [rdi + 1]
mov rcx, rbx
call fcn.140010180
test al, al
je 0x14000e7bb
mov rax, qword [rbx]
lea rcx, [rax + rdi*8]
test rcx, rcx
je 0x14000e7a0
mov qword [rcx], r12
inc qword [rbx + 8]
inc r15d
mov r12, qword [rbp + 0x17]
inc r13d
cmp r13d, dword [rbp + 7]
jae 0x14000e7c6
xor ecx, ecx
jmp 0x14000e680
mov ecx, 0x8007000e
call fcn.1400040f0
int3
mov rcx, r12
call fcn.1400278f8
test rsi, rsi
je 0x14000e7db
mov rcx, rsi
call fcn.1400278f8
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r15d
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret