Function at 0x14001f860
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword ss:[rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1402bb040]
xor rax, rsp
mov qword [rbp], rax
mov r14, rdx
mov rbx, rcx
xor edx, edx
lea rcx, str.RegEdit_RegEdit
xor dil, dil
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
test rax, rax
jne 0x14001f8c5
mov rdx, r14
mov rcx, rbx
call sym.SystemInformer.exe_Ordinal_1142
mov al, 1
jmp 0x14001fa9f
lea rcx, [rsp + 0x58]
call sym.SystemInformer.exe_Ordinal_1518
test byte [rax + 8], 1
jne 0x14001f8ed
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call sym.SystemInformer.exe_Ordinal_1184
test al, al
je 0x14001fa9f
mov rcx, qword [0x1402bc460]
mov word [rsp + 0x58], cx
lea eax, [rcx + 2]
mov word [rsp + 0x5a], ax
mov rax, qword [str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegeditFavorites]
mov qword [rsp + 0x60], rax
cmp rcx, 0xfffe
ja 0x14001fa86
lea rax, [rsp + 0x40]
xor r8d, r8d
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x58]
mov rcx, 0xfffffffffffffff7
call fcn.14016ae40
mov ebx, eax
test eax, eax
js 0x14001f97d
xor eax, eax
lea r8, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x60]
mov dword [rsp + 0x28], eax
xor r9d, r9d
mov edx, 0x20006
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtCreateKey]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
test rcx, rcx
je 0x14001f97d
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax]
test ebx, ebx
js 0x14001fa86
movups xmm0, xmmword [str.A_SystemInformer]
mov edx, 0x11
lea rcx, [rbp - 0x30]
movups xmm1, xmmword [0x140268f48]
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x40], xmm1
call sym.SystemInformer.exe_Ordinal_1633
lea rax, [rbp - 0x50]
mov edi, 0x40
mov rcx, r14
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rdi
call fcn.14013e6a0
lea rdx, ds:[rbp - 0x50]
mov dword [rsp + 0x40], 0x420040
mov rbx, rax
mov qword [rsp + 0x48], rdx
mov r9d, 1
lea rdx, [rsp + 0x40]
mov ecx, dword [rax]
xor r8d, r8d
mov rax, qword [rax + 8]
add ecx, 2
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp - 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtSetValueKey]
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001fa1e
call fcn.140143da0
lea rcx, [rsp + 0x40]
call sym.SystemInformer.exe_Ordinal_1518
lea rdx, ds:[rsp + 0x58]
mov rcx, rsi
movzx r8d, byte [rax + 8]
not r8b
and r8b, 1
call fcn.14001f100
mov rdx, qword [rsp + 0x58]
movzx edi, al
mov word [rsp + 0x40], dx
lea ecx, [rdx + 2]
mov word [rsp + 0x42], cx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
cmp rdx, 0xfffe
ja 0x14001fa7c
mov rcx, qword [rbp - 0x60]
lea rdx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtDeleteValueKey]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
lea rcx, [rsp + 0x58]
call sym.SystemInformer.exe_Ordinal_1518
test byte [rax + 8], 1
jne 0x14001fa9b
call sym.SystemInformer.exe_Ordinal_1190
movzx eax, dil
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1401e5e40
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret