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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x14020a008]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rsi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, str.RegEdit_RegEdit
xor dil, dil
call qword [sym.imp.USER32.dll_FindWindowW]
mov r14, rax
test rax, rax
jne 0x14000f687
mov rdx, rsi
mov rcx, rbx
call sym.ProcessHacker.exe_PhShellOpenKey
mov al, 1
jmp 0x14000f8db
lea rcx, ds:[rbp - 0x78]
call sym.ProcessHacker.exe_PhGetOwnTokenAttributes
test byte [rax + 8], 1
jne 0x14000f6b8
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call sym.ProcessHacker.exe_PhUiConnectToPhSvcEx
nop dword [rax + rax]
test al, al
je 0x14000f8db
mov rcx, qword [0x14020d108]
mov word [rsp + 0x70], cx
lea eax, [rcx + 2]
mov word [rsp + 0x72], ax
mov rax, qword [str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegeditFavorites]
mov qword [rsp + 0x78], rax
cmp rcx, 0xfffe
ja 0x14000f8c2
xor r8d, r8d
lea rax, [rsp + 0x58]
lea r9, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x70]
lea rcx, [r8 - 9]
call fcn.140120390
test eax, eax
js 0x14000f8c2
mov qword [rsp + 0x160], r15
lea r8, [rbp - 0x60]
xor r15d, r15d
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], r15d
mov edx, 0x20006
mov qword [rsp + 0x20], r15
call qword [sym.imp.ntdll.dll_NtCreateKey]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
test rcx, rcx
je 0x14000f74f
call qword [sym.imp.ntdll.dll_NtClose]
nop
test ebx, ebx
js 0x14000f8ba
mov eax, dword [0x1401b4850]
lea rbx, [rbp - 0x12]
movups xmm0, xmmword [str.A_DeltrixHacker]
mov edi, 0xf
mov dword [rbp - 0x18], eax
movsd xmm1, qword [0x1401b4848]
movzx eax, word [0x1401b4854]
movaps xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x14], ax
movsd qword [rbp - 0x20], xmm1
nop dword [rax]
lea rcx, [0x1402169e0]
call qword [sym.imp.ntdll.dll_RtlRandomEx]
mov ecx, eax
lea rbx, [rbx + 2]
mov eax, 0x4ec4ec4f
mul ecx
shr edx, 3
imul eax, edx, 0x1a
sub ecx, eax
add cx, 0x41
mov word [rbx - 2], cx
sub rdi, 1
jne 0x14000f790
lea rcx, [rbp - 0x30]
mov word [rbp + 0xc], r15w
call sym.ProcessHacker.exe_PhCountStringZ
mov rbx, rax
mov rcx, rsi
lea rax, [rbp - 0x30]
add rbx, rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rax
call fcn.140100d40
mov rdi, rax
mov word [rsp + 0x48], bx
mov ecx, dword [rax]
mov rdx, qword [rax + 8]
add ecx, 2
lea eax, [rbx + 2]
mov word [rsp + 0x4a], ax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x50], rax
cmp rbx, 0xfffe
ja 0x14000f83b
mov dword [rsp + 0x28], ecx
mov r9d, 1
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtSetValueKey]
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000f855
nop
call fcn.140106290
lea rcx, [rbp - 0x78]
call sym.ProcessHacker.exe_PhGetOwnTokenAttributes
lea rdx, [rsp + 0x60]
mov rcx, r14
movzx r8d, byte [rax + 8]
not r8b
and r8b, 1
call fcn.14000f360
mov rdx, qword [rsp + 0x60]
movzx edi, al
mov word [rsp + 0x48], dx
lea ecx, [rdx + 2]
mov word [rsp + 0x4a], cx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x50], rcx
cmp rdx, 0xfffe
ja 0x14000f8af
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtDeleteValueKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtClose]
mov r15, qword [rsp + 0x160]
lea rcx, [rsp + 0x70]
call sym.ProcessHacker.exe_PhGetOwnTokenAttributes
test byte [rax + 8], 1
jne 0x14000f8d7
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
movzx eax, dil
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140161390
add rsp, 0x120
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret