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

Disassembly:
sub rsp, 0x88
lea r8, str.B4BC5A91_729E_4ED2_ACDC_C0D59E81A084
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.CA3517E4_A841_42EC_A6C2_9A6561DDE8B4
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.5C947A1A_6CBB_4013_96F8_E16D168F4C0E
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.80B305C1_C322_45C5_8B84_9ACDCD3FA1E8
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.80B305C1_C322_45C5_8B84_9ACDCD3FA1E8
call fcn.14000fc20
call fcn.1400026e0
cmp eax, 1
jne 0x14000f53f
lea r8, str.498A8C8D_C30A_4580_AC85_B9826A7CFC22
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.498A8C8D_C30A_4580_AC85_B9826A7CFC22
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