Function at 0x42e660
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x50e654
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00420110
xor ebx, ebx
mov dword [esi], 0x526328
mov dword [esi + 0x20], 0x526314
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov byte [esi + 0x79], 1
mov eax, dword [0x55b9cc]
mov ecx, dword [eax + 0xca0]
push 0x210
mov dword [esp + 0x34], ebx
mov dword [esi + 0x8c], ecx
call fcn.004fd765
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebx
mov byte [esp + 0x30], 1
je 0x42e757
mov eax, dword [0x55b9cc]
mov edx, dword [eax + 0xc7c]
mov eax, dword [eax + 0xc68]
mov ecx, dword [eax + 0x644]
imul ecx, ecx, 0x644
mov eax, dword [ecx + eax + 0x140]
push 0xffffffffffffffff
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00402110
mov edx, dword [0x55cd0c]
mov eax, dword [edx + 0x868]
mov eax, dword [eax + 0x3c]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x32
mov dword [esp + 0x18], eax
sub esp, 0xc
fild dword [esp + 0x24]
mov edx, ebx
mov ecx, esp
mov dword [ecx], edx
fstp dword [esp + 0x38]
mov eax, dword [esp + 0x38]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov ecx, edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
call fcn.00495860
jmp 0x42e759
xor eax, eax
mov edx, dword [eax + 0x1f8]
or edx, 4
push eax
mov ecx, esi
mov byte [esp + 0x34], bl
mov dword [eax + 0x1f8], edx
call fcn.00403010
push 0xd0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x30], 2
je 0x42e797
mov ecx, eax
call fcn.0047c850
jmp 0x42e799
xor eax, eax
push eax
mov ecx, esi
mov byte [esp + 0x34], bl
mov dword [esi + 0xe0], eax
call fcn.00403010
mov eax, dword [esi + 0xe0]
fild dword [eax + 0x78]
add eax, 0x7c
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
fmul dword [eax + 0xc]
mov dword [eax], ecx
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x24]
fmul dword [0x5216e0]
push 0x3e8
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
call fcn.004fd765
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebx
mov byte [esp + 0x30], 3
je 0x42e8ba
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x5245f0
call fcn.00402110
mov edx, dword [0x55b9cc]
mov eax, dword [edx + 0xc68]
mov ecx, dword [eax + 0x644]
imul ecx, ecx, 0x644
mov eax, dword [ecx + eax + 0x2c]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x3c], 4
call fcn.00402110
mov edx, dword [0x55cd0c]
mov ecx, dword [edx + 0x868]
mov eax, dword [ecx + 0x3c]
cdq
sub eax, edx
sar eax, 1
mov edx, 0x28
sub edx, eax
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x14], edx
cdq
fild dword [esp + 0x14]
sub eax, edx
sar eax, 1
mov ecx, 0x64
sub ecx, eax
mov dword [esp + 0x14], ecx
sub esp, 0xc
fild dword [esp + 0x20]
mov edx, esp
mov dword [esp + 0x38], 0
mov byte [esp + 0x44], 3
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [edx], eax
mov eax, dword [esp + 0x38]
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov dword [edx + 4], ecx
mov ecx, edi
mov dword [edx + 8], eax
call fcn.00478970
mov edi, eax
jmp 0x42e8bc
xor edi, edi
push 0x80
mov ecx, edi
mov byte [esp + 0x34], bl
call fcn.00479f80
push edi
mov ecx, esi
call fcn.00403010
push 0x3e0
call fcn.004fd765
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebx
mov byte [esp + 0x30], 5
je 0x42e99f
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x5245f0
call fcn.00402110
mov ecx, dword [0x55b9cc]
mov eax, dword [ecx + 0xc68]
mov edx, dword [eax + 0x644]
imul edx, edx, 0x644
mov eax, dword [edx + eax + 0x28]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov byte [esp + 0x3c], 6
call fcn.00402110
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x868]
mov eax, dword [ecx + 0x3c]
cdq
sub eax, edx
sar eax, 1
mov edx, 0x28
sub edx, eax
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x14], edx
cdq
fild dword [esp + 0x14]
sub eax, edx
sar eax, 1
sub eax, 0x64
mov dword [esp + 0x14], eax
sub esp, 0xc
fild dword [esp + 0x20]
mov eax, esp
mov dword [esp + 0x38], 0
mov byte [esp + 0x44], 5
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, edi
call fcn.004785a0
jmp 0x42e9a1
xor eax, eax
push 0x80
mov ecx, eax
mov byte [esp + 0x34], bl
mov dword [esi + 0xe8], eax
call fcn.00479f80
mov edx, dword [esi + 0xe8]
push edx
mov ecx, esi
call fcn.00403010
mov eax, dword [0x55b9cc]
mov eax, dword [eax + 0xc68]
mov ecx, dword [eax + 0x644]
imul ecx, ecx, 0x644
mov eax, dword [ecx + eax + 0x148]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00402110
mov ecx, dword [esi + 0xe0]
call fcn.0047cb20
mov edx, dword [0x55b9cc]
mov eax, dword [edx + 0xc68]
mov ecx, dword [eax + 0x644]
imul ecx, ecx, 0x644
mov eax, dword [ecx + eax + 0x14c]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00402110
mov ecx, dword [esi + 0xe0]
call fcn.0047cb20
mov edx, dword [0x55b9cc]
mov eax, dword [edx + 0xc68]
mov ecx, dword [eax + 0x644]
imul ecx, ecx, 0x644
mov eax, dword [ecx + eax + 0x150]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00402110
mov ecx, dword [esi + 0xe0]
call fcn.0047cb20
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret