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

Disassembly:
sub rsp, 0xa8
lea r8, str.System
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov qword [0x140064470], rax
lea rcx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x40], rax
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 0x1400192e4
jmp 0x14001961c
mov r8d, 0x104
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140019305
jmp 0x14001961c
lea rdx, [0x140037d5c]
mov rcx, qword [rsp + 0x20]
call fcn.14001d800
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x140019328
jmp 0x1400196ab
mov rax, qword [rsp + 0x78]
add rax, 2
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x38], 0
lea r8, str.15CD6E95_E542_4BF6_89B2_4BFD4B336941
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14001936a
jmp 0x14001961c
call fcn.1400119c0
test eax, eax
jne 0x14001937d
jmp 0x14001961c
call fcn.14000e6f0
test eax, eax
jne 0x140019390
jmp 0x14001961c
call fcn.14001dc00
test eax, eax
jne 0x1400193a3
jmp 0x14001961c
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x28], 0
call fcn.1400057f0
cmp eax, 1
jne 0x1400193ec
lea r8, str.03161732_9AAA_4352_83DC_9228FDB02560
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400193e4
jmp 0x1400196ab
mov dword [rsp + 0x28], 1
lea rcx, str.03161732_9AAA_4352_83DC_9228FDB02560
call fcn.140019c70
mov dword [rsp + 0x30], 0
call fcn.140005910
cmp eax, 1
jne 0x140019438
lea r8, str.F5AFF25B_DF12_43C4_B784_52DAFB707CD2
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140019430
jmp 0x1400196ab
mov dword [rsp + 0x30], 1
lea rcx, str.F5AFF25B_DF12_43C4_B784_52DAFB707CD2
call fcn.140019c70
mov dword [rsp + 0x70], 0
call fcn.140005a30
cmp eax, 1
jne 0x140019484
lea r8, str.C09A907B_CD5D_446E_BE35_4134991A5421
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14001947c
jmp 0x1400196ab
mov dword [rsp + 0x70], 1
lea rcx, str.C09A907B_CD5D_446E_BE35_4134991A5421
call fcn.140019c70
cmp dword [0x14005da80], 1
jne 0x140019596
cmp dword [0x14005d1c8], 0
jne 0x140019596
cmp dword [rsp + 0x28], 0
jne 0x1400194bf
cmp dword [rsp + 0x30], 0
jne 0x1400194bf
cmp dword [rsp + 0x70], 0
je 0x1400194fa
mov dword [rsp + 0x80], 0
cmp dword [rsp + 0x80], 5
jge 0x1400194fa
call fcn.14000cff0
test eax, eax
jne 0x1400194fa
mov ecx, 0x3e8
call qword [0x140063868]
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
jmp 0x1400194ca
cmp dword [0x14005da84], 1
jne 0x140019596
mov qword [rsp + 0x88], 0
call fcn.140002710
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x140019596
mov dword [rsp + 0x90], 0
mov rcx, qword [rsp + 0x88]
call qword [0x140063878]
cmp eax, 0xffffffff
je 0x140019588
mov rcx, qword [rsp + 0x88]
call qword [0x140063850]
test eax, eax
jne 0x140019584
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0xa
jl 0x140019577
jmp 0x140019588
mov ecx, 0x3e8
call qword [0x140063868]
jmp 0x140019586
jmp 0x140019588
jmp 0x140019536
mov rcx, qword [rsp + 0x88]
call qword [0x140063780]
cmp dword [0x14005da80], 1
jne 0x1400195b5
mov edx, 0xffffffff
mov rcx, qword [0x140063468]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x14001961c
cmp dword [0x14005d1c8], 0
je 0x1400195cb
mov dword [rsp + 0x94], 1
jmp 0x1400195d6
mov dword [rsp + 0x94], 2
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x2c], eax
mov rax, qword [0x140063468]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov ecx, dword [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [0x140063468]
call qword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.140011a30
test eax, eax
jne 0x14001962d
xor ecx, ecx
call qword [0x1400637a0]
call fcn.14001ded0
cmp qword [0x140063468], 0
je 0x140019649
mov rcx, qword [0x140063468]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x38], 0
je 0x14001965c
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], 0
mov qword [0x140063468], 0
cmp qword [0x140064470], 0
je 0x140019687
mov rcx, qword [0x140064470]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x20], 0
je 0x14001969a
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [0x14005d1c8], 0
jne 0x1400196ab
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0xa8
ret