Function at 0x180009ef0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x1801a30c0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r14, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x18000a14a
xor r15d, r15d
movabs r12, 0x7ffffffffffffffe
movabs r13, 0x7fffffffffffffff
cmp qword [r14 + 0x18], 0xf
mov ecx, 0xa
jbe 0x180009f81
mov rsi, qword [r14]
mov rbx, rsi
add rsi, qword [r14 + 0x10]
jmp 0x180009f8b
mov rsi, qword [r14 + 0x10]
mov rbx, r14
add rsi, r14
mov qword [rsp + 0x30], r15
xorps xmm0, xmm0
mov qword [rsp + 0x38], 7
movups xmmword [rsp + 0x20], xmm0
cmp rbx, rsi
jne 0x180009fb6
mov word [rsp + 0x20], r15w
lea rdx, [rsp + 0x20]
jmp 0x18000a0af
sub rsi, rbx
cmp rsi, r12
ja 0x18000a1a6
mov edi, 7
cmp rsi, rdi
jbe 0x18000a063
mov rdi, rsi
or rdi, 7
cmp rdi, r12
jbe 0x18000a029
mov rdi, r12
lea rcx, [r13*2]
cmp rcx, 0x1000
jb 0x18000a052
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18000a1a0
mov rcx, rax
call fcn.180116528
mov rcx, rax
test rax, rax
je 0x18000a186
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rdi
jmp 0x18000a068
cmp rdi, 0xa
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, r13
ja 0x18000a1a0
add rcx, rcx
jne 0x180009fe7
mov rax, r15
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x20], rax
jmp 0x18000a068
call fcn.180116528
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rdi
jmp 0x18000a068
mov rax, qword [rsp + 0x20]
cmp rdi, 7
lea r8, [rsp + 0x20]
mov rdx, rsi
cmova r8, rax
mov rcx, r8
test rsi, rsi
je 0x18000a094
movsx eax, byte [rbx]
lea rbx, [rbx + 1]
mov word [rcx], ax
lea rcx, [rcx + 2]
sub rdx, 1
jne 0x18000a080
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x20]
mov word [r8 + rsi*2], r15w
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 0x18000a0fe
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a0f9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a186
call fcn.180116520
test ebx, ebx
jne 0x18000a134
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x18000a134
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
test eax, eax
jne 0x18000a18d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180009f69
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180116500
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
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, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x18000a155
call fcn.180004950
int3
call fcn.1800049f0
int3