Function at 0x1401bea20
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 0x1401bea8b
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 0x1401bef16
cmp qword [r8], r15
mov rdi, r15
je 0x1401bea97
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 0x1401beae9
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 0x1401bef16
mov ecx, dword [rsp + 0x38]
lea eax, [rcx - 1]
cmp eax, 1
mov eax, dword [rsp + 0x30]
jbe 0x1401beb03
cmp ecx, 7
jne 0x1401beb0a
add eax, 4
jmp 0x1401beb06
add eax, 2
mov dword [rsp + 0x30], eax
mov ebx, eax
movdqa xmm0, xmmword [0x140295600]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x20], rcx
cmp rbx, 0x100
jbe 0x1401beb49
mov ecx, ebx
call fcn.140223aa8
mov rcx, rax
mov qword [rbp - 0x20], rax
test rax, rax
je 0x1401bef3f
mov qword [rbp - 0x30], rbx
mov eax, dword [rsp + 0x30]
mov qword [rbp - 0x28], rbx
mov r8d, eax
xor edx, edx
call fcn.1402406a0
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.0x1401beba2.6
mov eax, dword [rsp + 0x38]
cmp eax, 0xb
ja case.0x1401beba2.6
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x1bef48]
add rcx, rdx
jmp rcx
cmp dword [rsp + 0x30], 0
jbe 0x1401bec3a
mov rbx, 0xffffffffffffffff
mov r8, rbx
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x60]
call fcn.14008e230
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 0x1401bec06
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bec06
mov rcx, qword [rbp - 0x60]
call fcn.14021b810
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.1400b0c80
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x1401bef04
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1401bef04
mov rcx, qword [rbp - 0x78]
call fcn.14021b810
jmp 0x1401bef04
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400b0c80
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1401bef04
mov rbx, 0xffffffffffffffff
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1401bef04
mov rcx, qword [rsp + 0x40]
call fcn.14021b810
jmp 0x1401bef04
xorps xmm0, xmm0
cmp dword [rsp + 0x30], 0
jbe 0x1401bee5b
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.14008e230
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 0x1401bed29
and dword [rsp + 0x34], 0xfffffffb
test rdi, rdi
je 0x1401bed29
mov eax, ebx
lock xadd dword [rdi], eax
cmp eax, 1
jne 0x1401bed29
mov rcx, rdi
call fcn.14021b810
nop
mov eax, dword [rsp + 0x34]
test al, 2
je 0x1401bed54
and dword [rsp + 0x34], 0xfffffffd
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1401bed54
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bed54
mov rcx, qword [rbp - 0x48]
call fcn.14021b810
nop
mov rax, qword [rbp - 0x80]
inc r14d
add r14d, eax
test rax, rax
je 0x1401bedc7
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x58]
call fcn.14003bde0
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1401bed88
mov eax, dword [rax]
cmp eax, 1
jle 0x1401bed9b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.14003a8f0
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1401becc0
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401becc0
mov rcx, qword [rsp + 0x70]
call fcn.14021b810
jmp 0x1401becc0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1401bede6
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bede6
mov rcx, qword [rsp + 0x70]
call fcn.14021b810
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.1400b0b10
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1401bef04
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bef04
mov rax, qword [rsp + 0x68]
lea rcx, [rax + rax*2]
mov rdi, qword [rsp + 0x60]
lea r14, [rdi + rcx*8]
cmp rdi, r14
je 0x1401bee4c
mov rcx, qword [rdi]
test rcx, rcx
je 0x1401bee43
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bee43
mov rcx, qword [rdi]
call fcn.14021b810
add rdi, 0x18
cmp rdi, r14
jne 0x1401bee28
mov rcx, qword [rsp + 0x58]
call fcn.14021b810
jmp 0x1401bef04
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400b0b10
lea rcx, [rsp + 0x40]
call fcn.140026820
jmp 0x1401bef04
cmp dword [rsp + 0x30], 0
jbe 0x1401bec3a
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.14000c340
mov rdx, rax
jmp 0x1401bec4d
mov rdx, qword [rbp - 0x20]
mov edx, dword [rdx]
mov rcx, rsi
call fcn.1400b0d30
jmp 0x1401bef04
mov rax, qword [rbp - 0x20]
mov edx, dword [rax]
bswap edx
mov rcx, rsi
call fcn.1400b0d30
jmp 0x1401bef04
mov rdx, qword [rbp - 0x20]
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.1400b10c0
jmp 0x1401bef04
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 0x1401bef16
call fcn.14021b810
mov rax, rsi
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140214340
mov rbx, qword [rsp + 0x248]
add rsp, 0x200
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14010b060
nop
nop dword [rax]
invalid