Function at 0x1400a68b4
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 [0x140160370]
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 0x1400a6918
xor al, al
jmp 0x1400a6b6e
mov rdx, rsi
mov rcx, rbx
call fcn.1400a6e18
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 0x1400a696c
mov rcx, qword [rsp + 0x58]
call fcn.1400a5cac
jmp 0x1400a6911
mov ecx, 0x100000
call fcn.14010348c
mov rbx, rax
test rax, rax
jne 0x1400a698c
lea rcx, [0x14019bd38]
call fcn.140069548
jmp 0x1400a6911
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 0x1400a69fa
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 0x1400a69b0
mov rcx, rbx
call fcn.140103484
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 0x1400a6b58
mov rdi, qword [rsp + 0x78]
lea rax, [rbp - 0x80]
mov r9, rdi
lea r8, [0x140130fd0]
mov qword [rsp + 0x20], rax
mov edx, 0x200
lea rcx, [rbp + 0x510]
call fcn.140002810
lea rax, [rbp - 0x80]
mov r9, rsi
lea r8, [0x140130fd0]
mov qword [rsp + 0x20], rax
mov edx, 0x200
lea rcx, [rbp + 0x110]
call fcn.140002810
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 0x1400a6b58
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x510]
call fcn.1400a68b4
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 0x1400a6a75
mov rcx, qword [rsp + 0x58]
call fcn.1400a5cac
mov rcx, qword [rsp + 0x70]
call fcn.1400a5cac
mov al, 1
mov rcx, qword [rbp + 0x910]
xor rcx, rsp
call fcn.1400fc4f0
mov rbx, qword [rsp + 0xa50]
add rsp, 0xa20
pop rdi
pop rsi
pop rbp
ret