Function at 0x404d00
Capabilities:
Check mutex on windows
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4306cc
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x448178]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
push edi
lea ecx, [esp + 0x30]
call fcn.0040ab30
push 0x5f
push 0x43abd8
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], 0
call fcn.0041ddb0
push 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], vtable.MA::StringT_wchar_t__char_.0
call fcn.004033f0
push 0x7ffffffe
push str.Global_
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 1
call fcn.0040a930
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 2
call fcn.00409ed0
mov byte [esp + 0x48], 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], vtable.MA::StringT_wchar_t__char_.0
test ecx, ecx
je 0x404db8
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 8]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esp + 0x38]
add ecx, 4
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x18]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x405011
test eax, eax
jne 0x405011
push 0x6c
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x48], 5
test eax, eax
je 0x404e16
push ecx
mov ecx, eax
call fcn.00404b00
mov ecx, eax
jmp 0x404e18
xor ecx, ecx
mov byte [esp + 0x48], 4
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x404e50
mov eax, dword [ecx + 8]
mov eax, dword [eax + 4]
add eax, 8
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 4]
mov al, byte [ecx + eax + 0x18]
test al, al
jne 0x404e50
lea ecx, [esp + 0x10]
call fcn.004069e0
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 6
call fcn.00409850
add esp, 4
mov byte [esp + 0x48], 7
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
mov esi, dword [ecx + 0x3c]
add ecx, 0x3c
cmp esi, eax
je 0x404e92
mov dword [ecx], eax
call fcn.0040a0f0
test esi, esi
je 0x404e92
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [esp + 0x48], 6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x404eaf
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [esp + 0x10]
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.00404a80
add esp, 4
mov byte [esp + 0x48], 8
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
mov esi, dword [ecx + 0x38]
add ecx, 0x38
cmp esi, eax
je 0x404eee
mov dword [ecx], eax
call fcn.00401fa0
test esi, esi
je 0x404eee
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi]
add ecx, esi
call dword [eax + 0xc]
mov byte [esp + 0x48], 6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x404f07
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
call fcn.00405020
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x404f20
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x3c]
lea esi, [edi + 0x64]
push esi
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [edi + 0x3c]
mov byte [esp + 0x48], 9
mov eax, dword [ecx]
call dword [eax]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x404f7b
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x3c]
cmp dword [esi + 8], edi
jbe 0x404f85
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x14], 0
je 0x404f74
push edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x404f74
mov byte [esi + 0x14], al
mov al, byte [esi + 0x14]
test al, al
je 0x404f81
push 0x32
call ebx
jmp 0x404f20
mov eax, dword [esp + 0x10]
mov byte [esp + 0x48], 4
test eax, eax
je 0x404f9e
mov ecx, dword [eax + 8]
add eax, 8
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
xor ebx, ebx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x404faf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x48], 0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], vtable.MA::StringT_wchar_t__char_.0
test ecx, ecx
je 0x404fd4
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 8]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esp + 0x48], 0xffffffff
mov edx, dword [esp + 0x30]
mov dword [esp + 0x2c], vtable.MA::StringT_wchar_t__char_.0
test edx, edx
je 0x404ffc
mov ecx, dword [edx + 4]
add edx, 4
mov ecx, dword [ecx + 8]
add ecx, edx
mov edx, dword [ecx]
call dword [edx + 0xc]
mov eax, ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 0xfffffffe
jmp 0x404fa0