Function at 0x49db40
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 0x6e0bd1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x82f084]
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.0043b360
mov al, byte [eax + 0xdc]
test al, al
jne 0x49dc82
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 0x49dc82
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 0x49dc82
cmp byte [esi + 0x206], 0
lea eax, [edi + 1]
mov dword [ebp - 0x5c], eax
je 0x49dc30
cmp edi, 3
je 0x49dc48
push 0x12c
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov edi, dword [ebp - 0x5c]
jmp 0x49dba0
cmp edi, 7
je 0x49dc48
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov edi, dword [ebp - 0x5c]
jmp 0x49dba0
push 1
push 0x57
mov ecx, esi
mov dword [esi + 0x18], 1
call fcn.004a32d0
push str.Another_MSI_installation_in_progress
push 0x75c10c
push 0x75c10c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.0043b2b0
add esp, 0x18
jmp 0x49e29f
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x24
call fcn.0067d692
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.0042fe00
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 0x49dd09
cmp dword [ebp - 0x1c], 8
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.0042fe00
lea ecx, [ebp - 0x30]
mov dword [edi + 0x1c], 0
mov byte [edi + 0x20], 0
call fcn.0042fd70
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
mov dword [esi + 0x4e4], edi
mov eax, dword [edi]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x49ddc2
push str.Failed_to_acquire_Bootstrapper_Lock
push 0x75c10c
push 0x75c10c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.0043b2b0
mov ecx, dword [esi + 0x4e4]
add esp, 0x18
test ecx, ecx
je 0x49dd6d
mov eax, dword [ecx]
push 1
call dword [eax]
cmp byte [esi + 0x205], 0
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x4e4], 0
lea edi, [eax + 1]
je 0x49dd9e
cmp eax, 3
je 0x49ddb6
push 0x12c
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov dword [ebp - 0x18], edi
jmp 0x49dc87
cmp eax, 7
je 0x49ddb6
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov dword [ebp - 0x18], edi
jmp 0x49dc87
mov dword [esi + 0x18], 2
jmp 0x49e29f
push str.Bootstrapper_Lock_acquired
push 0x75c10c
push 0x75c10c
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.0043b2b0
add esp, 0x18
call fcn.0043b360
mov al, byte [eax + 0xdc]
test al, al
jne 0x49dedf
push 0x24
call fcn.0067d692
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.0042fe00
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 0x49de73
cmp dword [ebp - 0x1c], 8
mov ecx, edi
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.0042fe00
lea ecx, [ebp - 0x30]
mov dword [edi + 0x1c], 1
mov byte [edi + 0x20], 0
mov dword [edi + 0x18], 0
call fcn.0042fd70
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
mov dword [esi + 0x4e8], edi
call fcn.0063fae0
test al, al
je 0x49df29
push 0
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x49df29
push str.LBS_Lock_acquired
push 0x75c10c
push 0x75c10c
push str.WorkflowManager
push str.WAMB
push 0x1e
mov byte [edi + 0x20], 1
call fcn.0043b2b0
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.0042fe00
call fcn.0063f960
add esp, 0x18
mov byte [ebp - 0x55], al
call fcn.0043b360
cmp byte [eax + 0xdd], 0
je 0x49e00b
mov byte [ebp - 0x56], 0
jmp 0x49e03a
push str.Failed_to_acquire_LBS_Lock
push 0x75c10c
push 0x75c10c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.0043b2b0
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.0042fe00
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 0x49dfac
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 0x49df90
lea ecx, [ebp - 0x30]
call fcn.0042fd70
push 0
push 0x51
mov ecx, esi
call fcn.004a32d0
mov dword [esi + 0x18], 3
mov ecx, dword [esi + 0x4e4]
test ecx, ecx
je 0x49dfd6
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [esi + 0x4e8]
mov dword [esi + 0x4e4], 0
test edi, edi
je 0x49dffc
mov ecx, edi
call fcn.0063fa60
push 0x24
push edi
call fcn.0067d913
add esp, 8
mov dword [esi + 0x4e8], 0
jmp 0x49e29f
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.0042fe00
call fcn.0063f960
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.0042fe00
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.0042fc50
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.0042fe00
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], 0xff
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
call fcn.0042fd70
lea ecx, [ebp - 0x54]
call fcn.0063fae0
test al, al
jne 0x49e0e5
lea ecx, [ebp - 0x54]
call fcn.0063fa60
mov byte [ebp - 0x57], 1
jmp 0x49e126
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x49e117
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 0x49e109
mov eax, dword [ebp - 0x38]
jmp 0x49e117
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.0063fa60
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.0042fd70
cmp byte [ebp - 0x55], 0
jne 0x49e18f
cmp byte [ebp - 0x56], 0
jne 0x49e18f
cmp byte [ebp - 0x57], 0
je 0x49e181
push str.AAM_workflow_is_going_on
push 0x75c10c
push 0x75c10c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.0043b2b0
add esp, 0x18
mov ecx, esi
push 1
push 0x52
call fcn.004a32d0
mov dword [esi + 0x18], 6
jmp 0x49dfc6
mov dword [esi + 0x18], 7
mov al, 1
jmp 0x49e2a1
push str.Dep_workflow_is_going_on
push 0x75c10c
push 0x75c10c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.0043b2b0
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.0042fe00
cmp byte [ebp - 0x55], 0
mov dword [ebp - 4], 9
je 0x49e1f8
push 4
push str.RIBS
lea ecx, [ebp - 0x30]
mov dword [esi + 0x18], 4
call fcn.0042ff20
cmp byte [ebp - 0x56], 0
je 0x49e214
push 2
push 0x77b4e8
lea ecx, [ebp - 0x30]
mov dword [esi + 0x18], 5
call fcn.0042ff20
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 0x49e24c
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 0x49e230
push 0
push 0x51
mov ecx, esi
call fcn.004a32d0
mov ecx, dword [esi + 0x4e4]
test ecx, ecx
je 0x49e267
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [esi + 0x4e8]
mov dword [esi + 0x4e4], 0
test edi, edi
je 0x49e28d
mov ecx, edi
call fcn.0063fa60
push 0x24
push edi
call fcn.0067d913
add esp, 8
lea ecx, [ebp - 0x30]
mov dword [esi + 0x4e8], 0
call fcn.0042fd70
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.0067d681
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret