Function at 0x411bc0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ec
mov eax, dword [0x47d220]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 8
push eax
mov dword [ebp - 0x210], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push dword [ebp + 8]
mov ecx, 0x47f0b4
push 0
call fcn.0040f0c0
lea ecx, [ebp - 0x249]
call fcn.00410a30
push 0
push 0
push str.screen_test
call fcn.0040f220
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00438a20
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call esi
call fcn.00405650
mov ecx, eax
test ecx, ecx
je 0x411f8d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x248]
push str.LogScreenTest.log
push eax
call fcn.0040a360
mov esi, dword [ebp - 0x248]
lea eax, [ebp - 0x20c]
add esp, 8
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call fcn.0041eb80
push 1
call fcn.00417520
add esp, 4
lea ecx, [ebp - 0x248]
push dword [0x47c0ec]
call fcn.004038f0
push 1
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push dword [ebp - 0x248]
lea eax, [ebp - 0x228]
mov dword [ebp - 0x238], 0xc
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x238]
push 1
push eax
mov dword [ebp - 0x230], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0x250], edi
test edi, edi
je 0x411d63
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x411d63
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov dword [ebp - 0x250], edi
mov edx, dword [ebp - 0x248]
push ebx
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411d84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x411e5e
call fcn.0041e880
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x411e57
push 0x5d
push str.d:jenkins.jenkinsworkspacemaster_lu_screentest_screen_test_screen_test_src_screentest.cpp
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], al
call fcn.00408520
push 3
push 0x4629c0
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x218], 0xf
mov byte [ebp - 0x22c], 0
call fcn.00408520
call fcn.0041e880
mov ebx, eax
lea ecx, [ebp - 0x2ec]
push 0x60
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00403b50
mov edi, eax
push str.CheckInstance_Exist
push edi
call fcn.00404c90
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2ec]
call fcn.00404e10
lea ecx, [ebp - 0x22c]
call fcn.004045a0
lea ecx, [ebp - 0x244]
call fcn.004045a0
or ebx, 0xffffffff
xor edi, edi
jmp 0x411f63
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00410700
mov dword [ebp - 0x210], eax
add esp, 8
mov eax, dword [0x47ec20]
add eax, 0x10
mov dword [ebp - 0x254], eax
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x47f0ec]
test edi, edi
je 0x411ed9
cmp dword [edi + 4], 0
jle 0x411ea7
mov eax, dword [edi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edi, dword [0x47f0ec]
test edi, edi
je 0x411ed9
mov eax, dword [edi]
test eax, eax
je 0x411ec0
push eax
call fcn.0043bec0
add esp, 4
mov dword [edi], 0
push 0xc
push edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.004311d1
add esp, 8
push dword [ebp - 0x254]
mov dword [0x47f0ec], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x47f0e8]
test edi, edi
je 0x411f37
mov eax, dword [edi]
test eax, eax
je 0x411f0e
push eax
call fcn.0043bec0
add esp, 4
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x411f25
push eax
call fcn.0043bec0
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
mov dword [edi + 8], 0
call fcn.004311d1
add esp, 8
mov ecx, 0x47f0b4
call fcn.00410ce0
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004179b0
call fcn.0041eff0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edi, dword [ebp - 0x210]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
pop ebx
jg 0x411f79
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00431482
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004053f0
int3