Function at 0x14000d5f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x14003ae50]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov ecx, 0x30
call fcn.140018b7c
mov qword [rbp - 9], rax
xor edi, edi
test rax, rax
je 0x14000d63f
mov rcx, rax
call fcn.14000ff30
mov rbx, rax
jmp 0x14000d642
mov rbx, rdi
mov r8d, 0xb
lea rdx, [0x1400386e8]
mov rcx, rbx
call fcn.14000ffb0
mov r8d, 0x78
lea rdx, [0x140038670]
mov rcx, rbx
call fcn.14000ffa0
lea rdx, [rbp + 0x27]
mov rcx, rbx
call fcn.140010560
nop
mov qword [rbp - 0x21], rdi
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rdx, qword [rbp + 0x27]
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x14000d6c6
cmp qword [rbp + 0x3f], 8
jb 0x14000d6bf
mov rcx, qword [rbp + 0x27]
call fcn.1400187b4
xor al, al
jmp 0x14000d864
mov dword [rbp - 0x29], edi
mov dword [rbp - 0x19], 4
mov r8d, 0x24
lea rdx, [0x1400384b8]
mov rcx, rbx
call fcn.14000ffa0
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.140010560
nop
test rbx, rbx
je 0x14000d707
mov rcx, rbx
call fcn.14000ff70
mov rcx, rbx
call fcn.1400187b4
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rdx, qword [rbp - 1]
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x21]
test eax, eax
je 0x14000d781
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp + 0x17], 8
jb 0x14000d756
mov rcx, qword [rbp - 1]
call fcn.1400187b4
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], rdi
mov word [rbp - 1], di
cmp qword [rbp + 0x3f], 8
jb 0x14000d6bf
mov rcx, qword [rbp + 0x27]
call fcn.1400187b4
xor al, al
jmp 0x14000d864
cmp dword [rbp - 0x29], 0
jne 0x14000d7b3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp + 0x17], 8
jb 0x14000d79e
mov rcx, qword [rbp - 1]
call fcn.1400187b4
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], rdi
mov word [rbp - 1], di
jmp 0x14000d852
mov dword [rbp - 0x29], edi
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rdx, qword [rbp - 1]
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x21]
test eax, eax
je 0x14000d82b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp + 0x17], 8
jb 0x14000d803
mov rcx, qword [rbp - 1]
call fcn.1400187b4
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], rdi
mov word [rbp - 1], di
cmp qword [rbp + 0x3f], 8
jb 0x14000d6bf
mov rcx, qword [rbp + 0x27]
call fcn.1400187b4
xor al, al
jmp 0x14000d864
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp + 0x17], 8
jb 0x14000d842
mov rcx, qword [rbp - 1]
call fcn.1400187b4
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], rdi
mov word [rbp - 1], di
cmp qword [rbp + 0x3f], 8
jb 0x14000d862
mov rcx, qword [rbp + 0x27]
call fcn.1400187b4
mov al, 1
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400194d0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret