Function at 0x401e6a
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x4ae3c7
call fcn.0049dfc4
sub esp, 0xf4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push str.FNCClient1160Mutex
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push eax
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x401eba
lea eax, [ebp - 0x44]
push 0x4c9c48
push eax
mov dword [ebp - 0x44], 0x8000ffff
call fcn.0049e682
mov ecx, esi
call fcn.00403512
mov eax, dword [ebp + 0xc]
test dword [esi], eax
je 0x40222b
push 1
lea ecx, [ebp - 0x100]
mov dword [ebp - 4], ebx
call fcn.004024d8
mov eax, dword [ebp - 0x100]
push ebx
mov byte [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], 6
push dword [ebp + eax - 0xfc]
lea ecx, [ebp + eax - 0x100]
call fcn.0049143b
add esi, 0xc
mov ecx, esi
call fcn.00402f35
mov esi, dword [esi + 4]
push 0x2e
push esi
lea ecx, [ebp - 0xfc]
call fcn.00403002
cmp eax, ebx
jne 0x401f3f
mov eax, dword [ebp - 0x100]
push ebx
push 2
mov eax, dword [eax + 4]
lea ecx, [ebp + eax - 0x100]
call fcn.00402339
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x68], ebx
call fcn.00401e1e
mov edi, vtable._zstring_class_ztraits_0__.0
mov dword [ebp - 0x74], edi
lea eax, [ebp - 0x20]
push 0x20
push eax
lea ecx, [ebp - 0x74]
call fcn.0041120a
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00411336
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.__d_
push esi
call fcn.0049e630
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00401d79
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x58], ebx
call fcn.00401e1e
mov dword [ebp - 0x64], edi
lea eax, [ebp - 0x20]
push 0x20
push eax
lea ecx, [ebp - 0x64]
call fcn.0041120a
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00411336
movzx ecx, word [ebp - 0x46]
push ecx
movzx ecx, word [ebp - 0x48]
push ecx
movzx ecx, word [ebp - 0x4a]
push ecx
movzx ecx, word [ebp - 0x4c]
push ecx
movzx ecx, word [ebp - 0x4e]
push ecx
movzx ecx, word [ebp - 0x52]
push ecx
push str.__d_d__d:_d:_d:_d_
push eax
call fcn.0049e630
add esp, 0x20
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00401d79
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x34], ebx
call fcn.00401e1e
mov dword [ebp - 0x40], edi
mov esi, 0x200
lea eax, [ebp - 0x20]
push esi
push eax
lea ecx, [ebp - 0x40]
call fcn.0041120a
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00411336
lea ecx, [ebp + 0x14]
push ecx
push dword [ebp + 0x10]
push esi
push eax
call fcn.0049e5e0
add esp, 0x10
cmp eax, 0xffffffff
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
sete bl
call fcn.00401d79
test bl, bl
je 0x4020e2
mov esi, 0x2000
lea eax, [ebp - 0x20]
push esi
push eax
lea ecx, [ebp - 0x40]
call fcn.0041120a
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00411336
lea ecx, [ebp + 0x14]
push ecx
push dword [ebp + 0x10]
push esi
push eax
call fcn.0049e5e0
add esp, 0x10
cmp eax, 0xffffffff
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
sete bl
call fcn.00401d79
test bl, bl
je 0x4020e2
mov esi, 0xbb80
lea eax, [ebp - 0x20]
push esi
push eax
lea ecx, [ebp - 0x40]
call fcn.0041120a
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00411336
lea ecx, [ebp + 0x14]
push ecx
push dword [ebp + 0x10]
push esi
push eax
call fcn.0049e5e0
add esp, 0x10
cmp eax, 0xffffffff
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
sete bl
call fcn.00401d79
test bl, bl
je 0x4020e2
push 0x4f1ed4
lea ecx, [ebp - 0x34]
call fcn.00402252
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str._r_n_t
call ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], eax
call fcn.00401e1e
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xa
call fcn.00402392
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.004012b4
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x30]
push eax
call fcn.0040235c
mov eax, dword [ebp - 0x58]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
mov byte [ebp - 4], 0xb
mov dword [ebp + 0xc], eax
call esi
push eax
lea ecx, [ebp - 0x24]
push dword [ebp + 0xc]
call fcn.00401b2b
push 0x4e533c
call ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], eax
call fcn.00401e1e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], edi
push eax
mov dword [ebp + 0xc], eax
call esi
push eax
lea ecx, [ebp - 0x24]
push dword [ebp + 0xc]
call fcn.00401b2b
lea ecx, [ebp - 0x20]
call fcn.004012b4
mov eax, dword [ebp - 0x34]
push eax
mov dword [ebp + 0xc], eax
call esi
push eax
lea ecx, [ebp - 0x24]
push dword [ebp + 0xc]
call fcn.00401b2b
lea ecx, [ebp - 0x30]
call fcn.00403a01
cmp ax, 0xa
je 0x4021c6
push 0x4e5334
call ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], eax
call fcn.00401e1e
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x14]
push edi
call esi
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.00401b2b
lea ecx, [ebp - 0x20]
call fcn.004012b4
cmp dword [ebp - 0x24], 0
jne 0x4021d0
xor esi, esi
jmp 0x4021d7
push dword [ebp - 0x24]
call esi
mov esi, eax
lea ecx, [ebp - 0x30]
call fcn.00402f35
push esi
lea ecx, [ebp - 0x100]
push dword [ebp - 0x2c]
call fcn.0040226f
lea ecx, [ebp - 0x100]
call fcn.00402562
lea ecx, [ebp - 0x30]
call fcn.004012b4
lea ecx, [ebp - 0x40]
call fcn.004012b4
lea ecx, [ebp - 0x64]
call fcn.004012b4
lea ecx, [ebp - 0x74]
call fcn.004012b4
and byte [ebp - 4], 0
lea ecx, [ebp - 0x100]
call fcn.00403bbd
mov esi, dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret