Function at 0x1400bc4b0
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 [0x140183c48]
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 0x1400bc56c
mov rdx, rsi
mov rcx, r13
call fcn.1400bc9f8
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 0x1400bc599
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400bc56c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rbp + 0xb80]
xor rcx, rsp
call fcn.14011a150
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.1401273c4
mov rbx, rax
test rax, rax
jne 0x1400bc5b9
lea rcx, [0x1401cb7d8]
call fcn.14007e698
jmp 0x1400bc56c
mov edi, r15d
xor edx, edx
jmp 0x1400bc5e8
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 0x1400bc5c0
mov rcx, rbx
call fcn.140125bf8
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 0x1400bc755
mov edi, 0x200
lea rax, [rbp - 0x80]
mov r9, r14
lea r8, [0x140153468]
mov qword [rsp + 0x20], rax
mov rdx, rdi
lea rcx, [rbp + 0x780]
call fcn.140004dcc
lea rax, [rbp - 0x80]
mov r9, rsi
lea r8, [0x140153468]
mov qword [rsp + 0x20], rax
mov rdx, rdi
lea rcx, [rbp + 0x380]
call fcn.140004dcc
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 0x1400bc755
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x780]
call fcn.1400bc4b0
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 0x1400bc67d
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400bc765
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400bc775
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x1400bc56e