Function at 0x1400bb020
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x528
lea rax, [rsp + 0x100]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.14020b260
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x530]
mov rcx, qword [rsp + 0x60]
call fcn.1400133e0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov r8, 0xffffffff80000001
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.1400c48e0
nop
lea rax, [rsp + 0x110]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.14020b7a0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x118]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x530]
mov rcx, qword [rsp + 0x98]
call fcn.1400133e0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb0], rax
mov r8, 0xffffffff80000001
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.1400c48e0
nop
movzx eax, byte [rsp + 0x540]
test eax, eax
jne 0x1400bb15d
mov al, 1
jmp 0x1400bb2fe
lea rcx, [rsp + 0xc0]
call fcn.14020b260
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.14000f0c0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0xc0]
call fcn.1400165c0
nop
cmp dword [rsp + 0x38], 0
je 0x1400bb1c2
xor al, al
jmp 0x1400bb2fe
mov dword [rsp + 0x3c], 0x200
mov rcx, qword [rsp + 0x530]
call fcn.14000f0c0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400bb2b8
mov rcx, qword [rsp + 0x538]
call fcn.14000f0c0
mov rcx, rax
call fcn.140267d20
shl rax, 1
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x538]
call fcn.14000f0c0
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0x530]
call fcn.14000f0c0
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xe8], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
jmp 0x1400bb2f1
mov rcx, qword [rsp + 0x530]
call fcn.14000f0c0
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x528
ret