Function at 0x411430
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4457eb
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
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 - 0x84], ecx
mov dword [ebp - 0x68], edi
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, esi
mov dword [ebp - 0x58], ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x411bdb
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
xor ecx, ecx
mov dword [ebp - 0x64], ecx
jmp 0x4114a0
cmp eax, ebx
jbe 0x411c19
cmp dword [esi + ecx + 0x14], 8
lea eax, [esi + ecx]
jb 0x4114b4
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 0x411517
lea ecx, [ebp - 0x9c]
call fcn.0041d380
mov ecx, dword [ebp - 0x68]
push 0xffffffffffffffff
push 0
push eax
mov dword [ebp - 4], 0
call fcn.00405350
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x88], 8
jb 0x411ba7
push dword [ebp - 0x9c]
call edi
add esp, 4
jmp 0x411ba7
mov ecx, eax
mov ebx, eax
sar ecx, 0x18
cmp ecx, 1
jne 0x41153a
mov ecx, 0x468ba0
and ebx, 0xffffff
call fcn.00438ad0
mov ecx, 0x468ba0
jmp 0x411565
cmp ecx, 5
jne 0x411556
mov ecx, 0x468c80
and ebx, 0xffffff
call fcn.00438ad0
mov ecx, 0x468c80
jmp 0x411565
mov ecx, 0x468ac0
call fcn.00438ad0
mov ecx, 0x468ac0
mov esi, dword [ecx]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x54], ecx
push eax
mov dword [ebp - 0x5c], ebx
call fcn.0043b110
cmp dword [eax], esi
jne 0x41159e
push ebx
push str.list3_player_not_exist._index:__d
push 0x36e
push str.CPlayerCommand::getPlayers3
call fcn.004226d0
add esp, 0x10
jmp 0x411ba4
xor eax, eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
mov esi, dword [ebp - 0x54]
mov edx, ebx
push esi
push ecx
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 1
call fcn.004106a0
add esp, 8
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x80]
mov ecx, esi
push dword [ebp - 0x50]
push eax
call fcn.004366f0
cmp dword [eax + 0x14], 8
jb 0x4115e8
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [ebp - 0x6c], 8
jb 0x411601
push dword [ebp - 0x80]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x14]
cmp eax, 5
mov eax, 1
cmove ecx, eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x4116a6
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 0x4116a1
push dword [ebp - 0x50]
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.004366f0
cmp dword [eax + 0x14], 8
jb 0x411663
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [ebp - 0x6c], 8
jb 0x41167c
push dword [ebp - 0x80]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 5
setne cl
inc ecx
jmp 0x4116ce
mov ecx, dword [ebp - 0x14]
jmp 0x4116d1
push ebx
mov ecx, esi
call fcn.00436fd0
test al, al
je 0x4116b9
mov ecx, 3
jmp 0x4116ce
push ebx
mov ecx, esi
call fcn.00437070
mov ecx, dword [ebp - 0x14]
test al, al
mov eax, 4
cmovne ecx, eax
mov dword [ebp - 0x14], ecx
push ecx
push dword [ebp - 0x2c]
push dword [ebp - 0x34]
push str.topWnd:_p__bndWnd:_p__androidStarted:_d
push 0x392
push str.CPlayerCommand::getPlayers3
call fcn.004226d0
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x208]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
call fcn.0041bb70
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9c]
mov edx, dword [ebp - 0x1c]
call fcn.0041bb70
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18c]
mov edx, dword [ebp - 0x20]
call fcn.0041bb70
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x15c]
mov edx, dword [ebp - 0x14]
call fcn.0041bb70
mov ebx, eax
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x12c]
call fcn.0040e0b0
mov esi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xfc]
mov edx, dword [ebp - 0x50]
call fcn.0041bb70
push 0x44d56c
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xcc]
call fcn.0040c7c0
add esp, 0x1c
push esi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x174]
call fcn.00417f30
add esp, 4
push 0x44d56c
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1f0]
call fcn.0040c7c0
add esp, 4
push ebx
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x144]
call fcn.00417f30
add esp, 4
push 0x44d56c
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1a4]
call fcn.0040c7c0
add esp, 4
push dword [ebp - 0x60]
mov byte [ebp - 4], 0xc
mov edx, eax
lea ecx, [ebp - 0x114]
call fcn.00417f30
add esp, 4
push 0x44d56c
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xb4]
call fcn.0040c7c0
add esp, 4
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xe4]
push dword [ebp - 0x5c]
mov edx, eax
call fcn.00417f30
add esp, 4
push 0x44d56c
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1d8]
call fcn.0040c7c0
add esp, 4
push dword [ebp - 0x54]
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1bc]
call fcn.00417f30
add esp, 4
push 0x44f63c
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x80]
call fcn.0040c7c0
add esp, 4
mov ecx, dword [ebp - 0x68]
push 0xffffffffffffffff
push 0
push eax
mov byte [ebp - 4], 0x12
call fcn.00405350
cmp dword [ebp - 0x6c], 8
jb 0x411888
push dword [ebp - 0x80]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
cmp dword [ebp - 0x1a8], 8
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
jb 0x4118b0
push dword [ebp - 0x1bc]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x1a8], 7
cmp dword [ebp - 0x1c4], 8
mov dword [ebp - 0x1ac], 0
mov word [ebp - 0x1bc], ax
jb 0x4118e1
push dword [ebp - 0x1d8]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c4], 7
cmp dword [ebp - 0xd0], 8
mov dword [ebp - 0x1c8], 0
mov word [ebp - 0x1d8], ax
jb 0x411912
push dword [ebp - 0xe4]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0xd0], 7
cmp dword [ebp - 0xa0], 8
mov dword [ebp - 0xd4], 0
mov word [ebp - 0xe4], ax
jb 0x411943
push dword [ebp - 0xb4]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0xa0], 7
cmp dword [ebp - 0x100], 8
mov dword [ebp - 0xa4], 0
mov word [ebp - 0xb4], ax
jb 0x411974
push dword [ebp - 0x114]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x100], 7
cmp dword [ebp - 0x190], 8
mov dword [ebp - 0x104], 0
mov word [ebp - 0x114], ax
jb 0x4119a5
push dword [ebp - 0x1a4]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x190], 7
cmp dword [ebp - 0x130], 8
mov dword [ebp - 0x194], 0
mov word [ebp - 0x1a4], ax
jb 0x4119d6
push dword [ebp - 0x144]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x130], 7
cmp dword [ebp - 0x1dc], 8
mov dword [ebp - 0x134], 0
mov word [ebp - 0x144], ax
jb 0x411a07
push dword [ebp - 0x1f0]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x1dc], 7
cmp dword [ebp - 0x160], 8
mov dword [ebp - 0x1e0], 0
mov word [ebp - 0x1f0], ax
jb 0x411a38
push dword [ebp - 0x174]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x160], 7
cmp dword [ebp - 0xb8], 8
mov dword [ebp - 0x164], 0
mov word [ebp - 0x174], ax
jb 0x411a69
push dword [ebp - 0xcc]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0xb8], 7
cmp dword [ebp - 0xe8], 8
mov dword [ebp - 0xbc], 0
mov word [ebp - 0xcc], ax
jb 0x411a9a
push dword [ebp - 0xfc]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0xe8], 7
cmp dword [ebp - 0x118], 8
mov dword [ebp - 0xec], 0
mov word [ebp - 0xfc], ax
jb 0x411acb
push dword [ebp - 0x12c]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x118], 7
cmp dword [ebp - 0x148], 8
mov dword [ebp - 0x11c], 0
mov word [ebp - 0x12c], ax
jb 0x411afc
push dword [ebp - 0x15c]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x148], 7
cmp dword [ebp - 0x178], 8
mov dword [ebp - 0x14c], 0
mov word [ebp - 0x15c], ax
jb 0x411b2d
push dword [ebp - 0x18c]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x178], 7
cmp dword [ebp - 0x88], 8
mov dword [ebp - 0x17c], 0
mov word [ebp - 0x18c], ax
jb 0x411b5e
push dword [ebp - 0x9c]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], 7
cmp dword [ebp - 0x1f4], 8
mov dword [ebp - 0x8c], 0
mov word [ebp - 0x9c], ax
jb 0x411b8f
push dword [ebp - 0x208]
call edi
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x38], 8
jb 0x411ba4
push dword [ebp - 0x4c]
call edi
add esp, 4
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x84]
inc ebx
add dword [ebp - 0x64], 0x18
mov dword [ebp - 0x58], 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 0x4114a0
mov edi, dword [ebp - 0x68]
cmp dword [edi + 0x14], 8
jb 0x411be3
mov edi, dword [edi]
push edi
push str.list3:__s
push 0x39a
push str.CPlayerCommand::getPlayers3
call fcn.004226d0
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.00443640
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