Function at 0x14009e718
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
lea rbp, [rsp - 0x920]
sub rsp, 0xa20
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x910], rax
mov rax, rcx
mov qword [rsp + 0x78], rcx
lea rcx, [rsp + 0x58]
mov rsi, rdx
mov qword [rsp + 0x20], rcx
mov rbx, 0xffffffff80000001
mov rcx, rbx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14009e77c
xor al, al
jmp 0x14009e9d2
mov rdx, rsi
mov rcx, rbx
call fcn.14009ec74
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov rdx, rsi
mov qword [rsp + 0x38], rax
mov rcx, rbx
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14009e7d0
mov rcx, qword [rsp + 0x58]
call fcn.14009db20
jmp 0x14009e775
mov ecx, 0x100000
call fcn.1400f5a10
mov rbx, rax
test rax, rax
jne 0x14009e7f0
lea rcx, [0x14017d200]
call fcn.140063030
jmp 0x14009e775
lea rax, [rsp + 0x54]
xor edi, edi
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rdi
xor edx, edx
jmp 0x14009e85e
mov eax, dword [rsp + 0x54]
lea rdx, [rbp + 0x110]
mov r9d, dword [rsp + 0x60]
xor r8d, r8d
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rax, [rsp + 0x54]
inc edi
mov qword [rsp + 0x38], rax
mov edx, edi
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x110]
mov dword [rsp + 0x50], 0x200
mov dword [rsp + 0x54], 0x100000
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x14009e814
mov rcx, rbx
call fcn.1400f5a08
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
xor edi, edi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rdi
lea r8, [rbp - 0x80]
xor edx, edx
mov qword [rsp + 0x20], rdi
mov ebx, edi
mov dword [rsp + 0x50], 0xc8
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14009e9bc
mov rdi, qword [rsp + 0x78]
lea rax, [rbp - 0x80]
mov r9, rdi
lea r8, [0x140117030]
mov qword [rsp + 0x20], rax
mov edx, 0x200
lea rcx, [rbp + 0x510]
call fcn.1400026d0
lea rax, [rbp - 0x80]
mov r9, rsi
lea r8, [0x140117030]
mov qword [rsp + 0x20], rax
mov edx, 0x200
lea rcx, [rbp + 0x110]
call fcn.1400026d0
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, [rbp + 0x110]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000001
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14009e9bc
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x510]
call fcn.14009e718
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x50]
xor eax, eax
mov dword [rsp + 0x50], 0xc8
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x80]
mov qword [rsp + 0x28], rax
inc ebx
mov edx, ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14009e8d9
mov rcx, qword [rsp + 0x58]
call fcn.14009db20
mov rcx, qword [rsp + 0x70]
call fcn.14009db20
mov al, 1
mov rcx, qword [rbp + 0x910]
xor rcx, rsp
call fcn.1400eebd0
mov rbx, qword [rsp + 0xa50]
add rsp, 0xa20
pop rdi
pop rsi
pop rbp
ret