Function at 0x42eb6c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42f4d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x42f4b7
mov eax, dword [ebp - 4]
call fcn.0042fecc
xor eax, eax
push ebp
push 0x42f4a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042fe9c
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call sub.rtl120.bpl__Classes_Rect_qqriiii
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x54]
mov eax, dword [0x4bc5f8]
call sub.rtl120.bpl__System_LoadResString_qqrp20System_TResStringRec
mov eax, dword [ebp - 0x54]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call sub.rtl120.bpl__System__CallDynaInst_qqrv
xor eax, eax
push ebp
push 0x42f488
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00422d50
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0x10], eax
test byte [ebp - 5], 8
je 0x42eceb
mov eax, dword [ebp - 4]
call fcn.004306b4
cmp dword [eax + 8], 0
jle 0x42ec5b
mov eax, dword [ebp - 4]
call fcn.004306b4
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00422d50
mov edi, eax
dec edi
test edi, edi
jl 0x42eceb
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
mov eax, dword [eax + 0x20]
cmp dword [eax + 8], 0
jle 0x42ece7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call sub.rtl120.bpl__Classes_Rect_qqriiii
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [0x4bc5f8]
call sub.rtl120.bpl__System_LoadResString_qqrp20System_TResStringRec
mov eax, dword [ebp - 0x58]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call sub.rtl120.bpl__System__CallDynaInst_qqrv
inc ebx
dec edi
jne 0x42ec70
test byte [ebp - 5], 4
je 0x42eeff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00422d50
mov edi, eax
dec edi
test edi, edi
jl 0x42edd5
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
call fcn.0042aa3c
test al, al
je 0x42edcd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
mov eax, dword [eax + 0x34]
call fcn.0042cfd8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
mov eax, dword [eax + 0x18]
pop edx
pop ecx
call fcn.0042eb54
test al, al
jne 0x42edcd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.0042cfb4
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call sub.rtl120.bpl__Classes_Rect_qqriiii
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [0x4bc5f8]
call sub.rtl120.bpl__System_LoadResString_qqrp20System_TResStringRec
mov eax, dword [ebp - 0x5c]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call sub.rtl120.bpl__System__CallDynaInst_qqrv
inc ebx
dec edi
jne 0x42ed0e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00422d50
mov edi, eax
sub edi, 2
test edi, edi
jl 0x42ef0f
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
cmp dword [eax + 0x34], 0
je 0x42eef5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
mov eax, dword [eax + 0x34]
call fcn.0042d0d0
add al, 0xfe
sub al, 2
jae 0x42eef5
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0042db98
call fcn.0042aa3c
test al, al
jne 0x42eef5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
lea edx, [ebp - 0x20]
call fcn.0042a76c
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0042db98
lea edx, [ebp - 0x30]
call fcn.0042a76c
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.user32.dll_IntersectRect
test eax, eax
je 0x42eef5
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.user32.dll_EqualRect
test eax, eax
je 0x42eeac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.0042d0e0
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call sub.rtl120.bpl__Classes_Rect_qqriiii
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [0x4bc5f8]
call sub.rtl120.bpl__System_LoadResString_qqrp20System_TResStringRec
mov eax, dword [ebp - 0x60]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call sub.rtl120.bpl__System__CallDynaInst_qqrv
inc ebx
dec edi
jne 0x42edf0
jmp 0x42ef0f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00422d50
add eax, eax
add dword [ebp - 0xc], eax
test byte [ebp - 5], 2
je 0x42efe2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00422d50
mov ebx, eax
dec ebx
cmp ebx, 1
jl 0x42eff0
inc dword [ebp - 0xc]
mov esi, ebx
dec esi
jmp 0x42ef39
dec esi
test esi, esi
jle 0x42ef69
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0042db98
cmp dword [eax + 0x34], 0
je 0x42ef69
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0042db98
mov eax, dword [eax + 0x34]
call fcn.0042d0d0
cmp al, 3
je 0x42ef38
test esi, esi
jl 0x42ef8e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0042db98
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
pop edx
call fcn.0042c770
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call sub.rtl120.bpl__Classes_Rect_qqriiii
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [0x4bc5f8]
call sub.rtl120.bpl__System_LoadResString_qqrp20System_TResStringRec
mov eax, dword [ebp - 0x64]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call sub.rtl120.bpl__System__CallDynaInst_qqrv
dec ebx
test ebx, ebx
jne 0x42ef30
jmp 0x42eff0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00422d50
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00422d50
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x42f1a3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00422d50
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x42f15a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
mov eax, dword [eax + 0x30]
call fcn.00422d50
mov esi, eax
dec esi
cmp esi, 0
jl 0x42f10f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0042979c
mov edx, dword [0x421f50]
call sub.rtl120.bpl__System__IsClass_qqrp14System_TObjectp17System_TMetaClass
test al, al
jne 0x42f0ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0042979c
mov edx, dword [0x421e90]
call sub.rtl120.bpl__System__IsClass_qqrp14System_TObjectp17System_TMetaClass
test al, al
jne 0x42f0ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0042979c
mov edx, dword [0x422154]
call sub.rtl120.bpl__System__IsClass_qqrp14System_TObjectp17System_TMetaClass
test al, al
jne 0x42f0ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0042979c
mov edx, dword [0x422224]
call sub.rtl120.bpl__System__IsClass_qqrp14System_TObjectp17System_TMetaClass
test al, al
je 0x42f105
test ebx, ebx
jg 0x42f0ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00422d50
dec eax
jne 0x42f105
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.00422d98
dec esi
cmp esi, 0xffffffff
jne 0x42f040
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
call fcn.00429ac0
test al, al
je 0x42f150
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
mov eax, dword [eax + 0x30]
call fcn.00422d50
test eax, eax
jne 0x42f150
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
call sub.rtl120.bpl__System_TObject_Free_qqrv
dec ebx
cmp ebx, 0xffffffff
jne 0x42f01f
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call sub.rtl120.bpl__Classes_Rect_qqriiii
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [0x4bc5f8]
call sub.rtl120.bpl__System_LoadResString_qqrp20System_TResStringRec
mov eax, dword [ebp - 0x68]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call sub.rtl120.bpl__System__CallDynaInst_qqrv
test byte [ebp - 5], 1
je 0x42f2ea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00422d50
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x42f2f8
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
call fcn.00429ac0
test al, al
jne 0x42f2de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
call fcn.0042aa3c
test al, al
je 0x42f2de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
mov eax, dword [eax + 0x34]
call fcn.0042d0b4
movzx esi, ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
call fcn.0042c3b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
call fcn.00429ac0
test al, al
je 0x42f295
test ebx, ebx
jle 0x42f288
mov edx, ebx
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0042db98
call fcn.0042aa3c
test al, al
je 0x42f288
mov edi, ebx
dec edi
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0042db98
mov eax, dword [eax + 0x34]
call fcn.0042d0b4
add ax, si
push eax
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0042db98
mov eax, dword [eax + 0x34]
pop edx
call fcn.0042d0bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00422d98
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call sub.rtl120.bpl__Classes_Rect_qqriiii
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [0x4bc5f8]
call sub.rtl120.bpl__System_LoadResString_qqrp20System_TResStringRec
mov eax, dword [ebp - 0x6c]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call sub.rtl120.bpl__System__CallDynaInst_qqrv
dec ebx
cmp ebx, 0xffffffff
jne 0x42f1c4
jmp 0x42f2f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00422d50
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00422d50
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x42f42e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00422d50
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x42f3e5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
cmp dword [eax + 0x34], 0
je 0x42f39a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
mov esi, dword [eax + 0x34]
mov eax, esi
call fcn.0042d0b4
test ax, ax
je 0x42f364
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00422d50
dec eax
jne 0x42f39a
mov eax, esi
call fcn.0042cfa8
test al, al
jne 0x42f39a
mov eax, esi
call fcn.0042d0c4
test al, al
jne 0x42f39a
mov eax, esi
call fcn.0042d0d0
sub al, 2
jb 0x42f393
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00422d50
dec eax
jne 0x42f39a
mov eax, esi
call sub.rtl120.bpl__System_TObject_Free_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
call fcn.00429ac0
test al, al
je 0x42f3db
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
mov eax, dword [eax + 0x30]
call fcn.00422d50
test eax, eax
jne 0x42f3db
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0042db98
call sub.rtl120.bpl__System_TObject_Free_qqrv
dec ebx
cmp ebx, 0xffffffff
jne 0x42f327
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call sub.rtl120.bpl__Classes_Rect_qqriiii
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [0x4bc5f8]
call sub.rtl120.bpl__System_LoadResString_qqrp20System_TResStringRec
mov eax, dword [ebp - 0x70]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call sub.rtl120.bpl__System__CallDynaInst_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f48f
call sub.rtl120.bpl__System_ExceptObject_qqrv
test eax, eax
jne 0x42f44b
mov ebx, 0x64
jmp 0x42f44d
xor ebx, ebx
push ebx
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call sub.rtl120.bpl__Classes_Rect_qqriiii
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x74]
mov eax, dword [0x4bc5f8]
call sub.rtl120.bpl__System_LoadResString_qqrp20System_TResStringRec
mov eax, dword [ebp - 0x74]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call sub.rtl120.bpl__System__CallDynaInst_qqrv
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f4d9
lea eax, [ebp - 0x74]
mov edx, 9
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
ret