Function at 0x1001bfc0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100970bc
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x100c7394]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [0x100c6104]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
test edi, edi
je 0x1001c1be
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xb7
jne 0x1001c0ee
call fcn.1003e190
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001c1be
push 0x76
push str.d:jenkins.jenkinsworkspacelib_commonmodeidentifymodeidentifyldsmodeidentifyldsmodeidentifymodeidentifyimp.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000a9b0
push 3
push 0x1009ee28
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000a9b0
mov byte [ebp - 4], 1
call fcn.1003e190
mov edi, eax
lea ecx, [ebp - 0x108]
push 0x104
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10004330
mov esi, eax
push str.kBroadcastWndMutex_already_exists__no_need_rescue_
push esi
mov byte [ebp - 4], 2
call fcn.10005560
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x108]
call fcn.10005880
lea ecx, [ebp - 0x28]
call fcn.10004d90
lea ecx, [ebp - 0x40]
jmp 0x1001c1b2
mov ecx, ebx
call fcn.1001cd50
test eax, eax
je 0x1001c2ac
call fcn.1003e190
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001c1be
push 0x76
push str.d:jenkins.jenkinsworkspacelib_commonmodeidentifymodeidentifyldsmodeidentifyldsmodeidentifymodeidentifyimp.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1000a9b0
push 3
push 0x1009ee28
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 3
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000a9b0
mov byte [ebp - 4], 4
call fcn.1003e190
mov edi, eax
lea ecx, [ebp - 0x108]
push 0x109
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004330
mov esi, eax
push str.Broadcast_wnd_already_exists__no_need_rescue_
push esi
mov byte [ebp - 4], 5
call fcn.10005560
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x108]
call fcn.10005880
lea ecx, [ebp - 0x40]
call fcn.10004d90
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10004d90
push 0x4e20
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1001bff0
call fcn.1003e190
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001c28e
push 0x76
push str.d:jenkins.jenkinsworkspacelib_commonmodeidentifymodeidentifyldsmodeidentifyldsmodeidentifymodeidentifyimp.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1000a9b0
push 3
push 0x1009ee28
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 6
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000a9b0
mov byte [ebp - 4], 7
call fcn.1003e190
mov edi, eax
lea ecx, [ebp - 0x108]
push 0x110
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004330
mov esi, eax
push str.Exit_event_
push esi
mov byte [ebp - 4], 8
call fcn.10005560
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x108]
call fcn.10005880
lea ecx, [ebp - 0x40]
call fcn.10004d90
lea ecx, [ebp - 0x28]
call fcn.10004d90
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d14a
mov esp, ebp
pop ebp
ret
call fcn.1003e190
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001c366
push 0x76
push str.d:jenkins.jenkinsworkspacelib_commonmodeidentifymodeidentifyldsmodeidentifyldsmodeidentifymodeidentifyimp.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.1000a9b0
push 3
push 0x1009ee28
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 9
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1000a9b0
mov byte [ebp - 4], 0xa
call fcn.1003e190
mov edi, eax
lea ecx, [ebp - 0x1a0]
push 0x117
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10004330
mov esi, eax
push str.can_rescue_broadcast_wnd
push esi
mov byte [ebp - 4], 0xb
call fcn.10005560
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a0]
call fcn.10005880
lea ecx, [ebp - 0x58]
call fcn.10004d90
lea ecx, [ebp - 0x70]
call fcn.10004d90
mov eax, 1
jmp 0x1001c290