Function at 0x100078d7
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [ebp + 0xc]
push ebx
push esi
sub eax, 0x1f4
push edi
mov esi, ecx
je 0x100079c7
dec eax
je 0x1000794d
dec eax
jne 0x10007c9b
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x40]
jne 0x10007c9b
cmp dword [esi + 0x44], 0
je 0x10007c9b
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x10007c9b
mov edi, dword [esi + 0x34]
test edi, edi
je 0x10007c9b
push 0xffffffffffffff9a
pop ebx
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x10007945
push dword [esi + 0x3c]
mov ebx, dword [edi]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [esi + 0x60], ebx
jmp 0x10007c8d
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x40]
jne 0x10007c9b
cmp dword [esi + 0x44], 0
je 0x10007c9b
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x10007c9b
mov edi, dword [esi + 0x34]
test edi, edi
je 0x10007c9b
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x10007c9b
push dword [esi + 0x3c]
mov ebx, dword [edi + 8]
mov edi, dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test ebx, ebx
jl 0x10007c9b
cmp ebx, edi
jg 0x10007c9b
mov eax, dword [esi]
push edi
push ebx
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
jne 0x10007c9b
mov dword [esi + 0x58], 1
jmp 0x10007c9b
cmp dword [ebp + 8], esi
jne 0x10007c9b
xor eax, eax
cmp dword [esi + 0x3c], eax
jne 0x10007c9b
cmp dword [esi + 0x44], eax
je 0x10007c9b
cmp dword [esi + 0x74], eax
je 0x10007c9b
cmp dword [esi + 0x64], eax
je 0x10007c9b
mov ebx, 0x128
lea eax, [ebp - 0x12c]
push ebx
push eax
push str.FunWebProducts:Installer:
call fcn.1000e12b
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
call edi
sub ebx, eax
lea eax, [ebp + eax - 0x12c]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push dword [esi + 0x64]
push eax
call ebx
cmp dword [esi + 0x6c], 0
je 0x10007a59
lea eax, [ebp - 0x12c]
push eax
call edi
mov ecx, 0x128
sub ecx, eax
lea eax, [ebp + eax - 0x12c]
push ecx
push dword [esi + 0x6c]
push eax
call ebx
lea eax, [ebp - 0x12c]
push eax
call edi
mov edi, eax
lea eax, [ebp - 0x12c]
push 0x10017a8c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp + 8], 0xffffff9c
call fcn.10010035
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, dword [eax + 0xc]
neg ecx
sbb ecx, ecx
push 0
and ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [esi + 0x3c], eax
je 0x10007c80
and byte [ebp + edi - 0x12c], 0
lea eax, [ebp - 0x12c]
push 0xffffffffffffffff
push eax
push 1
lea ecx, [esi + 0x30]
push 0xbf4
call fcn.1000fe85
test eax, eax
je 0x10007c6a
mov edi, dword [esi + 0x34]
xor eax, eax
cmp edi, eax
je 0x10007c59
cmp dword [esi + 0x38], eax
je 0x10007b37
push 0xffffffffffffffff
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x10007c60
mov eax, dword [edi + 4]
push dword [esi + 0x3c]
mov dword [esi + 0x40], eax
mov ebx, dword [edi + 8]
sub ebx, dword [edi + 0xc]
neg ebx
sbb ebx, ebx
inc ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esi]
push 0x1f5
push dword [esi + 0x40]
mov ecx, esi
call dword [eax]
test ebx, ebx
je 0x10007c9b
mov eax, dword [esi]
push 0x1f6
push dword [esi + 0x40]
mov ecx, esi
call dword [eax]
jmp 0x10007c9b
push 0x3e8
mov dword [edi], 0xffffff96
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], 1
push dword [esi + 0x74]
lea eax, [edi + 0x10]
push eax
call ebx
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x10007b73
push 0x3e8
push eax
lea eax, [edi + 0x80c]
push eax
call ebx
jmp 0x10007b7a
and byte [edi + 0x80c], 0
mov eax, dword [esi + 0xac]
test eax, eax
je 0x10007b95
push 0x3e8
push eax
lea eax, [edi + 0x424]
push eax
call ebx
jmp 0x10007b9c
and byte [edi + 0x424], 0
mov eax, dword [esi + 0x78]
lea ebx, [esi + 0x40]
mov dword [edi + 0x3f8], eax
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x3fc], eax
mov eax, dword [esi + 0x80]
mov dword [edi + 0x400], eax
mov eax, dword [esi + 0x84]
mov dword [edi + 0x404], eax
mov eax, dword [esi + 0x88]
mov dword [edi + 0x408], eax
mov eax, dword [esi + 0x8c]
mov dword [edi + 0x40c], eax
mov eax, dword [esi + 0x90]
mov dword [edi + 0x410], eax
mov eax, dword [esi + 0x98]
mov dword [edi + 0x420], eax
mov eax, dword [esi + 0x9c]
mov dword [edi + 0x414], eax
mov eax, dword [esi + 0xa0]
mov dword [edi + 0x418], eax
mov eax, dword [esi + 0xa4]
lea ecx, [ebp - 0x12c]
mov dword [edi + 0x41c], eax
mov eax, dword [esi]
push ebx
push ecx
mov ecx, esi
call dword [eax + 0x18]
test eax, eax
je 0x10007c50
push 0xffffffffffffffff
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x10007c9b
mov eax, dword [ebx]
mov dword [edi + 4], eax
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x10007c9b
mov dword [ebp + 8], 0xffffff97
jmp 0x10007c60
mov dword [ebp + 8], 0xffffff9a
lea ecx, [esi + 0x30]
call fcn.1001000a
jmp 0x10007c71
mov dword [ebp + 8], 0xffffff9b
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x3c], 0
jmp 0x10007c87
mov dword [ebp + 8], 0xffffff9b
mov eax, dword [ebp + 8]
mov dword [esi + 0x60], eax
mov ecx, esi
mov dword [esi + 0x5c], 1
call fcn.10007f59
pop edi
pop esi
pop ebx
leave
ret 8