Function at 0x140008410
Capabilities:
Enumerate processes
Enumerate threads
Resume thread
Terminate process
Terminate process by name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x14000c008]
xor rax, rsp
mov qword [rbp + 0x90], rax
movzx eax, word [0x14000a454]
mov word [rsp + 0x20], ax
cmp byte [0x14000a455], 0
je 0x14000845f
mov byte [rsp + 0x20], 0x58
xor byte [rsp + 0x21], 0x31
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x140008661
movzx eax, word [0x14000a454]
mov word [rsp + 0x20], ax
cmp byte [0x14000a455], 0
je 0x140008494
mov byte [rsp + 0x20], 0x58
xor byte [rsp + 0x21], 0x31
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x140008542
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, 0x1e
call qword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [rsp + 0x50]
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140008542
mov dword [rsp + 0x30], 0x1c
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x140008539
cmp dword [rsp + 0x3c], esi
jne 0x140008527
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x140008527
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1400084f5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140003c40
mov eax, dword [0x14000a734]
mov dword [rsp + 0x24], eax
movzx ecx, word [0x14000a738]
mov word [rsp + 0x28], cx
movzx eax, byte [0x14000a73a]
mov byte [rsp + 0x24], 0x78
xor byte [rsp + 0x25], 0x31
xor byte [rsp + 0x26], 0x32
xor byte [rsp + 0x27], 0x33
xor cl, 0x34
mov byte [rsp + 0x28], cl
xor byte [rsp + 0x29], 0x35
xor al, 0x36
mov byte [rsp + 0x2a], al
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x30]
call fcn.1400088d0
nop
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400085fe
mov dword [rsp + 0x60], 0x130
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400085f4
nop dword [rax + rax]
lea rdx, [rsp + 0x30]
mov ecx, dword [rsp + 0x68]
call fcn.1400080d0
test al, al
jne 0x140008651
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400085d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140008637
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008632
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000865a
call fcn.140008a64
call fcn.140001370
call fcn.140007f00
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140008440
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3