Function at 0x140042f50
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14011f190]
xor rax, rsp
mov qword [rbp + 0x1a8], rax
xor eax, eax
mov qword [rbp + 0x190], rax
mov qword [rbp + 0x198], rax
mov qword [rbp + 0x1a0], rax
lea rcx, [rbp + 0x190]
call fcn.140034830
nop
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x34]
call fcn.140093810
mov dword [rsp + 0x30], 0x238
cmp r13, 0xffffffffffffffff
je 0x140043289
lea rdx, [rsp + 0x30]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004327f
xor edi, edi
mov qword [rbp + 0x180], rdi
mov qword [rbp + 0x188], 7
mov word [rbp + 0x170], di
lea rax, [rsp + 0x5c]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140043023
lea rcx, [rbp + 0x170]
cmp rdx, 7
ja 0x14004305c
mov qword [rbp + 0x180], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x5c]
call fcn.1400933b0
mov word [rbp + rbx + 0x170], di
jmp 0x140043067
lea r9, [rsp + 0x5c]
call fcn.14002d3d0
nop
lea rdx, [rbp + 0x170]
mov rsi, qword [rbp + 0x170]
mov r14, qword [rbp + 0x188]
cmp r14, 8
cmovae rdx, rsi
mov r8, qword [rbp + 0x180]
test r8, r8
je 0x140043103
lea rcx, [r8 - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rax, [rdx + rax*2]
cmp word [rax], 0x2e
je 0x1400430bf
nop dword [rax]
cmp rax, rdx
je 0x140043103
sub rax, 2
cmp word [rax], 0x2e
jne 0x1400430b0
sub rax, rdx
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x140043103
cmp r8, rax
jb 0x1400432d1
mov qword [rbp + 0x180], rax
lea rcx, [rbp + 0x170]
cmp r14, 8
cmovae rcx, rsi
mov word [rcx + rax*2], di
mov r14, qword [rbp + 0x188]
mov r8, qword [rbp + 0x180]
mov rsi, qword [rbp + 0x170]
lea r15, [rbp + 0x170]
cmp r14, 8
cmovae r15, rsi
lea rax, [rbp + 0x170]
cmovae rax, rsi
lea rax, [rax + r8*2]
lea rbx, [rbp + 0x170]
cmovae rbx, rsi
mov r12, rax
sub r12, rbx
inc r12
shr r12, 1
cmp rbx, rax
mov eax, 0
cmova r12, rax
test r12, r12
je 0x140043177
sub r15, rbx
nop dword [rax]
movzx ecx, word [rbx]
call fcn.14009f220
mov word [rbx + r15], ax
lea rbx, [rbx + 2]
inc rdi
cmp rdi, r12
jne 0x140043150
mov r14, qword [rbp + 0x188]
mov rsi, qword [rbp + 0x170]
lea r8, [rbp + 0x170]
mov rdx, qword [rbp + 0x198]
mov rcx, qword [rbp + 0x190]
call fcn.14002e610
cmp rax, qword [rbp + 0x198]
je 0x140043235
mov r8d, dword [rsp + 0x38]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140043201
mov rdx, qword [rbp + 0x188]
cmp rdx, 8
jb 0x14004326c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043267
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400432cb
jmp 0x140043267
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x14004321e
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rbp + 0x188]
mov rsi, qword [rbp + 0x170]
cmp r14, 8
jb 0x14004326c
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140043264
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400432c5
mov rcx, rsi
call fcn.14006f490
lea rdx, [rsp + 0x30]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x140042ff4
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0x190]
call fcn.1400312f0
mov rcx, qword [rbp + 0x1a8]
xor rcx, rsp
call fcn.14006f430
lea r11, [rsp + 0x2b0]
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 fcn.14009c704
nop
call fcn.14009c704
nop
call fcn.14002cb50
int3