Function at 0x4705c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59d7ce
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x134]
sub eax, dword [ebx + 0x130]
test eax, 0xfffffffc
je 0x470696
mov eax, dword [ebx + 0x130]
mov ecx, ebx
mov edx, dword [ebx]
push dword [eax]
call dword [edx + 0x2c]
mov esi, dword [ebx + 0x130]
mov ecx, dword [ebx + 0x134]
mov dword [esp + 0x10], ecx
lea edi, [esi + 4]
cmp edi, ecx
je 0x470658
sub esi, edi
mov eax, ecx
nop
mov ecx, dword [edi]
cmp dword [esi + edi], ecx
je 0x470651
mov dword [edi], 0
mov eax, dword [esi + edi]
mov dword [esi + edi], ecx
test eax, eax
je 0x47064d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
add edi, 4
cmp edi, eax
jne 0x470630
mov edi, dword [ebx + 0x134]
lea esi, [edi - 4]
cmp esi, edi
je 0x470678
mov ecx, dword [esi]
test ecx, ecx
je 0x470671
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
add esi, 4
cmp esi, edi
jne 0x470665
add dword [ebx + 0x134], 0xfffffffc
mov eax, dword [ebx + 0x134]
sub eax, dword [ebx + 0x130]
test eax, 0xfffffffc
jne 0x470605
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 0x12c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x6403e4]
test eax, eax
jne 0x4706fa
push 0x360
call fcn.00551c81
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 1
test eax, eax
je 0x4706ee
mov ecx, eax
call fcn.00455930
jmp 0x4706f0
xor eax, eax
mov byte [esp + 0x38], 0
mov dword [0x6403e4], eax
add eax, 0x64
lea ecx, [esp + 0x20]
push eax
call fcn.00431aa0
mov edi, dword [esp + 0x24]
xor esi, esi
mov ecx, dword [esp + 0x20]
sub edi, ecx
sar edi, 2
test edi, edi
je 0x47073e
lea ebx, [ebx]
mov eax, dword [ebx]
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ecx + esi*4]
mov ecx, ebx
call dword [eax + 0x134]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, edi
jb 0x470720
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x38], 2
mov eax, dword [0x6403e4]
test eax, eax
jne 0x470793
push 0x360
call fcn.00551c81
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 3
test eax, eax
je 0x470787
mov ecx, eax
call fcn.00455930
jmp 0x470789
xor eax, eax
mov byte [esp + 0x38], 2
mov dword [0x6403e4], eax
add eax, 0x34
lea ecx, [esp + 0x14]
push eax
call fcn.00431aa0
mov edi, dword [esp + 0x18]
xor esi, esi
mov eax, dword [esp + 0x14]
sub edi, eax
sar edi, 2
test edi, edi
je 0x4707d9
push dword [eax + esi*4]
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.00470510
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4707d0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
inc esi
cmp esi, edi
jb 0x4707b3
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x47088d
or dword [eax + 0x134], 8
mov esi, dword [ebx + 0x104]
cmp dword [esi + 0x9c], 0
jne 0x470869
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
test eax, eax
je 0x47085f
mov eax, dword [esi]
mov edi, dword [esi + 0x40]
push esi
mov dword [esp + 0x14], esi
call dword [eax + 4]
lea eax, [esp + 0x10]
mov byte [esp + 0x38], 4
push eax
lea ecx, [edi + 0x98]
call fcn.00409df0
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x10]
test eax, eax
je 0x470840
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47085f
push 0
push 0
push 0x5f5
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esi + 0x9c], 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
test eax, eax
je 0x47088d
mov ecx, dword [esi + 0x40]
sub esp, 0x10
movdqu xmm0, xmmword [esi + 0x54]
mov eax, esp
mov edx, dword [ecx]
movdqu xmmword [eax], xmm0
call dword [edx + 0x2c]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47089e
push eax
call fcn.00551995
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4708af
push eax
call fcn.00551995
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret