Function at 0x467d90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x515e10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00467ca0
mov ecx, dword [eax + 0x1124]
add eax, 0x10f4
test ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x24], 0
jle 0x46847b
mov dword [esp + 0x1c], 4
xor edx, edx
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x20], edx
test ecx, ecx
je 0x467e05
mov ecx, dword [eax + 0x2c]
mov ecx, dword [ecx + 8]
jmp 0x467e07
xor ecx, ecx
cmp edx, ecx
jge 0x46845c
mov ecx, dword [eax + 0x2c]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + ecx]
mov edi, dword [ecx + edx*4]
test edi, edi
mov dword [esp + 0x18], edi
je 0x468456
mov ebp, dword [ebx + 0xd4]
mov dword [ebx + 0xf0], 0x50
lea esi, [ebp + 8]
test esi, esi
jne 0x467e75
mov eax, dword [ebx + 0xe4]
test eax, eax
je 0x467e62
mov ecx, dword [ebx + 0xe8]
push eax
mov dword [esp + 0x2c], ecx
call fcn.0050b204
add esp, 4
mov dword [ebx + 0xe4], esi
xor eax, eax
mov dword [ebx + 0xec], eax
mov dword [ebx + 0xe8], eax
jmp 0x467f77
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
jne 0x467ead
lea edx, [esi*4]
push edx
call fcn.0050b264
add esp, 4
mov dword [ebx + 0xe4], eax
push esi
push eax
call fcn.00404d30
mov dword [ebx + 0xec], esi
mov dword [ebx + 0xe8], esi
jmp 0x467f77
mov eax, dword [ebx + 0xec]
cmp esi, eax
jg 0x467eed
mov eax, dword [ebx + 0xe8]
cmp eax, esi
jge 0x467eda
mov edx, esi
sub edx, eax
lea eax, [ecx + eax*4]
push edx
push eax
call fcn.00404d30
mov dword [ebx + 0xe8], esi
jmp 0x467f77
jle 0x467ee2
sub eax, esi
mov dword [esp + 0x28], eax
mov dword [ebx + 0xe8], esi
jmp 0x467f77
add eax, 0x50
cmp esi, eax
mov dword [esp + 0x14], eax
jl 0x467efc
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x14]
lea edx, [ecx*4]
push edx
call fcn.0050b264
mov ecx, dword [ebx + 0xe8]
mov esi, dword [ebx + 0xe4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x28], eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0xe8]
lea esi, [ebp + 8]
mov edx, esi
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.00404d30
mov eax, dword [ebx + 0xe4]
push eax
call fcn.0050b204
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add esp, 4
mov dword [ebx + 0xe4], ecx
mov dword [ebx + 0xe8], esi
mov dword [ebx + 0xec], edx
lea esi, [ebp + 8]
mov dword [ebx + 0xdc], 0x50
test esi, esi
jne 0x467fc7
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x467fb4
mov ecx, dword [ebx + 0xd4]
push ecx
push eax
call fcn.00468f70
mov eax, dword [ebx + 0xd0]
push eax
call fcn.0050b204
add esp, 4
mov dword [ebx + 0xd0], esi
xor eax, eax
mov dword [ebx + 0xd8], eax
mov dword [ebx + 0xd4], eax
jmp 0x4680d9
mov ecx, dword [ebx + 0xd0]
test ecx, ecx
jne 0x467ffe
lea edx, [esi + esi*8]
shl edx, 2
push edx
call fcn.0050b264
add esp, 4
mov dword [ebx + 0xd0], eax
push esi
push eax
call fcn.00468fa0
mov dword [ebx + 0xd8], esi
mov dword [ebx + 0xd4], esi
jmp 0x4680d9
mov eax, dword [ebx + 0xd8]
cmp esi, eax
jg 0x46804a
mov eax, dword [ebx + 0xd4]
cmp eax, esi
jge 0x46802e
mov edx, esi
sub edx, eax
lea eax, [eax + eax*8]
push edx
lea ecx, [ecx + eax*4]
push ecx
call fcn.00468fa0
mov dword [ebx + 0xd4], esi
jmp 0x4680d9
jle 0x46803f
sub eax, esi
lea edx, [esi + esi*8]
push eax
lea eax, [ecx + edx*4]
push eax
call fcn.00468f70
mov dword [ebx + 0xd4], esi
jmp 0x4680d9
add eax, 0x50
cmp esi, eax
jge 0x468057
mov dword [esp + 0x14], eax
jmp 0x46805d
mov dword [esp + 0x14], esi
mov eax, esi
lea ecx, [eax + eax*8]
shl ecx, 2
push ecx
call fcn.0050b264
mov ecx, dword [ebx + 0xd4]
mov esi, dword [ebx + 0xd0]
mov edi, eax
add esp, 4
lea ecx, [ecx + ecx*8]
mov dword [esp + 0x28], eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0xd4]
lea esi, [ebp + 8]
mov edx, esi
sub edx, ecx
lea ecx, [ecx + ecx*8]
push edx
lea edx, [eax + ecx*4]
push edx
call fcn.00468fa0
mov eax, dword [ebx + 0xd0]
push eax
call fcn.0050b204
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add esp, 4
mov dword [ebx + 0xd0], eax
mov dword [ebx + 0xd4], esi
mov dword [ebx + 0xd8], ecx
push 0x4e8
call fcn.0050b264
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov dword [esp + 0x48], 0
je 0x4680ff
mov ecx, eax
call fcn.004ee4b0
jmp 0x468101
xor eax, eax
mov edx, dword [ebx + 0xe4]
push 0
or esi, 0xffffffff
push 0
mov dword [edx + ebp*4], eax
mov eax, dword [ebx + 0xe4]
push edi
mov dword [esp + 0x54], esi
mov ecx, dword [eax + ebp*4]
call fcn.004f1530
mov ecx, dword [ebx + 0xd0]
mov edx, dword [ebx + 0xe4]
lea eax, [ebp + ebp*8]
shl eax, 2
mov dword [esp + 0x28], eax
add ecx, eax
mov eax, dword [edx + ebp*4]
push ecx
push eax
call fcn.004677c0
push 0x4e8
call fcn.0050b264
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x48], 1
je 0x46816d
mov ecx, eax
call fcn.004ee4b0
jmp 0x46816f
xor eax, eax
mov ecx, dword [ebx + 0xe4]
push 0
push 1
push edi
mov dword [ecx + ebp*4 + 4], eax
mov edx, dword [ebx + 0xe4]
mov dword [esp + 0x54], esi
mov ecx, dword [edx + ebp*4 + 4]
call fcn.004f1530
mov ecx, dword [ebx + 0xd0]
mov edx, dword [ebx + 0xe4]
lea eax, [ebp + ebp*8 + 9]
shl eax, 2
mov dword [esp + 0x14], eax
add ecx, eax
mov eax, dword [edx + ebp*4 + 4]
push ecx
push eax
call fcn.004677c0
push 0x4e8
call fcn.0050b264
add esp, 0xc
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x48], 2
je 0x4681db
mov ecx, eax
call fcn.004ee4b0
jmp 0x4681dd
xor eax, eax
mov ecx, dword [ebx + 0xe4]
push 0
push 2
push edi
mov dword [ecx + ebp*4 + 8], eax
mov edx, dword [ebx + 0xe4]
mov dword [esp + 0x54], esi
mov ecx, dword [edx + ebp*4 + 8]
call fcn.004f1530
mov eax, dword [ebx + 0xd0]
mov ecx, dword [ebx + 0xe4]
lea edi, [ebp + ebp*8 + 0x12]
mov edx, dword [ecx + ebp*4 + 8]
shl edi, 2
add eax, edi
push eax
push edx
call fcn.004677c0
push 0x4e8
call fcn.0050b264
add esp, 0xc
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x48], 3
je 0x468245
mov ecx, eax
call fcn.004ee4b0
jmp 0x468247
xor eax, eax
mov ecx, dword [ebx + 0xe4]
mov edx, dword [esp + 0x18]
push 0
push 3
mov dword [ecx + ebp*4 + 0xc], eax
mov eax, dword [ebx + 0xe4]
push edx
mov dword [esp + 0x54], esi
mov ecx, dword [eax + ebp*4 + 0xc]
call fcn.004f1530
mov ecx, dword [ebx + 0xd0]
mov edx, dword [ebx + 0xe4]
lea esi, [ebp + ebp*8 + 0x1b]
mov eax, dword [edx + ebp*4 + 0xc]
shl esi, 2
add ecx, esi
push ecx
push eax
call fcn.004677c0
push 0x4e8
call fcn.0050b264
add esp, 0xc
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x48], 4
je 0x4682b3
mov ecx, eax
call fcn.004ee4b0
jmp 0x4682b5
xor eax, eax
mov ecx, dword [ebx + 0xe4]
push 0x4e8
mov dword [esp + 0x4c], 0xffffffff
mov dword [ecx + ebp*4 + 0x10], eax
call fcn.0050b264
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x48], 5
je 0x4682ed
mov ecx, eax
call fcn.004ee4b0
jmp 0x4682ef
xor eax, eax
mov edx, dword [ebx + 0xe4]
push 0x4e8
mov dword [esp + 0x4c], 0xffffffff
mov dword [edx + ebp*4 + 0x14], eax
call fcn.0050b264
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x48], 6
je 0x468327
mov ecx, eax
call fcn.004ee4b0
jmp 0x468329
xor eax, eax
mov ecx, dword [ebx + 0xe4]
push 0x4e8
mov dword [esp + 0x4c], 0xffffffff
mov dword [ecx + ebp*4 + 0x18], eax
call fcn.0050b264
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x48], 7
je 0x468361
mov ecx, eax
call fcn.004ee4b0
jmp 0x468363
xor eax, eax
mov edx, dword [ebx + 0xe4]
mov dword [esp + 0x48], 0xffffffff
mov dword [edx + ebp*4 + 0x1c], eax
mov eax, dword [ebx + 0xe4]
mov ecx, dword [eax + ebp*4 + 4]
push ecx
mov ecx, dword [eax + ebp*4 + 0x10]
call fcn.0048ec00
mov eax, dword [ebx + 0xe4]
mov edx, dword [eax + ebp*4 + 4]
mov ecx, dword [eax + ebp*4 + 0x14]
push edx
call fcn.0048ec00
mov eax, dword [ebx + 0xe4]
mov ecx, dword [eax + ebp*4 + 8]
push ecx
mov ecx, dword [eax + ebp*4 + 0x18]
call fcn.0048ec00
mov eax, dword [ebx + 0xe4]
mov edx, dword [eax + ebp*4 + 0xc]
mov ecx, dword [eax + ebp*4 + 0x1c]
push edx
call fcn.0048ec00
mov eax, dword [ebx + 0xd0]
mov ecx, dword [esp + 0x28]
lea edx, [eax + ecx]
lea ecx, [ebp + ebp*8 + 0x24]
push edx
lea ecx, [eax + ecx*4]
call fcn.0046b070
mov eax, dword [ebx + 0xd0]
mov edx, dword [esp + 0x14]
lea ecx, [ebp + ebp*8 + 0x2d]
add edx, eax
push edx
lea ecx, [eax + ecx*4]
call fcn.0046b070
mov eax, dword [ebx + 0xd0]
lea edx, [ebp + ebp*8 + 0x36]
add edi, eax
push edi
lea ecx, [eax + edx*4]
call fcn.0046b070
mov eax, dword [ebx + 0xd0]
lea ecx, [ebp + ebp*8 + 0x3f]
add esi, eax
push esi
lea ecx, [eax + ecx*4]
call fcn.0046b070
mov edx, dword [ebx + 0xe4]
mov ecx, dword [edx + ebp*4]
call fcn.0048e830
fadd qword [esp + 0x34]
mov eax, dword [ebx + 0xe4]
mov ecx, dword [eax + ebp*4]
fstp qword [esp + 0x34]
call fcn.0048e830
fadd qword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
fstp qword [esp + 0x34]
inc edx
jmp 0x467df2
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov edx, dword [eax + 0x30]
inc ecx
add esi, 0x14
cmp ecx, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], esi
jl 0x467df0
fld qword [esp + 0x34]
fmul qword [0x528030]
push 0x40618000
push 0
sub esp, 8
lea esi, [ebx + 0x110]
mov ecx, esi
mov dword [esp + 0x38], esi
fstp qword [esp]
push 0
push 0
push 0
push 0
call fcn.004f6fe0
mov ecx, dword [0x5469c0]
push 0x64
fld qword [esp + 0x38]
fmul qword [0x528028]
fimul dword [0x5469c0]
lea eax, [ecx*8]
lea edx, [ecx*4]
sub eax, ecx
push edx
lea eax, [eax + eax*4]
shl eax, 2
push eax
call fcn.0050c116
push eax
lea ecx, [ebx + 0x94]
call fcn.0046b2f0
mov edx, dword [ebx + 0xfc]
mov eax, dword [ebx + 0xf8]
mov edi, edx
mov dword [esp + 0x18], edi
lea ebp, [edi + 1]
test ebp, ebp
jne 0x468546
test eax, eax
je 0x46851c
push eax
call fcn.0050b204
add esp, 4
mov dword [ebx + 0xf8], 0
mov ecx, dword [ebx + 0xf8]
xor eax, eax
mov dword [ebx + 0x100], eax
mov dword [ebx + 0xfc], eax
mov dword [ecx + edi*4], esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x4685a2
lea edi, [ebp*4]
push edi
call fcn.0050b264
mov edx, eax
mov ecx, edi
mov dword [ebx + 0xf8], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0xf8]
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x100], ebp
mov dword [ebx + 0xfc], ebp
mov dword [eax + ecx*4], esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x100]
cmp ebp, ecx
jg 0x4685e3
cmp ebp, edx
jle 0x4685c1
mov ecx, ebp
sub ecx, edx
lea edx, [eax + edx*4]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x18]
mov edx, dword [ebx + 0xf8]
mov dword [ebx + 0xfc], ebp
mov dword [edx + edi*4], esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x104]
test eax, eax
jne 0x468610
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x468604
mov eax, 4
jmp 0x468610
cmp eax, 0x400
jle 0x468610
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x1c], eax
jl 0x46861e
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x1c]
lea ecx, [eax*4]
push ecx
call fcn.0050b264
mov ecx, dword [ebx + 0xfc]
mov esi, dword [ebx + 0xf8]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x30], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0xfc]
mov ecx, ebp
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0xf8]
push eax
call fcn.0050b204
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov dword [ebx + 0x100], edx
mov edx, dword [esp + 0x20]
mov dword [ebx + 0xf8], ecx
mov eax, ecx
mov ecx, dword [esp + 0x30]
add esp, 8
mov dword [ebx + 0xfc], ebp
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x40]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret