Function at 0x410a90
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ace0
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x423018]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x12c], eax
mov eax, dword [eax + 0x10]
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], edx
mov byte [ebp - 0x125], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp - 0x12c]
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0x138], ecx
push edx
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x13c], ebx
call fcn.00413c00
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x134], eax
cmp eax, dword [ecx + 4]
je 0x410bdf
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x144], edx
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x140], ecx
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x154], ebx
mov eax, 0x10
lea ecx, [ebp - 0x144]
lea edx, [ebp - 0x15c]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x410b9f
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x410b81
xor ebx, ebx
lea eax, [ebp - 0x134]
jmp 0x410bf6
movzx eax, byte [edx]
movzx esi, byte [ecx]
sub eax, esi
jne 0x410bcb
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x410bcb
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x410bcb
movzx eax, byte [edx + 3]
movzx edx, byte [ecx + 3]
sub eax, edx
sar eax, 0x1f
or eax, 1
xor ebx, ebx
cmp eax, ebx
jl 0x410be1
lea eax, [ebp - 0x134]
jmp 0x410bf6
xor ebx, ebx
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x130]
mov ecx, dword [ebp - 0x12c]
mov ecx, dword [ecx + 4]
cmp dword [eax], ecx
je 0x410c0f
mov byte [ebp - 0x125], 0
jmp 0x410e8a
cmp dword [ebp - 0x148], ebx
je 0x410c03
mov esi, 0xf
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0xf8], ebx
mov byte [ebp - 0x108], 0
mov dword [ebp - 4], ebx
mov edi, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
push 0x14
mov dword [ebp - 0xe0], ebx
call edi
add esp, 4
cmp eax, ebx
je 0x410ef2
mov dword [ebp - 0xe4], eax
mov dword [eax], eax
mov eax, dword [ebp - 0xe4]
mov dword [eax + 4], eax
lea edx, [ebp - 0xd8]
mov dword [ebp - 0x160], edx
mov dword [ebp - 0xd8], ebx
push 8
mov byte [ebp - 4], 2
call edi
add esp, 4
cmp eax, ebx
je 0x410ebe
mov dword [ebp - 0xd8], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [ebp - 0xd8]
lea eax, [ebp - 0xd8]
mov dword [ecx], eax
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 3
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x124], edx
mov edx, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 0x10c], edx
call fcn.00411980
mov edi, eax
lea edx, [ebp - 0x108]
cmp edx, edi
je 0x410d6c
cmp dword [ebp - 0xf4], 0x10
jb 0x410d16
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0xf8], ebx
mov byte [ebp - 0x108], 0
cmp dword [edi + 0x14], 0x10
jae 0x410d47
mov eax, dword [edi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x108]
push edi
push ecx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x410d51
mov edx, dword [edi]
mov dword [ebp - 0x108], edx
mov dword [edi], ebx
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xf8], eax
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0xf4], ecx
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
mov byte [edi], 0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], 0x10
jb 0x410d83
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0xe4]
mov esi, dword [ebp - 0x148]
lea edi, [eax + 4]
mov dword [ebp - 0xe8], ebx
mov ecx, dword [edi]
push ecx
push eax
call fcn.00413470
mov edx, 0x15555554
sub edx, dword [ebp - 0xe0]
cmp edx, 1
jae 0x410dbc
push str.list_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
inc dword [ebp - 0xe0]
mov dword [edi], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0x28]
push 4
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], eax
mov dword [ebp - 0xbc], ebx
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x410e11
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
jmp 0x410e13
xor esi, esi
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xb4], ecx
mov ecx, dword [ebp + 0x28]
lea edx, [ebp - 0xa4]
push edx
lea edi, [ebp - 0x124]
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], ecx
call fcn.00411400
mov esi, dword [ebp - 0x12c]
lea ecx, [ebp - 0xb4]
mov edx, esi
mov byte [ebp - 4], 5
call fcn.00414800
push eax
lea eax, [ebp - 0x164]
push eax
push esi
call fcn.00413fe0
lea edi, [ebp - 0xa4]
call fcn.00411030
lea edi, [ebp - 0x124]
call fcn.00411030
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, byte [ebp - 0x125]
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.00419346
mov esp, ebp
pop ebp
ret 0x24
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x130], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x41f284
lea ecx, [ebp - 0x158]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
lea edx, [ebp - 0x134]
push edx
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x134], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x41f284
lea eax, [ebp - 0x140]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3