Function at 0x1011e1a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10195c58
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x101f62b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x6c], 0
jne 0x1011e1da
xor al, al
jmp 0x1011e3d0
lea eax, [edi + 0x4c]
push eax
lea ecx, [ebp - 0x38]
call fcn.10002700
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
jne 0x1011e20a
cmp dword [edi + 0x48], 8
lea eax, [edi + 0x34]
jb 0x1011e1fe
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.1011def0
test al, al
je 0x1011e228
cmp dword [edi + 0x68], 0
lea ecx, [edi + 0x68]
jne 0x1011e22f
mov eax, dword [edi]
push ecx
mov esi, dword [eax]
mov ecx, esi
call dword [0x1019a4f8]
mov ecx, edi
call esi
test al, al
jne 0x1011e22f
xor bl, bl
jmp 0x1011e398
cmp dword [edi + 0x90], 0
jne 0x1011e257
push 4
call fcn.1015c88b
add esp, 4
mov dword [ebp - 0x54], eax
mov dword [eax], 0
mov dword [eax], 0
mov dword [edi + 0x90], eax
cmp dword [edi + 0x48], 8
lea edx, [edi + 0x34]
jb 0x1011e262
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1011e280
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.10001d60
mov esi, dword [edi + 0x90]
cmp dword [esi], 0
jne 0x1011e2e3
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
jne 0x1011e2e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1011e2e3
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi], eax
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x1011e31d
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1011e313
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1011e3ec
push edx
push ecx
call fcn.1015cbd5
add esp, 8
lea eax, [ebp - 0x20]
push eax
call fcn.10177a19
mov ecx, dword [ebp - 0x20]
add esp, 4
cmp byte [edi + 0xd1], 0
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xf0], ecx
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf8], ecx
mov dword [edi + 0xfc], eax
je 0x1011e38b
mov eax, dword [edi + 0x90]
mov eax, dword [eax]
test eax, eax
je 0x1011e38b
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1011e373
cmp eax, 0x80
jne 0x1011e38b
push ecx
mov ecx, edi
call fcn.10126c00
mov eax, dword [edi + 0x90]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x1011e392
mov byte [edi + 0xd1], 0
mov byte [edi + 0x6d], 1
mov bl, 1
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x1011e3ce
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1011e3c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1011e3f1
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015c875
mov esp, ebp
pop ebp
ret
call fcn.101686f5
call fcn.101686f5
int3