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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xfd8]
mov eax, 0x10b0
call fcn.140008100
sub rsp, rax
mov rax, qword [0x14000f198]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
xor esi, esi
mov r15d, ecx
mov r12d, 0x20019
lea rcx, [rbp - 0x80]
lea r8, [0x14000a5c8]
mov rdx, 0xffffffff80000002
mov r9d, r12d
mov qword [rbp - 0x80], rsi
mov dword [rbp - 0x78], esi
mov qword [rbp - 0x70], rsi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x78], rsi
mov r14d, esi
call fcn.1400010b8
mov edi, eax
test eax, eax
je 0x1400012e6
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400012df
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x14000146e
mov rbx, qword [rbp - 0x80]
lea r8, [0x14000a5e0]
lea rcx, [rsp + 0x38]
mov rdx, rbx
mov r9d, r12d
call fcn.1400010b8
mov edi, eax
test eax, eax
je 0x140001321
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140001317
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x1400012df
mov rcx, rbx
jmp 0x1400012d9
mov r9d, r12d
mov r12, qword [rsp + 0x38]
lea r8, [0x14000a5f8]
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.1400010b8
mov edi, eax
test eax, eax
je 0x14000135d
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140001353
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r12, r12
je 0x140001317
mov rcx, r12
jmp 0x140001311
mov edi, 0x800
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, edi
call sub.MSVCR100.dll_memset
mov r13, qword [rsp + 0x50]
xor edx, edx
jmp 0x1400013a7
lea rsi, [rbp - 0x60]
lea rdi, [0x14000a618]
mov ecx, 8
inc r14d
repe cmpsw word [rsi], word [rdi]
je 0x1400013c2
mov edi, 0x800
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, edi
call sub.MSVCR100.dll_memset
mov edx, r14d
lea r8, [rbp - 0x60]
mov r9d, edi
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test eax, eax
je 0x140001379
jmp 0x140001442
lea r8, [rbp - 0x60]
lea rcx, [rsp + 0x68]
mov r9d, 0x2001f
mov rdx, r13
call fcn.1400010b8
mov edi, eax
test eax, eax
je 0x140001400
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400013ef
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r13, r13
je 0x140001353
mov rcx, r13
jmp 0x14000134d
mov rdi, qword [rsp + 0x68]
lea rax, [rsp + 0x30]
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rdx, [0x14000a628]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test rdi, rdi
je 0x140001442
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r13, r13
je 0x140001450
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r12, r12
je 0x14000145e
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x14000146c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.1400080d0
lea r11, [rsp + 0x10b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret