Function at 0x4117a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44582b
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 0x411f4b
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
xor ecx, ecx
mov dword [ebp - 0x64], ecx
jmp 0x411810
cmp eax, ebx
jbe 0x411f89
cmp dword [esi + ecx + 0x14], 8
lea eax, [esi + ecx]
jb 0x411824
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 0x411887
lea ecx, [ebp - 0x9c]
call fcn.0041d620
mov ecx, dword [ebp - 0x68]
push 0xffffffffffffffff
push 0
push eax
mov dword [ebp - 4], 0
call fcn.00404910
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x88], 8
jb 0x411f17
push dword [ebp - 0x9c]
call edi
add esp, 4
jmp 0x411f17
mov ecx, eax
mov ebx, eax
sar ecx, 0x18
cmp ecx, 1
jne 0x4118aa
mov ecx, 0x469ba0
and ebx, 0xffffff
call fcn.00436550
mov ecx, 0x469ba0
jmp 0x4118d5
cmp ecx, 5
jne 0x4118c6
mov ecx, 0x469c80
and ebx, 0xffffff
call fcn.00436550
mov ecx, 0x469c80
jmp 0x4118d5
mov ecx, 0x469ac0
call fcn.00436550
mov ecx, 0x469ac0
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.00438b70
cmp dword [eax], esi
jne 0x41190e
push ebx
push str.list3_player_not_exist._index:__d
push 0x36e
push str.CPlayerCommand::getPlayers3
call fcn.00422900
add esp, 0x10
jmp 0x411f14
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.00410a10
add esp, 8
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x80]
mov ecx, esi
push dword [ebp - 0x50]
push eax
call fcn.00434170
cmp dword [eax + 0x14], 8
jb 0x411958
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [ebp - 0x6c], 8
jb 0x411971
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 0x411a16
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 0x411a11
push dword [ebp - 0x50]
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.00434170
cmp dword [eax + 0x14], 8
jb 0x4119d3
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [ebp - 0x6c], 8
jb 0x4119ec
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 0x411a3e
mov ecx, dword [ebp - 0x14]
jmp 0x411a41
push ebx
mov ecx, esi
call fcn.00434a50
test al, al
je 0x411a29
mov ecx, 3
jmp 0x411a3e
push ebx
mov ecx, esi
call fcn.00434af0
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.00422900
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x208]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
call fcn.0041bff0
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9c]
mov edx, dword [ebp - 0x1c]
call fcn.0041bff0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18c]
mov edx, dword [ebp - 0x20]
call fcn.0041bff0
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x15c]
mov edx, dword [ebp - 0x14]
call fcn.0041bff0
mov ebx, eax
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x12c]
call fcn.0040e420
mov esi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xfc]
mov edx, dword [ebp - 0x50]
call fcn.0041bff0
push 0x44d57c
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xcc]
call fcn.004067a0
add esp, 0x1c
push esi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x174]
call fcn.00418410
add esp, 4
push 0x44d57c
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1f0]
call fcn.004067a0
add esp, 4
push ebx
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x144]
call fcn.00418410
add esp, 4
push 0x44d57c
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1a4]
call fcn.004067a0
add esp, 4
push dword [ebp - 0x60]
mov byte [ebp - 4], 0xc
mov edx, eax
lea ecx, [ebp - 0x114]
call fcn.00418410
add esp, 4
push 0x44d57c
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xb4]
call fcn.004067a0
add esp, 4
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xe4]
push dword [ebp - 0x5c]
mov edx, eax
call fcn.00418410
add esp, 4
push 0x44d57c
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1d8]
call fcn.004067a0
add esp, 4
push dword [ebp - 0x54]
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1bc]
call fcn.00418410
add esp, 4
push 0x44defc
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x80]
call fcn.004067a0
add esp, 4
mov ecx, dword [ebp - 0x68]
push 0xffffffffffffffff
push 0
push eax
mov byte [ebp - 4], 0x12
call fcn.00404910
cmp dword [ebp - 0x6c], 8
jb 0x411bf8
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 0x411c20
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 0x411c51
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 0x411c82
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 0x411cb3
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 0x411ce4
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 0x411d15
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 0x411d46
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 0x411d77
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 0x411da8
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 0x411dd9
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 0x411e0a
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 0x411e3b
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 0x411e6c
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 0x411e9d
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 0x411ece
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 0x411eff
push dword [ebp - 0x208]
call edi
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x38], 8
jb 0x411f14
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 0x411810
mov edi, dword [ebp - 0x68]
cmp dword [edi + 0x14], 8
jb 0x411f53
mov edi, dword [edi]
push edi
push str.list3:__s
push 0x39a
push str.CPlayerCommand::getPlayers3
call fcn.00422900
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.00443690
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