Function at 0x14002b8e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400ed1f8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, r9
mov rsi, r8
xor r15d, r15d
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x38], r15d
mov qword [rbp - 0x30], r15
cmp qword [rdx + 0x18], 8
jb 0x14002b91e
mov rdx, qword [rdx]
mov r9d, 0x20019
mov r8, rdx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x40]
call fcn.140003a20
mov edi, eax
test eax, eax
je 0x14002b949
cmp eax, 2
cmove edi, r15d
jmp 0x14002bb40
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r15w
mov word [rsp + 0x20], r15w
mov r9d, 0x400
movzx r8d, byte [rbp - 0x50]
mov edx, r9d
lea rcx, [rbp - 0x28]
call fcn.14000b350
lea rdi, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdi, qword [rbp - 0x28]
cmp qword [rsi + 0x18], 8
jb 0x14002b993
mov rsi, qword [rsi]
mov dword [rbp - 0x4c], 0x800
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x48]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002b9ed
mov eax, dword [rbp - 0x48]
dec eax
cmp eax, 1
ja 0x14002b9e8
mov ecx, dword [rbp - 0x4c]
test rdi, rdi
je 0x14002ba03
test ecx, ecx
je 0x14002b9ff
test cl, 1
jne 0x14002b9e8
mov eax, ecx
shr rax, 1
cmp word [rdi + rax*2 - 2], 0
je 0x14002ba03
mov eax, 0xd
mov edi, r15d
cmp eax, 2
cmovne edi, eax
mov rax, qword [rbp - 0x10]
jmp 0x14002baf7
mov word [rdi], r15w
shr ecx, 1
mov r8, qword [rbp - 0x18]
cmp rcx, r8
ja 0x14002ba27
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
mov qword [rbp - 0x18], rcx
mov word [rax + rcx*2], r15w
jmp 0x14002ba82
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp - 0x10]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x14002ba6b
mov qword [rbp - 0x18], rcx
lea r9, [rbp - 0x28]
cmp rdi, 8
cmovae r9, qword [rbp - 0x28]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x14002ba60
movzx eax, r15w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r15w
jmp 0x14002ba82
mov word [rsp + 0x20], r15w
mov r9, rdx
movzx r8d, byte [rbp - 0x50]
lea rcx, [rbp - 0x28]
call fcn.14000b350
lea rax, [rbp - 0x28]
cmp rbx, rax
je 0x14002baf0
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14002baca
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14002bac5
add rdx, 0x27
mov rdi, qword [rcx - 8]
sub rcx, rdi
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002bb73
mov rcx, rdi
call fcn.14005ce30
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp - 0x18], r15
mov eax, 7
mov qword [rbp - 0x10], rax
mov word [rbp - 0x28], r15w
jmp 0x14002baf4
mov rax, qword [rbp - 0x10]
mov edi, r15d
cmp rax, 8
jb 0x14002bb2f
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bb2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bb6d
call fcn.14005ce30
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r15w
cmp qword [rbp - 0x40], 0
je 0x14002bb51
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140068e00
add rsp, 0x80
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14008c3ec
nop
call fcn.14008c3ec
int3