Function at 0x526594
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x52659c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x526c25
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.00526268
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x526bda
mov dl, 1
mov eax, dword [sym.imp.rtl120.bpl__Classes_TStringList_]
call sub.rtl120.bpl__Classes_TStringList__bctr_qqrv
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x526bd3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x526bbd
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
mov edx, dword [0x525300]
mov eax, 0x88
call sub.rtl120.bpl__System__New_qqripv
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526c40
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, dword [ebp - 0x1c]
mov byte [edx + 4], al
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526c5c
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, 8
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526c78
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
add eax, 0xc
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526c94
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526cb4
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
add eax, 0x14
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526cd4
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
add eax, 0x18
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526cf0
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
add eax, 0x1c
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526d14
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
add eax, 0x20
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526d34
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
add eax, 0x24
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526d54
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x38], eax
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526d78
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x3c], eax
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526d98
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
xor edx, edx
mov eax, dword [ebp - 8]
call sub.rtl120.bpl__Sysutils_SameText_qqrx20System_UnicodeStringt1
test al, al
je 0x5267f4
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], edx
jmp 0x52683b
xor eax, eax
push ebp
push 0x526826
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 8]
call sub.rtl120.bpl__Variants__VarFromUStr_qqrr8TVarDatax20System_UnicodeString
lea eax, [ebp - 0x50]
call sub.rtl120.bpl__Variants_VarToDateTime_qqrrx14System_Variant
mov eax, dword [ebp - 0x1c]
fstp qword [eax + 0x28]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52683b
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526db8
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
xor edx, edx
mov eax, dword [ebp - 0xc]
call sub.rtl120.bpl__Sysutils_SameText_qqrx20System_UnicodeStringt1
test al, al
je 0x52686e
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], edx
jmp 0x5268b5
xor eax, eax
push ebp
push 0x5268a0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x60]
mov edx, dword [ebp - 0xc]
call sub.rtl120.bpl__Variants__VarFromUStr_qqrr8TVarDatax20System_UnicodeString
lea eax, [ebp - 0x60]
call sub.rtl120.bpl__Variants_VarToDateTime_qqrrx14System_Variant
mov eax, dword [ebp - 0x1c]
fstp qword [eax + 0x30]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5268b5
push 0
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526dd4
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x1c]
add eax, 0x40
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526dec
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
je 0x5268f8
dec eax
je 0x526901
jmp 0x52690a
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x44], 1
jmp 0x526911
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x44], 2
jmp 0x526911
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x44], 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526e04
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x45], al
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526e20
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x46], al
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526e38
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x80], al
push 0
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526e5c
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x1c]
add eax, 0x48
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526e78
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x1c]
add eax, 0x4c
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526e98
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x1c]
add eax, 0x50
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526eac
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x1c]
add eax, 0x54
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526ecc
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x1c]
add eax, 0x58
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526ef0
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x1c]
add eax, 0x5c
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526f0c
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x1c]
add eax, 0x60
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526f28
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x1c]
add eax, 0x64
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526f4c
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x1c]
add eax, 0x68
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526f70
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x1c]
add eax, 0x6c
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526f94
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x1c]
add eax, 0x70
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526fb8
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x1c]
add eax, 0x74
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x526fdc
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x1c]
add eax, 0x78
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, 0x527000
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x1c]
add eax, 0x7c
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x1c]
call fcn.00527b1c
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x526614
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x526bda
mov eax, dword [ebp - 0x18]
call sub.rtl120.bpl__System_TObject_Free_qqrv
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x526c2c
lea eax, [ebp - 0x9c]
mov edx, 0xf
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x60]
mov edx, dword [sym.imp.rtl120.bpl___xp_14System_Variant]
mov ecx, 2
call sub.rtl120.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0x40]
mov edx, 8
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0xc]
mov edx, 3
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
ret