Function at 0x468010
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539cb8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5954a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.0049cef0
add esp, 0x14
test eax, eax
jne 0x4680d1
push 1
lea edx, [ebp - 0x14]
push edx
mov ecx, 0x59a55c
call fcn.00494360
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
push 0x31
lea ecx, [ebp - 0x18]
push ecx
mov ecx, 0x59a55c
call fcn.00494360
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov dword [ebp - 0x3c], edx
push 0x10
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x18]
call fcn.0044f990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0044f990
xor eax, eax
jmp 0x46825f
lea ecx, [ebp - 0x10]
call fcn.0044f320
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
add edx, 0x3e
push edx
lea ecx, [ebp - 0x10]
call fcn.0044f590
mov eax, dword [ebp + 8]
add eax, 0x3e
push eax
push 0x5491e4
call fcn.0047c040
add esp, 8
mov ecx, dword [ebp - 0x80]
call fcn.0046f840
lea ecx, [ebp - 0x10]
push ecx
push str.esafenet_
lea edx, [ebp - 0x1c]
push edx
call fcn.0046fd10
add esp, 0xc
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0x418], eax
lea ecx, [ebp - 0x1c]
call fcn.0044f990
mov edx, dword [ebp - 0x80]
cmp dword [edx + 0x418], 0
je 0x4681f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4681f2
push 2
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x59a55c
call fcn.00494360
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 2
push 0x32
lea edx, [ebp - 0x24]
push edx
mov ecx, 0x59a55c
call fcn.00494360
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
mov dword [ebp - 0x6c], eax
push 0x10
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x24]
call fcn.0044f990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0044f990
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044f990
mov eax, dword [ebp - 0x28]
jmp 0x46825f
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x418], 0
jne 0x46820b
push 0x5491bc
call fcn.0047c040
add esp, 4
push 0x8af
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x80]
add edx, 0x524
push edx
call fcn.004f8140
add esp, 0xc
push 0x10
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x80]
add ecx, 0x424
push ecx
call fcn.004fbbbe
add esp, 0xc
mov ecx, dword [ebp - 0x80]
call fcn.004607f0
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044f990
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14