Function at 0x8189c
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x818a4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x81c77
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x81c2d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0xee07c], 0xffffffff
je 0x818f9
lea edx, [ebp - 0x38]
mov eax, 0x81c88
call fcn.00078120
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 4]
mov edx, 0x81ca8
call fcn.00079820
jmp 0x81c23
cmp dword [0xe746c], 0
je 0x81911
mov eax, dword [0xeab68]
mov edx, dword [0xe746c]
mov dword [eax], edx
jmp 0x8191e
call fcn.00077f94
mov edx, dword [0xeab68]
mov dword [edx], eax
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [0xee088], eax
call fcn.00077cf4
lea edx, [ebp - 0x3c]
call fcn.0007d63c
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 8]
mov edx, 0x81cb8
call fcn.00013f30
xor eax, eax
mov dword [0xee084], eax
xor eax, eax
mov dword [0xee080], eax
mov dword [0xee07c], 0xffffffff
mov byte [ebp - 0xd], 0
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [0xee084], 0
jne 0x819a1
mov byte [ebp - 0xd], 1
push 0
call sub.kernel32.dll_SetLastError
mov eax, dword [ebp - 8]
call fcn.000140a8
push eax
push 0
push 0xf001f
call sub.kernel32.dll_OpenFileMappingA
mov dword [0xee084], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0xc], eax
cmp dword [0xee084], 0
je 0x81a07
cmp dword [0xee080], 0
jne 0x81a07
mov byte [ebp - 0xd], 2
push 0
call sub.kernel32.dll_SetLastError
call fcn.0007bfe8
add eax, 0x14
push eax
push 0
push 0
push 0xf001f
mov eax, dword [0xee084]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0xee080], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0xc], eax
cmp dword [0xee080], 0
je 0x81a07
call fcn.0007bfe8
mov edx, eax
add edx, 0x14
mov eax, dword [0xee080]
xor ecx, ecx
call fcn.00012b24
cmp dword [0xee080], 0
je 0x81ab0
cmp dword [0xee088], 0
jne 0x81ab0
mov byte [ebp - 0xd], 3
call fcn.00077cf4
lea edx, [ebp - 0x40]
call fcn.0007d63c
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 8]
mov edx, 0x81ce0
call fcn.00013f30
push 0
call sub.kernel32.dll_SetLastError
push 1
lea eax, [ebp - 0x34]
push eax
call sub.advapi32.dll_InitializeSecurityDescriptor
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
push eax
call sub.advapi32.dll_SetSecurityDescriptorDacl
mov dword [ebp - 0x20], 0xc
lea eax, [ebp - 0x34]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
push 0
call sub.kernel32.dll_SetLastError
mov eax, dword [ebp - 8]
call fcn.000140a8
push eax
push 0
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_CreateMutexA
mov dword [0xee088], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0xc], eax
cmp dword [0xee088], 0
je 0x81ab0
call fcn.00077cf4
mov dword [0xee07c], eax
cmp dword [0xee07c], 0xffffffff
jne 0x81ac0
push 0x32
call sub.kernel32.dll_Sleep
cmp dword [0xee07c], 0xffffffff
jne 0x81ae4
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x14]
call fcn.00075960
mov edx, dword [0xeab68]
cmp eax, dword [edx]
jbe 0x81962
cmp dword [0xee07c], 0xffffffff
jne 0x81bd1
lea edx, [ebp - 0x48]
mov eax, 0x81cf8
call fcn.00078120
push dword [ebp - 0x48]
xor eax, eax
mov al, byte [ebp - 0xd]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4c]
call fcn.0007476c
push dword [ebp - 0x4c]
lea edx, [ebp - 0x50]
mov eax, 0x81d08
call fcn.00078120
push dword [ebp - 0x50]
cmp dword [0xee084], 0
setne al
lea edx, [ebp - 0x54]
call fcn.000759c8
push dword [ebp - 0x54]
lea edx, [ebp - 0x58]
mov eax, 0x81d08
call fcn.00078120
push dword [ebp - 0x58]
cmp dword [0xee088], 0
setne al
lea edx, [ebp - 0x5c]
call fcn.000759c8
push dword [ebp - 0x5c]
lea edx, [ebp - 0x60]
mov eax, 0x81d08
call fcn.00078120
push dword [ebp - 0x60]
cmp dword [0xee080], 0
setne al
lea edx, [ebp - 0x64]
call fcn.000759c8
push dword [ebp - 0x64]
lea edx, [ebp - 0x68]
mov eax, 0x81d08
call fcn.00078120
push dword [ebp - 0x68]
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0xc]
call fcn.000747a0
push dword [ebp - 0x6c]
lea edx, [ebp - 0x70]
mov eax, 0x81d0c
call fcn.00078120
push dword [ebp - 0x70]
lea eax, [ebp - 0x44]
mov edx, 0xb
call fcn.00013fa4
mov eax, dword [ebp - 0x44]
mov edx, 0x81ca8
mov ecx, dword [ebp - 4]
call fcn.000799a8
jmp 0x81c23
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x14]
call fcn.00075960
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1388
jb 0x81c23
lea edx, [ebp - 0x74]
mov eax, 0x81d10
call fcn.00078120
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x78]
call fcn.0007476c
mov edx, dword [ebp - 0x78]
pop eax
call fcn.00013eec
mov eax, dword [ebp - 0x74]
mov edx, 0x81ca8
mov ecx, dword [ebp - 4]
call fcn.000798e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x81c54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x81c7e
lea eax, [ebp - 0x7c]
mov edx, 0x12
call fcn.00013c88
lea eax, [ebp - 8]
call fcn.00013c64
ret