Function at 0x1400086c0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x88]
lea r8, [0x140047210]
xor edx, edx
xor ecx, ecx
call fcn.140009160
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
inc eax
cdqe
mov rcx, rax
call fcn.14001b3c8
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
mov r8, qword [rax + 0x88]
lea rdx, [0x140047228]
mov rcx, qword [rsp + 0x38]
call fcn.1400092b0
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x50]
test eax, eax
jne 0x1400088f8
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14000885e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xb7
je 0x140008771
cmp dword [rsp + 0x24], 5
jne 0x1400087b1
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0xa8], 0
je 0x1400087ac
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x80], 0
je 0x1400087ac
mov rax, qword [rsp + 0x60]
mov r8, qword [rax + 0x80]
lea rdx, [0x140047240]
mov rcx, qword [rsp + 0x60]
call fcn.140008170
jmp 0x140008843
lea rdx, [0x140047250]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x80]
call fcn.140009130
test rax, rax
je 0x14000880b
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0xa8], 0
je 0x140008809
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x80], 0
je 0x140008809
mov rax, qword [rsp + 0x60]
mov r8, qword [rax + 0x80]
lea rdx, [0x140047260]
mov rcx, qword [rsp + 0x60]
call fcn.140008170
jmp 0x140008843
mov rax, qword [rsp + 0x60]
mov r8, qword [rax + 0x80]
lea rdx, [0x140047270]
mov rcx, qword [rsp + 0x60]
call fcn.140008170
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400088f8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400088e8
lea rdx, [0x1400472e0]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x80]
call fcn.140009130
test rax, rax
jne 0x14000888c
mov rcx, qword [rsp + 0x60]
call fcn.140008b80
movzx eax, al
test eax, eax
je 0x1400088c9
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0xa8], 0
je 0x1400088c7
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x80], 0
je 0x1400088c7
mov rax, qword [rsp + 0x60]
mov r8, qword [rax + 0x80]
lea rdx, [0x1400472f0]
mov rcx, qword [rsp + 0x60]
call fcn.140008170
jmp 0x1400088e8
mov rax, qword [rsp + 0x60]
mov r8, qword [rax + 0x80]
lea rdx, [0x140047300]
mov rcx, qword [rsp + 0x60]
call fcn.140008170
jmp 0x1400088f8
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140008725
mov rax, qword [rsp + 0x60]
mov r8, qword [rax + 0x80]
lea rdx, [0x140047360]
mov rcx, qword [rsp + 0x60]
call fcn.140008170
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x50]
test eax, eax
jne 0x1400089d7
mov rax, qword [rsp + 0x60]
mov r8, qword [rax + 0x80]
lea rdx, [0x140047388]
mov rcx, qword [rsp + 0x60]
call fcn.140008170
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xa0]
test eax, eax
jne 0x140008977
lea rdx, [0x1400473b0]
mov rcx, qword [rsp + 0x60]
call fcn.140008170
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1400089d7
lea rdx, [0x1400473d0]
mov rcx, qword [rsp + 0x60]
call fcn.140008170
mov rax, qword [rsp + 0x60]
add rax, 0x68
mov rcx, rax
call fcn.140009100
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x2c], 0
jbe 0x1400089d7
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
add rcx, 0x68
mov edx, eax
call fcn.140008fd0
xor edx, edx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x14000899d
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov edx, 1
mov rcx, qword [rsp + 0x48]
call fcn.14001b3c0
add rsp, 0x58
ret