Function at 0x406af0
Capabilities:
Enumerate threads
Resume thread
Suspend thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408fad
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x40e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov ecx, esp
push 0xf
push str.Enter_options:
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.00401800
call fcn.004070d0
push str._n_n_______________________________________nExecution_Details:__n
mov esi, eax
call fcn.00401170
add esp, 0x1c
cmp esi, 6
ja case.default.0x406b5a
jmp dword [esi*4 + 0x406ef8]
mov ecx, str.procexp64.exe
xor ebx, ebx
call fcn.00406960
mov esi, eax
test esi, esi
je 0x406bdf
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x406ba4
push esi
push str.Successfully_terminated_Process_with_pid__d_n
call fcn.00401170
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x406bc6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Failed_to_terminate_process_with_pid__d__ErrorNo:__d_n
call fcn.00401170
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, str.procexp64.exe
inc ebx
call fcn.00406960
mov esi, eax
test esi, esi
jne 0x406b73
movsx eax, bx
test bx, bx
jne 0x406be4
mov eax, str.procexp64.exe
push eax
mov ecx, str.Failed_to_find__ss_process_id._n
test bx, bx
mov eax, str.Terminated_all_lanschool_process._Total_process_killed:__d
cmove eax, ecx
push eax
call fcn.00401170
add esp, 8
jmp case.default.0x406b5a
mov ecx, str.procexp64.exe
call fcn.00406960
mov edi, eax
test edi, edi
jne 0x406c2a
push str.procexp64.exe
push str.Failed_to_get__ss_Pid___n
call fcn.00401170
add esp, 8
jmp case.default.0x406b5a
cmp byte [0x40e678], 0
push 0
push 4
je 0x406cf5
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x2c], 0x1c
lea eax, [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32First]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [eax + eax]
cmp dword [ebp - 0x20], edi
jne 0x406c8b
push dword [ebp - 0x24]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x406cb7
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x406c60
push edi
push str.Resumed_Process_with_pid:__d_n
call fcn.00401170
add esp, 8
push ebx
call esi
mov byte [0x40e678], 0
jmp case.default.0x406b5a
push edi
push str.Failed_to_Resume_Process_with_pid:__d_n
call fcn.00401170
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.call_OpenProcess_failed__function_failed_with_error_no:__d___n
call fcn.00401170
push str.Press_Enter_to_continue_n
call fcn.00401170
add esp, 0xc
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
mov byte [0x40e678], 0
jmp case.default.0x406b5a
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x2c], 0x1c
lea eax, [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32First]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20], edi
jne 0x406d40
push dword [ebp - 0x24]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x406d6c
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x406d15
push edi
push str.Suspended_Process_with_pid:__d_n
call fcn.00401170
add esp, 8
push ebx
call esi
mov byte [0x40e678], 1
jmp case.default.0x406b5a
push edi
push str.Failed_to_suspend_Process_with_pid:__d_n
call fcn.00401170
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.call_OpenProcess_failed__function_failed_with_error_no:__d___n
call fcn.00401170
push str.Press_Enter_to_continue_n
call fcn.00401170
add esp, 0xc
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
mov byte [0x40e678], 1
jmp case.default.0x406b5a
push str.WARNING:_Process_names_are_case_sensitive_nEnter_target_process_name:
call fcn.00401170
add esp, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0xa
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
push eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00401b80
add esp, 4
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
call fcn.00406960
mov ebx, eax
test ebx, ebx
jne 0x406e24
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Failed_to_get_process_id_for_process_name:__s_n
call fcn.00401170
add esp, 8
jmp 0x406e75
push ebx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x406e55
push ebx
push str.Successfully_terminated_Process_with_pid__d_n
call fcn.00401170
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x406e75
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push ebx
push str.Failed_to_terminate_process_with_pid__d__ErrorNo:__d_n
call fcn.00401170
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb case.default.0x406b5a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406ea1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406ea1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00407c98
add esp, 8
jmp case.default.0x406b5a
push str.Disable_Key_Logger_feature_work_in_progress_n
call fcn.00401170
add esp, 4
jmp case.default.0x406b5a
call fcn.00401310
jmp case.default.0x406b5a
sub esp, 0x18
mov ecx, esp
call fcn.00403d70
call fcn.00403bf0
add esp, 0x18
jmp case.default.0x406b5a
call fcn.00401470
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00407a06
mov esp, ebp
pop ebp
ret