Function at 0x410900
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438873
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], ecx
cmp dword [0x459e90], 0
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - 0xd0], ebx
je 0x410cd0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov ecx, 0x459df0
mov dword [ebp - 4], 0
call fcn.0041f830
lea eax, [ebp - 0x28]
mov ecx, 0x459df0
push eax
call fcn.0041f670
mov eax, dword [ebp - 0x24]
xor edi, edi
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x410cbf
cmp eax, edi
jbe 0x410e0c
mov eax, dword [ecx + edi*4]
mov ecx, 0x459df0
push eax
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x64]
push eax
call fcn.0041f3b0
mov eax, dword [ebp - 0xd4]
lea ecx, [ebp - 0x4c]
push ecx
mov byte [ebp - 4], 1
lea ecx, [eax + 8]
call fcn.00417120
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.0040bbe0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], 8
jb 0x410a0d
push dword [ebp - 0x4c]
call esi
add esp, 4
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x410a36
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x410c95
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xf0]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x1c], xmm0
lea ecx, [ecx + 8]
call fcn.00417160
mov ecx, eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0xd8], eax
xor eax, eax
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 4
mov edx, dword [ecx + 0x14]
cmp edx, 8
jb 0x410a82
mov eax, dword [ecx]
jmp 0x410a84
mov eax, ecx
mov edi, dword [ecx + 0x10]
cmp edx, 8
jb 0x410a8e
mov ecx, dword [ecx]
lea eax, [eax + edi*2]
push eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00411d00
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 2
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x4c]
push eax
call fcn.00408440
mov edi, dword [ebp - 0xf4]
lea ecx, [ebp - 0x1c]
push edi
call fcn.00423690
cmp dword [ebp - 0x38], 8
jb 0x410aee
push dword [ebp - 0x4c]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
cmp dword [ebp - 0xdc], 8
jb 0x410b16
push dword [ebp - 0xf0]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
push edi
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xa4], edi
push eax
mov dword [ebp - 0x88], 3
call fcn.0041fd30
mov edi, eax
lea eax, [ebp - 0xa0]
cmp eax, edi
je 0x410bee
cmp dword [ebp - 0x8c], 8
jb 0x410b7c
push dword [ebp - 0xa0]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
cmp dword [edi + 0x14], 8
jae 0x410bbb
mov eax, dword [edi + 0x10]
inc eax
je 0x410bc9
add eax, eax
push eax
lea eax, [ebp - 0xa0]
push edi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x410bc9
mov eax, dword [edi]
mov dword [ebp - 0xa0], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x90], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x8c], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0xdc], 8
jb 0x410c02
push dword [ebp - 0xf0]
call esi
add esp, 4
lea eax, [ebp - 0xa4]
mov ecx, ebx
push eax
call fcn.004115e0
cmp dword [ebp - 0x8c], 8
jb 0x410c24
push dword [ebp - 0xa0]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
test edi, edi
je 0x410c8f
cmp dword [edi + 0x48], 8
jb 0x410c5a
push dword [edi + 0x34]
call esi
add esp, 4
mov dword [edi + 0x48], 7
xor eax, eax
mov dword [edi + 0x44], 0
mov word [edi + 0x34], ax
push dword [edi + 0x18]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
push dword [edi + 0x14]
call esi
add esp, 4
mov ecx, edi
call fcn.0041e730
push edi
call esi
add esp, 4
mov edi, dword [ebp - 0xcc]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x50], 8
jb 0x410ca7
push dword [ebp - 0x64]
call esi
add esp, 4
mov eax, dword [ebp - 0xc8]
inc edi
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xcc], edi
cmp edi, eax
jb 0x4109b4
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x410cd0
push ecx
call esi
add esp, 4
cmp dword [0x459c10], 0
je 0x41117d
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov ecx, 0x459b70
mov dword [ebp - 4], 9
call fcn.0041f830
lea eax, [ebp - 0x40]
mov ecx, 0x459b70
push eax
call fcn.0041f670
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov ecx, dword [ebp - 0x40]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0xcc], edx
test eax, eax
je 0x411161
cmp eax, edx
jbe 0x410e0c
mov edi, dword [ecx + edx*4]
lea eax, [ebp - 0x64]
push edi
push eax
mov ecx, 0x459b70
call fcn.0041f3b0
mov eax, dword [ebp - 0xd4]
lea ecx, [ebp - 0xf0]
push ecx
mov byte [ebp - 4], 0xa
lea ecx, [eax + 8]
call fcn.00417120
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xb
call fcn.0040bbe0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xdc], 8
jb 0x410d97
push dword [ebp - 0xf0]
call esi
add esp, 4
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x410dc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x41112f
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xf0]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x1c], xmm0
lea ecx, [ecx + 8]
call fcn.004171a0
mov ecx, eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x20], 7
mov dword [ebp - 0xd8], eax
xor eax, eax
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
mov byte [ebp - 4], 0xd
mov edx, dword [ecx + 0x14]
cmp edx, 8
jb 0x410e17
mov eax, dword [ecx]
jmp 0x410e19
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov eax, ecx
mov ebx, dword [ecx + 0x10]
mov dword [ebp - 0xc8], ebx
mov ebx, dword [ebp - 0xd0]
cmp edx, 8
jb 0x410e2f
mov ecx, dword [ecx]
mov edx, dword [ebp - 0xc8]
lea eax, [eax + edx*2]
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.00411d00
sub esp, 0x18
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 2
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x34]
push eax
call fcn.00408440
push edi
lea ecx, [ebp - 0x1c]
call fcn.00423690
cmp dword [ebp - 0x20], 8
jb 0x410e8f
push dword [ebp - 0x34]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
cmp dword [ebp - 0xdc], 8
jb 0x410eb7
push dword [ebp - 0xf0]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
push edi
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x84], edi
push eax
mov dword [ebp - 0x68], 1
call fcn.0041fd30
mov edi, eax
lea eax, [ebp - 0x80]
cmp eax, edi
je 0x410f61
cmp dword [ebp - 0x6c], 8
jb 0x410f04
push dword [ebp - 0x80]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
cmp dword [edi + 0x14], 8
jae 0x410f37
mov eax, dword [edi + 0x10]
inc eax
je 0x410f42
add eax, eax
push eax
lea eax, [ebp - 0x80]
push edi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x410f42
mov eax, dword [edi]
mov dword [ebp - 0x80], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x70], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0xdc], 8
jb 0x410f75
push dword [ebp - 0xf0]
call esi
add esp, 4
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x84]
cmp eax, ecx
jae 0x41105d
mov ebx, dword [ebx]
cmp ebx, eax
ja 0x411057
mov edx, dword [ebp - 0xd0]
mov edi, eax
sub edi, ebx
mov edx, dword [edx + 8]
cmp ecx, edx
jne 0x411000
mov eax, edx
sub eax, ecx
sar eax, 5
cmp eax, 1
jae 0x411000
sub ecx, ebx
mov eax, 0x7ffffff
sar ecx, 5
sub eax, ecx
cmp eax, 1
jb 0x4112b8
inc ecx
sub edx, ebx
sar edx, 5
mov eax, 0x7ffffff
mov dword [ebp - 0xc8], ecx
mov ecx, edx
shr ecx, 1
sub eax, ecx
cmp eax, edx
jae 0x410fe1
xor edx, edx
jmp 0x410fe3
add edx, ecx
cmp edx, dword [ebp - 0xc8]
mov ebx, dword [ebp - 0xd0]
mov ecx, ebx
cmovb edx, dword [ebp - 0xc8]
push edx
call fcn.00411710
jmp 0x411006
mov ebx, dword [ebp - 0xd0]
mov ecx, dword [ebx + 4]
and edi, 0xffffffe0
add edi, dword [ebx]
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x4110f8
mov eax, dword [edi]
mov dword [ecx], eax
add ecx, 4
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
lea eax, [edi + 4]
push eax
call fcn.00408440
mov ecx, dword [ebp - 0xc8]
mov eax, dword [edi + 0x1c]
mov dword [ecx + 0x1c], eax
jmp 0x4110f8
mov ebx, dword [ebp - 0xd0]
mov edx, dword [ebx + 8]
cmp ecx, edx
jne 0x4110bd
mov eax, edx
sub eax, ecx
sar eax, 5
cmp eax, 1
jae 0x4110bd
mov edi, dword [ebx]
mov eax, 0x7ffffff
sub ecx, edi
sar ecx, 5
sub eax, ecx
cmp eax, 1
jb 0x4112b8
inc ecx
sub edx, edi
sar edx, 5
mov eax, 0x7ffffff
mov dword [ebp - 0xc8], ecx
mov ecx, edx
shr ecx, 1
sub eax, ecx
cmp eax, edx
jae 0x4110a6
xor edx, edx
jmp 0x4110a8
add edx, ecx
cmp edx, dword [ebp - 0xc8]
mov ecx, ebx
cmovb edx, dword [ebp - 0xc8]
push edx
call fcn.00411710
mov edi, dword [ebx + 4]
mov byte [ebp - 4], 0x13
test edi, edi
je 0x4110f8
mov eax, dword [ebp - 0x84]
lea ecx, [edi + 4]
mov dword [edi], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x80]
push eax
call fcn.00408440
mov eax, dword [ebp - 0x68]
mov dword [edi + 0x1c], eax
add dword [ebx + 4], 0x20
cmp dword [ebp - 0x6c], 8
jb 0x41110a
push dword [ebp - 0x80]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
test ecx, ecx
je 0x41112f
push ecx
call fcn.00423630
mov byte [ebp - 4], 9
cmp dword [ebp - 0x50], 8
jb 0x411141
push dword [ebp - 0x64]
call esi
add esp, 4
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x40]
inc edx
sub eax, ecx
mov dword [ebp - 0xcc], edx
sar eax, 2
cmp eax, edx
ja 0x410d43
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x41117d
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
push dword [ebp - 0x40]
call esi
add esp, 4
cmp dword [0x459d50], 0
je 0x411449
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov ecx, 0x459cb0
mov dword [ebp - 4], 0x14
call fcn.0041f830
lea eax, [ebp - 0x28]
mov ecx, 0x459cb0
push eax
call fcn.0041f670
mov eax, dword [ebp - 0x24]
xor edi, edi
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x41142d
cmp eax, edi
jbe 0x410e0c
mov eax, dword [ecx + edi*4]
mov ecx, 0x459cb0
push eax
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x64]
push eax
call fcn.0041f3b0
mov eax, dword [ebp - 0xd4]
lea ecx, [ebp - 0xf0]
push ecx
mov byte [ebp - 4], 0x15
lea ecx, [eax + 8]
call fcn.00417120
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x16
call fcn.0040bbe0
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0xdc], 8
jb 0x411244
push dword [ebp - 0xf0]
call esi
add esp, 4
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x41126d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x411407
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xf0]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x1c], xmm0
lea ecx, [ecx + 8]
call fcn.004171e0
mov ecx, eax
sub esp, 0x18
xor eax, eax
mov edx, esp
mov dword [ebp - 0xd8], edx
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
mov byte [ebp - 4], 0x18
cmp dword [ecx + 0x14], 8
jb 0x4112c3
mov eax, dword [ecx]
jmp 0x4112c5
push str.vector_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
mov eax, ecx
cmp dword [ecx + 0x14], 8
mov ebx, dword [ecx + 0x10]
jb 0x4112d0
mov ecx, dword [ecx]
lea eax, [eax + ebx*2]
push eax
push ecx
mov ecx, edx
call fcn.00411d00
push dword [ebp - 0xcc]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x17
call fcn.00423590
cmp dword [ebp - 0xdc], 8
mov ebx, dword [ebp - 0xd0]
jb 0x411308
push dword [ebp - 0xf0]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0xac], 7
mov dword [ebp - 0xb0], 0
mov word [ebp - 0xc0], ax
mov eax, dword [ebp - 0xcc]
push eax
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xa8], 2
push eax
call fcn.0041fd30
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
cmp ecx, eax
je 0x4113a3
cmp dword [ebp - 0xac], 8
jb 0x41137a
push dword [ebp - 0xc0]
call esi
mov eax, dword [ebp - 0xc8]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], cx
lea ecx, [ebp - 0xc0]
push eax
mov dword [ebp - 0xb0], 0
call fcn.0040b970
cmp dword [ebp - 0xdc], 8
jb 0x4113b7
push dword [ebp - 0xf0]
call esi
add esp, 4
lea eax, [ebp - 0xc4]
mov ecx, ebx
push eax
call fcn.004115e0
cmp dword [ebp - 0xac], 8
jb 0x4113d9
push dword [ebp - 0xc0]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xac], 7
mov dword [ebp - 0xb0], 0
mov word [ebp - 0xc0], ax
test ecx, ecx
je 0x411407
push ecx
call fcn.00423630
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x50], 8
jb 0x411419
push dword [ebp - 0x64]
call esi
add esp, 4
mov eax, dword [ebp - 0x24]
inc edi
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 2
cmp eax, edi
ja 0x4111ea
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x411449
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
push dword [ebp - 0x28]
call esi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00436c68
mov esp, ebp
pop ebp
ret 4