Function at 0x652098
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x6522d7
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
movzx eax, byte [0x6522e8]
push eax
push 0
push 0
lea eax, [ebp - 4]
push eax
mov edx, 0x6522ec
mov cl, 1
mov eax, dword [0x51bd40]
call fcn.0051d1e0
xor eax, eax
push ebp
push 0x6522a2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 1]
cdq
push edx
push eax
mov edx, 0x652300
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov cl, 6
mov dl, 1
mov eax, dword [0x51bd40]
call fcn.0051c1e8
mov ecx, eax
test ecx, ecx
je 0x65211e
sub ecx, 0xffffffe4
mov edx, 0x652310
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x28]
test ebx, ebx
jl 0x652273
inc ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esi
mov edx, 0x652310
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
cmp dword [eax + 8], 5
jge 0x652273
push 1
push 0
movzx eax, byte [0x6522e8]
push eax
push 0
push 0
lea eax, [ebp - 8]
push eax
mov edx, 0x6522ec
mov cl, 1
mov eax, dword [0x51bd40]
call fcn.0051d1e0
xor eax, eax
push ebp
push 0x65225c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call sub.rtl120.bpl__System__UStrLen_qqrx20System_UnicodeString
cmp eax, 0x64
jle 0x6521ca
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, 0x61
mov edx, 1
call sub.rtl120.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
lea eax, [ebp - 0x18]
mov edx, 0x652320
call sub.rtl120.bpl__System__UStrCat_qqrr20System_UnicodeStringx20System_UnicodeString
mov ecx, dword [ebp - 0x18]
mov edx, 0x652334
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x50]
jmp 0x6521dc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, 0x652334
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x50]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x24]
mov edx, 0x652344
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x50]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x30]
mov edx, 0x652358
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x50]
mov eax, dword [ebp - 0x14]
call fcn.00652040
cdq
push edx
push eax
mov edx, 0x65236c
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x90]
mov edx, 0x652380
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov edx, 0x652310
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 8]
call fcn.0052251c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x652263
lea eax, [ebp - 8]
call sub.rtl120.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
ret
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x84]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00651f44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6522a9
lea eax, [ebp - 4]
call sub.rtl120.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
ret