Function at 0x14009c420
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xc0
mov rax, qword [0x1402bb040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov qword [r11 + 8], rsi
movzx ebx, cl
mov qword [r11 + 0x10], rdi
xor edi, edi
mov qword [rbp + 0x2f], rdi
mov qword [rbp + 0x37], rdi
mov qword [r11 + 0x18], r14
call sym.SystemInformer.exe_Ordinal_1639
mov rcx, rax
call sym.SystemInformer.exe_Ordinal_1238
mov rcx, rax
call sym.SystemInformer.exe_Ordinal_1641
mov rcx, rax
call sym.SystemInformer.exe_Ordinal_1238
mov rsi, rax
test bl, bl
je 0x14009c785
mov rdx, qword [0x1402bdc10]
mov word [rbp - 0x19], dx
lea ecx, [rdx + 2]
mov word [rbp - 0x17], cx
mov rcx, qword [str.SoftwareMicrosoftWindows_NTCurrentVersionSilentProcessExit]
mov qword [rbp - 0x11], rcx
cmp rdx, 0xfffe
jbe 0x14009c4b8
mov ebx, 0xc0000106
jmp 0x14009c9aa
lea rax, [rbp + 0x27]
mov r8d, 0x80
lea r9, [rbp - 9]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x19]
mov rcx, 0xfffffffffffffffd
call fcn.14016ae40
mov ebx, eax
test eax, eax
js 0x14009c9aa
mov qword [rsp + 0x30], rdi
lea r8, [rbp - 9]
mov dword [rsp + 0x28], edi
lea rcx, [rbp + 0x2f]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov edx, 0x20006
call qword [sym.imp.ntdll.dll_NtCreateKey]
mov rcx, qword [rbp + 0x27]
mov ebx, eax
test rcx, rcx
je 0x14009c51d
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax]
test ebx, ebx
js 0x14009c9aa
mov r8, qword [rbp + 0x2f]
lea rcx, [rbp + 0x37]
mov qword [rsp + 0x30], rdi
mov r9, rsi
mov dword [rsp + 0x28], edi
mov edx, 0x20006
mov dword [rsp + 0x20], 0x80
call sym.SystemInformer.exe_Ordinal_1470
mov ebx, eax
test eax, eax
js 0x14009c9aa
mov rcx, qword [0x1402be1c8]
mov dword ds:[rbp + 0x3f], 4
mov word [rbp - 0x19], cx
lea eax, [rcx + 2]
mov word [rbp - 0x17], ax
mov rax, qword [str.ReportingMode]
mov qword [rbp - 0x11], rax
cmp rcx, 0xfffe
jbe 0x14009c593
mov ebx, 0xc0000106
jmp 0x14009c9aa
mov rcx, qword [rbp + 0x37]
lea rax, [rbp + 0x3f]
mov dword [rsp + 0x28], 4
lea rdx, [rbp - 0x19]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtSetValueKey]
mov ebx, eax
test eax, eax
js 0x14009c9aa
mov rbx, qword [0x1402bdc00]
test rbx, rbx
jne 0x14009c5de
call sym.SystemInformer.exe_Ordinal_1430
mov rsi, rax
jmp 0x14009c61b
mov rdx, qword [0x1402c5ff0]
lea rcx, [rbx + 0x12]
mov r14, qword [str.SoftwareMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_taskmgr.exe]
call sym.SystemInformer.exe_Ordinal_1240
mov rsi, rax
mov qword [rax], rbx
add rax, 0x10
mov qword [rsi + 8], rax
mov word [rax + rbx], di
test r14, r14
je 0x14009c61b
mov rcx, qword [rsi + 8]
mov r8, rbx
mov rdx, r14
call fcn.14020c7e0
mov rcx, rsi
call sym.SystemInformer.exe_Ordinal_1238
mov rcx, rax
call sym.SystemInformer.exe_Ordinal_1640
mov rcx, rax
call sym.SystemInformer.exe_Ordinal_1238
mov rbx, rax
call sym.SystemInformer.exe_Ordinal_1639
mov rcx, rax
call sym.SystemInformer.exe_Ordinal_1238
mov rcx, rax
call sym.SystemInformer.exe_Ordinal_1641
mov rcx, rax
call sym.SystemInformer.exe_Ordinal_1238
lea rcx, [0x140266e30]
mov qword [rbp - 0x29], 2
mov qword [rbp - 0x21], rcx
lea rdx, [rbp - 0x29]
mov rcx, rbx
mov r8, rax
call sym.SystemInformer.exe_Ordinal_1299
mov rcx, rax
call sym.SystemInformer.exe_Ordinal_1238
mov qword [rsp + 0x30], rdi
lea rcx, [rbp + 0x27]
mov dword [rsp + 0x28], edi
mov r9, rax
mov edx, 0x20006
mov dword [rsp + 0x20], 0x80
mov r8, 0xfffffffffffffffd
call sym.SystemInformer.exe_Ordinal_1470
mov ebx, eax
test eax, eax
js 0x14009c9aa
mov rcx, qword ds:[rbp + 0x27]
lea rax, str.GlobalFlag
lea r9, [rbp - 0x19]
mov qword [rbp - 0x21], rax
mov r8d, 2
mov qword [rbp - 0x29], 0x14
lea rdx, [rbp - 0x29]
mov ebx, 0xffffffff
call sym.SystemInformer.exe_Ordinal_1568
test eax, eax
js 0x14009c70e
mov r8, qword [rbp - 0x19]
cmp dword [r8 + 4], 4
jne 0x14009c6ff
cmp dword [r8 + 8], 4
jne 0x14009c6ff
mov ebx, dword [r8 + 0xc]
mov rcx, qword [0x1402c6140]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [0x1402be1d8]
cmp ebx, 0xffffffff
mov word [rbp - 0x19], cx
cmovne edi, ebx
bts edi, 9
mov dword [rbp + 0x43], edi
lea eax, [rcx + 2]
mov word [rbp - 0x17], ax
mov rax, qword [str.GlobalFlag]
mov qword [rbp - 0x11], rax
cmp rcx, 0xfffe
jbe 0x14009c753
mov ebx, 0xc0000106
jmp 0x14009c9a0
mov rcx, qword [rbp + 0x27]
lea rax, [rbp + 0x43]
mov dword [rsp + 0x28], 4
lea rdx, [rbp - 0x19]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtSetValueKey]
nop dword [rax + rax]
jmp 0x14009c99e
mov rcx, qword [0x1402bdc10]
mov word [rbp - 0x29], cx
lea eax, [rcx + 2]
mov word [rbp - 0x27], ax
mov rax, qword [str.SoftwareMicrosoftWindows_NTCurrentVersionSilentProcessExit]
mov qword [rbp - 0x21], rax
cmp rcx, 0xfffe
ja 0x14009c826
lea rax, [rbp - 0x19]
xor r8d, r8d
lea r9, [rbp - 9]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x29]
mov rcx, 0xfffffffffffffffd
call fcn.14016ae40
mov ebx, eax
test eax, eax
js 0x14009c7f9
lea r8, [rbp - 9]
mov edx, 0x10000
lea rcx, [rbp + 0x2f]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov rcx, qword [rbp - 0x19]
mov ebx, eax
test rcx, rcx
je 0x14009c7f9
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x14009c826
mov r8, qword [rbp + 0x2f]
lea rcx, [rbp + 0x37]
mov r9, rsi
mov dword [rsp + 0x20], edi
mov edx, 0x10000
call sym.SystemInformer.exe_Ordinal_1555
test eax, eax
js 0x14009c826
mov rcx, qword ds:[rbp + 0x37]
call qword [sym.imp.ntdll.dll_NtDeleteKey]
mov rbx, qword [0x1402bdc00]
test rbx, rbx
jne 0x14009c83c
call sym.SystemInformer.exe_Ordinal_1430
mov rsi, rax
jmp 0x14009c879
mov rdx, qword [0x1402c5ff0]
lea rcx, [rbx + 0x12]
mov r14, qword [str.SoftwareMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_taskmgr.exe]
call sym.SystemInformer.exe_Ordinal_1240
mov rsi, rax
mov qword [rax], rbx
add rax, 0x10
mov qword [rsi + 8], rax
mov word [rax + rbx], di
test r14, r14
je 0x14009c879
mov rcx, qword [rsi + 8]
mov r8, rbx
mov rdx, r14
call fcn.14020c7e0
mov rcx, rsi
call sym.SystemInformer.exe_Ordinal_1238
mov rcx, rax
call sym.SystemInformer.exe_Ordinal_1640
mov rcx, rax
call sym.SystemInformer.exe_Ordinal_1238
mov rbx, rax
call sym.SystemInformer.exe_Ordinal_1639
mov rcx, rax
call sym.SystemInformer.exe_Ordinal_1238
mov rcx, rax
call sym.SystemInformer.exe_Ordinal_1641
mov rcx, rax
call sym.SystemInformer.exe_Ordinal_1238
lea rcx, [0x140266e30]
mov qword [rbp - 0x29], 2
mov qword [rbp - 0x21], rcx
lea rdx, [rbp - 0x29]
mov rcx, rbx
mov r8, rax
call sym.SystemInformer.exe_Ordinal_1299
mov rcx, rax
call sym.SystemInformer.exe_Ordinal_1238
movzx ecx, word [rax]
mov word [rbp - 0x29], cx
add cx, 2
cmp qword [rax], 0xfffe
mov word [rbp - 0x27], cx
mov rcx, qword [rax + 8]
mov qword [rbp - 0x21], rcx
jbe 0x14009c909
mov ebx, 0xc0000106
jmp 0x14009c9aa
lea rax, [rbp - 0x19]
xor r8d, r8d
lea r9, [rbp - 9]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x29]
mov rcx, 0xfffffffffffffffd
call fcn.14016ae40
mov ebx, eax
test eax, eax
js 0x14009c9aa
lea r8, [rbp - 9]
mov edx, 0x20006
lea rcx, [rbp + 0x27]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov rcx, qword [rbp - 0x19]
mov ebx, eax
test rcx, rcx
je 0x14009c957
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x14009c9aa
mov rcx, qword [0x1402be1d8]
mov word ds:[rbp - 0x29], cx
lea eax, [rcx + 2]
mov word [rbp - 0x27], ax
mov rax, qword [str.GlobalFlag]
mov qword [rbp - 0x21], rax
cmp rcx, 0xfffe
jbe 0x14009c990
mov ebx, 0xc0000106
jmp 0x14009c9a0
mov rcx, qword [rbp + 0x27]
lea rdx, [rbp - 0x29]
call qword [sym.imp.ntdll.dll_NtDeleteValueKey]
mov ebx, eax
mov rcx, qword [rbp + 0x27]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp + 0x2f]
mov r14, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xd0]
test rcx, rcx
je 0x14009c9d1
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp + 0x37]
test rcx, rcx
je 0x14009c9e6
nop word [rax + rax]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1401e5e40
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rbp
ret