Function at 0x1400238c0
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 - 0x230]
sub rsp, 0x330
mov rax, qword [0x140083100]
xor rax, rsp
mov qword [rbp + 0x220], rax
xor r14d, r14d
xor dil, dil
mov byte [rsp + 0x20], dil
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x140023911
mov rcx, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
mov qword [rbp + 0x1f0], r14
mov qword [rbp + 0x1f8], r14
mov rdx, rcx
lea rcx, [rbp + 0x1e0]
call fcn.140009570
nop
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x1c0], xmm0
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x1c0]
call fcn.14002ab90
test eax, eax
jne 0x140023fe7
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 7
jbe 0x1400239a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400239a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023ffd
call fcn.1400361dc
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
mov r15, qword [rbp + 0x1c8]
test r15, r15
je 0x1400239c7
lock inc dword [r15 + 8]
mov r15, qword [rbp + 0x1c8]
movaps xmm0, xmmword [rbp + 0x1c0]
movdqa xmmword [rbp + 0x1d0], xmm0
test r15, r15
je 0x1400239e7
lock inc dword [r15 + 8]
mov r15, qword [rbp + 0x1c8]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1e0], xmm1
mov r12, 0xffffffffffffffff
test r15, r15
je 0x140023a41
mov eax, r12d
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x140023a3a
mov rbx, qword [rbp + 0x1c8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140023a3a
mov r15, qword [rbp + 0x1c8]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140023a41
mov r15, qword [rbp + 0x1c8]
cmp qword [rbp + 0x1c0], 0
je 0x140023e08
mov rbx, qword [rbp + 0x1d0]
nop word [rax + rax]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140022540
mov rax, qword [rsp + 0x50]
mov edx, dword [rsp + 0x58]
test edx, edx
je 0x140023a89
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x140024003
cmp eax, 2
jne 0x140023de7
lea rcx, [rbx + 0x20]
cmp qword [rbx + 0x38], 7
jbe 0x140023aa1
mov rcx, qword [rbx + 0x20]
mov rax, qword [rbx + 0x30]
lea rdi, [rcx + rax*2]
mov rbx, rdi
mov rdx, rdi
call fcn.1400214e0
cmp rax, rdi
je 0x140023afb
nop dword [rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140023acf
cmp cx, 0x2f
jne 0x140023ad8
add rax, 2
cmp rax, rdi
jne 0x140023ac0
cmp rax, rdi
je 0x140023afb
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x140023afb
cmp cx, 0x2f
je 0x140023afb
mov rbx, rdx
cmp rax, rdx
jne 0x140023ae0
sub rdi, rbx
sar rdi, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140009570
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x200]
call fcn.140028500
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140023b78
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023b73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024014
call fcn.1400361dc
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140023ee0
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov r13, qword [rbp + 0x218]
mov rsi, qword [rbp + 0x200]
test eax, eax
je 0x140023da2
mov r14, qword [rbp + 0x210]
nop dword [rax]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x54]
mov r8, r12
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140023bf0
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x30]
call fcn.140009570
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140023510
mov r8, rax
lea rax, [rbp + 0x200]
cmp r13, 7
cmova rax, rsi
mov rdx, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 7
jbe 0x140023c39
mov r8, qword [r8]
cmp rdx, r14
jne 0x140023c5e
test rdx, rdx
je 0x140023c5a
sub r8, rax
movzx ecx, word [rax + r8]
cmp cx, word [rax]
jne 0x140023c5e
add rax, 2
sub rdx, 1
jne 0x140023c46
mov bl, 1
jmp 0x140023c60
xor bl, bl
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140023ca2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023c9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002401a
call fcn.1400361dc
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], ax
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140023cf9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023cf4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024020
call fcn.1400361dc
test bl, bl
je 0x140023d8a
mov r8d, dword [rbp - 0x78]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140023d5c
lea rdx, str.Terminating_process:
lea rcx, [0x1400852a0]
call fcn.14002adf0
mov rcx, rax
lea rdx, [rbp - 0x54]
call fcn.14002adf0
mov rcx, rax
call fcn.14002b0b0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x20], 1
jmp 0x140023d8a
lea rdx, str.Failed_to_open_process_for_termination:
lea rcx, [0x1400853c0]
call fcn.14002adf0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.1400282d0
mov rcx, rax
call fcn.14002b0b0
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140023bd0
xor r14d, r14d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp r13, 7
jbe 0x140023de7
lea rdx, [r13*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140023ddf
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023fe1
mov rcx, rsi
call fcn.1400361dc
lea rcx, [rbp + 0x1d0]
call fcn.140022a90
mov rbx, qword [rbp + 0x1d0]
test rbx, rbx
jne 0x140023a60
movzx edi, byte [rsp + 0x20]
mov rcx, qword [rbp + 0x1d8]
test rcx, rcx
je 0x140023e51
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140023e4a
mov rbx, qword [rbp + 0x1d8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140023e4a
mov rcx, qword [rbp + 0x1d8]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r15, qword [rbp + 0x1c8]
test r15, r15
je 0x140023e8c
mov eax, r12d
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x140023e8c
mov rbx, qword [rbp + 0x1c8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r12d
cmp r12d, 1
jne 0x140023e8c
mov rcx, qword [rbp + 0x1c8]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
jne 0x140023eac
lea rdx, str.No_running_processes_were_found_matching_the_files_in_the_directory.
lea rcx, [0x1400852a0]
call fcn.14002adf0
mov rcx, rax
call fcn.14002b0b0
movzx eax, dil
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140036180
lea r11, [rsp + 0x330]
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
lea rdx, str.Failed_to_create_snapshot:
lea rcx, [0x1400853c0]
call fcn.14002adf0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.1400282d0
mov rcx, rax
call fcn.14002b0b0
nop
mov rdx, qword [rbp + 0x218]
cmp rdx, 7
jbe 0x140023f56
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023f50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023fe1
call fcn.1400361dc
nop
mov rcx, qword [rbp + 0x1d8]
test rcx, rcx
je 0x140023f9f
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140023f98
mov rbx, qword [rbp + 0x1d8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140023f98
mov rcx, qword [rbp + 0x1d8]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r15, qword [rbp + 0x1c8]
test r15, r15
je 0x140023fda
mov eax, r12d
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x140023fda
mov rbx, qword [rbp + 0x1c8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r12d
cmp r12d, 1
jne 0x140023fda
mov rcx, qword [rbp + 0x1c8]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
jmp 0x140023eb0
call fcn.14003c334
nop
lea r8, [rbp + 0x1e0]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.1400223f0
nop
call fcn.14003c334
nop
lea r8, [rbx + 0x20]
lea rcx, str.directory_entry::status
call fcn.1400223f0
nop
call fcn.14003c334
nop
call fcn.14003c334
nop
call fcn.14003c334
int3