Function at 0x14020d0f7
Capabilities:
Delete registry key

Disassembly:
jmp 0x140419ac0
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x3b8
lea rdi, [rsp + 0x40]
mov ecx, 0xde
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x3d0]
mov rax, qword [0x140961e80]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x3d0]
call fcn.14020a72b
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140419b23
mov eax, dword [rsp + 0x40]
jmp 0x140419db5
mov rax, qword [rsp + 0x3d0]
cmp qword [rax + 0x18], 0
jne 0x140419b56
mov rax, qword [rsp + 0x3d0]
cmp qword [rax + 0x20], 0
jne 0x140419b56
mov rax, qword [rsp + 0x3d0]
cmp dword [rax + 0x2c], 0
jne 0x140419b56
xor eax, eax
jmp 0x140419db5
mov eax, 0x20
imul rax, rax, 0
lea rax, [rsp + rax + 0xf0]
lea rdx, str.SystemCurrentControlSetServices_
mov rcx, rax
call fcn.14020ab6d
mov rax, qword [rsp + 0x3d0]
mov rax, qword [rax + 8]
lea rcx, [rsp + 0x390]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, 0x20
imul rax, rax, 1
lea rax, [rsp + rax + 0xf0]
lea rdx, [rsp + 0x390]
mov rcx, rax
call fcn.14020a34d
mov eax, 0x20
imul rax, rax, 2
lea rax, [rsp + rax + 0xf0]
lea rdx, str.Parameters
mov rcx, rax
call fcn.14020ab6d
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x208
lea r8, [rsp + 0x170]
mov edx, 3
lea rcx, [rsp + 0xf0]
call sym.SystemInformer.exe_PhFormatToBuffer
movzx eax, al
test eax, eax
jne 0x140419c16
mov eax, 0xc0000001
jmp 0x140419db5
lea rax, [rsp + 0x170]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x98]
sub rax, 2
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0xb8]
mov r8, 0xfffffffffffffffd
mov edx, 0x30006
lea rcx, [rsp + 0x58]
call sym.SystemInformer.exe_PhCreateKey
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140419c86
mov eax, dword [rsp + 0x40]
jmp 0x140419db5
mov rax, qword [rsp + 0x3d0]
cmp qword [rax + 0x18], 0
je 0x140419ce2
mov rax, qword [rsp + 0x3d0]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
add rax, 2
mov rcx, qword [rsp + 0x3d0]
mov rcx, qword [rcx + 0x18]
mov dword [rsp + 0x20], eax
mov r9, qword [rcx + 8]
mov r8d, 1
lea rdx, str.PortName
mov rcx, qword [rsp + 0x58]
call fcn.14020fb59
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140419ce2
jmp 0x140419d8c
mov rax, qword [rsp + 0x3d0]
cmp qword [rax + 0x20], 0
je 0x140419d3b
mov rax, qword [rsp + 0x3d0]
mov rax, qword [rax + 0x20]
mov eax, dword [rax]
add rax, 2
mov rcx, qword [rsp + 0x3d0]
mov rcx, qword [rcx + 0x20]
mov dword [rsp + 0x20], eax
mov r9, qword [rcx + 8]
mov r8d, 1
lea rdx, str.Altitude
mov rcx, qword [rsp + 0x58]
call fcn.14020fb59
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140419d3b
jmp 0x140419d8c
mov rax, qword [rsp + 0x3d0]
cmp dword [rax + 0x2c], 0
je 0x140419d84
mov rax, qword [rsp + 0x3d0]
add rax, 0x2c
mov dword [rsp + 0x20], 4
mov r9, rax
mov r8d, 4
lea rdx, str.Flags
mov rcx, qword [rsp + 0x58]
call fcn.14020fb59
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140419d84
jmp 0x140419d8c
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x40], 0
jge 0x140419da6
cmp dword [rsp + 0x74], 1
jne 0x140419da6
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtDeleteKey]
nop
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, [0x1407b1460]
call fcn.1402124fd
mov rax, rdi
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.14020ee98
add rsp, 0x3b8
pop rdi
pop rsi
ret