Function at 0x6c9ee0
Capabilities:
Check mutex on windows
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x8afba0
push 0x71a9f0
mov eax, dword fs:[0]
push eax
add esp, 0xfffffbb8
mov eax, dword [0x8d3fc4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 0x200
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.00719250
add esp, 0xc
push 0x200
push 0
lea ecx, [ebp - 0x41c]
push ecx
call fcn.00719250
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.MTA_TRACE_FILE_EX
push str._s__d
push 0x100
lea edx, [ebp - 0x21c]
push edx
call fcn.006c9a60
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.MTA_TRACE_MUTEX_EX
push str._s__d
push 0x100
lea eax, [ebp - 0x41c]
push eax
call fcn.006c9a60
add esp, 0x14
push 0x114
push 0
push 0x8f1f60
call fcn.00719250
add esp, 0xc
mov dword [0x8f1f60], 0x114
push 0x8f1f60
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x428], 0
cmp dword [0x8f1f70], 2
jne 0x6ca02a
mov dword [ebp - 0x43c], 0
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x440], ecx
push 1
lea edx, [ebp - 0x458]
push edx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x6ca012
push 0
push 0
push 1
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x6ca01e
mov dword [ebp - 4], 0xfffffffe
jmp 0x6ca2eb
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x428], ecx
lea edx, [ebp - 0x41c]
push edx
push 0
mov eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x424], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x6ca05f
mov dword [ebp - 0x42c], 1
jmp 0x6ca069
mov dword [ebp - 0x42c], 0
mov ecx, dword [ebp - 0x42c]
mov dword [ebp - 0x434], ecx
cmp dword [ebp - 0x424], 0
jne 0x6ca0a5
cmp dword [ebp - 0x424], 0
je 0x6ca094
mov edx, dword [ebp - 0x424]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.006ca3e0
mov dword [ebp - 4], 0xfffffffe
jmp 0x6ca2eb
cmp dword [ebp - 0x434], 0
jne 0x6ca0ba
mov dword [ebp - 0x430], 1
jmp 0x6ca0c4
mov dword [ebp - 0x430], 0
mov al, byte [ebp - 0x430]
mov byte [ebp - 0x41d], al
movzx ecx, byte [ebp - 0x41d]
test ecx, ecx
je 0x6ca0ff
call fcn.006c97f0
mov dword [0x8cf62c], eax
mov edx, dword [0x8f2078]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x424]
mov dword [0x8f2078], eax
jmp 0x6ca121
cmp dword [ebp - 0x434], 0
je 0x6ca121
mov ecx, dword [0x8f2078]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x424]
mov dword [0x8f2078], edx
movzx eax, byte [ebp - 0x41d]
test eax, eax
je 0x6ca18d
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [0x8cf62c]
push edx
push 0
push 4
mov eax, dword [ebp - 0x428]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [0x8f2074], eax
cmp dword [0x8f2074], 0
je 0x6ca18b
cmp dword [0x8f1f70], 2
jne 0x6ca18b
cmp dword [0x8f1f64], 6
jb 0x6ca18b
lea ecx, [ebp - 0x41c]
push ecx
call fcn.006c9ab0
add esp, 4
lea edx, [ebp - 0x21c]
push edx
call fcn.006c9ab0
add esp, 4
jmp 0x6ca1ca
lea eax, [ebp - 0x21c]
push eax
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [0x8f2074], eax
cmp dword [0x8f2074], 0
jne 0x6ca1ca
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [0x8f2074], eax
cmp dword [0x8f2074], 0
je 0x6ca2bf
push 0
push 0
push 0
push 2
mov edx, dword [0x8f2074]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x8f207c], eax
cmp dword [0x8f207c], 0
je 0x6ca2bf
push 0x3e8
mov eax, dword [0x8f2078]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0
je 0x6ca22a
cmp dword [ebp - 0x438], 0x80
jne 0x6ca2a9
movzx ecx, byte [ebp - 0x41d]
test ecx, ecx
je 0x6ca24c
mov edx, dword [0x8cf62c]
push edx
mov eax, dword [0x8f207c]
push eax
call fcn.006ca310
add esp, 8
jmp 0x6ca29a
push str.MTAT
call fcn.006ca670
add esp, 4
push eax
push str.MTAT
push 4
mov ecx, dword [0x8f207c]
push ecx
call fcn.004f6dea
add esp, 0x10
test eax, eax
jne 0x6ca283
mov edx, dword [0x8f207c]
movzx eax, byte [edx + 6]
cmp eax, 1
je 0x6ca29a
mov ecx, dword [0x8f207c]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [0x8f207c], 0
mov edx, dword [0x8f2078]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x6ca2bf
mov eax, dword [0x8f207c]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [0x8f207c], 0
cmp dword [0x8f207c], 0
jne 0x6ca2cd
call fcn.006ca3e0
mov dword [ebp - 4], 0xfffffffe
jmp 0x6ca2eb
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00700c25
mov esp, ebp
pop ebp
ret