Function at 0x1400beba0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1414cdb60]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r14, r8
mov rsi, rcx
mov byte [r8], 0
mov dword [rsp + 0x40], 0x2c
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x60]
call fcn.1400a6b80
mov rbx, rax
or r8d, 0xffffffff
lea rdx, [0x141472db8]
lea rcx, [rsp + 0x58]
call fcn.1400015b0
nop
mov byte [rsp + 0x30], 0x5c
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.1400209e0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rcx, [0x14135c948]
mov qword [rsp + 0x48], rcx
mov eax, dword [0x14135c948]
test eax, eax
je 0x1400bec73
cmp eax, 0xffffffff
je 0x1400bec82
lock dec dword [0x14135c948]
jne 0x1400bec82
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1400bec9c
cmp eax, 0xffffffff
je 0x1400becab
lock dec dword [rcx]
jne 0x1400becab
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400becc5
cmp eax, 0xffffffff
je 0x1400becd3
lock dec dword [rcx]
jne 0x1400becd3
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
lea rcx, [rsp + 0x50]
call fcn.14001a740
mov rdx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400bedce
mov dword [rsp + 0x34], 0x40
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1414731d8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x34], 0x40
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1414731e0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1414731e8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400bedc3
mov eax, dword [rbp - 0x70]
mov dword [rbp - 0x40], eax
mov eax, dword [rbp - 0x6c]
mov dword [rbp + 0x14], eax
mov eax, dword [rbp - 0x68]
mov dword [rbp + 0x68], eax
movups xmm0, xmmword [rbp - 0x64]
movups xmmword [rbp + 4], xmm0
movups xmm0, xmmword [rbp - 0x54]
movups xmmword [rbp + 0x58], xmm0
mov byte [r14], 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x40]
movups xmm0, xmmword [rcx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rsi + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rsi + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rsi + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rsi + 0x60], xmm0
movups xmm0, xmmword [rcx + 0x70]
movups xmmword [rsi + 0x70], xmm0
movups xmm1, xmmword [rcx + 0x80]
movups xmmword [rsi + 0x80], xmm1
movups xmm0, xmmword [rcx + 0x90]
movups xmmword [rsi + 0x90], xmm0
mov rax, qword [rcx + 0xa0]
mov qword [rsi + 0xa0], rax
mov eax, dword [rcx + 0xa8]
mov dword [rsi + 0xa8], eax
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1400bee60
cmp eax, 0xffffffff
je 0x1400bee6e
lock dec dword [rcx]
jne 0x1400bee6e
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov rax, rsi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400face0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret