Function at 0x406fc0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x67746a
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x702ca8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
call fcn.0044dc20
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esi], 0x6ba818
mov dword [esi + 0x20], 0x6ba880
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xfc], ebx
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], ebx
mov dword [esi + 0x108], ebx
mov eax, dword [0x717c98]
mov cl, byte [eax + 0x29c]
mov byte [esi + 0x10c], cl
mov edx, dword [0x717c98]
cmp byte [edx + 0x2d9], bl
mov byte [esi + 0x91], 1
sete al
mov byte [esi + 0x10d], al
mov ecx, dword [0x717c98]
mov edx, dword [ecx + 0xf5800]
push 0x240
mov dword [esi + 0xa4], edx
call fcn.00604431
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x38], 1
je 0x40713a
push ecx
mov eax, esp
mov dword [eax], 0xffffffff
mov eax, dword [0x717c98]
mov ecx, dword [eax + 0xf57f8]
mov edx, dword [0x717c9c]
mov eax, dword [edx + 0x68]
mov dword [esp + 0x20], esp
push ecx
mov ecx, dword [eax + 0x195c]
imul ecx, ecx, 0x1934
mov ebp, dword [ecx + eax + 0x904]
sub esp, 0x1c
mov edi, esp
mov eax, ebp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x40], esp
mov byte [edi + 4], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x4070d0
sub eax, ecx
push eax
push ebp
mov ecx, edi
call fcn.004027b0
mov edx, dword [0x717c9c]
mov eax, dword [edx + 0x1c]
mov eax, dword [eax + 0x1c]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x32
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
sub esp, 0xc
mov eax, esp
fstp dword [esp + 0x44]
fldz
fst dword [esp + 0x54]
fld dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
fstp dword [esp + 0x58]
mov dword [eax], ecx
mov edx, dword [esp + 0x58]
mov dword [eax + 4], edx
fstp dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
call fcn.0042f380
jmp 0x40713c
xor eax, eax
mov byte [esp + 0x38], bl
or dword [eax + 0x210], 0x10
push eax
mov ecx, esi
call fcn.0043f5f0
push 0xe0
call fcn.00604431
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x38], 2
je 0x407172
mov ecx, eax
call fcn.00404fb0
jmp 0x407174
xor eax, eax
mov byte [esp + 0x38], bl
push eax
mov ecx, esi
mov dword [esi + 0xf8], eax
call fcn.0043f5f0
mov eax, dword [esi + 0xf8]
fild dword [eax + 0x94]
fmul dword [eax + 0xa4]
fmul qword [0x6ddd58]
fstp dword [esp + 0x18]
fldz
fst dword [esp + 0x24]
fld dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [eax + 0x98], edx
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x9c], ecx
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov dword [eax + 0xa0], edx
mov eax, dword [0x717c9c]
mov eax, dword [eax + 0x68]
mov ecx, dword [eax + 0x195c]
imul ecx, ecx, 0x1934
mov ebp, dword [ecx + eax + 0x90c]
sub esp, 0x1c
mov edi, esp
mov eax, ebp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x38], esp
mov byte [edi + 4], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x407208
sub eax, ecx
push eax
push ebp
mov ecx, edi
call fcn.004027b0
mov ecx, dword [esi + 0xf8]
call fcn.00405110
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 1
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x6ba7c8
mov byte [ecx + 4], bl
call fcn.004027b0
mov ecx, dword [esi + 0xf8]
call fcn.00405110
mov edx, dword [0x717c9c]
mov eax, dword [edx + 0x68]
mov ecx, dword [eax + 0x195c]
imul ecx, ecx, 0x1934
mov ebp, dword [ecx + eax + 0x910]
sub esp, 0x1c
mov edi, esp
mov eax, ebp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x38], esp
mov byte [edi + 4], bl
lea ecx, [eax + 1]
jmp 0x407290
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x407290
sub eax, ecx
push eax
push ebp
mov ecx, edi
call fcn.004027b0
mov ecx, dword [esi + 0xf8]
call fcn.00405110
mov edx, dword [0x717c9c]
mov eax, dword [edx + 0x68]
mov ecx, dword [eax + 0x195c]
imul ecx, ecx, 0x1934
mov ebp, dword [ecx + eax + 0x914]
sub esp, 0x1c
mov edi, esp
mov eax, ebp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x38], esp
mov byte [edi + 4], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x4072e6
sub eax, ecx
push eax
push ebp
mov ecx, edi
call fcn.004027b0
mov ecx, dword [esi + 0xf8]
call fcn.00405110
mov edx, dword [0x717c9c]
mov eax, dword [edx + 0x68]
mov ecx, dword [eax + 0x195c]
imul ecx, ecx, 0x1934
mov ebp, dword [ecx + eax + 0x918]
sub esp, 0x1c
mov edi, esp
mov eax, ebp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x38], esp
mov byte [edi + 4], bl
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x407340
sub eax, ecx
push eax
push ebp
mov ecx, edi
call fcn.004027b0
mov ecx, dword [esi + 0xf8]
call fcn.00405110
push 0x490
call fcn.00604431
mov ebp, eax
add esp, 4
mov dword [esp + 0x1c], ebp
cmp ebp, ebx
mov byte [esp + 0x38], 3
je 0x40746b
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x6ba06e
mov byte [ecx + 4], bl
call fcn.004027b0
mov byte [esp + 0x54], 4
mov edx, dword [0x717c9c]
mov eax, dword [edx + 0x68]
mov ecx, dword [eax + 0x195c]
imul ecx, ecx, 0x1934
mov ecx, dword [ecx + eax + 0x708]
sub esp, 0x1c
mov edi, esp
mov eax, ecx
lea edx, [eax + 1]
mov dword [esp + 0x50], esp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
mov dword [esp + 0x50], edx
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x4073e0
sub eax, dword [esp + 0x50]
push eax
push ecx
mov ecx, edi
call fcn.004027b0
mov eax, dword [0x717c9c]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx + 0x1c]
cdq
sub eax, edx
sar eax, 1
mov edx, 0x32
sub edx, eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x50], edx
fild dword [esp + 0x50]
cdq
sub eax, edx
sar eax, 1
fstp dword [esp + 0x4c]
mov ecx, 0x64
sub ecx, eax
mov dword [esp + 0x50], ecx
sub esp, 0xc
fild dword [esp + 0x5c]
mov eax, esp
mov byte [esp + 0x7c], 3
fstp dword [esp + 0x68]
mov edx, dword [esp + 0x68]
fld dword [esp + 0x58]
mov dword [eax], edx
fstp dword [esp + 0x6c]
mov ecx, dword [esp + 0x6c]
fldz
mov dword [eax + 4], ecx
fstp dword [esp + 0x70]
mov edx, dword [esp + 0x70]
mov ecx, ebp
mov dword [eax + 8], edx
call fcn.00404e50
mov edi, eax
jmp 0x40746d
xor edi, edi
push 0xa0
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.00404af0
push edi
mov ecx, esi
call fcn.0043f5f0
push 0x490
call fcn.00604431
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x38], 5
je 0x407586
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x6ba06e
mov byte [ecx + 4], bl
call fcn.004027b0
mov byte [esp + 0x54], 6
mov eax, dword [0x717c9c]
mov eax, dword [eax + 0x68]
mov ecx, dword [eax + 0x195c]
imul ecx, ecx, 0x1934
mov ebp, dword [ecx + eax + 0x704]
sub esp, 0x1c
mov edi, esp
mov eax, ebp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x4c], esp
mov byte [edi + 4], bl
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x407500
sub eax, ecx
push eax
push ebp
mov ecx, edi
call fcn.004027b0
mov edx, dword [0x717c9c]
mov ecx, dword [edx + 0x1c]
mov eax, dword [ecx + 0x1c]
cdq
sub eax, edx
sar eax, 1
mov edx, 0x32
sub edx, eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x50], edx
fild dword [esp + 0x50]
cdq
sub eax, edx
sar eax, 1
fstp dword [esp + 0x4c]
sub eax, 0x64
mov dword [esp + 0x50], eax
sub esp, 0xc
fild dword [esp + 0x5c]
mov eax, esp
mov byte [esp + 0x7c], 5
fstp dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
fld dword [esp + 0x58]
mov dword [eax], ecx
fstp dword [esp + 0x6c]
mov edx, dword [esp + 0x6c]
fldz
mov dword [eax + 4], edx
fstp dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x60]
call fcn.00403a20
jmp 0x407588
xor eax, eax
mov byte [esp + 0x38], bl
push 0xa0
mov ecx, eax
mov dword [esi + 0x100], eax
call fcn.00404af0
mov edx, dword [esi + 0x100]
push edx
mov ecx, esi
call fcn.0043f5f0
push 0x490
call fcn.00604431
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x38], 7
je 0x407699
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x6ba06e
mov byte [ecx + 4], bl
call fcn.004027b0
mov byte [esp + 0x54], 8
mov eax, dword [0x717c9c]
mov eax, dword [eax + 0x68]
mov ecx, dword [eax + 0x195c]
imul ecx, ecx, 0x1934
mov ebp, dword [ecx + eax + 0x710]
sub esp, 0x1c
mov edi, esp
mov eax, ebp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x4c], esp
mov byte [edi + 4], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x407626
sub eax, ecx
push eax
push ebp
mov ecx, edi
call fcn.004027b0
mov edx, dword [0x717c9c]
mov eax, dword [edx + 0x1c]
mov eax, dword [eax + 0x1c]
cdq
sub eax, edx
sar eax, 1
mov ecx, 0x32
sub ecx, eax
mov dword [esp + 0x54], ecx
fild dword [esp + 0x54]
sub esp, 0xc
mov eax, esp
mov byte [esp + 0x7c], 7
fstp dword [esp + 0x60]
fldz
fst dword [esp + 0x68]
fld dword [esp + 0x60]
mov edx, dword [esp + 0x68]
fstp dword [esp + 0x6c]
mov dword [eax], edx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
fstp dword [esp + 0x70]
mov edx, dword [esp + 0x70]
mov dword [eax + 8], edx
call fcn.00403a20
jmp 0x40769b
xor eax, eax
mov byte [esp + 0x38], bl
push 0xa0
mov ecx, eax
mov dword [esi + 0x104], eax
call fcn.00404af0
mov eax, dword [esi + 0x104]
push eax
mov ecx, esi
call fcn.0043f5f0
push 0x458
call fcn.00604431
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x38], 9
je 0x4077f9
mov ecx, dword [0x717c9c]
lea eax, [esi + 0x10d]
push eax
mov eax, dword [ecx + 0x68]
mov edx, dword [eax + 0x195c]
imul edx, edx, 0x1934
mov ebp, dword [edx + eax + 0x920]
sub esp, 0x1c
mov edi, esp
mov eax, ebp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x3c], esp
mov byte [edi + 4], bl
lea ecx, [eax + 1]
jmp 0x407720
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x407720
sub eax, ecx
push eax
push ebp
mov ecx, edi
call fcn.004027b0
mov byte [esp + 0x58], 0xa
mov eax, dword [0x717c9c]
mov eax, dword [eax + 0x68]
mov ecx, dword [eax + 0x195c]
imul ecx, ecx, 0x1934
mov ebp, dword [ecx + eax + 0x91c]
sub esp, 0x1c
mov edi, esp
mov eax, ebp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x54], esp
mov byte [edi + 4], bl
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x407770
sub eax, ecx
push eax
push ebp
mov ecx, edi
call fcn.004027b0
mov edx, dword [0x717c9c]
mov ecx, dword [edx + 0x1c]
mov eax, dword [ecx + 0x1c]
cdq
sub eax, edx
sar eax, 1
mov edx, 0x64
sub edx, eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x58], edx
fild dword [esp + 0x58]
cdq
sub eax, edx
sar eax, 1
fstp dword [esp + 0x54]
sub eax, 0x64
mov dword [esp + 0x58], eax
sub esp, 0xc
fild dword [esp + 0x64]
mov eax, esp
mov byte [esp + 0x80], 9
fstp dword [esp + 0x6c]
mov ecx, dword [esp + 0x6c]
fld dword [esp + 0x60]
mov dword [eax], ecx
fstp dword [esp + 0x70]
mov edx, dword [esp + 0x70]
fldz
mov dword [eax + 4], edx
fstp dword [esp + 0x74]
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x5c]
call fcn.00408610
jmp 0x4077fb
xor eax, eax
push eax
mov ecx, esi
mov dword [esi + 0x108], eax
call fcn.0043f5f0
mov edx, dword [0x717c98]
cmp byte [edx + 0x29c], bl
jne 0x407831
mov eax, dword [esi + 0x108]
mov byte [eax + 0x1ec], 1
mov ecx, dword [esi + 0x108]
mov byte [ecx + 0x128], 1
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret