Function at 0x486d80
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 0x6b76b1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x7e500c]
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
call fcn.00432610
mov al, byte [eax + 0xdc]
test al, al
jne 0x486ec2
xor edi, edi
nop word [eax + eax]
push 0
mov byte [ebp - 0x55], 0
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push str.Global_MSIExecute
push 1
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0xc
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x486ec2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
movzx ecx, byte [ebp - 0x55]
cmp eax, 0xb7
push dword [ebp - 0x18]
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0x5c], ecx
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [ebp - 0x5c], 0
je 0x486ec2
cmp byte [esi + 0x206], 0
lea eax, [edi + 1]
mov dword [ebp - 0x5c], eax
je 0x486e70
cmp edi, 3
je 0x486e88
push 0x12c
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov edi, dword [ebp - 0x5c]
jmp 0x486de0
cmp edi, 7
je 0x486e88
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov edi, dword [ebp - 0x5c]
jmp 0x486de0
push 1
push 0x57
mov ecx, esi
mov dword [esi + 0x18], 1
call fcn.0048bfb0
push str.Another_MSI_installation_in_progress
push 0x71a27c
push 0x71a27c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.00432560
add esp, 0x18
jmp 0x4874df
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x24
call fcn.00650ded
mov edi, eax
add esp, 4
mov dword [ebp - 0x5c], edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [edi], xmm0
push 0x2d
xor eax, eax
mov dword [ebp - 0x1c], 7
movups xmmword [edi + 0x10], xmm0
push str.Global3EBE6875_9C4E_4782_8A43_275AFFFCA6FB
mov dword [edi + 0x20], 0
mov word [ebp - 0x30], ax
call fcn.004271d0
lea ecx, [edi + 4]
mov dword [edi], vtable.OOBEUtils::SystemLevelMutex.0
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
cmp ecx, eax
je 0x486f49
cmp dword [ebp - 0x1c], 8
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.004271d0
lea ecx, [ebp - 0x30]
mov dword [edi + 0x1c], 0
mov byte [edi + 0x20], 0
call fcn.00427170
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
mov dword [esi + 0x4cc], edi
mov eax, dword [edi]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x487002
push str.Failed_to_acquire_Bootstrapper_Lock
push 0x71a27c
push 0x71a27c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.00432560
mov ecx, dword [esi + 0x4cc]
add esp, 0x18
test ecx, ecx
je 0x486fad
mov eax, dword [ecx]
push 1
call dword [eax]
cmp byte [esi + 0x205], 0
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x4cc], 0
lea edi, [eax + 1]
je 0x486fde
cmp eax, 3
je 0x486ff6
push 0x12c
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov dword [ebp - 0x18], edi
jmp 0x486ec7
cmp eax, 7
je 0x486ff6
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov dword [ebp - 0x18], edi
jmp 0x486ec7
mov dword [esi + 0x18], 2
jmp 0x4874df
push str.Bootstrapper_Lock_acquired
push 0x71a27c
push 0x71a27c
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.00432560
add esp, 0x18
call fcn.00432610
mov al, byte [eax + 0xdc]
test al, al
jne 0x48711f
push 0x24
call fcn.00650ded
mov edi, eax
add esp, 4
mov dword [ebp - 0x5c], edi
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x30]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [edi], xmm0
push 0x2d
xor eax, eax
mov dword [ebp - 0x1c], 7
movups xmmword [edi + 0x10], xmm0
push str.GlobalA5841EB4_52AA_403B_A912_9755F616D226
mov dword [edi + 0x20], 0
mov word [ebp - 0x30], ax
call fcn.004271d0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 5
cmp edi, eax
je 0x4870b3
cmp dword [ebp - 0x1c], 8
mov ecx, edi
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.004271d0
lea ecx, [ebp - 0x30]
mov dword [edi + 0x1c], 1
mov byte [edi + 0x20], 0
mov dword [edi + 0x18], 0
call fcn.00427170
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
mov dword [esi + 0x4d0], edi
call fcn.005fe390
test al, al
je 0x487169
push 0
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x487169
push str.LBS_Lock_acquired
push 0x71a27c
push 0x71a27c
push str.WorkflowManager
push str.WAMB
push 0x1e
mov byte [edi + 0x20], 1
call fcn.00432560
add esp, 0x18
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0x26
push str.Global359dca4322b8b4a0f7f92bf448150fb
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.004271d0
call fcn.005fe210
add esp, 0x18
mov byte [ebp - 0x55], al
call fcn.00432610
cmp byte [eax + 0xdd], 0
je 0x48724b
mov byte [ebp - 0x56], 0
jmp 0x48727a
push str.Failed_to_acquire_LBS_Lock
push 0x71a27c
push 0x71a27c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.00432560
add esp, 0x18
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], 7
lea ecx, [ebp - 0x30]
mov word [ebp - 0x30], ax
push 0x14
push str.LBSLockAcquireFailed
call fcn.004271d0
xor eax, eax
lea edi, [esi + 0xf6]
mov ecx, 0x32
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x20]
xor ecx, ecx
test edi, edi
je 0x4871ec
nop word [eax + eax]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
mov ax, word [eax + ecx*2]
mov word [esi + ecx*2 + 0xf6], ax
inc ecx
cmp ecx, edi
jb 0x4871d0
lea ecx, [ebp - 0x30]
call fcn.00427170
push 0
push 0x51
mov ecx, esi
call fcn.0048bfb0
mov dword [esi + 0x18], 3
mov ecx, dword [esi + 0x4cc]
test ecx, ecx
je 0x487216
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [esi + 0x4d0]
mov dword [esi + 0x4cc], 0
test edi, edi
je 0x48723c
mov ecx, edi
call fcn.005fe310
push 0x24
push edi
call fcn.0065106e
add esp, 8
mov dword [esi + 0x4d0], 0
jmp 0x4874df
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0x27
push str.Global17984755fe166b7170b9b5099053521c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.004271d0
call fcn.005fe210
add esp, 0x18
mov byte [ebp - 0x56], al
push 0x2d
xor eax, eax
mov dword [ebp - 0x68], 0
push str.GlobalBCE7F5CF_10A4_43a6_AA0E_055DA47D1921
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
call fcn.004271d0
mov dword [ebp - 4], 6
lea eax, [ebp - 0x78]
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push eax
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x54], xmm0
movups xmmword [ebp - 0x44], xmm0
call fcn.00427050
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x54]
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.004271d0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], 0xff
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
call fcn.00427170
lea ecx, [ebp - 0x54]
call fcn.005fe390
test al, al
jne 0x487325
lea ecx, [ebp - 0x54]
call fcn.005fe310
mov byte [ebp - 0x57], 1
jmp 0x487366
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x487357
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push ecx
push 1
push eax
call dword [sym.imp.KERNEL32.DLL_ReleaseSemaphore]
test eax, eax
jne 0x487349
mov eax, dword [ebp - 0x38]
jmp 0x487357
push 0
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x54]
setl byte [ebp - 0x57]
call fcn.005fe310
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.00427170
cmp byte [ebp - 0x55], 0
jne 0x4873cf
cmp byte [ebp - 0x56], 0
jne 0x4873cf
cmp byte [ebp - 0x57], 0
je 0x4873c1
push str.AAM_workflow_is_going_on
push 0x71a27c
push 0x71a27c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.00432560
add esp, 0x18
mov ecx, esi
push 1
push 0x52
call fcn.0048bfb0
mov dword [esi + 0x18], 6
jmp 0x487206
mov dword [esi + 0x18], 7
mov al, 1
jmp 0x4874e1
push str.Dep_workflow_is_going_on
push 0x71a27c
push 0x71a27c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.00432560
add esp, 0x18
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], 7
lea ecx, [ebp - 0x30]
mov word [ebp - 0x30], ax
push 0xb
push str.DepWorkflow
call fcn.004271d0
cmp byte [ebp - 0x55], 0
mov dword [ebp - 4], 9
je 0x487438
push 4
push str.RIBS
lea ecx, [ebp - 0x30]
mov dword [esi + 0x18], 4
call fcn.004272f0
cmp byte [ebp - 0x56], 0
je 0x487454
push 2
push 0x735428
lea ecx, [ebp - 0x30]
mov dword [esi + 0x18], 5
call fcn.004272f0
xor eax, eax
lea edi, [esi + 0xf6]
mov ecx, 0x32
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x20]
xor ecx, ecx
test edi, edi
je 0x48748c
nop dword [eax]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
mov ax, word [eax + ecx*2]
mov word [esi + ecx*2 + 0xf6], ax
inc ecx
cmp ecx, edi
jb 0x487470
push 0
push 0x51
mov ecx, esi
call fcn.0048bfb0
mov ecx, dword [esi + 0x4cc]
test ecx, ecx
je 0x4874a7
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [esi + 0x4d0]
mov dword [esi + 0x4cc], 0
test edi, edi
je 0x4874cd
mov ecx, edi
call fcn.005fe310
push 0x24
push edi
call fcn.0065106e
add esp, 8
lea ecx, [ebp - 0x30]
mov dword [esi + 0x4d0], 0
call fcn.00427170
xor al, al
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.00650ddc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret