Function at 0x1003dc50
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10188101
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x101d90a8]
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
call fcn.1006bca0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1003ddaa
push 0x5f
push str.d:jenkins.jenkinsworkspacelib_commonwnd_plugin_realeasewnd_pluginwndplugintrayclient.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1001f970
push 3
push 0x10193314
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.1001f970
mov byte [ebp - 4], 1
call fcn.1006bca0
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x28
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100119f0
mov esi, eax
push str.StartPlugin
push esi
mov byte [ebp - 4], 2
call fcn.100146d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.10014b90
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1003dd5d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003dd53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e019
push edx
push ecx
call fcn.10136eb8
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x1003ddaa
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003dda0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e01e
push edx
push ecx
call fcn.10136eb8
add esp, 8
push str.wnd_plugin_mutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x101df6b0], eax
test eax, eax
jne 0x1003deb7
call fcn.1006bca0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1003de99
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x5f
push str.d:jenkins.jenkinsworkspacelib_commonwnd_plugin_realeasewnd_pluginwndplugintrayclient.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov ebx, eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1001f970
push 3
push 0x10193314
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.1001f970
mov byte [ebp - 4], 4
call fcn.1006bca0
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x2c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100119f0
mov esi, eax
push str.CreateMutex_error:
push esi
mov byte [ebp - 4], 5
call fcn.100146d0
add esp, 8
mov ecx, esi
push ebx
call fcn.100141c0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.10014b90
lea ecx, [ebp - 0x40]
call fcn.10005450
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10005450
push 0
push 0
push 1
push 0
push str.dll_exist
call fcn.100153f0
mov ecx, eax
call fcn.1006d600
jmp 0x1003dff6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1003dfc3
call fcn.1006bca0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1003df86
push 0x5f
push str.d:jenkins.jenkinsworkspacelib_commonwnd_plugin_realeasewnd_pluginwndplugintrayclient.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1001f970
push 3
push 0x10193314
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.1001f970
mov byte [ebp - 4], 7
call fcn.1006bca0
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x32
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100119f0
mov esi, eax
push str.CreateMutex_already_exists.
push esi
mov byte [ebp - 4], 8
call fcn.100146d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.10014b90
lea ecx, [ebp - 0x40]
call fcn.10005450
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10005450
push dword [0x101df6b0]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [0x101df6b0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 1
push 0
push str.dll_exist
mov dword [0x101df6b0], 0
call fcn.100153f0
mov ecx, eax
call fcn.1006d600
jmp 0x1003dff6
push 0
push dword [0x101df6ac]
mov ecx, 0x101df6b4
push 0
call fcn.1003c3a0
mov eax, dword [ebp + 8]
mov ecx, 0x101df6f0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x1003ae37
push eax
call fcn.1003a9e0
mov eax, 1
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.1013724c
mov esp, ebp
pop ebp
ret 4
call fcn.1015f359
call fcn.1015f359
int3