Function at 0x40bff0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bff30
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x57e030]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x18], ebp
mov esi, dword [ebp + 0x14]
lea ecx, [esp + 0x1c]
call fcn.00404990
xor ebx, ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x60], ebx
call fcn.00404990
mov byte [esp + 0x60], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.004146d0
mov al, byte [ebp + 0xd]
test al, al
jne 0x40c1d5
jmp 0x40c06a
mov ebp, eax
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.0041d6e0
add esp, 4
push 0x400001cf
mov ebp, eax
push 1
cmp esi, ebp
push ebx
setne byte [esp + 0x22]
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov edi, eax
lea ecx, [esp + 0x38]
call fcn.004146d0
push edi
mov byte [esp + 0x1b], al
call dword [sym.imp.USER32.dll_CloseDesktop]
mov eax, dword [esp + 0x2c]
mov ebx, eax
cmp eax, dword [esp + 0x30]
jbe 0x40c0b4
call fcn.00480e22
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40c0f9
call fcn.00480e22
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x40c0cd
call fcn.00480e22
lea eax, [esp + 0x38]
call fcn.00404f60
test al, al
sete al
cmp byte [esp + 0x16], 0
jne 0x40c0fd
test al, al
jne 0x40c0fd
cmp byte [esp + 0x17], al
je 0x40c0fd
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40c1c4
mov eax, dword [eax]
jmp 0x40c0c3
mov eax, dword [esp + 0x48]
mov ebx, eax
cmp eax, dword [esp + 0x4c]
jbe 0x40c10e
call fcn.00480e22
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x40c24a
call fcn.00480e22
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x40c12b
call fcn.00480e22
mov edi, dword [esp + 0x2c]
cmp edi, dword [esp + 0x30]
jbe 0x40c13a
call fcn.00480e22
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40c251
call fcn.00480e22
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x40c157
call fcn.00480e22
mov edx, dword [esp + 0x18]
push ebx
push edi
push ebp
push esi
mov esi, dword [edx + 0x1c]
push 0x557498
call fcn.00423a10
mov eax, dword [esp + 0x5c]
add esp, 0x14
mov esi, ebp
mov edi, eax
cmp eax, dword [esp + 0x4c]
jbe 0x40c182
call fcn.00480e22
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x40c258
call fcn.00480e22
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x40c19f
call fcn.00480e22
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 4]
push edi
lea ecx, [esp + 0x20]
call edx
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov eax, dword [esp + 0x18]
mov cl, byte [eax + 0xd]
xor ebx, ebx
test cl, cl
je 0x40c068
mov eax, dword [esp + 0x48]
mov esi, vtable.StringStorage.0
mov dword [esp + 0x38], esi
cmp eax, ebx
je 0x40c1ef
push eax
call fcn.00480e32
add esp, 4
mov edx, dword [esp + 0x3c]
push edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.00480e32
mov eax, dword [esp + 0x30]
add esp, 4
mov dword [esp + 0x1c], esi
cmp eax, ebx
je 0x40c21d
push eax
call fcn.00480e32
add esp, 4
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.00480e32
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax]
jmp 0x40c121
mov eax, dword [eax]
jmp 0x40c14d
mov eax, dword [eax]
jmp 0x40c195