Function at 0x1401c77c0
Capabilities:
Delete registry key

Disassembly:
jmp 0x1401c77c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x420
lea rdi, [rsp + 0x40]
mov ecx, 0xf8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x430]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x418], rax
mov qword [rsp + 0x58], 0
mov eax, 0x20
imul rax, rax, 0
mov dword [rsp + rax + 0x120], 1
mov eax, 0x20
imul rax, rax, 0
lea rax, [rsp + rax + 0x130]
lea rdx, str.SystemCurrentControlSetServices_
mov rcx, rax
call fcn.140005530
xor eax, eax
test eax, eax
jne 0x1401c7806
mov eax, 0x20
imul rax, rax, 1
mov dword [rsp + rax + 0x120], 1
cmp qword [rsp + 0x430], 0
je 0x1401c7871
mov rax, qword [rsp + 0x430]
mov qword [rsp + 0x410], rax
jmp 0x1401c7880
lea rax, str.KProcessHacker3
mov qword [rsp + 0x410], rax
mov eax, 0x20
imul rax, rax, 1
lea rax, [rsp + rax + 0x130]
mov rdx, qword [rsp + 0x410]
mov rcx, rax
call fcn.140005530
xor eax, eax
test eax, eax
jne 0x1401c7840
mov eax, 0x20
imul rax, rax, 2
mov dword [rsp + rax + 0x120], 1
mov eax, 0x20
imul rax, rax, 2
lea rax, [rsp + rax + 0x130]
lea rdx, str.Parameters
mov rcx, rax
call fcn.140005530
xor eax, eax
test eax, eax
jne 0x1401c78a7
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
mov r9d, 0x208
lea r8, [rsp + 0x1a0]
mov edx, 3
lea rcx, [rsp + 0x120]
call sym.ProcessHacker.exe_PhFormatToBuffer
movzx eax, al
test eax, eax
jne 0x1401c791f
mov eax, 0xc0000001
jmp 0x1401c7a89
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xc8]
sub rax, 2
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0xe8]
mov r8, 0xfffffffffffffffd
mov edx, 0x30006
lea rcx, [rsp + 0x58]
call sym.ProcessHacker.exe_PhCreateKey
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1401c798f
mov eax, dword [rsp + 0x40]
jmp 0x1401c7a89
lea rdx, str.SecurityLevel
lea rcx, [rsp + 0x98]
call fcn.140013bf0
mov rax, qword [rsp + 0x438]
mov dword [rsp + 0x20], 4
mov r9, rax
mov r8d, 4
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
call sym.ProcessHacker.exe_PhSetValueKey
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1401c79de
jmp 0x1401c7a61
mov rax, qword [rsp + 0x438]
movzx eax, byte [rax + 4]
test eax, eax
je 0x1401c7a61
mov dword [rsp + 0x3c8], 3
mov dword [rsp + 0x3cc], 1
mov eax, 0x24
imul rax, rax, 0
lea rax, [rsp + rax + 0x3d0]
mov rcx, rax
call fcn.1400130f0
test eax, eax
jl 0x1401c7a61
lea rdx, str.DynamicConfiguration
lea rcx, [rsp + 0x98]
call fcn.140013bf0
mov dword [rsp + 0x20], 0x2c
lea r9, [rsp + 0x3c8]
mov r8d, 3
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
call sym.ProcessHacker.exe_PhSetValueKey
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1401c7a7a
cmp dword [rsp + 0x74], 1
jne 0x1401c7a7a
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtDeleteKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [rsp + 0x40]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404f9d70]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0x418]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x420
pop rdi
ret