Function at 0x18000af20
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1801a70c0]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor edx, edx
mov r14, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
mov r15, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x18000b192
xor r12d, r12d
movabs r13, 0x7ffffffffffffffe
cmp qword [r14 + 0x18], 0xf
movabs r8, 0x7fffffffffffffff
mov ecx, 0xa
jbe 0x18000afb6
mov rsi, qword [r14]
mov rdi, rsi
add rsi, qword [r14 + 0x10]
jmp 0x18000afc0
mov rsi, qword [r14 + 0x10]
mov rdi, r14
add rsi, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
cmp rdi, rsi
jne 0x18000afeb
mov qword [rsp + 0x30], r12
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r12w
jmp 0x18000b0f9
mov rax, rsi
mov rdx, r12
sub rax, rdi
mov qword [rsp + 0x30], rdx
mov ebx, 7
mov qword [rsp + 0x38], rbx
cmp rax, r13
ja 0x18000b1ed
cmp rax, rbx
jbe 0x18000b0a0
mov rbx, rax
or rbx, 7
cmp rbx, r13
jbe 0x18000b02a
mov rbx, r13
lea rcx, [r8 + r8]
jmp 0x18000b04b
cmp rbx, 0xa
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, r8
ja 0x18000b1e7
add rcx, rcx
cmp rcx, 0x1000
jb 0x18000b07f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18000b1e7
mov rcx, rax
call fcn.180119908
mov rcx, rax
test rax, rax
je 0x18000b1cd
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rsp + 0x30]
jmp 0x18000b093
test rcx, rcx
je 0x18000b090
call fcn.180119908
mov rdx, qword [rsp + 0x30]
jmp 0x18000b093
mov rax, r12
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rbx
nop dword [rax]
movsx eax, byte [rdi]
lea rcx, [rsp + 0x20]
cmp rbx, 7
cmova rcx, qword [rsp + 0x20]
inc rdi
mov word [rcx + rdx*2], ax
mov rdx, qword [rsp + 0x30]
inc rdx
mov qword [rsp + 0x30], rdx
cmp rdi, rsi
je 0x18000b0d2
mov rbx, qword [rsp + 0x38]
jmp 0x18000b0a0
cmp qword [rsp + 0x38], 7
lea rax, [rsp + 0x20]
cmova rax, qword [rsp + 0x20]
mov word [rax + rdx*2], r12w
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rdx, qword [rsp + 0x38]
mov ebx, eax
cmp rdx, 7
jbe 0x18000b148
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000b143
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b1cd
call fcn.180119900
test ebx, ebx
jne 0x18000b17c
mov r8d, dword [rsp + 0x48]
lea ecx, [rbx + 1]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x18000b17c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
test eax, eax
jne 0x18000b1d4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x18000af94
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1801198e0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x18000b19d
call fcn.180004f10
int3
call fcn.180004fb0
int3