Function at 0x14009b554
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 0x14009b5ac
xor al, al
jmp 0x14009b7d4
mov rdx, rsi
mov rcx, rbx
call fcn.14009aa48
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 0x14009b600
mov rcx, qword [rsp + 0x58]
call fcn.140099fcc
jmp 0x14009b5a5
mov ecx, 0x100000
call fcn.1400eb0f4
mov rbx, rax
test rax, rax
jne 0x14009b620
lea rcx, [0x140149f20]
call fcn.14003c4e4
jmp 0x14009b5a5
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 0x14009b68f
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 0x14009b644
mov rcx, rbx
call fcn.1400ea2a8
xor edi, edi
xor edx, edx
mov ebx, edi
jmp 0x14009b77d
lea rax, [rsp + 0x80]
lea r8, [0x140112098]
lea rcx, [rsp + 0x610]
mov r9, rbp
mov edx, 0x200
mov qword [rsp + 0x20], rax
call fcn.1400e0c0c
lea r11, [rsp + 0x80]
lea r8, [0x140112098]
lea rcx, [rsp + 0x210]
mov r9, rsi
mov edx, 0x200
mov qword [rsp + 0x20], r11
call fcn.1400e0c0c
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 0x14009b7be
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x610]
call fcn.14009b554
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 0x14009b6ce
mov rcx, qword [rsp + 0x58]
call fcn.140099fcc
mov rcx, qword [rsp + 0x68]
call fcn.140099fcc
mov al, 1
mov rcx, qword [rsp + 0xa10]
xor rcx, rsp
call fcn.1400e9d80
mov rbx, qword [rsp + 0xa50]
add rsp, 0xa20
pop rdi
pop rsi
pop rbp
ret