Function at 0x4ac3d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x656c89
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x6fc0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x58]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SPainter::constructor_void_]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax + 0xd0]
call edx
lea ecx, [ebp - 0x20]
call fcn.004aa030
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0x50]
call eax
push 1
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x34]
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::GetState_void_]
and eax, 0x10
je 0x4ac46e
mov dword [ebp - 0x38], 3
jmp 0x4ac4a8
mov ecx, dword [ebp - 0x34]
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::GetState_void_]
and eax, 4
jne 0x4ac48a
mov ecx, dword [ebp - 0x34]
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::GetState_void_]
and eax, 2
je 0x4ac493
mov dword [ebp - 0x38], 2
jmp 0x4ac4a8
mov ecx, dword [ebp - 0x34]
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::GetState_void_]
and eax, 1
je 0x4ac4a8
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x14c], 0
je 0x4ac509
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x14c]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14c]
mov eax, dword [edx + 0x1c]
call eax
cmp dword [ebp - 0x3c], eax
jl 0x4ac4df
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00492090
push eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x14c]
mov edx, dword [ebp - 0x34]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x14c]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x188], 0
je 0x4ac622
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x188]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x188]
mov eax, dword [edx + 0x1c]
call eax
cmp dword [ebp - 0x40], eax
jl 0x4ac544
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x48]
call fcn.004ac6a0
lea ecx, [ebp - 0x20]
call fcn.00492790
mov esi, eax
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x188]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x188]
mov eax, dword [edx + 0x14]
call eax
sub esi, dword [eax]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x20]
call fcn.00492540
mov esi, eax
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x188]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x188]
mov eax, dword [edx + 0x14]
call eax
sub esi, dword [eax + 4]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x188]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x188]
mov edx, dword [eax + 0x14]
call edx
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x30]
call fcn.004a9ff0
mov ecx, eax
call fcn.00492090
push eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x188]
mov edx, dword [edx]
mov ecx, dword [eax + 0x188]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
call eax
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0xd4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SPainter::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret 4