Function at 0x18000d240
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 [0x1801aa0c0]
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 0x18000d49a
xor r15d, r15d
movabs r12, 0x7ffffffffffffffe
movabs r13, 0x7fffffffffffffff
cmp qword [r14 + 0x18], 0xf
mov ecx, 0xa
jbe 0x18000d2d1
mov rsi, qword [r14]
mov rbx, rsi
add rsi, qword [r14 + 0x10]
jmp 0x18000d2db
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 0x18000d306
mov word [rsp + 0x20], r15w
lea rdx, [rsp + 0x20]
jmp 0x18000d3ff
sub rsi, rbx
cmp rsi, r12
ja 0x18000d4f6
mov edi, 7
cmp rsi, rdi
jbe 0x18000d3b3
mov rdi, rsi
or rdi, 7
cmp rdi, r12
jbe 0x18000d379
mov rdi, r12
lea rcx, [r13*2]
cmp rcx, 0x1000
jb 0x18000d3a2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18000d4f0
mov rcx, rax
call fcn.18011b698
mov rcx, rax
test rax, rax
je 0x18000d4d6
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rdi
jmp 0x18000d3b8
cmp rdi, 0xa
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, r13
ja 0x18000d4f0
add rcx, rcx
jne 0x18000d337
mov rax, r15
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x20], rax
jmp 0x18000d3b8
call fcn.18011b698
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rdi
jmp 0x18000d3b8
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 0x18000d3e4
movsx eax, byte [rbx]
lea rbx, [rbx + 1]
mov word [rcx], ax
lea rcx, [rcx + 2]
sub rdx, 1
jne 0x18000d3d0
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 0x18000d44e
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d449
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d4d6
call fcn.18011b690
test ebx, ebx
jne 0x18000d484
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 0x18000d484
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
test eax, eax
jne 0x18000d4dd
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 0x18000d2b9
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.18011b670
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 0x18000d4a5
call fcn.180006ba0
int3
call fcn.180006c40
int3