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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68bc3b
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x746278], 0
jne 0x5ca2a0
mov al, byte [0x74c4dc]
jmp 0x5ca673
lea eax, [ebp - 0x234]
push eax
call fcn.005c3110
add esp, 4
cmp dword [ebp - 0x224], 0
mov dword [ebp - 4], 0
je 0x5ca625
mov eax, dword fs:[0x2c]
mov ecx, dword [0x74cb34]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x74c4d4]
cmp eax, dword [ecx + 4]
jg 0x5ca68e
cmp dword [0x746258], 0
jne 0x5ca3b4
push 0x105
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x5ca3b4
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.005be990
mov esi, eax
add esp, 8
cmp esi, 0x746248
je 0x5ca3a9
mov edx, dword [0x74625c]
cmp edx, 0x10
jb 0x5ca366
mov ecx, dword [0x746248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5ca35c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ca6e2
push edx
push ecx
call fcn.0065d157
add esp, 8
mov dword [0x746258], 0
mov dword [0x74625c], 0xf
mov byte [0x746248], 0
movups xmm0, xmmword [esi]
movups xmmword [0x746248], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x746258], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x24c]
call fcn.00448860
cmp dword [0x74625c], 0x10
lea eax, [ebp - 0x234]
push dword [0x746258]
mov ecx, 0x746248
cmovae ecx, dword [0x746248]
cmp dword [ebp - 0x220], 0x10
push ecx
cmovae eax, dword [ebp - 0x234]
push dword [ebp - 0x224]
push eax
call fcn.005abda0
add esp, 0x10
test al, al
jne 0x5ca625
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 1
push eax
call fcn.005c40e0
push eax
call fcn.005be920
mov edi, dword [ebp - 0x258]
add esp, 8
push edi
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x25c], esi
test esi, esi
jne 0x5ca453
mov byte [ebp - 0x24d], al
mov byte [0x746278], al
jmp 0x5ca616
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x5ca481
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x74c4dc], 1
mov byte [ebp - 0x24d], 1
mov byte [0x746278], 0
jmp 0x5ca616
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.005be920
mov esi, dword [ebp - 0x254]
lea ecx, [ebp - 0x264]
add esp, 8
push esi
call fcn.005cd4b0
mov edi, dword [ebp - 0x258]
push esi
mov esi, dword [ebp - 0x264]
push edi
push esi
call fcn.00668517
mov eax, dword [ebp - 0x260]
add esp, 0xc
add eax, 0xffffffff
js 0x5ca4e4
nop dword [eax + eax]
cmp word [esi + eax*2], 0x5c
je 0x5ca4de
sub eax, 1
jns 0x5ca4d0
jmp 0x5ca4e4
xor ecx, ecx
mov word [esi + eax*2], cx
xorps xmm0, xmm0
mov dword [ebp - 0x2b8], 0x44
xor eax, eax
movlpd qword [ebp - 0x2b4], xmm0
push 1
movlpd qword [ebp - 0x2ac], xmm0
movlpd qword [ebp - 0x2a4], xmm0
movlpd qword [ebp - 0x29c], xmm0
movlpd qword [ebp - 0x294], xmm0
movlpd qword [ebp - 0x286], xmm0
movlpd qword [ebp - 0x27e], xmm0
mov word [ebp - 0x276], ax
mov dword [ebp - 0x28c], 1
mov word [ebp - 0x288], ax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x2b8]
push eax
push esi
push 0
push 0
push 0
push 0
push 0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x5ca5e7
push 0x7d0
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x5ca5c1
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x5ca5cf
cmp dword [ebp - 0x254], 0x66
jne 0x5ca5cf
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x74c4dc], 1
mov byte [ebp - 0x24d], 1
jmp 0x5ca602
push 0
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x24d], 0
mov byte [0x746278], 0
test esi, esi
je 0x5ca616
push esi
call fcn.00663ce7
add esp, 4
test edi, edi
je 0x5ca633
push edi
call fcn.00663ce7
add esp, 4
jmp 0x5ca633
mov byte [0x746278], 0
mov byte [ebp - 0x24d], 0
mov edx, dword [ebp - 0x220]
cmp edx, 0x10
jb 0x5ca66d
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5ca663
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ca6e7
push edx
push ecx
call fcn.0065d157
add esp, 8
mov al, byte [ebp - 0x24d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
push 0x74c4d4
call fcn.0065d30a
add esp, 4
cmp dword [0x74c4d4], 0xffffffff
jne 0x5ca2e3
push 0x6923d0
mov dword [0x746248], 0
mov dword [0x746258], 0
mov dword [0x74625c], 0xf
call fcn.0065d73f
push 0x74c4d4
call fcn.0065d2c0
add esp, 8
jmp 0x5ca2e3
call fcn.00663c8b
call fcn.00663c8b
int3