Function at 0x4618e0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x637dd7
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6ae654]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp dword [0x6bfed8], 0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x34], esi
jne 0x461a18
xor edi, edi
test byte [ebp + 0x10], 1
mov dword [ebp - 0x2c], edi
je 0x461a39
mov ecx, esi
call fcn.00522e30
push eax
push edi
push edi
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x46195d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x461a39
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov eax, dword [eax]
dec eax
test eax, eax
jg 0x4619ba
mov dword [ebp - 0x30], 0
mov esi, 0x7d0
test edi, edi
je 0x461981
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x28]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0x2c], eax
test edi, edi
je 0x4619ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x461a36
mov eax, dword [ebp - 0x30]
add esi, esi
inc eax
mov dword [ebp - 0x30], eax
cmp eax, 3
jl 0x461976
push 0
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x461a0d
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x461a0d
call fcn.004626f0
test eax, eax
jne 0x461a0d
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4619fd
push 0
push 0xf120
push 0x112
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call fcn.00462870
add esp, 4
test edi, edi
je 0x461a18
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a4e1e
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.00522e30
push eax
call dword [sym.imp.RPCRT4.dll_UuidFromStringW]
test eax, eax
jne 0x461a18
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movups xmm0, xmmword [ebp - 0x24]
mov esi, dword [0x6ae070]
mov ecx, dword [0x6ae074]
mov dword [0x6bfed4], 0
movups xmmword [0x6bfef4], xmm0
cmp esi, ecx
jae 0x461a9a
nop dword [eax + eax]
mov eax, dword [esi]
test eax, eax
je 0x461a93
mov eax, dword [eax + 0x1c]
push 1
call eax
mov ecx, dword [0x6ae074]
add esi, 4
cmp esi, ecx
jb 0x461a80
push 0x90
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
call fcn.005a4b81
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x461aee
lea ecx, [esi + 0x50]
call fcn.00522a20
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
jmp 0x461af0
xor esi, esi
mov eax, dword [ebp + 0x14]
lea ecx, [esi + 0x50]
mov dword [esi], eax
mov eax, dword [ebp + 8]
push dword [ebp - 0x34]
mov byte [ebp - 4], 0
mov dword [ebp - 0x28], esi
movups xmm0, xmmword [eax]
movups xmmword [esi + 4], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x14], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [esi + 0x34], xmm0
movq xmm0, qword [eax + 0x40]
movq qword [esi + 0x44], xmm0
mov eax, dword [eax + 0x48]
mov dword [esi + 0x4c], eax
call fcn.00522a90
mov eax, dword [esi + 8]
mov dword [esi + 0x74], edi
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [ebp - 0x2c], 0
mov dword [esi + 0xc], 0
mov dword [0x6bfed8], esi
test eax, eax
je 0x461b83
push esi
call eax
add esp, 4
test eax, eax
jne 0x461b83
push esi
call fcn.004625c0
add esp, 4
jmp 0x461a18
mov ecx, dword [ebp + 8]
mov eax, esi
mov ecx, dword [ecx + 8]
mov dword [esi + 0xc], ecx
jmp 0x461a1a