Function at 0x487700
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1f44
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x5299c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [edi + 0x100]
call ebx
mov dword [ebp - 0x178], eax
test eax, eax
js 0x487a65
lea ecx, [ebp - 0x174]
call fcn.00421230
lea ecx, [ebp - 0x170]
mov dword [ebp - 4], 0
call fcn.00439df0
mov ecx, dword [ebp - 0x174]
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 1
call fcn.004a17a0
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 2
push ecx
push dword [ebp - 0x178]
mov ecx, eax
call fcn.00443b20
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x4877bb
mov edx, dword [ecx]
lea eax, [ebp - 0x80]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
cmp dword [ebp - 0x16c], 0
je 0x487a4f
lea eax, [ebp - 0x170]
mov ecx, edi
push eax
call fcn.00489220
test eax, eax
jne 0x487a4f
mov ecx, dword [ebp - 0x150]
mov eax, ecx
mov edx, dword [ebp - 0x154]
sub eax, edx
sar eax, 2
cmp eax, 1
jne 0x4877fa
xor eax, eax
jmp 0x487835
push 2
push 0xffffffffffffffff
push 0x100c
push dword [edi + 0x104]
call ebx
test eax, eax
jns 0x487829
push 0x30
push 0x4f96a0
push 0x4fcc84
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x487a4f
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x154]
sub ecx, edx
sar ecx, 2
cmp eax, ecx
jae 0x487a4f
push eax
lea ecx, [ebp - 0x154]
call fcn.00433e70
mov ebx, dword [eax]
test ebx, ebx
je 0x487a4f
test byte [ebx + 0x790], 0x80
mov ecx, 0x4fccd8
mov eax, 0x4fccb0
cmove eax, ecx
lea ecx, [ebp - 0x70]
push eax
call fcn.00410f10
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push str.FSS_OPERATORAPP_WAIT_MUTEX
push 1
push 0
mov dword [ebp - 0x38], vtable.WindowUtilites::WindowSyncHelper.0
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4878e2
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4878e2
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4878e2
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x58], 0x4fc9dc
mov dword [ebp - 0x38], 0x4fc9f0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
push 0
push 0x4f6751
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00403090
xorps xmm0, xmm0
movsd qword [ebp - 0x18], xmm0
movsd xmm0, qword [ebx + 0x1b0]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 7
movsd qword [ebp - 0x18], xmm0
call fcn.00401c50
cmp dword [ebp - 0x17c], 0x10
lea eax, [ebp - 0x190]
push dword [ebp - 0x180]
cmovae eax, dword [ebp - 0x190]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 8
call fcn.00403090
mov edx, dword [ebp - 0x17c]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x4879a2
mov ecx, dword [ebp - 0x190]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x487998
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487a84
push edx
push ecx
call fcn.004ab6c8
add esp, 8
mov eax, dword [ebp - 0x44]
mov edi, dword [edi + 4]
test eax, eax
jne 0x4879c2
call fcn.004a8c87
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x4879c2
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x487a1f
push 0
push 0
push eax
call fcn.004a8d86
lea eax, [ebp - 0x58]
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x529124
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x52913c]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
push 0x529124
mov dword [0x52913c], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x419910
push edi
push 0xd5
push dword [0x534b98]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 2
je 0x487a3f
mov eax, dword [ebx]
sub esp, 8
movsd xmm0, qword [ebp - 0x18]
mov ecx, ebx
movsd qword [esp], xmm0
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x174]
push eax
call fcn.004a68c0
lea ecx, [ebp - 0x58]
call fcn.004861c0
lea ecx, [ebp - 0x70]
call fcn.00401e30
lea ecx, [ebp - 0x170]
call fcn.00422cf0
lea ecx, [ebp - 0x174]
call fcn.00422170
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ab970
mov esp, ebp
pop ebp
ret 0x10
call fcn.004c6d19
int3