Function at 0x14009b4bc
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xa20
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0xa10], rax
lea rax, [rsp + 0x58]
mov rsi, rdx
mov rbp, rcx
mov rdx, rcx
mov rbx, 0xffffffff80000001
mov r9d, 0x20019
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14009b514
xor al, al
jmp 0x14009b73c
mov rdx, rsi
mov rcx, rbx
call fcn.14009a9c0
lea r11, [rsp + 0x70]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x28], 0x20006
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14009b568
mov rcx, qword [rsp + 0x58]
call fcn.140099f44
jmp 0x14009b50d
mov ecx, 0x100000
call fcn.1400ea464
mov rbx, rax
test rax, rax
jne 0x14009b588
lea rcx, [0x140149f00]
call fcn.14003c514
jmp 0x14009b50d
lea rax, [rsp + 0x54]
xor edi, edi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rdi
xor edx, edx
jmp 0x14009b5f7
mov eax, dword [rsp + 0x54]
mov r9d, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x210]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
inc edi
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x60]
mov edx, edi
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x210]
mov dword [rsp + 0x50], 0x200
mov dword [rsp + 0x54], 0x100000
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x14009b5ac
mov rcx, rbx
call fcn.1400e9aa4
xor edi, edi
xor edx, edx
mov ebx, edi
jmp 0x14009b6e5
lea rax, [rsp + 0x80]
lea r8, [0x140112088]
lea rcx, [rsp + 0x610]
mov r9, rbp
mov edx, 0x200
mov qword [rsp + 0x20], rax
call fcn.140057264
lea r11, [rsp + 0x80]
lea r8, [0x140112088]
lea rcx, [rsp + 0x210]
mov r9, rsi
mov edx, 0x200
mov qword [rsp + 0x20], r11
call fcn.140057264
lea r11, [rsp + 0x70]
mov qword [rsp + 0x40], r11
lea rax, [rsp + 0x68]
lea rdx, [rsp + 0x210]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x14009b726
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x610]
call fcn.14009b4bc
inc ebx
mov edx, ebx
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x80]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x50], 0xc8
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, edi
je 0x14009b636
mov rcx, qword [rsp + 0x58]
call fcn.140099f44
mov rcx, qword [rsp + 0x68]
call fcn.140099f44
mov al, 1
mov rcx, qword [rsp + 0xa10]
xor rcx, rsp
call fcn.1400e9d00
mov rbx, qword [rsp + 0xa50]
add rsp, 0xa20
pop rdi
pop rsi
pop rbp
ret