Function at 0x1400050e0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x14019d080]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000535b
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140005352
xor r14d, r14d
lea r15, [0x14014b630]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r14w
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r9d, 0xffffffff
lea r8, [rsp + 0x5c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov rdi, rbx
test eax, eax
je 0x14000523a
dec rdi
mov r8, qword [rbp + 0x70]
cmp rdi, r8
ja 0x1400051be
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rcx, qword [rbp + 0x60]
mov qword [rbp + 0x70], rdi
mov word [rcx + rdi*2], r14w
jmp 0x14000520e
mov rdx, rdi
sub rdx, r8
mov rcx, qword [rbp + 0x78]
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x140005202
mov qword [rbp + 0x70], rdi
lea r9, [rbp + 0x60]
cmp rcx, 7
cmova r9, qword [rbp + 0x60]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x1400051f7
movzx eax, r14w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r14w
jmp 0x14000520e
mov r9, rdx
lea rcx, [rbp + 0x60]
call fcn.14000d6a0
lea rax, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rax, qword [rbp + 0x60]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, [rsp + 0x5c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r10, [rbp + 0x60]
mov r9, qword [rbp + 0x78]
cmp r9, 7
cmova r10, qword [rbp + 0x60]
mov rax, qword [rbp + 0x70]
cmp rax, 3
jb 0x140005304
add rax, 0xfffffffffffffffe
lea r11, [r10 + rax*2]
mov rax, r10
nop dword [rax]
nop dword [rax + rax]
mov rcx, r11
sub rcx, rax
sar rcx, 1
mov rdx, r14
je 0x14000529a
cmp word [rax], 0x74
je 0x140005297
cmp rcx, 1
je 0x14000529a
dec rcx
add rax, 2
cmp word [rax], 0x74
jne 0x140005284
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x140005304
mov edi, 3
mov rdx, r15
mov r8, rax
sub r8, r15
movzx ecx, word [r8 + rdx]
cmp cx, word [rdx]
jne 0x140005387
add rdx, 2
sub rdi, 1
jne 0x1400052b0
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x140005304
mov r8d, dword [rsp + 0x38]
xor edx, edx
lea ecx, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140005300
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9, qword [rbp + 0x78]
cmp r9, 7
jbe 0x14000533c
lea rdx, [r9*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005337
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005390
call fcn.14011c2b8
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140005154
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14011bd80
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
add rax, 2
jmp 0x140005270
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3