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

Disassembly:
sub rsp, 0x88
lea r8, str.658F1ACE_C9DA_4A8A_9854_90895CAE7A31
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.0C2D181E_1E10_419F_B83C_A3DC0C562489
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.B4C70CF9_CC7E_4F8E_A6FD_DC635961B800
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.485329E0_22FB_4839_9712_4E875F218115
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.485329E0_22FB_4839_9712_4E875F218115
call fcn.14000fc20
call fcn.1400026e0
cmp eax, 1
jne 0x14000f53f
lea r8, str.EBA9BA7B_9274_4748_8338_2B6CD525EEE2
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.EBA9BA7B_9274_4748_8338_2B6CD525EEE2
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