Function at 0x40db40
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x46bcd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x4800d8]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 0
call fcn.00430250
mov ecx, eax
call fcn.004300c0
test eax, eax
mov ecx, dword [esi + 0x44]
lea edx, [esp + 0x10]
push ecx
je 0x40db8e
push str.Rising_RSD_Setup__s
jmp 0x40db93
push str.GlobalRising_RSD_Setup__s
push edx
call fcn.00405ab0
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
add esp, 0xc
push eax
push 1
push 0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1e0], eax
call ebp
mov ecx, dword [0x4800d8]
mov ebx, eax
mov dword [esp + 0x14], ecx
mov edx, dword [esi + 0x44]
push edx
lea eax, [esp + 0x18]
push str.Local_RSD_Setup__s
push eax
mov byte [esp + 0x30], 1
call fcn.00405ab0
add esp, 0xc
test ebx, ebx
je 0x40dcfa
cmp ebx, 0xb7
je 0x40dbfb
cmp ebx, 5
jne 0x40dc93
mov ebx, dword [esp + 0x14]
push ebx
push 1
push 0
call edi
mov dword [esi + 0x1e4], eax
call ebp
mov ecx, dword [esi + 0xc]
push 0x4708d8
push 0xc3b4
mov edi, eax
call fcn.004515d0
push eax
lea ecx, [esp + 0x1c]
call fcn.00405970
test edi, edi
mov byte [esp + 0x24], 2
je 0x40dc4f
mov esi, dword [esp + 0x18]
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x40dc6e
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x40dc6e
mov ecx, dword [esi + 0xc]
push str.The_program_only_for_one_user_in_same_time_
push 7
call fcn.004515d0
mov esi, dword [esp + 0x18]
push 0
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x4800dc]
lea ecx, [esi - 0xc]
cmp ecx, eax
je 0x40dc97
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40dc97
push esi
call fcn.00457c3f
add esp, 4
jmp 0x40dc97
mov ebx, dword [esp + 0x14]
mov eax, dword [0x4800dc]
lea edx, [ebx - 0xc]
cmp edx, eax
je 0x40dcba
lea esi, [ebx - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40dcba
push esi
call fcn.00457c3f
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x4800dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40dce2
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40dce2
push esi
call fcn.00457c3f
add esp, 4
pop edi
pop esi
pop ebp
mov eax, reloc.WSOCK32.dll_select
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ebx, dword [esp + 0x14]
push ebx
push 1
push 0
call edi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [esi + 0x1e4], eax
mov eax, dword [0x4800dc]
lea edx, [ebx - 0xc]
cmp edx, eax
je 0x40dd30
lea esi, [ebx - 0xc]
push esi
call edi
test eax, eax
jg 0x40dd30
push esi
call fcn.00457c3f
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x4800dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40dd54
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x40dd54
push esi
call fcn.00457c3f
add esp, 4
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret