Function at 0x1008c01
Capabilities:
Check mutex on windows

Disassembly:
push 0x28c
mov eax, 0x101a63e
call fcn.0101679c
mov eax, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x298], eax
mov eax, dword [esi + 0x14]
push eax
xor edi, edi
push edi
xor ebx, ebx
push ecx
inc ebx
lea ecx, [ebp - 0x284]
mov dword [esi + 0x18], ebx
call fcn.0100b3ba
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x1c]
lea ecx, [ebp - 0x288]
push ecx
push 0x825
push eax
mov dword [ebp - 0x294], edi
mov dword [ebp - 0x28c], edi
mov dword [ebp - 0x288], edi
call fcn.01008a9b
mov edi, eax
test edi, edi
jl 0x1008efa
mov edi, dword [ebp - 0x288]
add edi, 9
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
mov dword [ebp - 0x290], edi
neg ecx
or ecx, eax
push ecx
call fcn.010158a2
test eax, eax
pop ecx
mov dword [ebp - 0x288], eax
jne 0x1008ca5
mov edi, 0x8007000e
jmp 0x1008ea7
push 0x1001624
push edi
push eax
call fcn.01008a20
mov edi, eax
test edi, edi
jl 0x1008ea7
push dword [esi + 0x1c]
push dword [ebp - 0x290]
push dword [ebp - 0x288]
call fcn.01008a5a
mov edi, eax
test edi, edi
jl 0x1008ea7
push dword [ebp - 0x288]
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
push ebx
push 0
call edi
test eax, eax
mov dword [ebp - 0x294], eax
je 0x1008c9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1008d0b
mov edi, 0x80004005
jmp 0x1008ea7
push dword [esi + 0x1c]
call fcn.01009554
test eax, eax
je 0x1008d2c
push 0x70e
push dword [esi + 0x20]
lea ecx, [ebp - 0x284]
call fcn.01009cff
jmp 0x1008d01
push 0x1001518
push ebx
push 0
call edi
mov dword [ebp - 0x28c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1008d50
push 0x70c
jmp 0x1008d1c
cmp dword [ebp - 0x28c], 0
je 0x1008c9b
call fcn.01009635
test eax, eax
je 0x1008dcc
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x284]
push ecx
push eax
call fcn.01009686
test eax, eax
je 0x1008dcc
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
lea ecx, [ebp - 0x284]
call fcn.0100af4f
mov edi, eax
test edi, edi
jne 0x1008dc4
push dword [esi + 0x28]
mov eax, dword [esi + 0x1c]
push eax
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x22c], ebx
call fcn.0100b40a
mov edi, eax
test edi, edi
jge 0x1008ea7
call fcn.01009635
test eax, eax
jne 0x1008dcc
jmp 0x1008ea7
cmp edi, ebx
je 0x1008ea7
and dword [ebp - 0x290], 0
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x284]
call fcn.0100adb0
mov edi, eax
test edi, edi
jl 0x1008ea7
call fcn.01009635
test eax, eax
jne 0x1008e23
call fcn.010094d5
test eax, eax
jne 0x1008e23
push 0x70d
push dword [esi + 0x20]
lea ecx, [ebp - 0x284]
call fcn.01009cff
mov edi, eax
test edi, edi
jl 0x1008ea7
jmp 0x1008d01
push dword [esi + 0x28]
lea ecx, [ebp - 0x284]
push dword [esi + 0x20]
call fcn.0100af08
mov edi, eax
test edi, edi
jl 0x1008ea7
push dword [ebp - 0x298]
lea ecx, [ebp - 0x284]
call fcn.0100cbfc
xor ebx, ebx
sub eax, ebx
je 0x1008e84
dec eax
je 0x1008e7d
cmp dword [esi + 0x28], ebx
jne 0x1008d01
cmp dword [ebp - 0x298], ebx
jne 0x1008e6d
push dword [ebp - 0x290]
jmp 0x1008e73
push dword [ebp - 0x298]
call fcn.010096c6
jmp 0x1008d01
mov edi, 0x800704c7
jmp 0x1008ea7
push dword [esi + 0x28]
mov eax, dword [esi + 0x1c]
push eax
lea ecx, [ebp - 0x284]
call fcn.01009dc9
mov edi, eax
cmp edi, ebx
jl 0x1008ea7
lea ecx, [ebp - 0x284]
call fcn.01009db9
cmp dword [ebp - 0x288], 0
je 0x1008ebc
push dword [ebp - 0x288]
call fcn.01015891
pop ecx
cmp dword [ebp - 0x294], 0
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x1008ee1
push dword [ebp - 0x294]
call esi
push dword [ebp - 0x294]
call ebx
cmp dword [ebp - 0x28c], 0
je 0x1008efa
push dword [ebp - 0x28c]
call esi
push dword [ebp - 0x28c]
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.01009c9c
mov eax, edi
call fcn.0101682e
ret 4