Function at 0x101d1470
Capabilities:
Check mutex on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f8648
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x10b0
call fcn.101b42a0
mov eax, dword [0x1025f074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10bc], esi
push str.4316E0F0_641C_4603_A3A5_EDD34F07BC95_FM_RBBHO
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 0x10c0], eax
cmp eax, 0xffffffff
jne 0x101d15de
cmp dword [0x102682b0], 0
je 0x101d15d7
push ecx
mov ecx, 0x102682b0
call fcn.100950c0
mov eax, dword [0x102682b0]
cmp byte [eax + 0x54], 0
je 0x101d15d7
cmp dword [eax + 0x58], 5
jb 0x101d15d7
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x10b1], al
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x34]
push 0xd
push 0x10215f64
call fcn.10008490
push 0x18e
push str.RC::RCRcmdBrowser::WriteBannerSharedData
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src2345safebho_rcrcmdbrowser.cpp
lea eax, [ebp - 0x34]
mov ecx, 0x102682b0
push eax
push 5
call fcn.10095ac0
cmp byte [ebp - 0x10b1], 0
je 0x101d1582
lea eax, [ebp - 0x34]
mov ecx, 0x102682b0
push eax
call fcn.10095de0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x101d15c3
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x101d15b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101d19c8
push edx
push ecx
call fcn.101b37a2
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
xor al, al
jmp 0x101d19a8
push 0
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x10b8], eax
test eax, eax
jne 0x101d1694
cmp dword [0x102682b0], eax
je 0x101d15d7
push ecx
mov ecx, 0x102682b0
call fcn.100950c0
mov eax, dword [0x102682b0]
cmp byte [eax + 0x54], 0
je 0x101d15d7
cmp dword [eax + 0x58], 5
jb 0x101d15d7
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x10b1], al
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x34]
push 0xf
push 0x10215fd4
call fcn.10008490
push 0x195
push str.RC::RCRcmdBrowser::WriteBannerSharedData
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src2345safebho_rcrcmdbrowser.cpp
lea eax, [ebp - 0x34]
mov ecx, 0x102682b0
push eax
push 5
call fcn.10095ac0
cmp byte [ebp - 0x10b1], 0
je 0x101d1582
jmp 0x101d1574
lea ecx, [ebp - 0x10b0]
call fcn.100090d0
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x18], 0
mov dword [ebp - 4], 2
lea edi, [esi + 0x1124]
push ecx
lea ecx, [ebp - 0x38]
mov word [ebp - 0x18], 0
mov dword [ebp - 0x38], 0
call fcn.10093f10
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x38]
cmp dword [esi], 0
je 0x101d16e8
lea ecx, [esi + 8]
jmp 0x101d16ea
xor ecx, ecx
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x3c], ecx
je 0x101d16ff
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x101d1701
mov eax, dword [edi]
jmp 0x101d1701
xor eax, eax
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x1c], eax
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x101d1764
call eax
cmp eax, 5
jne 0x101d1758
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x10], 0
je 0x101d1745
cmp dword [edi + 0x14], 8
jb 0x101d1747
mov edi, dword [edi]
push edi
push 0
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x1c], eax
jmp 0x101d175b
xor edi, edi
push edi
push 0
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x1c], eax
jmp 0x101d175b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x101d1782
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
movzx ecx, byte [ebp - 0x17]
cmp eax, 0xb7
mov edx, 1
cmove ecx, edx
mov byte [ebp - 0x17], cl
mov ecx, dword [ebp - 0x1c]
call fcn.1008e100
mov byte [ebp - 4], 2
mov eax, dword [esi]
test eax, eax
je 0x101d17a2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x101d17b7
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.101b37a2
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x1c]
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], eax
add esp, 8
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 0x3c], 0
test eax, eax
jne 0x101d17e6
xor al, al
jmp 0x101d1804
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x101d17fe
cmp eax, 0x80
je 0x101d17fe
xor al, al
jmp 0x101d1804
mov byte [ebp - 0x18], 1
mov al, 1
mov byte [ebp - 0x10b1], al
mov byte [ebp - 0x3c], al
mov byte [ebp - 4], 4
lea eax, [ebp - 0x10b0]
mov esi, dword [ebp - 0x10b8]
push 0x104c
push esi
push eax
call fcn.101b5ac0
mov ecx, dword [ebp - 0x10bc]
lea eax, [ebp - 0x10b0]
add esp, 0xc
push eax
push dword [ebx + 8]
call fcn.101d12e0
push 0x104c
lea eax, [ebp - 0x10b0]
push eax
push esi
call fcn.101b5ac0
add esp, 0xc
mov byte [ebp - 4], 2
cmp byte [ebp - 0x10b1], 0
je 0x101d1875
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x101d1871
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x101d189a
push eax
call edi
mov dword [ebp - 0x1c], 0
push esi
mov word [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x10c0]
call edi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 5
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], al
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
push 0x30
push str.07617FFA_EB1C_485F_BE40_1F29C0037340_EVENT_RBBHO
call fcn.10008490
sub esp, 8
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x60]
push eax
call fcn.1008af90
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x101d1959
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x101d194f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101d19c8
push edx
push ecx
call fcn.101b37a2
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 4], 7
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x101d1982
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [ebp - 4], 8
test esi, esi
je 0x101d1997
push esi
call edi
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10008430
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b3122
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.101b7ad8
int3