Function at 0x532641
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
or dword [ebp - 0x10], 0xffffffff
lea edi, [ebp - 0x46]
xor eax, eax
mov dword [ebp - 8], ecx
mov word [ebp - 0x48], ax
xor ecx, ecx
mov word [ebp - 0x30], ax
mov esi, ecx
stosd dword es:[edi], eax
mov ebx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2e], ecx
mov word [ebp - 0x2a], cx
stosd dword es:[edi], eax
mov dword [ebp - 0xc], ecx
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x1c]
push eax
mov edi, ecx
inc ecx
push 0x11
pop edx
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
call fcn.00532160
lea eax, [ebp - 0x20]
xor ecx, ecx
push eax
push 0x12
pop edx
inc ecx
call fcn.00532160
lea eax, [ebp - 0x24]
xor ecx, ecx
push eax
push 0x14
pop edx
inc ecx
call fcn.00532160
lea eax, [ebp - 0x48]
push eax
push edi
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 8]
call dword [0x101b255c]
test al, al
jne 0x5326f4
call dword [0x101b210c]
mov esi, eax
test esi, esi
jle 0x5326dc
movzx esi, si
or esi, 0x80070000
push esi
push dword [ebp - 8]
push 0x100246f4
push 1
call fcn.005209b0
add esp, 0x10
jmp 0x532876
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
cmp word [ebp - 0x48], bx
je 0x532711
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x40]
jmp 0x532716
xor eax, eax
mov dword [ebp - 0x40], eax
and dword [ebp - 0x50], ebx
and dword [ebp - 0x4c], ebx
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x30]
push 0x4020
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x38]
push 7
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x18
push eax
push 0x100080
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 0x40
push eax
call dword [0x101b2560]
test eax, eax
jns 0x53276b
mov esi, eax
or esi, 0x10000000
push esi
push dword [ebp - 8]
push 0x10024728
jmp 0x5326e5
push 0x400
push 0
call dword [0x101b218c]
push eax
call dword [0x101b2188]
mov ebx, eax
test ebx, ebx
jne 0x5327af
call dword [0x101b210c]
mov esi, eax
test esi, esi
jle 0x53279a
movzx esi, si
or esi, 0x80070000
push esi
push 0x10024750
push 1
call fcn.005209b0
add esp, 0xc
jmp 0x532876
push 0x2f
push 0x400
push ebx
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x10]
call dword [0x101b2564]
test eax, eax
jns 0x5327d8
mov esi, eax
or esi, 0x10000000
push esi
push 0x1002477c
jmp 0x5327a0
and dword [ebp - 0x14], esi
cmp dword [ebx], esi
jbe 0x532876
lea eax, [ebx + 4]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
call fcn.00532470
mov esi, eax
test esi, esi
js 0x53285b
cmp dword [ebp - 4], 0
mov edi, dword [ebp - 0xc]
je 0x53281e
push dword [ebp - 4]
push dword [ebp - 8]
push edi
push 0x100247a8
push 1
call fcn.005209b0
add esp, 0x14
jmp 0x532831
push dword [ebp - 8]
push edi
push 0x100247e0
push 1
call fcn.005209b0
add esp, 0x10
push edi
xor edi, edi
push edi
call dword [0x101b218c]
push eax
call dword [0x101b2180]
push dword [ebp - 4]
mov dword [ebp - 0xc], edi
push edi
call dword [0x101b218c]
push eax
call dword [0x101b2180]
mov dword [ebp - 4], edi
jmp 0x53285e
mov edi, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
inc ecx
add eax, 4
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
cmp ecx, dword [ebx]
jb 0x5327e9
cmp dword [ebp - 0x1c], 0
jne 0x532888
push 0
push 0x11
pop edx
xor ecx, ecx
call fcn.00532160
cmp dword [ebp - 0x20], 0
jne 0x53289a
push 0
push 0x12
pop edx
xor ecx, ecx
call fcn.00532160
cmp dword [ebp - 0x24], 0
jne 0x5328ac
push 0
push 0x14
pop edx
xor ecx, ecx
call fcn.00532160
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x5328c8
push eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [0x101b2528]
mov edi, dword [ebp - 4]
cmp dword [ebp - 0x10], 0xffffffff
je 0x5328d7
push dword [ebp - 0x10]
call dword [0x101b2524]
test ebx, ebx
je 0x5328eb
push ebx
push 0
call dword [0x101b218c]
push eax
call dword [0x101b2180]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x532902
push eax
push 0
call dword [0x101b218c]
push eax
call dword [0x101b2180]
test edi, edi
je 0x532916
push edi
push 0
call dword [0x101b218c]
push eax
call dword [0x101b2180]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret