Function at 0x180008650
Capabilities:
Delete registry key

Disassembly:
jmp 0x1801b5dc0
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 [0x1805a6200]
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.180005390
xor eax, eax
test eax, eax
jne 0x1801b5e06
mov eax, 0x20
imul rax, rax, 1
mov dword [rsp + rax + 0x120], 1
cmp qword [rsp + 0x430], 0
je 0x1801b5e71
mov rax, qword [rsp + 0x430]
mov qword [rsp + 0x410], rax
jmp 0x1801b5e80
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.180005390
xor eax, eax
test eax, eax
jne 0x1801b5e40
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.180005390
xor eax, eax
test eax, eax
jne 0x1801b5ea7
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.ProcessMonitor.dll_PhFormatToBuffer
movzx eax, al
test eax, eax
jne 0x1801b5f1f
mov eax, 0xc0000001
jmp 0x1801b6089
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.ProcessMonitor.dll_PhCreateKey
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1801b5f8f
mov eax, dword [rsp + 0x40]
jmp 0x1801b6089
lea rdx, str.SecurityLevel
lea rcx, [rsp + 0x98]
call fcn.180013390
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.ProcessMonitor.dll_PhSetValueKey
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1801b5fde
jmp 0x1801b6061
mov rax, qword [rsp + 0x438]
movzx eax, byte [rax + 4]
test eax, eax
je 0x1801b6061
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.1800128c0
test eax, eax
jl 0x1801b6061
lea rdx, str.DynamicConfiguration
lea rcx, [rsp + 0x98]
call fcn.180013390
mov dword [rsp + 0x20], 0x2c
lea r9, [rsp + 0x3c8]
mov r8d, 3
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
call sym.ProcessMonitor.dll_PhSetValueKey
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1801b607a
cmp dword [rsp + 0x74], 1
jne 0x1801b607a
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, [0x1804c8cc0]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0x418]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x420
pop rdi
ret