Function at 0x140020fbc
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
mov rax, qword [0x14006f9b8]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov ebx, edx
mov dword [rsp + 0x20], 0x238
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdx, rdi
lea rcx, [rbp + 0x160]
mov rsi, rax
call fcn.140028e24
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sub.KERNEL32.dll_Process32FirstW
xor r15d, r15d
lea r14d, [r15 + 1]
cmp eax, r14d
jne 0x1400211b2
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
cmp eax, r14d
jne 0x1400211b2
cmp qword [rbp + 0x178], 8
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x4c]
cmovae rdx, qword [rbp + 0x160]
call fcn.140037884
test eax, eax
jne 0x140021035
test ebx, ebx
je 0x140021151
cmp ebx, r14d
jne 0x140021035
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
mov edx, r14d
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
mov rcx, rbx
setne r14b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x178]
mov ebx, 0x1000
cmp rdx, 8
jb 0x1400210fb
mov rcx, qword [rbp + 0x160]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rbx
jb 0x1400210f6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002128b
call fcn.140030aa4
mov rdx, qword [rdi + 0x18]
mov qword [rbp + 0x170], r15
mov qword [rbp + 0x178], 7
mov word [rbp + 0x160], r15w
cmp rdx, 0x10
jb 0x1400211aa
mov rcx, qword [rdi]
inc rdx
cmp rdx, rbx
jb 0x14002114a
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002128b
mov rcx, r8
call fcn.140030aa4
jmp 0x1400211aa
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x178]
cmp rdx, 8
jb 0x14002117b
mov rcx, qword [rbp + 0x160]
lea rdx, [rdx*2 + 2]
call fcn.140003894
mov rdx, qword [rdi + 0x18]
mov qword [rbp + 0x170], r15
mov qword [rbp + 0x178], 7
mov word [rbp + 0x160], r15w
cmp rdx, 0x10
jb 0x1400211aa
mov rcx, qword [rdi]
inc rdx
call fcn.140003894
mov al, r14b
jmp 0x140021250
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x178]
mov ebx, 0x1000
cmp rdx, 8
jb 0x140021202
mov rcx, qword [rbp + 0x160]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rbx
jb 0x1400211fd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002128b
call fcn.140030aa4
mov rdx, qword [rdi + 0x18]
mov qword [rbp + 0x170], r15
mov qword [rbp + 0x178], 7
mov word [rbp + 0x160], r15w
cmp rdx, 0x10
jb 0x14002124e
mov rcx, qword [rdi]
inc rdx
cmp rdx, rbx
jb 0x140021249
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002128b
mov rcx, r8
call fcn.140030aa4
xor al, al
mov byte [rdi], r15b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r15
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140031310
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140036e5c
int3