Function at 0x1401be9f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x38], rdx
xor r15d, r15d
mov dword [rsp + 0x34], r15d
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1401bea5b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov rcx, qword [rdx + 0x18]
and rcx, 0xfffffffffffffffe
or rcx, 2
and ecx, 3
mov qword [rdx + 0x18], rcx
jmp 0x1401beee6
cmp qword [r8], r15
mov rdi, r15
je 0x1401bea67
mov rdi, qword [r8 + 8]
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1401beab9
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rax
mov rax, qword [rsi + 0x18]
and rax, 0xfffffffffffffffe
or rax, 2
and eax, 3
mov qword [rsi + 0x18], rax
jmp 0x1401beee6
mov ecx, dword [rsp + 0x38]
lea eax, [rcx - 1]
cmp eax, 1
mov eax, dword [rsp + 0x30]
jbe 0x1401bead3
cmp ecx, 7
jne 0x1401beada
add eax, 4
jmp 0x1401bead6
add eax, 2
mov dword [rsp + 0x30], eax
mov ebx, eax
movdqa xmm0, xmmword [0x140295620]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x20], rcx
cmp rbx, 0x100
jbe 0x1401beb19
mov ecx, ebx
call fcn.140223a88
mov rcx, rax
mov qword [rbp - 0x20], rax
test rax, rax
je 0x1401bef0f
mov qword [rbp - 0x30], rbx
mov eax, dword [rsp + 0x30]
mov qword [rbp - 0x28], rbx
mov r8d, eax
xor edx, edx
call fcn.140240680
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne case.0x1401beb72.6
mov eax, dword [rsp + 0x38]
cmp eax, 0xb
ja case.0x1401beb72.6
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x1bef18]
add rcx, rdx
jmp rcx
cmp dword [rsp + 0x30], 0
jbe 0x1401bec0a
mov rbx, 0xffffffffffffffff
mov r8, rbx
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x60]
call fcn.14008e200
nop
mov rcx, qword [rax]
mov qword [rbp - 0x78], rcx
mov rcx, qword [rax + 8]
mov qword [rbp - 0x70], rcx
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x68], rcx
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1401bebd6
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bebd6
mov rcx, qword [rbp - 0x60]
call fcn.14021b7f0
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.1400b0c50
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x1401beed4
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1401beed4
mov rcx, qword [rbp - 0x78]
call fcn.14021b7f0
jmp 0x1401beed4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400b0c50
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1401beed4
mov rbx, 0xffffffffffffffff
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1401beed4
mov rcx, qword [rsp + 0x40]
call fcn.14021b7f0
jmp 0x1401beed4
xorps xmm0, xmm0
cmp dword [rsp + 0x30], 0
jbe 0x1401bee2b
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x58], r15
movdqu xmmword [rsp + 0x60], xmm0
mov r14d, r15d
mov rbx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x38]
nop dword [rax]
nop word [rax + rax]
movsxd rcx, r14d
mov rax, qword [rbp - 0x20]
lea rdx, [rax + rcx*2]
mov r8, rbx
lea rcx, [rbp - 0x48]
call fcn.14008e200
nop
mov rcx, qword [rax]
mov qword [rsp + 0x70], rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x78], rcx
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x80], rcx
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov eax, dword [rsp + 0x34]
or eax, 0xa
mov dword [rsp + 0x34], eax
test al, 4
je 0x1401becf9
and dword [rsp + 0x34], 0xfffffffb
test rdi, rdi
je 0x1401becf9
mov eax, ebx
lock xadd dword [rdi], eax
cmp eax, 1
jne 0x1401becf9
mov rcx, rdi
call fcn.14021b7f0
nop
mov eax, dword [rsp + 0x34]
test al, 2
je 0x1401bed24
and dword [rsp + 0x34], 0xfffffffd
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1401bed24
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bed24
mov rcx, qword [rbp - 0x48]
call fcn.14021b7f0
nop
mov rax, qword [rbp - 0x80]
inc r14d
add r14d, eax
test rax, rax
je 0x1401bed97
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x58]
call fcn.14003bdb0
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1401bed58
mov eax, dword [rax]
cmp eax, 1
jle 0x1401bed6b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.14003a8c0
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1401bec90
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bec90
mov rcx, qword [rsp + 0x70]
call fcn.14021b7f0
jmp 0x1401bec90
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1401bedb6
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bedb6
mov rcx, qword [rsp + 0x70]
call fcn.14021b7f0
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.1400b0ae0
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1401beed4
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401beed4
mov rax, qword [rsp + 0x68]
lea rcx, [rax + rax*2]
mov rdi, qword [rsp + 0x60]
lea r14, [rdi + rcx*8]
cmp rdi, r14
je 0x1401bee1c
mov rcx, qword [rdi]
test rcx, rcx
je 0x1401bee13
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bee13
mov rcx, qword [rdi]
call fcn.14021b7f0
add rdi, 0x18
cmp rdi, r14
jne 0x1401bedf8
mov rcx, qword [rsp + 0x58]
call fcn.14021b7f0
jmp 0x1401beed4
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400b0ae0
lea rcx, [rsp + 0x40]
call fcn.1400267f0
jmp 0x1401beed4
cmp dword [rsp + 0x30], 0
jbe 0x1401bec0a
mov rax, qword [rbp - 0x28]
cqo
sub rax, rdx
sar rax, 1
mov r8, rax
mov rdx, qword [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.14000c330
mov rdx, rax
jmp 0x1401bec1d
mov rdx, qword [rbp - 0x20]
mov edx, dword [rdx]
mov rcx, rsi
call fcn.1400b0d00
jmp 0x1401beed4
mov rax, qword [rbp - 0x20]
mov edx, dword [rax]
bswap edx
mov rcx, rsi
call fcn.1400b0d00
jmp 0x1401beed4
mov rdx, qword [rbp - 0x20]
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.1400b1090
jmp 0x1401beed4
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
xor eax, eax
mov qword [rsi + 0x10], rax
mov rax, qword [rsi + 0x18]
and rax, 0xfffffffffffffffe
or rax, 2
and eax, 3
mov qword [rsi + 0x18], rax
lea rax, [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
cmp rcx, rax
je 0x1401beee6
call fcn.14021b7f0
mov rax, rsi
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140214310
mov rbx, qword [rsp + 0x248]
add rsp, 0x200
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14010b030
nop
nop dword [rax]
push rdx
out dx, al
sbb eax, dword [rax]
je 0x1401bef09
sbb eax, dword [rax]
je 0x1401bef0d
sbb eax, dword [rax]
push rdx
out dx, al
sbb eax, dword [rax]
invalid