Function at 0x14009e910
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 [0x1401412b0]
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 0x14009e974
xor al, al
jmp 0x14009ebca
mov rdx, rsi
mov rcx, rbx
call fcn.14009ee6c
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 0x14009e9c8
mov rcx, qword [rsp + 0x58]
call fcn.14009dd18
jmp 0x14009e96d
mov ecx, 0x100000
call fcn.1400f8130
mov rbx, rax
test rax, rax
jne 0x14009e9e8
lea rcx, [0x14017f200]
call fcn.14006335c
jmp 0x14009e96d
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 0x14009ea56
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 0x14009ea0c
mov rcx, rbx
call fcn.1400f8128
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 0x14009ebb4
mov rdi, qword [rsp + 0x78]
lea rax, [rbp - 0x80]
mov r9, rdi
lea r8, [0x140119050]
mov qword [rsp + 0x20], rax
mov edx, 0x200
lea rcx, [rbp + 0x510]
call fcn.1400026d0
lea rax, [rbp - 0x80]
mov r9, rsi
lea r8, [0x140119050]
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 0x14009ebb4
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x510]
call fcn.14009e910
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 0x14009ead1
mov rcx, qword [rsp + 0x58]
call fcn.14009dd18
mov rcx, qword [rsp + 0x70]
call fcn.14009dd18
mov al, 1
mov rcx, qword [rbp + 0x910]
xor rcx, rsp
call fcn.1400f12e0
mov rbx, qword [rsp + 0xa50]
add rsp, 0xa20
pop rdi
pop rsi
pop rbp
ret