Function at 0x40c6b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49fea8
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x4c2c40]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c2c40]
xor eax, esp
push eax
lea eax, [esp + 0x1c8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1dc]
fldz
mov ebp, dword [esp + 0x1d8]
fst qword [esp + 0xc4]
xor ebx, ebx
mov dword [esp + 0x30], eax
mov eax, 7
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xec], eax
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
mov dword [esp + 0x108], eax
mov dword [esp + 0x104], ebx
mov word [esp + 0xf4], bx
mov byte [esp + 0x10c], bl
mov byte [esp + 0x10d], bl
mov byte [esp + 0x10e], bl
mov byte [esp + 0x10f], bl
mov dword [esp + 0x1d0], ebx
fstp qword [esp + 0xcc]
lea edi, [ebp + 0x100]
mov ecx, edi
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xbc], 0x64
call fcn.00419360
mov dword [esp + 0x1c], eax
mov eax, edx
and edx, 0x7fffffff
mov dword [esp + 0x20], edx
fild qword [esp + 0x1c]
and eax, 0x80000000
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
fild qword [esp + 0x1c]
mov ecx, 0x72
lea edx, [esp + 0x118]
fchs
faddp st(1)
fstp qword [esp + 0xc4]
call fcn.00432a50
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1d8], 1
call fcn.00401b70
cmp dword [esp + 0x130], 8
jb 0x40c806
mov edx, dword [esp + 0x11c]
push edx
call fcn.0045a870
add esp, 4
lea eax, [ebp + 0x68]
push eax
lea esi, [esp + 0x4c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
call fcn.0042d130
lea eax, [esp + 0x134]
call fcn.004163e0
mov byte [esp + 0x1d0], 2
mov eax, dword [ebp + 0x64]
lea edx, [esp + 0x1b]
push edx
mov edx, dword [ebp + 0x20]
push edx
push edi
lea edx, [esp + 0xc0]
lea ecx, [ebp + 0x40]
push edx
push ecx
lea esi, [esp + 0x148]
mov byte [esp + 0x2f], bl
call fcn.004165a0
call fcn.0042d210
cmp byte [esp + 0x10c], bl
je 0x40c8cf
mov ecx, esi
mov byte [esp + 0x1d0], bl
call fcn.00416460
mov esi, 8
cmp dword [esp + 0x108], esi
jb 0x40c892
mov eax, dword [esp + 0xf4]
push eax
call fcn.0045a870
add esp, 4
cmp dword [esp + 0xec], esi
mov dword [esp + 0x108], 7
mov dword [esp + 0x104], ebx
mov word [esp + 0xf4], bx
jb 0x40c8c5
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.0045a870
add esp, 4
mov eax, 0xc
jmp 0x40cc72
mov esi, dword [ebp + 0x174]
cmp esi, dword [ebp + 0x178]
jbe 0x40c8e2
call fcn.00478a25
mov dword [esp + 0x28], esi
jmp 0x40c8f2
xor ebx, ebx
mov esi, dword [ebp + 0x178]
cmp dword [ebp + 0x174], esi
lea edi, [ebp + 0x170]
jbe 0x40c90b
call fcn.00478a25
cmp edi, edi
je 0x40c914
call fcn.00478a25
cmp dword [esp + 0x28], esi
je 0x40c9e7
lea eax, [ebp + 0x40]
push eax
mov ebx, 0x4a9c18
lea esi, [esp + 0x54]
call fcn.00403760
add esp, 4
mov esi, eax
mov byte [esp + 0x1d0], 3
mov ebx, dword [esp + 0x28]
cmp ebx, dword [edi + 8]
jb 0x40c94b
call fcn.00478a25
add ebx, 0x1c
push ebx
push esi
lea edi, [esp + 0x120]
call fcn.00403f90
add esp, 8
mov esi, 8
mov byte [esp + 0x1d0], 5
cmp dword [esp + 0x68], esi
jb 0x40c97f
mov edx, dword [esp + 0x54]
push edx
call fcn.0045a870
add esp, 4
xor eax, eax
mov dword [esp + 0x64], eax
mov word [esp + 0x54], ax
lea eax, [esp + 0x118]
push 1
push eax
mov dword [esp + 0x70], 7
call fcn.00433390
mov ecx, dword [esp + 0x30]
add esp, 8
cmp ecx, dword [ebp + 0x178]
jb 0x40c9b5
call fcn.00478a25
add dword [esp + 0x28], 0x104
mov byte [esp + 0x1d0], 2
cmp dword [esp + 0x130], esi
jb 0x40c8f0
mov edx, dword [esp + 0x11c]
push edx
call fcn.0045a870
add esp, 4
jmp 0x40c8f0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
lea edi, [ebp + 0x104]
mov byte [esp + 0x1d0], 6
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x40ca0e
call fcn.00478a25
mov dword [esp + 0x20], esi
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x24], eax
jbe 0x40ca23
call fcn.00478a25
cmp edi, edi
je 0x40ca2c
call fcn.00478a25
cmp esi, dword [esp + 0x24]
je 0x40ca65
cmp esi, dword [edi + 8]
jb 0x40ca3c
call fcn.00478a25
mov eax, dword [esi + 4]
add eax, 0x1c
push eax
lea esi, [esp + 0x38]
call fcn.00401650
mov ecx, dword [esp + 0x20]
cmp ecx, dword [edi + 8]
jb 0x40ca5a
call fcn.00478a25
add dword [esp + 0x20], 8
mov esi, dword [esp + 0x20]
jmp 0x40ca12
mov esi, 7
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
mov byte [esp + 0x1d0], 8
mov eax, dword [ebp + 0x5c]
push eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x40]
push ecx
lea eax, [ebp + 0x40]
push eax
push edx
lea eax, [ebp + 0x80]
push eax
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0xa8]
push edx
mov dword [esp + 0x68], 3
call fcn.00411e10
add esp, 0x24
cmp dword [esp + 0x80], ebx
jne 0x40cb81
mov ecx, dword [esp + 0x8c]
cmp ecx, ebx
je 0x40cb19
mov edx, dword [esp + 0x90]
sub edx, ecx
sar edx, 2
jne 0x40cb81
cmp dword [esp + 0x84], 8
jb 0x40cb30
mov eax, dword [esp + 0x70]
push eax
call fcn.0045a870
add esp, 4
lea edi, [esp + 0x88]
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
call fcn.00433d80
lea esi, [esp + 0x34]
call fcn.004019a0
lea ecx, [esp + 0x134]
mov byte [esp + 0x1d0], bl
call fcn.00416460
lea esi, [esp + 0xb4]
call fcn.00413a60
mov eax, 0xa
jmp 0x40cc72
cmp eax, ebx
je 0x40cbed
cmp dword [esp + 0x84], 8
jb 0x40cb9c
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0045a870
add esp, 4
lea edi, [esp + 0x88]
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
call fcn.00433d80
lea esi, [esp + 0x34]
call fcn.004019a0
lea ecx, [esp + 0x134]
mov byte [esp + 0x1d0], bl
call fcn.00416460
lea esi, [esp + 0xb4]
call fcn.00413a60
mov eax, 0xb
jmp 0x40cc72
mov eax, dword [ebp + 0x5c]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xa0]
call fcn.00401b70
add ebp, 0x24
push ebp
lea eax, [esp + 0x8c]
call fcn.00433e80
cmp dword [esp + 0x84], 8
jb 0x40cc26
mov edx, dword [esp + 0x70]
push edx
call fcn.0045a870
add esp, 4
lea edi, [esp + 0x88]
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
call fcn.00433d80
lea esi, [esp + 0x34]
call fcn.004019a0
lea ecx, [esp + 0x134]
mov byte [esp + 0x1d0], bl
call fcn.00416460
lea esi, [esp + 0xb4]
call fcn.00413a60
mov eax, 1
mov ecx, dword [esp + 0x1c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.00478599
add esp, 0x1c0
ret 8