Function at 0x4eaa20
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d97cc
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xb0]
mov dword [esp + 0x2c], vtable.wxObject.0
mov dword [esp + 0x30], eax
test eax, eax
je 0x4eaa6d
inc dword [eax + 4]
mov dword [esp + 0x2c], vtable.wxPen.0
sub esp, 8
mov eax, esp
mov dword [eax], vtable.wxObject.0
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xd8], 0
mov dword [esp + 0x3c], esp
test ecx, ecx
je 0x4eaaa1
inc dword [ecx + 4]
mov dword [eax], vtable.wxGDIObject.0
mov dword [eax], vtable.wxPenBase.0
lea edx, [esi + 0xac]
mov dword [eax], vtable.wxPen.0
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004ea460
add esp, 0x10
mov edi, dword [ebp + 0x10]
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
mov byte [esp + 0xd0], 1
call eax
mov edx, dword [edi]
mov byte [esp + 0x23], al
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
mov edx, dword [edi]
mov byte [esp + 0x20], al
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
mov edi, dword [ebp + 0xc]
mov edx, dword [edi]
mov byte [esp + 0x1e], al
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov edx, dword [edi]
mov byte [esp + 0x1f], al
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
mov edx, dword [edi]
mov byte [esp + 0x22], al
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0xc]
mov byte [esp + 0x21], al
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x18], eax
mov eax, ebx
fild dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x18], eax
fst qword [esp + 0x9c]
fild dword [esp + 0x18]
fst qword [esp + 0x74]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4eab66
fxch st(1)
fst qword [esp + 0x6c]
jmp 0x4eab6c
fst qword [esp + 0x6c]
fxch st(1)
mov eax, dword [ebp + 0x14]
fild dword [eax + 4]
mov dword [esp + 0x18], 0
fild dword [eax]
fsub st(2)
fstp qword [esp + 0xbc]
fsub st(2)
fstp qword [esp + 0xac]
test ecx, ecx
jle 0x4eadfa
mov eax, ebx
xor ebx, ebx
mov dword [esp + 0x14], ebx
test eax, eax
jle 0x4eade8
fisubr dword [esp + 0x18]
movzx eax, byte [esp + 0x23]
movzx ecx, byte [esp + 0x1f]
movzx edx, byte [esp + 0x22]
fsub qword [esp + 0xbc]
sub ecx, eax
mov dword [esp + 0x24], ecx
movzx ecx, byte [esp + 0x21]
fmul st(0), st(0)
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0x20]
fstp qword [esp + 0x7c]
fild dword [esp + 0x24]
sub edx, eax
fstp qword [esp + 0xa4]
mov dword [esp + 0x24], eax
fild dword [esp + 0x10]
movzx eax, byte [esp + 0x1e]
fstp qword [esp + 0x94]
mov dword [esp + 0x10], edx
sub ecx, eax
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fstp qword [esp + 0xb4]
fild dword [esp + 0x24]
mov dword [esp + 0x24], eax
fstp qword [esp + 0x84]
fild dword [esp + 0x10]
fstp qword [esp + 0x8c]
fild dword [esp + 0x24]
fstp qword [esp + 0x24]
fisubr dword [esp + 0x14]
fsub qword [esp + 0xac]
fmul st(0), st(0)
fadd qword [esp + 0x7c]
call fcn.0058e2c0
fld qword [esp + 0x6c]
fld st(0)
fsubrp st(2)
fld qword [0x6262c8]
fmul st(2), st(0)
fxch st(2)
fdivrp st(1)
fldz
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4eac6b
fstp st(1)
jmp 0x4eac6d
fstp st(0)
fld qword [esp + 0xa4]
mov dword [esp + 0x5c], 0
fmul st(1)
fnstcw word [esp + 0x14]
fdiv st(2)
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x10], eax
fadd qword [esp + 0x94]
fldcw word [esp + 0x10]
fistp dword [esp + 0x10]
mov dl, byte [esp + 0x10]
mov byte [esp + 0x34], dl
fldcw word [esp + 0x14]
fld qword [esp + 0xb4]
fmul st(1)
fnstcw word [esp + 0x14]
fdiv st(2)
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x10], eax
fadd qword [esp + 0x84]
fldcw word [esp + 0x10]
fistp dword [esp + 0x10]
mov al, byte [esp + 0x10]
mov byte [esp + 0x44], al
fldcw word [esp + 0x14]
fmul qword [esp + 0x8c]
fnstcw word [esp + 0x14]
fdivrp st(1)
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x10], eax
fadd qword [esp + 0x24]
fldcw word [esp + 0x10]
fistp dword [esp + 0x10]
mov cl, byte [esp + 0x10]
mov byte [esp + 0x40], cl
fldcw word [esp + 0x14]
lea ecx, [esp + 0x58]
mov byte [esp + 0xd0], 2
mov dword [esp + 0x58], vtable.wxColour.0
call fcn.004e68e0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
push 0xff
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [edx + 0x2c]
push ecx
lea ecx, [esp + 0x68]
call eax
push 0x64
push 1
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0xdc], 3
call fcn.00508e60
mov edx, dword [esi]
mov edx, dword [edx + 0x6c]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0xd4], 4
call edx
lea ecx, [esp + 0x38]
mov byte [esp + 0xd0], 3
mov dword [esp + 0x38], vtable.wxObject.0
call fcn.00423980
lea ecx, [esp + 0x58]
mov byte [esp + 0xd0], 1
mov dword [esp + 0x58], vtable.wxObject.0
call fcn.00423980
mov eax, dword [edi + 4]
mov ecx, dword [edi]
add ecx, dword [esp + 0x18]
mov edx, dword [esi]
mov edx, dword [edx + 0x160]
add eax, ebx
push eax
push ecx
mov ecx, esi
call edx
fld qword [esp + 0x74]
mov eax, dword [edi + 0xc]
inc ebx
mov dword [esp + 0x14], ebx
cmp ebx, eax
jl 0x4eac32
fld qword [esp + 0x9c]
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [edi + 8]
jl 0x4eab98
fstp st(1)
fstp st(0)
cmp byte [esp + 0x48], 0
mov byte [esp + 0xd0], 5
jne 0x4eae21
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x50]
cmp ecx, eax
je 0x4eae21
mov edx, eax
push edx
call fcn.00423b20
mov esi, vtable.wxObject.0
lea ecx, [esp + 0x50]
mov byte [esp + 0xd0], 0
mov dword [esp + 0x50], esi
call fcn.00423980
lea ecx, [esp + 0x2c]
mov dword [esp + 0xd0], 0xffffffff
mov dword [esp + 0x2c], esi
call fcn.00423980
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10