Function at 0x140089930
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push rbp
push rbx
push rdi
push r12
push r15
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
xor r12d, r12d
lea rax, [0x140162b30]
xor edx, edx
mov dword [rsp + 0x40], r12d
mov rbx, rcx
mov qword [rbp + 0x170], rax
mov edi, r12d
mov qword [rbp + 0x3c0], r12
mov r15b, 1
mov byte [rbp + 0x180], dil
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
or r9, 0xffffffffffffffff
mov qword [rbp + 0x3e0], 7
mov qword [rbp + 0x178], rax
lea rcx, [rbp + 0x3c8]
lea rax, [0x140162990]
mov qword [rbp + 0x3d8], r12
xor r8d, r8d
mov qword [rbp + 0x170], rax
mov rdx, rbx
mov word [rbp + 0x3c8], r12w
call fcn.140029d5c
mov qword [rsp + 0x538], rsi
mov qword [rsp + 0x540], r14
nop word [rax + rax]
xor edx, edx
lea rcx, [rbp + 0x188]
mov r8d, 0x238
call fcn.140113400
lea rdx, [rbp + 0x188]
mov rcx, qword [rbp + 0x178]
mov dword [rbp + 0x188], 0x238
cmp byte [rbp + 0x180], r12b
jne 0x140089a34
mov byte [rbp + 0x180], 1
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x140089a3a
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
setne bl
test bl, bl
je 0x140089a58
mov rax, qword [rbp + 0x170]
lea rcx, [rbp + 0x170]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x1400899f0
test bl, bl
lea rax, [rbp + 0x188]
cmove rax, r12
test rax, rax
je 0x140089bd6
mov r8d, dword [rax + 8]
xor edx, edx
mov ecx, 0x100401
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r12
mov rdx, rax
mov rbx, rax
call fcn.140033814
mov byte [rsp + 0x38], r12b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rbx, rax
jne 0x140089aa5
int3
cmp byte [rsp + 0x38], r12b
je 0x140089ab4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x140089ab9
mov rax, qword [rsp + 0x30]
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne bl
test bl, bl
je 0x140089b41
cmp byte [rsp + 0x38], r12b
je 0x140089adf
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x140089ae4
mov rax, qword [rsp + 0x30]
mov edx, 0xea60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140089b09
test dil, 1
je 0x140089b09
and edi, 0xfffffffe
lea rcx, [rsp + 0x48]
call fcn.140068d80
cmp byte [rsp + 0x38], r12b
je 0x140089b18
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x140089b1d
mov rax, qword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov rcx, qword [0x14017c138]
test rcx, rcx
je 0x140089b53
mov r8d, 2
mov edx, eax
call fcn.14007b1b0
jmp 0x140089b53
test dil, 2
je 0x140089b53
and edi, 0xfffffffd
lea rcx, [rbp + 0x58]
call fcn.140068d80
and r15b, bl
mov rbx, qword [rsp + 0x30]
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400899f0
call fcn.14006b020
mov rcx, qword [0x14017c0e0]
mov rsi, rax
mov r14, qword [rbp + 0x428]
test rcx, rcx
jne 0x140089b90
call fcn.14006da40
mov rcx, qword [0x14017c0e0]
mov r10, qword [rcx]
lea r8, [rsp + 0x30]
mov r9, r14
mov qword [rsp + 0x20], rsi
mov rdx, rbx
call qword [r10 + 0x10]
mov rcx, qword [0x14017c0e0]
mov rbx, qword [rsp + 0x30]
test rcx, rcx
jne 0x140089bc4
call fcn.14006da40
mov rcx, qword [0x14017c0e0]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax]
mov qword [rsp + 0x30], r12
jmp 0x1400899f0
lea rcx, [rbp + 0x170]
call fcn.140089860
mov r14, qword [rsp + 0x540]
movzx eax, r15b
mov rsi, qword [rsp + 0x538]
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.140111850
add rsp, 0x500
pop r15
pop r12
pop rdi
pop rbx
pop rbp
ret