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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0xb90]
sub rsp, 0xc90
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rbp + 0xb80], rax
mov rsi, rdx
lea rax, [rsp + 0x58]
mov rdx, rcx
mov qword [rsp + 0x20], rax
mov r14, rcx
mov r13, 0xffffffff80000001
mov rcx, r13
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r15d, r15d
test eax, eax
jne 0x140114ea4
mov rdx, rsi
mov rcx, r13
call fcn.1401152e0
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, r13
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x140114ed1
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140114ea4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rbp + 0xb80]
xor rcx, rsp
call fcn.1401af480
lea r11, [rsp + 0xc90]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
mov ecx, 0x100000
call fcn.1401bc7f0
mov rbx, rax
test rax, rax
jne 0x140114ef1
lea rcx, [0x14023fd90]
call fcn.1400bfec0
jmp 0x140114ea4
mov edi, r15d
xor edx, edx
jmp 0x140114f20
mov eax, dword [rsp + 0x54]
lea rdx, [rbp - 0x80]
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]
inc edi
mov edx, edi
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x80]
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x50], 0x200
mov dword [rsp + 0x54], 0x100000
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x140114ef8
mov rcx, rbx
call fcn.1401bc7dc
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x50]
mov qword [rsp + 0x30], r15
lea r8, [rbp - 0x80]
mov qword [rsp + 0x28], r15
xor edx, edx
mov qword [rsp + 0x20], r15
mov ebx, r15d
mov dword [rsp + 0x50], 0xc8
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14011508d
mov edi, 0x200
lea rax, [rbp - 0x80]
mov r9, r14
lea r8, [0x1401eee38]
mov qword [rsp + 0x20], rax
mov rdx, rdi
lea rcx, [rbp + 0x780]
call fcn.1400132f8
lea rax, [rbp - 0x80]
mov r9, rsi
lea r8, [0x1401eee38]
mov qword [rsp + 0x20], rax
mov rdx, rdi
lea rcx, [rbp + 0x380]
call fcn.1400132f8
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, [rbp + 0x380]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, r13
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14011508d
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x780]
call fcn.140114de8
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x50]
mov qword [rsp + 0x30], r15
lea r8, [rbp - 0x80]
inc ebx
mov qword [rsp + 0x28], r15
mov edx, ebx
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x50], 0xc8
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140114fb5
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14011509d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1401150ad
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x140114ea6