Function at 0x66b680
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6c2486
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ecx
xor ebx, ebx
push edx
push eax
mov ecx, esi
xor ebp, ebp
mov dword [esp + 0x28], ebx
call fcn.004efdb0
test al, al
jne 0x66b6e7
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x20
mov edx, dword [esp + 0x30]
push edi
lea ecx, [esi + 0x160]
push edx
call fcn.00571160
push 0x150
call fcn.00658ea0
mov edi, eax
add esp, 4
mov dword [esp + 0x44], edi
cmp edi, ebp
mov dword [esp + 0x24], ebp
je 0x66b7a1
mov eax, 0x6d8300
test eax, eax
jne 0x66b725
mov eax, 0x8c55f4
mov ecx, dword [0x6e14e0]
push ecx
push ebp
push eax
lea ecx, [esp + 0x54]
call fcn.00570720
mov dword [esp + 0x10], 1
lea edx, [esp + 0x40]
mov ecx, esi
push edx
mov byte [esp + 0x28], 1
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.0066bc70
mov ebx, 3
mov ebp, eax
mov dword [esp + 0x10], ebx
mov ecx, edi
mov dword [esp + 0x24], 2
call fcn.0040d0d0
lea eax, [esp + 0x48]
lea ecx, [esp + 0x14]
push eax
push 0x8c9b98
push 1
push 0x8c9af0
push ecx
push ebp
push 0xffffffffffffffff
push esi
mov ecx, edi
mov dword [esp + 0x44], ebx
mov dword [edi], vtable.wxButton.0
call fcn.004ee9a0
xor ebp, ebp
jmp 0x66b7a3
xor edi, edi
test bl, 2
mov dword [esi + 0x150], edi
je 0x66b7d1
mov edx, dword [esp + 0x40]
and ebx, 0xfffffffd
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x66b7d1
dec ecx
cmp ecx, ebp
mov dword [eax], ecx
jne 0x66b7d1
push eax
call dword [0x6c74ac]
add esp, 4
test bl, 1
mov dword [esp + 0x24], 0xffffffff
je 0x66b800
mov eax, dword [esp + 0x48]
and ebx, 0xfffffffe
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x66b800
dec ecx
cmp ecx, ebp
mov dword [eax], ecx
jne 0x66b800
push eax
call dword [0x6c74ac]
add esp, 4
push 0x150
call fcn.00658ea0
mov edi, eax
add esp, 4
mov dword [esp + 0x44], edi
cmp edi, ebp
mov dword [esp + 0x24], 6
je 0x66b87f
mov ecx, str.staticLine
test ecx, ecx
mov eax, ecx
jne 0x66b82f
mov eax, 0x8c55f4
mov edx, dword [0x6e14e0]
lea ecx, [esp + 0x48]
push edx
push ebp
push eax
call fcn.00570720
or ebx, 4
mov dword [esp + 0x10], ebx
mov ecx, edi
mov byte [esp + 0x24], 7
call fcn.0040d0d0
lea eax, [esp + 0x48]
mov ecx, edi
push eax
push 4
push 0x8c9af0
push 0x8c9ae8
push 0xffffffffffffffff
push esi
mov dword [esp + 0x3c], 8
mov dword [edi], vtable.wxStaticLine.0
call fcn.00523b50
jmp 0x66b881
xor edi, edi
mov dword [esi + 0x154], edi
or edi, 0xffffffff
test bl, 4
mov dword [esp + 0x24], edi
je 0x66b8b5
mov ecx, dword [esp + 0x48]
and ebx, 0xfffffffb
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, edi
je 0x66b8b5
dec ecx
cmp ecx, ebp
mov dword [eax], ecx
jne 0x66b8b5
push eax
call dword [0x6c74ac]
add esp, 4
push 0x64
call fcn.00658ea0
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebp
mov dword [esp + 0x24], 0xa
je 0x66b8da
push 4
mov ecx, eax
call fcn.004e0020
jmp 0x66b8dc
xor eax, eax
mov ecx, esi
mov dword [esp + 0x24], edi
mov dword [esi + 0x15c], eax
call fcn.0066c040
mov edx, dword [esi + 0x150]
mov edi, dword [esi + 0x15c]
push 0x44
mov ebp, eax
mov dword [esp + 0x4c], edx
call fcn.00658ea0
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov dword [esp + 0x24], 0xb
je 0x66b931
mov ecx, dword [esp + 0x48]
push 0
push ebp
push 0xd0
push 0
push ecx
mov ecx, eax
call fcn.004de090
jmp 0x66b933
xor eax, eax
mov ecx, dword [edi + 0x34]
mov edx, dword [edi]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call dword [edx + 0x10]
mov ecx, esi
call fcn.0066c040
mov edi, dword [esi + 0x15c]
mov ebp, eax
mov eax, dword [esi + 0x154]
push 0x44
mov dword [esp + 0x4c], eax
call fcn.00658ea0
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov dword [esp + 0x24], 0xc
je 0x66b992
mov ecx, dword [esp + 0x48]
push 0
push ebp
push 0x930
push 1
push ecx
mov ecx, eax
call fcn.004de090
jmp 0x66b994
xor eax, eax
mov ecx, dword [edi + 0x34]
mov edx, dword [edi]
push eax
or ebp, 0xffffffff
push ecx
mov ecx, edi
mov dword [esp + 0x2c], ebp
call dword [edx + 0x10]
push 0x150
call fcn.00658ea0
mov edi, eax
add esp, 4
mov dword [esp + 0x48], edi
test edi, edi
mov dword [esp + 0x24], 0xd
je 0x66ba32
mov eax, str.panel
test eax, eax
jne 0x66b9d4
mov eax, 0x8c55f4
push eax
lea ecx, [esp + 0x48]
call fcn.0041a1f0
or ebx, 8
mov dword [esp + 0x10], ebx
mov ecx, edi
mov byte [esp + 0x24], 0xe
call fcn.00489b80
push 0
lea ecx, [edi + 0x144]
mov dword [esp + 0x28], 0xf
call fcn.004dccd0
mov ecx, edi
mov dword [edi], vtable.wxPanel.0
call fcn.00513d10
lea ecx, [esp + 0x44]
push ecx
push 0x280000
push 0x8c9af0
push 0x8c9ae8
push ebp
push esi
mov ecx, edi
call fcn.00513d20
jmp 0x66ba34
xor edi, edi
mov dword [esi + 0x158], edi
mov dword [esp + 0x24], ebp
test bl, 8
pop edi
je 0x66ba63
mov edx, dword [esp + 0x40]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, ebp
je 0x66ba63
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x66ba63
push eax
call dword [0x6c74ac]
add esp, 4
mov esi, dword [esi + 0x158]
push 0
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x98]
mov ecx, dword [esp + 0x18]
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x20