Function at 0x4674bf
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6868a0
push eax
mov eax, dword [0x8189b8]
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax + 0x18c]
push edi
xor ebx, ebx
xor edi, edi
mov ebp, dword [ecx + 0x2c]
test ebp, ebp
je 0x467507
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [ebp + 0x14]
mov dword [esp + 0x18], edx
call fcn.0046d850
mov ebp, dword [ebp + 0x18]
mov edi, dword [esp + 0x14]
cmp edi, ebp
jne 0x4674fd
xor edi, edi
jmp 0x467507
add edi, 0x10
test edi, edi
je 0x467507
mov ebx, dword [edi + 0x28]
mov ebp, dword [0x81875c]
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [ebp + 0x14]
mov dword [esp + 0x20], ebx
call fcn.00453230
mov ebp, dword [ebp + 0x18]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x467aca
lea ebp, [eax + 0x10]
test ebp, ebp
je 0x467aca
mov edx, dword [esi]
push 1
push ebp
mov ecx, esi
call dword [edx + 0x20]
test al, al
je 0x467564
mov eax, dword [esp + 0x40]
mov byte [esi + 0x4a8], 1
mov dword [esi + 0x4ac], ebx
mov dword [esi + 0x4b0], eax
jmp 0x46757f
mov byte [esi + 0x4a8], 0
mov dword [esi + 0x4ac], 0xffffffff
mov dword [esi + 0x4b0], 0
mov ebp, dword [ebp]
lea eax, [ebp - 0x753a]
cmp eax, 0x32
ja case.0x467599.30014
xor ecx, ecx
mov cl, byte [eax + 0x467af4]
jmp dword [ecx*4 + 0x467ae0]
test edi, edi
je 0x467a76
mov edx, dword [esi + 0x50]
mov eax, 0x3ecccccd
lea ecx, [esi + 0x50]
push eax
push eax
push eax
mov dword [esi + 0x354], eax
mov dword [esi + 0x350], eax
call dword [edx + 0x34]
fild dword [edi + 0x24]
lea eax, [esi + 0x8c]
push 1
fmul dword [0x6a3b60]
fstp dword [esi + 0x350]
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov ecx, edx
mov dword [esp + 0x28], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x354], ecx
mov edx, dword [0x8189b8]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 0x18c]
call fcn.0058aaa0
jmp 0x46780b
test edi, edi
je 0x467a76
mov edx, dword [esi + 0x50]
mov eax, 0x3ecccccd
lea ecx, [esi + 0x50]
push eax
push eax
push eax
mov dword [esi + 0x354], eax
mov dword [esi + 0x350], eax
call dword [edx + 0x34]
fild dword [edi + 0x24]
lea eax, [esi + 0x8c]
push 1
fmul dword [0x6a3b60]
fstp dword [esi + 0x350]
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov ecx, edx
mov dword [esp + 0x28], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x354], ecx
mov edx, dword [0x8189b8]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 0x18c]
call fcn.0058aaa0
jmp 0x46780b
test edi, edi
je 0x467a76
mov edx, dword [esi + 0x50]
mov eax, 0x3ecccccd
lea ecx, [esi + 0x50]
push eax
push eax
push eax
mov dword [esi + 0x354], eax
mov dword [esi + 0x350], eax
call dword [edx + 0x34]
fild dword [edi + 0x24]
lea eax, [esi + 0x8c]
push 1
fmul dword [0x6a3b60]
fstp dword [esi + 0x350]
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov ecx, edx
mov dword [esp + 0x28], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x354], ecx
mov edx, dword [0x8189b8]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 0x18c]
call fcn.0058aaa0
jmp 0x46780b
test edi, edi
je 0x467a76
mov edx, dword [esi + 0x50]
mov eax, 0x3e4ccccd
lea ecx, [esi + 0x50]
push eax
push eax
push eax
mov dword [esi + 0x354], eax
mov dword [esi + 0x350], eax
call dword [edx + 0x34]
fild dword [edi + 0x24]
lea eax, [esi + 0x8c]
push 1
fmul dword [0x6a3b60]
fstp dword [esi + 0x350]
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov ecx, edx
mov dword [esp + 0x28], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x354], ecx
mov edx, dword [0x8189b8]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 0x18c]
call fcn.0058aaa0
jmp 0x46780b
test edi, edi
je 0x4677aa
mov edx, dword [esi + 0x50]
mov eax, 0x3ecccccd
lea ecx, [esi + 0x50]
push eax
push eax
push eax
mov dword [esi + 0x354], eax
mov dword [esi + 0x350], eax
call dword [edx + 0x34]
fild dword [edi + 0x24]
lea eax, [esi + 0x8c]
fmul dword [0x6a3b60]
fstp dword [esi + 0x350]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov ecx, edx
mov dword [esp + 0x24], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x354], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xa8c]
mov edx, dword [eax + 0x30]
test edx, edx
je 0x4677cf
mov ecx, dword [eax + 0x34]
mov eax, 0x88888889
sub ecx, edx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
push 1
push 0
lea eax, [edx - 1]
lea ebp, [esi + 0x8c0]
push 0
push 0
push eax
mov ecx, ebp
call fcn.0041be40
push 1
push 0
push 0
push 0
push 0
mov ecx, ebp
call fcn.0041be40
mov ecx, dword [0x6a4184]
push 0
push 0
push ecx
mov ecx, ebp
call fcn.00418700
test edi, edi
je 0x467a76
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x467944
mov eax, 0x10624dd3
mov ebp, dword [0x8186f4]
mul ecx
shr edx, 6
lea ecx, [esp + 0x1c]
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [esp + 0x40]
push eax
push ecx
shl edx, 3
lea ecx, [ebp + 0x14]
mov dword [esp + 0x48], edx
call fcn.004532a0
mov ebp, dword [ebp + 0x18]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jne 0x467862
xor ebp, ebp
jmp 0x467865
lea ebp, [eax + 0x10]
xor ebx, ebx
test ebp, ebp
je 0x467944
mov cl, byte [ebp + 4]
cmp cl, 0x18
jae 0x4678bb
mov eax, dword [edi + 0x84]
xor edx, edx
mov ebx, 0x3e8
and ecx, 0xff
div ebx
mov ebx, dword [ecx*4 + 0x8186f8]
lea eax, [esp + 0x1c]
lea ecx, [ebx + 0x14]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x40]
push edx
push eax
call fcn.00453310
mov ebx, dword [ebx + 0x18]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x4678b8
xor ebx, ebx
jmp 0x4678bb
lea ebx, [eax + 0x10]
test ebx, ebx
je 0x467944
mov cl, byte [esp + 0x40]
push 0
mov byte [esp + 0x24], cl
lea ecx, [esp + 0x24]
call fcn.004031c0
push 0x64
lea edx, [esp + 0x44]
push 0xffffffffffffffff
lea eax, [esp + 0x24]
push edx
mov edx, dword [edi + 0x84]
push eax
lea ecx, [esp + 0x30]
push 0
push ecx
push edx
push ebp
mov dword [esp + 0x58], 0
call fcn.006157b0
mov eax, dword [esi]
add esp, 0x20
lea ecx, [esp + 0x20]
push 0
push 1
push ebx
push ebp
push ecx
push 1
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x467944
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x46793b
cmp al, 0xff
je 0x46793b
dec al
mov byte [ecx], al
jmp 0x467944
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [edi + 0x80]
test ecx, ecx
je 0x467a76
mov eax, 0x10624dd3
mov ebp, dword [0x8186f4]
mul ecx
shr edx, 6
lea ecx, [esp + 0x1c]
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [esp + 0x40]
push eax
push ecx
shl edx, 3
lea ecx, [ebp + 0x14]
mov dword [esp + 0x48], edx
call fcn.004532a0
mov ebp, dword [ebp + 0x18]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jne 0x467993
xor ebp, ebp
jmp 0x467996
lea ebp, [eax + 0x10]
xor ebx, ebx
test ebp, ebp
je 0x467a76
mov cl, byte [ebp + 4]
cmp cl, 0x18
jae 0x4679ec
mov eax, dword [edi + 0x80]
xor edx, edx
mov ebx, 0x3e8
and ecx, 0xff
div ebx
mov ebx, dword [ecx*4 + 0x8186f8]
lea eax, [esp + 0x1c]
lea ecx, [ebx + 0x14]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x40]
push edx
push eax
call fcn.00453310
mov eax, dword [ebx + 0x18]
mov ebx, dword [esp + 0x1c]
cmp ebx, eax
jne 0x4679e9
xor ebx, ebx
jmp 0x4679ec
add ebx, 0x10
test ebx, ebx
je 0x467a76
mov cl, byte [esp + 0x40]
xor eax, eax
mov byte [esp + 0x20], cl
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
push 0x64
lea edx, [esp + 0x44]
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
push edx
push ecx
push eax
mov eax, dword [edi + 0x80]
lea edx, [esp + 0x34]
mov dword [esp + 0x4c], 1
push edx
push eax
push ebp
call fcn.006157b0
mov edx, dword [esi]
add esp, 0x20
lea eax, [esp + 0x20]
mov ecx, esi
push 0
push 1
push ebx
push ebp
push eax
push 0
call dword [edx + 0x30]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
test ecx, ecx
je 0x467a76
mov al, byte [ecx - 1]
test al, al
je 0x467a6c
cmp al, 0xff
je 0x467a6c
dec al
mov byte [ecx - 1], al
jmp 0x467a76
dec ecx
push ecx
call fcn.006713a0
add esp, 4
mov edx, dword [esi]
push 0xffffffffffffffff
push 1
push 0
push 1
push 0
mov ecx, esi
call dword [edx + 0x18]
test edi, edi
je 0x467ab4
mov eax, dword [edi + 0x70]
test eax, eax
jne 0x467aa6
mov byte [esi + 0xb40], 1
mov eax, dword [0x8189b8]
mov ecx, dword [eax + 0x6c]
call fcn.004ec6b0
mov eax, dword [edi + 0x78]
test eax, eax
je 0x467ab4
mov byte [esi + 0x470], 1
mov ecx, dword [0x818794]
call fcn.00456a90
mov ecx, dword [0x818794]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4