Function at 0x410920
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4456b1
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, 0x4689e0
mov dword [ebp - 4], 0
call fcn.00438ad0
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, 0x4689e0
mov dword [eax + 0x10], eax
mov byte [ebp - 4], 0
call fcn.00436ed0
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 0x410ac2
xor ecx, ecx
mov dword [ebp - 0x24], ecx
cmp dword [edi + ecx + 0x1c], 0
je 0x410aa3
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 0x410a97
push 0x44f6f4
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 0x410a97
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, 0x4689e0
push eax
call fcn.004366f0
cmp dword [eax + 0x14], 8
jb 0x410a57
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [ebp - 0x4c], 8
jb 0x410a70
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 0x4109d3
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 0x4112bf
xor ebx, ebx
mov dword [ebp - 0x28], ebx
jmp 0x410ae3
mov ebx, dword [ebp - 0x28]
mov edx, dword [edi + ebx + 0x38]
lea ecx, [ebp - 0x2e8]
call fcn.0041bb70
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2b8]
mov edx, dword [edi + ebx + 0x34]
call fcn.0041bb70
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x288]
mov edx, dword [edi + ebx + 0x30]
call fcn.0041bb70
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x258]
mov edx, dword [edi + ebx + 0x2c]
call fcn.0041bb70
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x228]
mov edx, dword [edi + ebx + 0x20]
call fcn.0041bb70
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1f8]
mov edx, dword [edi + ebx + 0x3c]
call fcn.0041bb70
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c8]
mov edx, dword [edi + ebx + 0x24]
call fcn.0041bae0
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.0041bae0
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.0041bb70
push 0x44d56c
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x138]
call fcn.0040c7c0
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.0040c860
add esp, 4
push 0x44d56c
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xd8]
call fcn.0040c7c0
add esp, 4
mov byte [ebp - 4], 0xd
push edi
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.00417f30
add esp, 4
push 0x44d56c
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x90]
call fcn.0040c7c0
add esp, 4
push ebx
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1b0]
call fcn.00417f30
add esp, 4
push 0x44d56c
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x240]
call fcn.0040c7c0
add esp, 4
push dword [ebp - 0x44]
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x180]
call fcn.00417f30
add esp, 4
push 0x44d56c
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x2d0]
call fcn.0040c7c0
add esp, 4
push dword [ebp - 0x38]
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x150]
call fcn.00417f30
add esp, 4
push 0x44d56c
mov edx, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x78]
call fcn.0040c7c0
add esp, 4
push dword [ebp - 0x34]
mov edx, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x120]
call fcn.00417f30
add esp, 4
push 0x44d56c
mov edx, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x270]
call fcn.0040c7c0
add esp, 4
push dword [ebp - 0x48]
mov edx, eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xf0]
call fcn.00417f30
add esp, 4
push 0x44d56c
mov edx, eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x1e0]
call fcn.0040c7c0
add esp, 4
push dword [ebp - 0x40]
mov edx, eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xc0]
call fcn.00417f30
add esp, 4
push 0x44d56c
mov edx, eax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x2a0]
call fcn.0040c7c0
add esp, 4
push dword [ebp - 0x30]
mov edx, eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x210]
call fcn.00417f30
add esp, 4
push 0x44f63c
mov edx, eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x60]
call fcn.0040c7c0
add esp, 4
mov ecx, dword [ebp - 0x3c]
push 0xffffffffffffffff
push 0
push eax
mov byte [ebp - 4], 0x1d
call fcn.00405350
cmp dword [ebp - 0x4c], 8
jb 0x410d8f
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 0x410db7
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 0x410de8
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 0x410e19
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 0x410e4a
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 0x410e7b
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 0x410eac
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 0x410edd
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 0x410f08
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 0x410f30
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 0x410f61
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 0x410f92
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 0x410fc3
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 0x410ff4
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 0x411022
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 0x41104d
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 0x41107e
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 0x4110af
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 0x4110e0
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 0x411111
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 0x411142
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 0x411173
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 0x4111a4
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 0x4111d5
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 0x411206
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 0x411237
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 0x411268
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 0x41129c
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 0x410ae0
test edi, edi
je 0x411303
cmp edi, ebx
je 0x4112fd
add edi, 0x18
lea ebx, [ebx]
cmp dword [edi], 8
jb 0x4112dd
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 0x4112d0
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.00443640
mov esp, ebp
pop ebp
ret 4