Function at 0x10031880
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10090f9d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100b5164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
call fcn.1000c8e0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov edx, dword [ebp - 0x10]
mov ecx, eax
mov dword [ebp - 0x20], ecx
test edx, edx
je 0x1003190c
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x10031909
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x20]
movsx eax, byte [ebp + 0x28]
add eax, 0xffffffbf
mov dword [ebp - 0x20], 0
mov dword [edi], 0
cmp eax, 0x38
ja case.0x10031930.69
movzx eax, byte [eax + 0x10031d24]
jmp dword [eax*4 + 0x10031cc8]
mov esi, dword [esi]
mov esi, dword [esi + 0x18]
push ebx
push edi
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [0x10096270]
mov ecx, dword [ebp - 0x28]
call esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
jmp 0x10031c8c
mov esi, dword [esi]
mov esi, dword [esi + 0x1c]
jmp 0x1003193c
push str._b__d__H_:__M_:__S__Y
push ebx
push edi
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.1003bc10
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
jmp 0x10031c8c
push ecx
lea eax, [ebp - 0x20]
push eax
push 0x63
push 0
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.1003bc10
mov ecx, dword [edi]
add esp, 0x1c
or ecx, eax
mov dword [edi], ecx
test cl, 2
jne 0x10031c8c
mov eax, dword [ebp - 0x20]
add eax, 0xffffffed
imul eax, eax, 0x64
mov dword [ebx + 0x14], eax
jmp 0x10031c8c
push ecx
lea eax, [ebx + 0xc]
push eax
push 0x1f
push 1
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.1003bc10
add esp, 0x1c
or dword [edi], eax
jmp 0x10031c8c
push str._m____d____y
push ebx
push edi
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.1003bc10
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
jmp 0x10031c8c
push ecx
lea eax, [ebx + 8]
push eax
push 0x17
push 0
jmp 0x100319ea
push ecx
lea eax, [ebp - 0x20]
push eax
push 0xc
push 1
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.1003bc10
mov ecx, dword [edi]
add esp, 0x1c
or ecx, eax
mov dword [edi], ecx
test cl, 2
jne 0x10031c8c
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp eax, 0xc
cmove eax, ecx
mov dword [ebx + 8], eax
jmp 0x10031c8c
push ecx
lea eax, [ebx + 0x1c]
push eax
push 0x16e
jmp 0x100319e8
push ecx
lea eax, [ebp - 0x20]
push eax
push 0xc
push 1
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.1003bc10
mov ecx, dword [edi]
add esp, 0x1c
or ecx, eax
mov dword [edi], ecx
test cl, 2
jne 0x10031c8c
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebx + 0x10], eax
jmp 0x10031c8c
push ecx
lea eax, [ebx + 4]
push eax
push 0x3b
push 0
jmp 0x100319ea
push 0x100a6980
push ebx
push edi
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.1003bc10
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
jmp 0x10031c8c
push 0
push 0x100a6630
push 0
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.1003bc10
add esp, 0x14
test eax, eax
jns 0x10031b22
or dword [edi], 2
jmp 0x10031c8c
cmp eax, 1
jle 0x10031c8c
add dword [ebx + 8], 0xc
jmp 0x10031c8c
push str._I_:__M_:__S__p
push ebx
push edi
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.1003bc10
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
jmp 0x10031c8c
push str._H_:__M
push ebx
push edi
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.1003bc10
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
jmp 0x10031c8c
push ecx
push ebx
push 0x3c
push 0
jmp 0x100319ea
push str._H_:__M_:__S
push ebx
push edi
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.1003bc10
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
jmp 0x10031c8c
push ecx
lea eax, [ebx + 0x1c]
push eax
push 0x35
push 0
jmp 0x100319ea
push ecx
lea eax, [ebx + 0x18]
push eax
push 6
push 0
jmp 0x100319ea
push str._d____m____y
push ebx
push edi
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.1003bc10
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
jmp 0x10031c8c
push ecx
lea eax, [ebp - 0x20]
push eax
push 0x63
push 0
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.1003bc10
mov ecx, dword [edi]
add esp, 0x1c
or ecx, eax
mov dword [edi], ecx
test cl, 2
jne 0x10031c8c
mov eax, dword [ebp - 0x20]
cmp eax, 0x45
jge 0x10031c4c
add eax, 0x64
mov dword [ebx + 0x14], eax
jmp 0x10031c8c
mov esi, dword [esi]
lea eax, [ebp - 0x1c]
push ebx
push edi
push dword [ebp - 0x18]
mov esi, dword [esi + 0x20]
mov ecx, esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [0x10096270]
mov ecx, dword [ebp - 0x28]
call esi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
jmp 0x10031c8c
mov dword [edi], 2
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.1003bc10
add esp, 8
test al, al
je 0x10031ca3
or dword [edi], 1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28