Function at 0x6c9af0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x75a09f
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x79de74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x11c], esi
mov dword [esi], 0
mov dword [ebp - 4], 0
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0xffffffff
push 0x10
mov byte [ebp - 4], 2
call fcn.0072b264
mov edi, eax
add esp, 4
test edi, edi
je 0x6c9b7c
mov dword [edi + 8], 0
lea eax, [edi + 4]
mov dword [edi + 0xc], 0
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov dword [eax], 0
mov dword [edi], 0
jmp 0x6c9b7e
xor edi, edi
mov eax, edi
mov dword [ebp - 0x3c], 0
shr eax, 2
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 0xb0
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.00743d20
add esp, 0xc
lea ecx, [ebp - 0x114]
push 1
call fcn.00685710
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x5f
push eax
lea ecx, [ebp - 0x104]
call fcn.006ca5c0
push eax
call fcn.006c7210
mov eax, dword [ebp - 0x114]
add esp, 8
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xfc], 6
mov dword [ebp + eax - 0xf8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov eax, dword [ebp - 0x34]
sub esp, 8
movd xmm1, eax
shr eax, 0x1f
cvtdq2pd xmm1, xmm1
addsd xmm1, qword [eax*8 + 0x65a2a0]
mov eax, dword [ebp - 0x30]
mulsd xmm1, qword [0x65a288]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x65a2a0]
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 4]
mulsd xmm0, qword [0x65a290]
mov eax, dword [ebp + ecx - 0xf0]
and eax, 0xffffefff
addsd xmm1, xmm0
or eax, 0x2000
mov dword [ebp + ecx - 0xf0], eax
lea ecx, [ebp - 0x104]
movsd qword [esp], xmm1
call fcn.006ca770
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x114]
call fcn.00688fd0
lea ecx, [ebp - 0x4c]
cmp ecx, eax
je 0x6c9cdf
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x3c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp - 0x120]
mov byte [ebp - 4], 7
cmp eax, 0x10
jb 0x6c9d01
inc eax
lea ecx, [ebp - 0x134]
push eax
push dword [ebp - 0x134]
call fcn.00682c60
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 4
call fcn.00685ed0
push 0x13
push 0x65a04c
lea ecx, [ebp - 0x2c]
call fcn.00682a40
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00682810
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
cmp dword [esi], 0
jne 0x6c9d5e
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [esi], eax
setne byte [ebp - 0x115]
jmp 0x6c9d65
mov byte [ebp - 0x115], 0
push 0x14
push 0x65a060
lea ecx, [ebp - 0x2c]
call fcn.00682a40
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00682810
xorps xmm0, xmm0
push 0xffffffffffffffff
push dword [esi]
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], esi
call fcn.006cb620
add esp, 8
mov byte [ebp - 0x30], 1
cmp byte [ebp - 0x115], 0
mov byte [ebp - 4], 8
je 0x6c9dea
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
cmp dword [esi + 8], 0xffffffff
jne 0x6c9dea
push eax
push 0x7fffffff
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 8], 0xffffffff
mov byte [ebp - 0x115], 1
jne 0x6c9df1
mov byte [ebp - 0x115], 0
push 0x12
push 0x65a078
lea ecx, [ebp - 0x2c]
call fcn.00682a40
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00682810
cmp byte [ebp - 0x115], 0
je 0x6c9f32
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
cmp dword [esi + 4], 0xffffffff
jne 0x6c9f32
push eax
push dword [ebp - 0x14]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne al
cmp dword [esi + 4], 0xffffffff
je 0x6c9f32
test al, al
jne 0x6c9e7c
test edi, edi
je 0x6c9e7c
mov ecx, edi
call fcn.006c9f80
push 0x10
push edi
call fcn.0072b294
add esp, 8
lea eax, [ebp - 0x14]
push eax
push 1
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
lea ecx, [ebp - 0x34]
call fcn.006ca000
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x6c9ecb
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
mov byte [ebp - 4], 9
cmp edx, 0x1000
jb 0x6c9ec1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6c9f54
push edx
push ecx
call fcn.0072b294
add esp, 8
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x6c9f15
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0xa
cmp edx, 0x1000
jb 0x6c9f0b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6c9f59
push edx
push ecx
call fcn.0072b294
add esp, 8
mov eax, esi
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.0072b7b0
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x6c9f3f
push 1
mov ecx, edi
call fcn.006cabd0
push 0x78ef74
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call fcn.00743377
call fcn.006e7474
call fcn.006e7474
int3