Function at 0x140001fe0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x1400d8080]
xor rax, rsp
mov qword [rbp + 0x370], rax
xor r14d, r14d
mov dword [rsp + 0x70], r14d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xe4], xmm0
movups xmmword [rbp + 0xf4], xmm0
movups xmmword [rbp + 0x104], xmm0
movups xmmword [rbp + 0x114], xmm0
movups xmmword [rbp + 0x124], xmm0
movups xmmword [rbp + 0x134], xmm0
mov dword [rbp + 0x144], eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
mov dword [rbp + 0xe0], WSAGetLastError
mov dword [rbp - 0x30], r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400c35c0]
mov qword [rbp - 0x20], rax
lea rax, [0x1400c35b8]
mov qword [rbp - 0x10], rax
lea rcx, [rbp + 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r12d, 1
mov dword [rsp + 0x70], r12d
xor r8d, r8d
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x20], r15
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 8], rax
mov qword [rbp + 0x60], r14
mov dword [rbp + 0x68], r14d
mov edx, ebx
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
nop
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x40], r14
mov r9d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x38], r9
mov byte [rbp - 0x50], r14b
mov dword [rsp + 0x70], 5
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
mov ecx, dword [rbp + 0x68]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14000216d
mov rax, qword [rbp + 0x38]
mov r8, qword [rax]
test r8, r8
je 0x14000216d
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x60]
cmovb r8, qword [rbp + 0x60]
sub r8, rdx
jmp 0x14000219e
test cl, 4
jne 0x140002194
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax]
test rcx, rcx
je 0x140002194
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x48]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14000219e
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x1400021b0
lea rcx, [rbp - 0x50]
call fcn.140003140
mov r9, qword [rbp - 0x38]
lea rsi, [rbp - 0x50]
cmp r9, 0x10
cmovae rsi, qword [rbp - 0x50]
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
xor r8d, r8d
lea rdx, [0x1400c3538]
lea rcx, [rbp - 0x70]
call fcn.140003140
nop
mov r8d, 7
lea rdx, str.antidbg
lea rcx, [rbp - 0x70]
call fcn.140003140
lea rcx, [rbp - 0x70]
mov r9, qword [rbp - 0x70]
mov r11, qword [rbp - 0x58]
cmp r11, 0x10
cmovae rcx, r9
mov rdi, qword [rbp - 0x60]
add rdi, rcx
lea rbx, [rbp - 0x70]
cmp r11, 0x10
cmovae rbx, r9
mov r10, r14
mov qword [rsp + 0x50], r14
mov rcx, r14
mov qword [rsp + 0x60], rcx
mov r8d, 7
mov qword [rsp + 0x68], r8
mov rdx, rdi
sub rdx, rbx
cmp rdx, 8
jb 0x14000226d
lea rcx, [rsp + 0x50]
call fcn.140003340
mov rcx, r14
mov qword [rsp + 0x60], rcx
mov r11, qword [rbp - 0x58]
mov r9, qword [rbp - 0x70]
mov r8, qword [rsp + 0x68]
mov r10, qword [rsp + 0x50]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
cmp rbx, rdi
je 0x1400022d7
nop dword [rax]
movsx r9d, byte [rbx]
cmp rcx, r8
jae 0x1400022ac
lea rax, [rcx + 1]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp r8, 8
cmovae rax, r10
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r14w
jmp 0x1400022b6
lea rcx, [rsp + 0x50]
call fcn.1400034b0
inc rbx
mov r8, qword [rsp + 0x68]
mov r10, qword [rsp + 0x50]
cmp rbx, rdi
je 0x1400022cf
mov rcx, qword [rsp + 0x60]
jmp 0x140002280
mov r11, qword [rbp - 0x58]
mov r9, qword [rbp - 0x70]
lea rbx, [rsp + 0x50]
cmp r8, 8
jb 0x140002325
mov rbx, r10
lea rdx, [r8*2 + 2]
mov rcx, r10
cmp rdx, 0x1000
jb 0x140002318
add rdx, 0x27
mov rcx, qword [r10 - 8]
mov rax, rbx
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002318
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aff5c
mov r11, qword [rbp - 0x58]
mov r9, qword [rbp - 0x70]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
cmp r11, 0x10
jb 0x140002373
lea rdx, [r11 + 1]
mov rax, r9
cmp rdx, 0x1000
jb 0x14000236b
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000236b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call fcn.1400aff5c
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140002451
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_DebugActiveProcess]
test eax, eax
je 0x140002445
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x1400023f2
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002545
call fcn.1400aff5c
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x20], r15
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 8]
call fcn.140002d70
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xor eax, eax
jmp 0x1400025a1
mov ecx, 0x22b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov r8d, 0x104
lea rdx, [rbp + 0x150]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [rsp + 0x20], ebx
lea r9, [rbp + 0x150]
lea r8, str._ws__d
mov edx, 0x109
lea rcx, [rbp + 0x260]
call fcn.140001ba0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x260]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp - 0x30]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebx, r14d
cmp eax, 0x22b
cmove ebx, r12d
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
shl ebx, 0xc
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140002551
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000254c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000254c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aff5c
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
mov rcx, qword [rbp - 0x20]
movsxd rdx, dword [rcx + 4]
mov qword [rbp + rdx - 0x20], r15
mov rcx, qword [rbp - 0x20]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rbp + rdx - 0x24], r8d
lea rcx, [rbp - 8]
call fcn.140002d70
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.1400aff00
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret