Function at 0x5325a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x80e8d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
push 1
lea ecx, [esp + 0x30]
lea eax, [esi + 0x1b4]
push eax
call fcn.007a4753
mov ecx, dword [esi + 0x28c]
push 0
push 0
push 0x1032
push ecx
mov dword [esp + 0x64], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x532724
mov al, byte [esi + 0x903]
test al, al
jne 0x53264b
lea ecx, [esp + 0x2c]
call fcn.007a478f
mov al, byte [esi + 0x900]
test al, al
jne 0x5329ac
mov edx, dword [esi + 0x3e4]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5329ac
push edi
push 0x64
push 0x14
mov ecx, esi
call fcn.00548310
mov byte [esi + 0x900], 1
jmp 0x5329ac
mov al, byte [esi + 0x900]
test al, al
je 0x532665
push 0x14
mov ecx, esi
call fcn.00532a70
mov byte [esi + 0x900], 0
mov eax, dword [esi + 0x1f0]
mov ecx, dword [esi + 0x1e8]
mov ebx, dword [esi + 0x1ec]
add eax, ecx
mov ecx, dword [esi + 0x1f4]
lea edx, [esp + 0x18]
adc ecx, ebx
lea ebx, [esi + 0x3c8]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x1c], eax
call fcn.0052cf80
mov eax, dword [esi + 0x3e4]
mov edi, dword [sym.imp.USER32.dll_IsWindowVisible]
push eax
call edi
test eax, eax
je 0x5326e2
mov al, byte [esi + 0x901]
test al, al
jne 0x5329ac
cmp dword [esi + 0x82c], 0x10
je 0x5329ac
push 0
push 0x32
push 0x1e
mov ecx, esi
call fcn.00548310
mov byte [esi + 0x901], 1
jmp 0x5329ac
push 0x10
mov ecx, ebx
call fcn.0052bb70
mov ecx, dword [esi + 0x3e4]
push ecx
call edi
test eax, eax
jne 0x5329ac
push ebx
lea ecx, [esp + 0x1c]
call fcn.005329e0
mov edi, dword [eax + 0xc]
mov edx, dword [eax + 4]
push 5
mov ecx, ebx
sub edi, edx
call fcn.007d71a9
push edi
mov ecx, esi
call fcn.00540610
jmp 0x5329a6
mov al, byte [esi + 0x900]
test al, al
je 0x53273e
push 0x14
mov ecx, esi
call fcn.00532a70
mov byte [esi + 0x900], 0
mov al, byte [esi + 0x901]
test al, al
je 0x532758
push 0x1e
mov ecx, esi
call fcn.00532a70
mov byte [esi + 0x901], 0
cmp edi, 1
jne 0x532820
lea edx, [esp + 0x18]
lea ecx, [esi + 0x270]
push edx
call fcn.0054a080
mov eax, dword [eax + 4]
mov edi, dword [eax]
mov eax, dword [esp + 0x1c]
push eax
call fcn.007d7349
add esp, 4
lea ecx, [esp + 0x14]
lea ebx, [esi + 0x1d8]
push edi
push ecx
mov ecx, ebx
call fcn.00532a10
mov eax, dword [esp + 0x14]
lea edi, [esi + 0x3c8]
push eax
mov ecx, edi
mov edx, dword [eax + 0x28]
mov byte [esp + 0x58], 1
cmp edx, 0x10
sete byte [esp + 0x17]
call fcn.0052be70
mov al, byte [esi + 0x903]
test al, al
jne 0x5327c6
push 1
jmp 0x5327f9
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
add edx, eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x18], edx
adc eax, ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.0052cf80
mov al, byte [esp + 0x13]
neg al
sbb eax, eax
and eax, 3
add eax, 0x11
push eax
mov ecx, edi
call fcn.0052bb70
mov eax, dword [esp + 0x14]
mov byte [esp + 0x54], 0
test eax, eax
je 0x53286f
mov edx, dword [eax + 0x14]
mov ecx, dword [edx + 4]
mov edx, dword [ecx + eax + 0x14]
lea ecx, [ecx + eax + 0x14]
call dword [edx + 8]
jmp 0x53286f
lea ebx, [esi + 0x1d8]
lea edi, [esi + 0x3c8]
push ebx
mov ecx, edi
call fcn.0052c8e0
mov al, byte [esi + 0x903]
test al, al
jne 0x532842
push 2
jmp 0x532868
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
add eax, ecx
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x18], eax
adc ecx, edx
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, edi
call fcn.0052cf80
push 0x12
mov ecx, edi
call fcn.0052bb70
lea ecx, [esp + 0x2c]
call fcn.007a478f
mov eax, dword [esi + 0x3e4]
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
push eax
call ebx
test eax, eax
jne 0x532917
push edi
lea ecx, [esp + 0x3c]
call fcn.005329e0
mov ebx, dword [eax + 0xc]
mov ecx, dword [eax + 4]
sub ebx, ecx
push 5
mov ecx, edi
call fcn.007d71a9
mov ecx, dword [esi + 0x3ac]
mov edx, dword [esi + 0x3a8]
add ecx, edx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], 0x3f3
lea edi, [ecx + ebx + 1]
lea ecx, [esi + 0x8c]
call fcn.0043f1a0
mov dword [eax + 0xc], edi
lea eax, [esi + 0x2e8]
test eax, eax
jne 0x5328e7
mov dword [esp + 0x14], eax
jmp 0x5328ee
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
lea edi, [ebx + 1]
push ecx
lea ecx, [esi + 0x7c]
call fcn.004d0da0
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, esi
mov dword [eax + 0xc], edi
call fcn.004fd610
mov dword [esi + 0x850], ebx
jmp 0x5329ac
mov edx, dword [esi + 0x3e4]
push edx
call ebx
test eax, eax
je 0x5329ac
push edi
lea ecx, [esp + 0x3c]
call fcn.005329e0
mov edi, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x850]
sub edi, ecx
cmp eax, edi
je 0x5329ac
mov eax, dword [esi + 0x3ac]
mov ebx, dword [esi + 0x3a8]
lea ecx, [esp + 0x18]
add eax, ebx
push ecx
lea ecx, [esi + 0x8c]
lea ebx, [eax + edi + 1]
mov dword [esp + 0x1c], 0x3f3
call fcn.0043f1a0
mov dword [eax + 0xc], ebx
lea eax, [esi + 0x2e8]
test eax, eax
jne 0x532981
mov dword [esp + 0x14], eax
jmp 0x532988
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x14]
lea ecx, [esi + 0x7c]
push eax
lea ebx, [edi + 1]
call fcn.004d0da0
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, esi
mov dword [eax + 0xc], ebx
call fcn.004fd610
mov dword [esi + 0x850], edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 0xffffffff
call fcn.007a478f
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4