Function at 0x440010
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457b10
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push esi
mov eax, dword [0x471018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0xd4]
cmp dword [eax + 0x1b8], 0
jbe 0x4400a9
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x1b4]
imul edx, edx, 0x3e8
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0xd8], 0
fild qword [ebp - 0xdc]
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x1b8]
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe0], 0
fild qword [ebp - 0xe4]
fdivp st(1)
call fcn.004521f0
mov dword [ebp - 0x30], eax
lea edx, [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0xd4]
call fcn.00402c90
lea ecx, [ebp - 0x50]
call fcn.00426150
mov eax, dword [ebp + 0xc]
add eax, 0xa
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp + 0x14]
sub ecx, 0xa
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp + 0x10]
add edx, 0x28
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0xd4]
add ecx, 0x134
call fcn.00402b50
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x74]
call fcn.00426150
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x4c]
sub edx, 0xa
mov dword [ebp - 0x68], edx
mov eax, dword [ebp + 0x10]
add eax, 0xa
mov dword [ebp - 0x70], eax
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0xd4]
call fcn.00402c90
mov ecx, dword [ebp - 0xd4]
add ecx, 0xd4
call fcn.00401140
movzx edx, al
test edx, edx
jne 0x44018c
lea ecx, [ebp + 0xc]
call fcn.00402bb0
mov esi, eax
mov ecx, dword [ebp - 0xd4]
add ecx, 0xd4
call fcn.00402b70
sub esi, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xa0], eax
push 0xa
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402800
push eax
mov ecx, dword [ebp - 0xd4]
add ecx, 0xd4
call fcn.00404160
push 1
mov ecx, dword [ebp + 8]
call fcn.00450c74
mov ecx, dword [ebp - 0xd4]
add ecx, 0x16c
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x1c]
call fcn.00426150
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x64
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
add edx, 0x28
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
push 0x461774
lea ecx, [ebp - 0x78]
call dword [0x45a9c4]
mov dword [ebp - 4], 0
push 0x505050
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
call eax
push 0x21
lea ecx, [ebp - 0x1c]
call fcn.00426150
push eax
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402750
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402790
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
call edx
lea ecx, [ebp - 0x2c]
call fcn.00426150
lea ecx, [ebp + 0xc]
call fcn.00426150
push eax
lea ecx, [ebp - 0x2c]
call fcn.004027e0
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax + 0x14]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add eax, 0x21
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xd4]
add ecx, 0x174
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x80]
call dword [0x45aa78]
mov byte [ebp - 4], 1
push 0xf5bf00
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
call eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x1c4]
push edx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x1c0]
push ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x1bc]
push eax
push 0x461784
lea ecx, [ebp - 0x80]
push ecx
call dword [0x45a9dc]
add esp, 0x14
push 0x8021
lea ecx, [ebp - 0x2c]
call fcn.00426150
push eax
lea edx, [ebp - 0x80]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402750
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xa
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0xd4]
add ecx, 0x134
call fcn.00402b50
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0xd4]
add ecx, 0x134
call fcn.00402b70
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0xd4]
add ecx, 0x134
call fcn.00402b50
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
push edx
push 4
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.00402b90
push eax
lea ecx, [ebp - 0x50]
call fcn.00402bb0
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402800
push eax
mov ecx, dword [ebp - 0xd4]
add ecx, 0x134
call fcn.00402a30
lea ecx, [ebp - 0x50]
call fcn.00402bb0
sub eax, 6
imul eax, dword [ebp - 0x30]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x4403f4
mov edx, dword [ebp - 0x38]
push edx
push 4
push 0
push 0xf
lea ecx, [ebp - 0x50]
call fcn.00402b90
push eax
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402800
push eax
mov ecx, dword [ebp - 0xd4]
add ecx, 0x134
call fcn.00402a30
lea ecx, [ebp - 0x34]
call dword [0x45aa78]
mov byte [ebp - 4], 2
fild dword [ebp - 0x30]
fdiv qword [0x4639f8]
fstp qword [ebp - 0x94]
sub esp, 8
fld qword [ebp - 0x94]
fstp qword [esp]
push 0x45df1c
lea eax, [ebp - 0x34]
push eax
call dword [0x45a9dc]
add esp, 0x10
push 1
mov ecx, dword [ebp + 8]
call fcn.00450c74
mov ecx, dword [ebp - 0xd4]
add ecx, 0x16c
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x4c]
sub eax, 1
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x64]
call fcn.00426150
lea ecx, [ebp - 0x50]
call fcn.00426150
push eax
lea ecx, [ebp - 0x64]
call fcn.004027e0
mov ecx, dword [ebp - 0x44]
add ecx, 0xa
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
add edx, 0x28
mov dword [ebp - 0x58], edx
push 0xf5bf00
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
call eax
push 0x25
lea ecx, [ebp - 0x64]
call fcn.00426150
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402750
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
call eax
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
call eax
lea ecx, [ebp - 0x98]
call dword [0x45aa78]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x1b8]
push edx
push 0x461794
lea eax, [ebp - 0x98]
push eax
call dword [0x45a9dc]
add esp, 0xc
mov ecx, dword [ebp - 0xd4]
add ecx, 0x118
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402790
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x50]
call fcn.00402bb0
sub eax, dword [ebp - 0x88]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
push 0x4617ac
lea ecx, [ebp - 0x7c]
call dword [0x45a9c4]
mov byte [ebp - 4], 4
push 0x505050
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
call eax
mov ecx, dword [ebp - 0x58]
add ecx, 0xa
mov dword [ebp - 0x8c], ecx
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402790
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], edx
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403cd0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x1b8]
push ecx
push 0x45dc60
lea edx, [ebp - 0x7c]
push edx
call dword [0x45a9dc]
add esp, 0xc
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x54]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x54], edx
push 0xf5bf00
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
call eax
lea ecx, [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403cd0
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0xb8]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402790
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x54]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x54], edx
push 0x505050
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
call eax
push 0x4617b0
lea ecx, [ebp - 0x7c]
call dword [0x45a9c0]
lea ecx, [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403cd0
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x1b4]
add edx, 1
push edx
push 0x4617c0
lea eax, [ebp - 0x98]
push eax
call dword [0x45a9dc]
add esp, 0xc
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0xc0]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402790
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], edx
lea ecx, [ebp - 0x50]
call fcn.00402bb0
sub eax, dword [ebp - 0x88]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x8c]
lea edx, [ecx + eax + 5]
mov dword [ebp - 0x8c], edx
push 0x4617d8
lea ecx, [ebp - 0x7c]
call dword [0x45a9c0]
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402790
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403cd0
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x54]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0x54], eax
push 0x516bf5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
call eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x1b4]
add edx, 1
push edx
push 0x45dc60
lea eax, [ebp - 0x7c]
push eax
call dword [0x45a9dc]
add esp, 0xc
lea ecx, [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403cd0
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0xd0]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402790
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], edx
push 0x4617e4
lea ecx, [ebp - 0x7c]
call dword [0x45a9c0]
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x54]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x54], edx
push 0x505050
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
call eax
lea ecx, [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403cd0
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
call edx
mov ecx, dword [ebp - 0xd4]
call fcn.00440a70
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xd4]
mov ecx, dword [ecx + 0x18c]
call dword [0x45a054]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call dword [0x45aa80]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
call dword [0x45aa80]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call dword [0x45aa80]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call dword [0x45aa80]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call dword [0x45aa80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14