Function at 0x47347f
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x73eca0
push eax
mov eax, dword [0x93cc28]
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax + 0x1cc]
push edi
xor ebx, ebx
xor edi, edi
mov ebp, dword [ecx + 0x2c]
test ebp, ebp
je 0x4734c7
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.0047a550
mov ebp, dword [ebp + 0x18]
mov edi, dword [esp + 0x14]
cmp edi, ebp
jne 0x4734bd
xor edi, edi
jmp 0x4734c7
add edi, 0x10
test edi, edi
je 0x4734c7
mov ebx, dword [edi + 0x28]
mov ebp, dword [0x93c910]
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [ebp + 0x14]
mov dword [esp + 0x20], ebx
call fcn.0045e3a0
mov ebp, dword [ebp + 0x18]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x473a8e
lea ebp, [eax + 0x10]
test ebp, ebp
je 0x473a8e
mov edx, dword [esi]
push 1
push ebp
mov ecx, esi
call dword [edx + 0x2c]
test al, al
je 0x473524
mov eax, dword [esp + 0x40]
mov byte [esi + 0x4a8], 1
mov dword [esi + 0x4ac], ebx
mov dword [esi + 0x4b0], eax
jmp 0x47353f
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.0x473559.30014
xor ecx, ecx
mov cl, byte [eax + 0x473ab8]
jmp dword [ecx*4 + 0x473aa4]
test edi, edi
je 0x473a3a
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 [0x765ea0]
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 [0x93cc28]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 0x1cc]
call fcn.00612860
jmp 0x4737cf
test edi, edi
je 0x473a3a
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 [0x765ea0]
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 [0x93cc28]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 0x1cc]
call fcn.00612860
jmp 0x4737cf
test edi, edi
je 0x473a3a
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 [0x765ea0]
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 [0x93cc28]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 0x1cc]
call fcn.00612860
jmp 0x4737cf
test edi, edi
je 0x473a3a
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 [0x765ea0]
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 [0x93cc28]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 0x1cc]
call fcn.00612860
jmp 0x4737cf
test edi, edi
je 0x47376a
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 [0x765ea0]
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 + 0xa90]
test eax, eax
je 0x4737cf
mov edx, dword [eax + 0x30]
test edx, edx
je 0x473793
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 + 0x8c4]
push 0
push 0
push eax
mov ecx, ebp
call fcn.00424340
push 1
push 0
push 0
push 0
push 0
mov ecx, ebp
call fcn.00424340
mov ecx, dword [0x7664e0]
push 0
push 0
push ecx
mov ecx, ebp
call fcn.00420b20
test edi, edi
je 0x473a3a
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x473908
mov eax, 0x10624dd3
mov ebp, dword [0x93c8a8]
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.0045e410
mov ebp, dword [ebp + 0x18]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jne 0x473826
xor ebp, ebp
jmp 0x473829
lea ebp, [eax + 0x10]
xor ebx, ebx
test ebp, ebp
je 0x473908
mov cl, byte [ebp + 4]
cmp cl, 0x18
jae 0x47387f
mov eax, dword [edi + 0x84]
xor edx, edx
mov ebx, 0x3e8
and ecx, 0xff
div ebx
mov ebx, dword [ecx*4 + 0x93c8ac]
lea eax, [esp + 0x1c]
lea ecx, [ebx + 0x14]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x40]
push edx
push eax
call fcn.0045e480
mov ebx, dword [ebx + 0x18]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x47387c
xor ebx, ebx
jmp 0x47387f
lea ebx, [eax + 0x10]
test ebx, ebx
je 0x473908
mov cl, byte [esp + 0x40]
push 0
mov byte [esp + 0x24], cl
lea ecx, [esp + 0x24]
call fcn.00404760
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.006a9350
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 + 0x3c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x473908
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4738ff
cmp al, 0xff
je 0x4738ff
dec al
mov byte [ecx], al
jmp 0x473908
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [edi + 0x80]
test ecx, ecx
je 0x473a3a
mov eax, 0x10624dd3
mov ebp, dword [0x93c8a8]
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.0045e410
mov ebp, dword [ebp + 0x18]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jne 0x473957
xor ebp, ebp
jmp 0x47395a
lea ebp, [eax + 0x10]
xor ebx, ebx
test ebp, ebp
je 0x473a3a
mov cl, byte [ebp + 4]
cmp cl, 0x18
jae 0x4739b0
mov eax, dword [edi + 0x80]
xor edx, edx
mov ebx, 0x3e8
and ecx, 0xff
div ebx
mov ebx, dword [ecx*4 + 0x93c8ac]
lea eax, [esp + 0x1c]
lea ecx, [ebx + 0x14]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x40]
push edx
push eax
call fcn.0045e480
mov eax, dword [ebx + 0x18]
mov ebx, dword [esp + 0x1c]
cmp ebx, eax
jne 0x4739ad
xor ebx, ebx
jmp 0x4739b0
add ebx, 0x10
test ebx, ebx
je 0x473a3a
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.006a9350
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 + 0x3c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
test ecx, ecx
je 0x473a3a
mov al, byte [ecx - 1]
test al, al
je 0x473a30
cmp al, 0xff
je 0x473a30
dec al
mov byte [ecx - 1], al
jmp 0x473a3a
dec ecx
push ecx
call fcn.00726ea6
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 0x473a78
mov eax, dword [edi + 0x70]
test eax, eax
jne 0x473a6a
mov byte [esi + 0xb44], 1
mov eax, dword [0x93cc28]
mov ecx, dword [eax + 0x6c]
call fcn.005035f0
mov eax, dword [edi + 0x78]
test eax, eax
je 0x473a78
mov byte [esi + 0x470], 1
mov ecx, dword [0x93c98c]
call fcn.00461df0
mov ecx, dword [0x93c98c]
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