Function at 0x10056c50
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015b7d8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x101b900c]
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 ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx]
mov edi, dword [ebx + 4]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edi
test eax, eax
je 0x10056dda
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x4c], eax
cmp eax, 0x102
jne 0x10056cba
mov eax, 3
jmp 0x10057244
mov eax, dword [ebx]
test eax, eax
je 0x10056cc7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
mov dword [ebx + 4], 0
cmp dword [0x101be120], 0
je 0x10056dda
push ecx
mov ecx, 0x101be120
call fcn.100ab450
mov eax, dword [0x101be120]
cmp byte [eax + 0x54], 0
je 0x10056dda
cmp dword [eax + 0x58], 2
jb 0x10056dda
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x10056d3d
mov ecx, dword [esi]
push eax
push dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
push edi
push ecx
push str._s___d__maybe_is_died__ret__d__err__d
push eax
call fcn.100ac300
add esp, 0x18
lea eax, [ebp - 0x44]
mov ecx, 0x101be120
push 0xd1
push str.RC::RCProtectProcKeeper::UpdateProcessState
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcprotectprockeeper.cpp
push eax
push 2
call fcn.100abe60
test bl, bl
je 0x10056d85
lea eax, [ebp - 0x44]
mov ecx, 0x101be120
push eax
call fcn.100ac180
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x10056dc6
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10056dbc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10057262
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov ebx, dword [ebp - 0x58]
cmp dword [ebx + 0x14], 8
jb 0x10056de5
mov ebx, dword [ebx]
push ebx
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x10057137
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 2
lea edx, [ebp - 0x38]
mov ecx, esi
call fcn.10077df0
mov ebx, dword [ebp - 0x38]
cmp ebx, dword [ebp - 0x34]
jne 0x10056f58
cmp dword [0x101be120], 0
je 0x10056f46
push ecx
mov ecx, 0x101be120
call fcn.100ab450
mov eax, dword [0x101be120]
cmp byte [eax + 0x54], 0
je 0x10056f46
cmp dword [eax + 0x58], 2
jb 0x10056f46
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x45], al
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x14], 8
jb 0x10056eae
mov esi, dword [esi]
push eax
push esi
lea eax, [ebp - 0x2c]
push str._s__mutex_can_open__but_get_pid_failed___d
push eax
call fcn.100ac300
add esp, 0x10
lea eax, [ebp - 0x2c]
mov ecx, 0x101be120
push 0xf4
push str.RC::RCProtectProcKeeper::UpdateProcessState
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcprotectprockeeper.cpp
push eax
push 2
call fcn.100abe60
cmp byte [ebp - 0x45], 0
je 0x10056ef4
lea eax, [ebp - 0x2c]
mov ecx, 0x101be120
push eax
call fcn.100ac180
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x10056f32
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10056f28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10057267
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
xor eax, eax
mov esi, 4
cmp dword [ebp - 0x50], eax
cmovne esi, eax
jmp 0x100570e0
mov edi, dword [ebx]
push edi
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x4c], eax
mov ecx, 5
cmp dword [ebp - 0x4c], 0
mov eax, 2
cmovne eax, ecx
cmp dword [0x101be120], 0
mov dword [ebp - 0x50], eax
je 0x1005708d
push ecx
mov ecx, 0x101be120
call fcn.100ab450
mov ecx, dword [0x101be120]
cmp byte [ecx + 0x54], 0
je 0x1005708d
mov eax, dword [ebp - 0x50]
cmp eax, dword [ecx + 0x58]
ja 0x1005708d
mov al, byte [ecx + 0x5c]
mov byte [ebp - 0x45], al
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x14], 8
jb 0x10056fed
mov esi, dword [esi]
push eax
push dword [ebp - 0x4c]
lea eax, [ebp - 0x2c]
push edi
push dword [ebp - 0x54]
push esi
push str._s__old_pid_is__d__open_proc__d__handle__d__lasteror__d
push eax
call fcn.100ac300
add esp, 0x1c
lea eax, [ebp - 0x2c]
mov ecx, 0x101be120
push 0x102
push str.RC::RCProtectProcKeeper::UpdateProcessState
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcprotectprockeeper.cpp
push eax
push dword [ebp - 0x50]
call fcn.100abe60
cmp byte [ebp - 0x45], 0
je 0x1005703b
lea eax, [ebp - 0x2c]
mov ecx, 0x101be120
push eax
call fcn.100ac180
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x10057079
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005706f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005726c
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov esi, dword [ebp - 0x5c]
xor eax, eax
cmp dword [ebp - 0x4c], eax
cmove edi, eax
mov eax, dword [esi]
test eax, eax
je 0x100570a5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4c]
mov dword [esi], eax
mov eax, dword [ebp - 0x54]
mov dword [esi + 4], edi
cmp edi, eax
jne 0x100570bf
test eax, eax
je 0x100570db
mov esi, 3
jmp 0x100570e0
test eax, eax
je 0x100570d2
test edi, edi
je 0x100570ce
mov esi, 2
jmp 0x100570e0
xor esi, esi
jmp 0x100570e0
mov esi, 1
test edi, edi
jne 0x100570e0
mov esi, 4
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x10057130
mov ecx, dword [ebp - 0x30]
mov eax, ebx
sub ecx, ebx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10057111
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10057271
push ecx
push ebx
call fcn.1010a295
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov eax, esi
jmp 0x10057244
cmp dword [ebp - 0x50], 0
je 0x1005723f
cmp dword [0x101be120], 0
je 0x1005723b
push ecx
mov ecx, 0x101be120
call fcn.100ab450
mov eax, dword [0x101be120]
cmp byte [eax + 0x54], 0
je 0x1005723b
cmp dword [eax + 0x58], 2
jb 0x1005723b
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x100571a6
mov esi, dword [esi]
push edi
push esi
lea eax, [ebp - 0x2c]
push str._s___d__is_stop_running__cannot_open_the_mutex
push eax
call fcn.100ac300
add esp, 0x10
lea eax, [ebp - 0x2c]
mov ecx, 0x101be120
push 0xe2
push str.RC::RCProtectProcKeeper::UpdateProcessState
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcprotectprockeeper.cpp
push eax
push 2
call fcn.100abe60
test bl, bl
je 0x100571ea
lea eax, [ebp - 0x2c]
mov ecx, 0x101be120
push eax
call fcn.100ac180
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x10057227
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005721d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10057276
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
xor eax, eax
jmp 0x10057244
mov eax, 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.10109ef1
mov esp, ebp
pop ebp
ret 0xc
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
int3