Function at 0x410a50
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446723
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], edi
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, esi
mov dword [ebp - 0x54], ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x411144
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
xor ecx, ecx
mov dword [ebp - 0x64], ecx
cmp eax, ebx
jbe 0x411182
cmp dword [ecx + esi + 0x14], 8
lea eax, [ecx + esi]
jb 0x410acc
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
add esp, 4
mov dword [ebp - 0x60], eax
lea ecx, [eax - 0x1869f]
cmp ecx, 0xfe7960
setbe cl
test cl, cl
je 0x410b2f
lea ecx, [ebp - 0x9c]
call fcn.0041c710
mov ecx, dword [ebp - 0x68]
push 0xffffffffffffffff
push 0
push eax
mov dword [ebp - 4], 0
call fcn.00404b50
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x88], 8
jb 0x411113
push dword [ebp - 0x9c]
call edi
add esp, 4
jmp 0x411113
mov ecx, eax
mov ebx, eax
sar ecx, 0x18
cmp ecx, 1
jne 0x410b52
mov ecx, 0x468b90
and ebx, 0xffffff
call fcn.00436ec0
mov eax, 0x468b90
jmp 0x410b7d
cmp ecx, 5
jne 0x410b6e
mov ecx, 0x468c50
and ebx, 0xffffff
call fcn.00436ec0
mov eax, 0x468c50
jmp 0x410b7d
mov ecx, 0x468ad0
call fcn.00436ec0
mov eax, 0x468ad0
mov esi, dword [eax]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x5c], eax
push ecx
mov ecx, eax
mov dword [ebp - 0x58], ebx
call fcn.00439480
cmp dword [eax], esi
jne 0x410bb8
push ebx
push str.list3_player_not_exist._index:__d
push 0x359
push str.CPlayerCommand::getPlayers3
call fcn.00421550
add esp, 0x10
jmp 0x411110
xor eax, eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
mov esi, dword [ebp - 0x5c]
mov edx, ebx
push esi
push ecx
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 1
call fcn.0040fcc0
mov eax, dword [ebp - 0x34]
add esp, 8
test eax, eax
je 0x410c67
push str.TheRender
push str.RenderWindow
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x410c94
push dword [ebp - 0x50]
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call fcn.00434b90
cmp dword [eax + 0x14], 8
jb 0x410c23
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [ebp - 0x70], 8
jb 0x410c3f
push dword [ebp - 0x84]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], 0
mov word [ebp - 0x84], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 5
setne cl
inc ecx
jmp 0x410c91
push ebx
mov ecx, esi
call fcn.004353c0
test al, al
je 0x410c7c
mov dword [ebp - 0x14], 3
jmp 0x410c94
push ebx
mov ecx, esi
call fcn.00435460
mov ecx, dword [ebp - 0x14]
test al, al
mov eax, 4
cmovne ecx, eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x1f0]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
call fcn.0041af20
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9c]
mov edx, dword [ebp - 0x1c]
call fcn.0041af20
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x160]
mov edx, dword [ebp - 0x20]
call fcn.0041af20
mov ebx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x130]
mov edx, dword [ebp - 0x14]
call fcn.0041af20
mov esi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x100]
mov edx, dword [ebp - 0x50]
call fcn.0041af20
push 0x44e55c
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe4]
call fcn.0040bfd0
add esp, 4
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0xcc]
call fcn.0040c070
add esp, 4
push 0x44e55c
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x148]
call fcn.0040bfd0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1d8]
call fcn.004172d0
add esp, 4
push 0x44e55c
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x118]
call fcn.0040bfd0
add esp, 4
push ebx
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x178]
call fcn.004172d0
add esp, 4
push 0x44e55c
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xb4]
call fcn.0040bfd0
add esp, 4
mov byte [ebp - 4], 0xd
push dword [ebp - 0x60]
mov edx, eax
lea ecx, [ebp - 0x1a8]
call fcn.004172d0
add esp, 4
push 0x44e55c
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x1c0]
call fcn.0040bfd0
add esp, 4
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x190]
push dword [ebp - 0x58]
mov edx, eax
call fcn.004172d0
add esp, 4
push 0x4505ec
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x84]
call fcn.0040bfd0
add esp, 4
mov ecx, dword [ebp - 0x68]
push 0xffffffffffffffff
push 0
push eax
mov byte [ebp - 4], 0x11
call fcn.00404b50
cmp dword [ebp - 0x70], 8
jb 0x410e22
push dword [ebp - 0x84]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x70], 7
cmp dword [ebp - 0x17c], 8
mov dword [ebp - 0x74], 0
mov word [ebp - 0x84], ax
jb 0x410e4d
push dword [ebp - 0x190]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x17c], 7
cmp dword [ebp - 0x1ac], 8
mov dword [ebp - 0x180], 0
mov word [ebp - 0x190], ax
jb 0x410e7e
push dword [ebp - 0x1c0]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x1ac], 7
cmp dword [ebp - 0x194], 8
mov dword [ebp - 0x1b0], 0
mov word [ebp - 0x1c0], ax
jb 0x410eaf
push dword [ebp - 0x1a8]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x194], 7
cmp dword [ebp - 0xa0], 8
mov dword [ebp - 0x198], 0
mov word [ebp - 0x1a8], ax
jb 0x410ee0
push dword [ebp - 0xb4]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0xa0], 7
cmp dword [ebp - 0x164], 8
mov dword [ebp - 0xa4], 0
mov word [ebp - 0xb4], ax
jb 0x410f11
push dword [ebp - 0x178]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x164], 7
cmp dword [ebp - 0x104], 8
mov dword [ebp - 0x168], 0
mov word [ebp - 0x178], ax
jb 0x410f42
push dword [ebp - 0x118]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x104], 7
cmp dword [ebp - 0x1c4], 8
mov dword [ebp - 0x108], 0
mov word [ebp - 0x118], ax
jb 0x410f73
push dword [ebp - 0x1d8]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c4], 7
cmp dword [ebp - 0x134], 8
mov dword [ebp - 0x1c8], 0
mov word [ebp - 0x1d8], ax
jb 0x410fa4
push dword [ebp - 0x148]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x134], 7
cmp dword [ebp - 0xb8], 8
mov dword [ebp - 0x138], 0
mov word [ebp - 0x148], ax
jb 0x410fd5
push dword [ebp - 0xcc]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0xb8], 7
cmp dword [ebp - 0xd0], 8
mov dword [ebp - 0xbc], 0
mov word [ebp - 0xcc], ax
jb 0x411006
push dword [ebp - 0xe4]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0xd0], 7
cmp dword [ebp - 0xec], 8
mov dword [ebp - 0xd4], 0
mov word [ebp - 0xe4], ax
jb 0x411037
push dword [ebp - 0x100]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0xec], 7
cmp dword [ebp - 0x11c], 8
mov dword [ebp - 0xf0], 0
mov word [ebp - 0x100], ax
jb 0x411068
push dword [ebp - 0x130]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x11c], 7
cmp dword [ebp - 0x14c], 8
mov dword [ebp - 0x120], 0
mov word [ebp - 0x130], ax
jb 0x411099
push dword [ebp - 0x160]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x14c], 7
cmp dword [ebp - 0x88], 8
mov dword [ebp - 0x150], 0
mov word [ebp - 0x160], ax
jb 0x4110ca
push dword [ebp - 0x9c]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], 7
cmp dword [ebp - 0x1dc], 8
mov dword [ebp - 0x8c], 0
mov word [ebp - 0x9c], ax
jb 0x4110fb
push dword [ebp - 0x1f0]
call edi
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x38], 8
jb 0x411110
push dword [ebp - 0x4c]
call edi
add esp, 4
mov ebx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x6c]
inc ebx
add dword [ebp - 0x64], 0x18
mov dword [ebp - 0x54], ebx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [ebp - 0x64]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x410ab8
mov edi, dword [ebp - 0x68]
cmp dword [edi + 0x14], 8
jb 0x41114c
mov edi, dword [edi]
push edi
push str.list3:__s
push 0x37d
push str.CPlayerCommand::getPlayers3
call fcn.00421550
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004444d0
mov esp, ebp
pop ebp
ret 8
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xout_of_range_char_const__]
int3