Function at 0x140001070
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
xor ebx, ebx
mov dword [rsp + 0x58], 0xccceccce
lea rax, [rsp + 0x58]
mov qword [rsp + 0x60], rbx
xorps xmm0, xmm0
mov qword [rsp + 0x70], rbx
lea r8, [rsp + 0x68]
mov dword [rbp - 0x80], ebx
mov edx, 0x80000000
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x68], 0x30
movdqu xmmword [rbp - 0x78], xmm0
call qword [sym.imp.ntdll.dll_NtOpenSymbolicLinkObject]
test eax, eax
jns 0x1400010ee
mov edx, eax
lea rcx, str.NtOpenSymbolicLinkObject_failed_with_error__x_n
call fcn.140001010
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtDeleteKey]
test eax, eax
jns 0x14000110b
mov edx, eax
lea rcx, str.NtDeleteKey_failed_with_error__x_n
call fcn.140001010
lea r8, [rsp + 0x68]
mov edx, 0x80000000
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtOpenDirectoryObject]
test eax, eax
jns 0x140001132
mov edx, eax
lea rcx, str.NtOpenDirectoryObject_failed_with_error__x_n
call fcn.140001010
mov rcx, qword [rsp + 0x50]
lea rax, [rbp - 0x64]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x50]
lea rax, [rbp - 0x68]
mov dword [rbp - 0x68], ebx
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, 0x400
mov byte [rsp + 0x20], 1
call qword [sym.imp.ntdll.dll_NtQueryDirectoryObject]
test eax, eax
jns 0x140001176
mov edx, eax
lea rcx, str.NtQueryDirectoryObject_failed_with_error__x_n
call fcn.140001010
mov rcx, qword [rsp + 0x50]
lea r8, [rbp - 0x50]
mov r9d, 0x400
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSetInformationKey]
test eax, eax
jns 0x14000119f
mov edx, eax
lea rcx, str.NtSetInformationKey_failed_with_error__x_n
call fcn.140001010
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSetSecurityObject]
test eax, eax
jns 0x1400011c1
mov edx, eax
lea rcx, str.NtSetSecurityObject_failed_with_error__x_n
call fcn.140001010
xorps xmm0, xmm0
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x60]
mov edx, 0x80000000
lea r8, [rsp + 0x68]
lea rcx, [rsp + 0x50]
movups xmmword [rbp - 0x60], xmm0
call qword [sym.imp.ntdll.dll_NtOpenTransaction]
test eax, eax
jns 0x1400011f8
mov edx, eax
lea rcx, str.NtOpenTransaction_failed_with_error__x_n
call fcn.140001010
lea rax, [rsp + 0x58]
mov edx, 0x80000000
mov qword [rsp + 0x48], rax
lea r9, [rbp - 0x60]
mov qword [rsp + 0x40], rbx
lea r8, [rsp + 0x68]
mov dword [rsp + 0x38], ebx
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntdll.dll_NtCreateTransaction]
test eax, eax
jns 0x140001243
mov edx, eax
lea rcx, str.NtCreateTransaction_failed_with_error__x_n
call fcn.140001010
xor r9d, r9d
lea r8, [rsp + 0x68]
mov edx, 0x80000000
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtCreateKeyedEvent]
test eax, eax
jns 0x14000126d
mov edx, eax
lea rcx, str.NtCreateKeyedEvent_failed_with_error__x_n
call fcn.140001010
lea r8, [rsp + 0x68]
mov edx, 0x80000000
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtOpenKeyedEvent]
test eax, eax
jns 0x140001294
mov edx, eax
lea rcx, str.NtOpenKeyedEvent_failed_with_error__x_n
call fcn.140001010
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSaveKey]
test eax, eax
jns 0x1400012b3
mov edx, eax
lea rcx, str.NtSaveKey_failed_with_error__x_n
call fcn.140001010
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntdll.dll_NtRestoreKey]
test eax, eax
jns 0x1400012d5
mov edx, eax
lea rcx, str.NtRestoreKey_failed_with_error__x_n
call fcn.140001010
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtReplacePartitionUnit]
test eax, eax
jns 0x1400012fa
mov edx, eax
lea rcx, str.NtReplacePartitionUnit_failed_with_error__x_n
call fcn.140001010
lea rax, [rsp + 0x68]
xor r8d, r8d
lea r9, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov edx, 0x80000000
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtOpenResourceManager]
test eax, eax
jns 0x14000132d
mov edx, eax
lea rcx, str.NtOpenResourceManager_failed_with_error__x_n
call fcn.140001010
mov rcx, qword [rsp + 0x50]
lea rax, [rbp - 0x64]
mov r9d, 0x400
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x50]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQueryInformationTransaction]
test eax, eax
jns 0x14000135f
mov edx, eax
lea rcx, str.NtQueryInformationTransaction_failed_with_error__x_n
call fcn.140001010
xor eax, eax
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1400013a0
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x4c0
pop rbp
ret