Function at 0x140098300
Capabilities:
Delete registry value
Persist via image file execution options registry key
Set registry value

Disassembly:
sub rsp, 0x38
test byte [0x1402bec70], 0x20
je 0x1400962d6
add rsp, 0x38
jmp 0x140098300
mov rcx, qword [0x1402c0ac0]
nop dword [rax]
test rcx, rcx
jne 0x14009632d
mov qword [rsp + 0x20], rcx
lea r9, [0x140096500]
mov rcx, qword [0x1402bfd08]
xor r8d, r8d
mov edx, 0xe3
call sym.SystemInformer.exe_PhCreateDialog
mov rcx, rax
mov qword [0x1402c0ac0], rax
call sym.SystemInformer.exe_PhRegisterDialog
mov rcx, qword [0x1402c0ac0]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1402c0ac0]
call qword [sym.imp.USER32.dll_IsIconic]
mov rcx, qword [0x1402c0ac0]
test eax, eax
je 0x14009634e
mov edx, 9
add rsp, 0x38
jmp qword [sym.imp.USER32.dll_ShowWindow]
add rsp, 0x38
jmp qword [sym.imp.USER32.dll_SetForegroundWindow]
push rbx
push rbp
sub rsp, 0xb8
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbp, rcx
call fcn.140098100
test al, al
je 0x140098332
lea rbx, str.Do_you_want_to_restore_the_default_Windows_Task_Manager_
jmp 0x140098350
lea rdx, str.Changing_the_default_Task_Manager
mov rcx, rbp
lea rbx, str.Do_you_want_to_make_System_Informer_the_default_Windows_Task_Manager_
call fcn.140099ec0
test al, al
je 0x1400986f0
lea r9, [0x140231658]
mov qword [rsp + 0x20], rbx
mov edx, 6
mov r8d, 0xfffd
mov rcx, rbp
call sym.SystemInformer.exe_PhShowMessage2
cmp eax, 6
jne 0x1400986f0
mov rcx, qword [0x1402b7b80]
mov qword [rsp + 0xd8], rsi
mov esi, 0xffffffff
mov qword [rsp + 0xb0], r15
mov word [rsp + 0x60], cx
lea eax, [rcx + 2]
mov word [rsp + 0x62], ax
mov rax, qword [str.SoftwareMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_taskmgr.exe]
mov qword [rsp + 0x68], rax
cmp rcx, 0xfffe
jbe 0x1400983ca
mov ebx, 0xc0000106
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x140098665
lea rax, [rsp + 0x58]
mov r8d, 0x80
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, 0xfffffffffffffffd
call fcn.1401608a0
mov ebx, eax
test eax, eax
js 0x14009860e
xor r15d, r15d
lea r8, [rsp + 0x70]
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0xa0]
mov dword [rsp + 0x28], r15d
xor r9d, r9d
mov edx, 0x2001f
mov qword [rsp + 0x20], r15
call qword [sym.imp.ntdll.dll_NtCreateKey]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
test rcx, rcx
je 0x140098439
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax]
test ebx, ebx
js 0x14009860e
call fcn.140098100
test al, al
je 0x1400984c5
mov rcx, qword [0x1402b7f70]
mov word [rsp + 0x48], cx
cmp rcx, 0xfffe
lea eax, [rcx + 2]
mov rcx, qword [rsp + 0xa0]
mov word [rsp + 0x4a], ax
mov rax, qword [str.Debugger]
mov qword [rsp + 0x50], rax
jbe 0x1400984b0
mov ebx, 0xc0000106
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
shr eax, 0x10
and eax, 0xfff
nop word [rax + rax]
cmp eax, 0xb
jne 0x14009864a
mov eax, ebx
jmp 0x140098646
lea rdx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtDeleteValueKey]
mov ebx, eax
jmp 0x1400985f4
mov qword [rsp + 0xe8], r14
call sym.SystemInformer.exe_PhGetApplicationFileNameWin32
mov r14, rax
test rax, rax
je 0x1400985ec
mov rdx, qword ds:[rax]
mov rcx, qword [0x1402b8158]
mov qword [rsp + 0xe0], rdi
lea rbx, [rdx + rcx*2]
mov rdx, qword [0x1402bfcf8]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rdi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbx], r15w
mov rbx, qword [rax + 8]
mov r8, qword [0x1402b8158]
mov rcx, rbx
mov rdx, qword [0x1402b8160]
call fcn.1401e3aa0
add rbx, qword [0x1402b8158]
mov r8, qword [r14]
mov rcx, rbx
mov rdx, qword [r14 + 8]
call fcn.1401e3aa0
add rbx, qword ds:[r14]
mov r8, qword [0x1402b8158]
mov rcx, rbx
mov rdx, qword [0x1402b8160]
call fcn.1401e3aa0
mov rcx, rdi
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov rcx, qword [0x1402b7f70]
mov rdi, qword ss:[rsp + 0xe0]
mov word [rsp + 0x48], cx
mov edx, dword [rax]
mov r8, qword [rax + 8]
add edx, 2
lea eax, [rcx + 2]
mov word [rsp + 0x4a], ax
mov rax, qword [str.Debugger]
mov qword [rsp + 0x50], rax
cmp rcx, 0xfffe
jbe 0x1400985b0
mov ebx, 0xc0000106
jmp 0x1400985d7
mov rcx, qword [rsp + 0xa0]
mov r9d, 1
mov dword [rsp + 0x28], edx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtSetValueKey]
mov ebx, eax
lea rcx, [r14 - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400985ec
call fcn.14013d2a0
mov r14, qword [rsp + 0xe8]
mov rcx, qword ds:[rsp + 0xa0]
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
jns 0x1400986c7
cmp ebx, 0xc0000022
je 0x140098636
cmp ebx, 0xc0000005
je 0x140098636
mov eax, ebx
shr eax, 0x10
and eax, 0xfff
cmp eax, 7
jne 0x140098497
movzx eax, bx
jmp 0x140098646
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x140098656
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x140098665
lfence
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea r8, [0x140232c58]
mov rbx, rax
lea r9, str.Unable_to_replace_Task_Manager
mov rcx, rbp
test rax, rax
je 0x1400986bd
lfence
lfence
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
mov r8d, 0xfffe
call sym.SystemInformer.exe_PhShowMessage2
lea rcx, [rbx - 0x10]
lock xadd dword [rcx + 8], esi
cmp esi, 1
jne 0x1400986c7
lfence
call fcn.14013d2a0
jmp 0x1400986c7
mov edx, 0x10
call sym.SystemInformer.exe_PhShowMessage
mov rcx, qword [0x1402becb0]
mov r15, qword ss:[rsp + 0xb0]
mov rsi, qword [rsp + 0xd8]
test rcx, rcx
je 0x1400986f0
cmp qword [rcx], 0
je 0x1400986f0
call sym.SystemInformer.exe_PhSaveSettings
mov rcx, qword ds:[rsp + 0xa8]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0xb8
pop rbp
pop rbx
ret