Function at 0x410c90
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4456f1
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
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 eax, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ecx, 0x4699e0
mov dword [ebp - 4], 0
call fcn.00436550
sub esp, 0x18
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_struct_std::_Callable_obj_class__lambda_e16060e721ea376c0b4bdf29e1a72ad1___0___class_std::allocator_class_std::_Func_class_void__int____void__int_.0
lea ecx, [ebp - 0x20]
mov dword [eax + 4], ecx
mov ecx, 0x4699e0
mov dword [eax + 0x10], eax
mov byte [ebp - 4], 0
call fcn.00434950
mov ebx, dword [ebp - 0x1c]
xor edx, edx
mov edi, dword [ebp - 0x20]
mov eax, ebx
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
sub eax, edi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edi
test eax, 0xffffffc0
jle 0x410e32
xor ecx, ecx
mov dword [ebp - 0x24], ecx
cmp dword [edi + ecx + 0x1c], 0
je 0x410e13
mov ebx, dword [ebp - 0x24]
lea eax, [ebx + 0x20]
add eax, edi
push eax
push dword [edi + ebx + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push str.TheRender
push str.RenderWindow
push 0
push dword [edi + ebx + 0x1c]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [edi + ebx + 0x24], eax
test eax, eax
je 0x410e07
push 0x44dfb4
push str.subWin
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
cmp dword [edi + ebx + 0x24], 0
mov dword [edi + ebx + 0x28], eax
je 0x410e07
lea ecx, [ebx + 0x2c]
add ecx, edi
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [edi + ebx]
lea eax, [ebp - 0x60]
mov ecx, 0x4699e0
push eax
call fcn.00434170
cmp dword [eax + 0x14], 8
jb 0x410dc7
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [ebp - 0x4c], 8
jb 0x410de0
push dword [ebp - 0x60]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 5
setne cl
inc ecx
mov dword [edi + ebx + 0x3c], ecx
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov eax, ebx
inc edx
sub eax, edi
mov dword [ebp - 0x28], edx
add ecx, 0x40
sar eax, 6
mov dword [ebp - 0x24], ecx
cmp edx, eax
jl 0x410d43
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x24], edi
mov eax, ebx
mov dword [ebp - 0x2c], 0
sub eax, edi
test eax, 0xffffffc0
jle 0x41162f
xor ebx, ebx
mov dword [ebp - 0x28], ebx
jmp 0x410e53
mov ebx, dword [ebp - 0x28]
mov edx, dword [edi + ebx + 0x38]
lea ecx, [ebp - 0x2e8]
call fcn.0041bff0
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2b8]
mov edx, dword [edi + ebx + 0x34]
call fcn.0041bff0
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x288]
mov edx, dword [edi + ebx + 0x30]
call fcn.0041bff0
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x258]
mov edx, dword [edi + ebx + 0x2c]
call fcn.0041bff0
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x228]
mov edx, dword [edi + ebx + 0x20]
call fcn.0041bff0
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1f8]
mov edx, dword [edi + ebx + 0x3c]
call fcn.0041bff0
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c8]
mov edx, dword [edi + ebx + 0x24]
call fcn.0041bf60
mov ebx, eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 8
mov edx, dword [edi + eax + 0x1c]
call fcn.0041bf60
mov edi, eax
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + ecx]
lea ecx, [ebp - 0x168]
call fcn.0041bff0
push 0x44d57c
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x138]
call fcn.004067a0
add esp, 4
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 0xb
add edx, 4
mov ecx, dword [ebp - 0x24]
add ecx, edx
mov edx, eax
push ecx
lea ecx, [ebp - 0x108]
call fcn.0040ccb0
add esp, 4
push 0x44d57c
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xd8]
call fcn.004067a0
add esp, 4
mov byte [ebp - 4], 0xd
push edi
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.00418410
add esp, 4
push 0x44d57c
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x90]
call fcn.004067a0
add esp, 4
push ebx
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1b0]
call fcn.00418410
add esp, 4
push 0x44d57c
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x240]
call fcn.004067a0
add esp, 4
push dword [ebp - 0x44]
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x180]
call fcn.00418410
add esp, 4
push 0x44d57c
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x2d0]
call fcn.004067a0
add esp, 4
push dword [ebp - 0x38]
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x150]
call fcn.00418410
add esp, 4
push 0x44d57c
mov edx, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x78]
call fcn.004067a0
add esp, 4
push dword [ebp - 0x34]
mov edx, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x120]
call fcn.00418410
add esp, 4
push 0x44d57c
mov edx, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x270]
call fcn.004067a0
add esp, 4
push dword [ebp - 0x48]
mov edx, eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xf0]
call fcn.00418410
add esp, 4
push 0x44d57c
mov edx, eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x1e0]
call fcn.004067a0
add esp, 4
push dword [ebp - 0x40]
mov edx, eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xc0]
call fcn.00418410
add esp, 4
push 0x44d57c
mov edx, eax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x2a0]
call fcn.004067a0
add esp, 4
push dword [ebp - 0x30]
mov edx, eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x210]
call fcn.00418410
add esp, 4
push 0x44defc
mov edx, eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x60]
call fcn.004067a0
add esp, 4
mov ecx, dword [ebp - 0x3c]
push 0xffffffffffffffff
push 0
push eax
mov byte [ebp - 4], 0x1d
call fcn.00404910
cmp dword [ebp - 0x4c], 8
jb 0x4110ff
push dword [ebp - 0x60]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x4c], 7
cmp dword [ebp - 0x1fc], 8
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
jb 0x411127
push dword [ebp - 0x210]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x1fc], 7
cmp dword [ebp - 0x28c], 8
mov dword [ebp - 0x200], 0
mov word [ebp - 0x210], ax
jb 0x411158
push dword [ebp - 0x2a0]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x28c], 7
cmp dword [ebp - 0xac], 8
mov dword [ebp - 0x290], 0
mov word [ebp - 0x2a0], ax
jb 0x411189
push dword [ebp - 0xc0]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0xac], 7
cmp dword [ebp - 0x1cc], 8
mov dword [ebp - 0xb0], 0
mov word [ebp - 0xc0], ax
jb 0x4111ba
push dword [ebp - 0x1e0]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x1cc], 7
cmp dword [ebp - 0xdc], 8
mov dword [ebp - 0x1d0], 0
mov word [ebp - 0x1e0], ax
jb 0x4111eb
push dword [ebp - 0xf0]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0xdc], 7
cmp dword [ebp - 0x25c], 8
mov dword [ebp - 0xe0], 0
mov word [ebp - 0xf0], ax
jb 0x41121c
push dword [ebp - 0x270]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x25c], 7
cmp dword [ebp - 0x10c], 8
mov dword [ebp - 0x260], 0
mov word [ebp - 0x270], ax
jb 0x41124d
push dword [ebp - 0x120]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x10c], 7
cmp dword [ebp - 0x64], 8
mov dword [ebp - 0x110], 0
mov word [ebp - 0x120], ax
jb 0x411278
push dword [ebp - 0x78]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x64], 7
cmp dword [ebp - 0x13c], 8
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
jb 0x4112a0
push dword [ebp - 0x150]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x13c], 7
cmp dword [ebp - 0x2bc], 8
mov dword [ebp - 0x140], 0
mov word [ebp - 0x150], ax
jb 0x4112d1
push dword [ebp - 0x2d0]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2bc], 7
cmp dword [ebp - 0x16c], 8
mov dword [ebp - 0x2c0], 0
mov word [ebp - 0x2d0], ax
jb 0x411302
push dword [ebp - 0x180]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x16c], 7
cmp dword [ebp - 0x22c], 8
mov dword [ebp - 0x170], 0
mov word [ebp - 0x180], ax
jb 0x411333
push dword [ebp - 0x240]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x22c], 7
cmp dword [ebp - 0x19c], 8
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
jb 0x411364
push dword [ebp - 0x1b0]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x19c], 7
cmp dword [ebp - 0x7c], 8
mov dword [ebp - 0x1a0], 0
mov word [ebp - 0x1b0], ax
jb 0x411392
push dword [ebp - 0x90]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x7c], 7
cmp dword [ebp - 0x94], 8
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
jb 0x4113bd
push dword [ebp - 0xa8]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x94], 7
cmp dword [ebp - 0xc4], 8
mov dword [ebp - 0x98], 0
mov word [ebp - 0xa8], ax
jb 0x4113ee
push dword [ebp - 0xd8]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0xc4], 7
cmp dword [ebp - 0xf4], 8
mov dword [ebp - 0xc8], 0
mov word [ebp - 0xd8], ax
jb 0x41141f
push dword [ebp - 0x108]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0xf4], 7
cmp dword [ebp - 0x124], 8
mov dword [ebp - 0xf8], 0
mov word [ebp - 0x108], ax
jb 0x411450
push dword [ebp - 0x138]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x124], 7
cmp dword [ebp - 0x154], 8
mov dword [ebp - 0x128], 0
mov word [ebp - 0x138], ax
jb 0x411481
push dword [ebp - 0x168]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x154], 7
cmp dword [ebp - 0x184], 8
mov dword [ebp - 0x158], 0
mov word [ebp - 0x168], ax
jb 0x4114b2
push dword [ebp - 0x198]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x184], 7
cmp dword [ebp - 0x1b4], 8
mov dword [ebp - 0x188], 0
mov word [ebp - 0x198], ax
jb 0x4114e3
push dword [ebp - 0x1c8]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x1b4], 7
cmp dword [ebp - 0x1e4], 8
mov dword [ebp - 0x1b8], 0
mov word [ebp - 0x1c8], ax
jb 0x411514
push dword [ebp - 0x1f8]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x1e4], 7
cmp dword [ebp - 0x214], 8
mov dword [ebp - 0x1e8], 0
mov word [ebp - 0x1f8], ax
jb 0x411545
push dword [ebp - 0x228]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x214], 7
cmp dword [ebp - 0x244], 8
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
jb 0x411576
push dword [ebp - 0x258]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x244], 7
cmp dword [ebp - 0x274], 8
mov dword [ebp - 0x248], 0
mov word [ebp - 0x258], ax
jb 0x4115a7
push dword [ebp - 0x288]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x274], 7
cmp dword [ebp - 0x2a4], 8
mov dword [ebp - 0x278], 0
mov word [ebp - 0x288], ax
jb 0x4115d8
push dword [ebp - 0x2b8]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2a4], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x2d4], 8
mov dword [ebp - 0x2a8], 0
mov word [ebp - 0x2b8], ax
jb 0x41160c
push dword [ebp - 0x2e8]
call esi
add esp, 4
mov ebx, dword [ebp - 0x1c]
mov eax, ebx
mov edi, dword [ebp - 0x20]
sub eax, edi
mov ecx, dword [ebp - 0x2c]
add dword [ebp - 0x28], 0x40
inc ecx
sar eax, 6
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], edi
cmp ecx, eax
jl 0x410e50
test edi, edi
je 0x411673
cmp edi, ebx
je 0x41166d
add edi, 0x18
lea ebx, [ebx]
cmp dword [edi], 8
jb 0x41164d
push dword [edi - 0x14]
call esi
add esp, 4
xor eax, eax
mov dword [edi], 7
mov dword [edi - 4], 0
mov word [edi - 0x14], ax
add edi, 0x40
lea eax, [edi - 0x18]
cmp eax, ebx
jne 0x411640
mov edi, dword [ebp - 0x20]
push edi
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.00443690
mov esp, ebp
pop ebp
ret 4