Function at 0x40a998
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x19e4], edx
mov eax, dword [ebp - 0x19e4]
mov dword [ebp - 0x1600], eax
push edi
and edi, 0x16f5
pop edi
push esi
push ecx
add esp, 4
les eax, [ecx + eax*4]
out 0x4f, al
out 0, eax
add byte [ecx + 0xfabcee], al
add byte [ecx + 0xb0acc6], al
add byte [ecx + 0xbb3fc6], al
add byte [eax], al
pop esi
push ecx
push edx
add esp, 4
sub ecx, 0x3bd
pop ecx
cmp dword [ebp - 0x1600], 0
jne 0x40a9f7
mov dword [ebp - 0x31c], 0
jmp 0x40ac9e
add al, byte [eax]
invalid
mov ecx, dword [ebp - 0x1600]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xcb4], eax
push edx
push esi
add esp, 4
sub edx, 0x76d
or edx, 0x15ad2
pop edx
push ecx
push ecx
add esp, 4
sub ecx, 0xb9ed
pop ecx
push edi
sub edi, 0x12053
add edi, 0x1195e
add edi, 0x1392f
pop edi
cmp dword [ebp - 0xcb4], 0
jne 0x40aa53
mov dword [ebp - 0x31c], 0
jmp 0x40ac9e
mov ecx, dword [ebp - 0xcb4]
mov dword [ebp - 0x50c], ecx
push edi
and edi, 0x1249
pop edi
push ebx
push edi
add esp, 4
and ebx, 0x4746
or ebx, 0xf1f0
and ebx, 0x3c10
pop ebx
push esi
push edi
add esp, 4
jmp 0x40aa8a
xor esi, 0x88a6
pop esi
lea edx, [ebp - 0x173c]
mov dword [ebp - 0xcb0], edx
mov eax, dword [ebp - 0x50c]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xcac], ecx
xor edx, edx
mov word [ebp - 0x218], dx
xor eax, eax
mov word [ebp - 0x34], ax
push ebx
push ebx
add esp, 4
add ebx, 0x1535b
or ebx, 0xcc62
call 0x40aad8
add byte [eax], al
dec esp
cmp byte [esi + 0x36], al
inc ebp
inc esi
add esp, 4
pop ebx
push ecx
jmp 0x40aae6
sub ecx, 0x16147
pop ecx
mov ecx, dword [ebp - 0xcac]
mov dx, word [ecx]
mov word [ebp - 0x103a], dx
mov eax, dword [ebp - 0xcac]
add eax, 2
mov dword [ebp - 0xcac], eax
mov cx, word [ebp - 0x103a]
mov word [ebp - 0x218], cx
mov edx, dword [ebp - 0xcb0]
mov ax, word [edx]
mov word [ebp - 0x103c], ax
mov ecx, dword [ebp - 0xcb0]
add ecx, 2
mov dword [ebp - 0xcb0], ecx
mov dx, word [ebp - 0x103c]
mov word [ebp - 0x34], dx
push edi
push ecx
add esp, 4
or edi, 0xb905
pop edi
push eax
xor eax, 0x929e
or eax, 0x11862
pop eax
push ecx
push ebx
add esp, 4
xor ecx, 0x4768
sub ecx, 0x8c8
or ecx, 0x74c7
pop ecx
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x40ab93
movzx ecx, word [ebp - 0x218]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x1608], ecx
jmp 0x40abed
movzx eax, word [ebp - 0x218]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x40aabb
movzx edx, word [ebp - 0x218]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x40aabb
movzx ecx, word [ebp - 0x218]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x40abd7
mov dword [ebp - 0x1604], 0xffffffff
jmp 0x40abe1
mov dword [ebp - 0x1604], 1
mov eax, dword [ebp - 0x1604]
mov dword [ebp - 0x1608], eax
cmp dword [ebp - 0x1608], 0
jne 0x40ac36
push eax
push eax
add esp, 4
add eax, 0x9b60
or eax, 0x3fb8
pop eax
push edi
push ecx
add esp, 4
xor edi, 0x16856
pop edi
push edx
sub edx, 0x12104
xor edx, 0x7cc3
sub edx, 0x6903
pop edx
mov ecx, dword [ebp - 0x50c]
mov dword [ebp - 0x31c], ecx
jmp 0x40ac9e
push eax
push eax
add esp, 4
or eax, 0xbb54
pop eax
push ecx
and ecx, 0x4f6d
pop ecx
push edx
push eax
add esp, 4
and edx, 0x2cfb
or edx, 0x9161
sub edx, 0xc290
or edx, 0xdb1a
pop edx
mov edx, dword [ebp - 0x50c]
mov eax, dword [edx]
push edi
sub edi, 0x11108
add edi, 0x1712b
pop edi
push ecx
push edi
add esp, 4
and ecx, 0x72ab
jmp 0x40acc0
jmp 0x40acc9
xor ecx, 0x178bd
pop ecx
mov eax, dword [ebp - 0x31c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x324], ecx
push ecx
push ebx
add esp, 4