Function at 0x48b6d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6bbc78
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x7f3784]
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 esi, ecx
cmp byte [esi + 0x6c], 0
jne 0x48b70a
xor al, al
jmp 0x48b8e1
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
lea eax, [esi + 0x4c]
mov dword [ebp - 0x18], 0
push eax
call fcn.004892c0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
jne 0x48b751
cmp dword [esi + 0x48], 8
lea eax, [esi + 0x34]
jb 0x48b745
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.0048b3e0
test al, al
je 0x48b767
cmp dword [esi + 0x68], 0
lea ecx, [esi + 0x68]
jne 0x48b76e
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax]
call eax
test al, al
jne 0x48b76e
xor bl, bl
jmp 0x48b8a0
cmp dword [esi + 0x90], 0
jne 0x48b790
push 4
call fcn.0063bae8
add esp, 4
mov dword [ebp - 0x54], eax
mov dword [eax], 0
mov dword [esi + 0x90], eax
cmp dword [esi + 0x48], 8
lea eax, [esi + 0x34]
jb 0x48b79b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x50]
call fcn.00488ff0
mov edi, dword [esi + 0x90]
cmp dword [edi], 0
jne 0x48b7ee
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 [edi], eax
test eax, eax
jne 0x48b7ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x48b7ee
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 [edi], eax
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x48b841
mov edx, dword [ebp - 0x50]
inc eax
mov ecx, edx
cmp eax, 0x7fffffff
ja 0x48b8fd
add eax, eax
cmp eax, 0x1000
jb 0x48b838
test cl, 0x1f
jne 0x48b8fd
mov edx, dword [edx - 4]
cmp edx, ecx
jae 0x48b8fd
sub ecx, edx
cmp ecx, 4
jb 0x48b8fd
cmp ecx, 0x23
ja 0x48b8fd
push edx
call fcn.004e7fa0
add esp, 4
lea eax, [ebp - 0x38]
push eax
call fcn.0066d571
mov eax, dword [ebp - 0x34]
add esp, 4
mov ecx, dword [ebp - 0x38]
mov dword [esi + 0xb4], eax
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0x90]
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb8], ecx
mov eax, dword [eax]
test eax, eax
je 0x48b89a
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x48b89a
push ecx
mov ecx, esi
call fcn.00494410
mov eax, dword [esi + 0x90]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 0x6d], 1
mov bl, 1
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x48b8df
mov edx, dword [ebp - 0x28]
inc eax
mov ecx, edx
cmp eax, 0x7fffffff
ja 0x48b8fd
add eax, eax
cmp eax, 0x1000
jb 0x48b8d6
test cl, 0x1f
jne 0x48b8fd
mov edx, dword [edx - 4]
cmp edx, ecx
jae 0x48b8fd
sub ecx, edx
cmp ecx, 4
jb 0x48b8fd
cmp ecx, 0x23
ja 0x48b8fd
push edx
call fcn.004e7fa0
add esp, 4
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.0063bad7
mov esp, ebp
pop ebp
ret
call fcn.0065a824
int3