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

Disassembly:
sub rsp, 0x88
lea r8, str.AB56F979_1BB6_4E67_B697_5291740DCCC3
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov qword [0x14003f528], rax
lea rcx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x38], rax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x20], 0
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14000f3df
jmp 0x14000f5c2
mov r8d, 0x104
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14000f400
jmp 0x14000f5c2
lea rdx, [0x140026924]
mov rcx, qword [rsp + 0x20]
call fcn.140013ae0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14000f423
jmp 0x14000f63a
mov rax, qword [rsp + 0x60]
add rax, 2
mov qword [rsp + 0x60], rax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x68], 0
lea r8, str.4A36C4D6_AF43_4DF6_845E_37DA52CF52D8
xor edx, edx
mov ecx, 0x100002
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14000f470
jmp 0x14000f5c2
mov qword [rsp + 0x30], 0
lea r8, str.6EE051C9_9AE2_46CE_A3E2_342ACE24B18D
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000f4a4
jmp 0x14000f5c2
call fcn.14000bed0
test eax, eax
jne 0x14000f4b7
jmp 0x14000f5c2
call fcn.140013ee0
test eax, eax
jne 0x14000f4ca
jmp 0x14000f5c2
mov qword [rsp + 0x58], 0
call fcn.1400025c0
cmp eax, 1
jne 0x14000f503
lea r8, str.F12554D8_D520_4F73_9B56_8BA1ED5E0CB3
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14000f503
jmp 0x14000f63a
lea rcx, str.F12554D8_D520_4F73_9B56_8BA1ED5E0CB3
call fcn.14000fc20
call fcn.1400026e0
cmp eax, 1
jne 0x14000f53f
lea r8, str.509C42FF_B4CB_4610_8290_30C245B32593
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14000f53f
jmp 0x14000f63a
lea rcx, str.509C42FF_B4CB_4610_8290_30C245B32593
call fcn.14000fc20
cmp dword [0x14003a610], 1
jne 0x14000f568
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x14000f5c2
cmp dword [0x140039f28], 0
je 0x14000f57b
mov dword [rsp + 0x70], 1
jmp 0x14000f583
mov dword [rsp + 0x70], 2
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov ecx, dword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.140014070
cmp qword [rsp + 0x68], 0
je 0x14000f5da
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x30], 0
je 0x14000f5ed
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x68], 0
cmp qword [0x14003f528], 0
je 0x14000f616
mov rcx, qword [0x14003f528]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x20], 0
je 0x14000f629
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [0x140039f28], 0
jne 0x14000f63a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0x88
ret