Function at 0x562f90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x614ec0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x88]
xor ebp, ebp
mov ecx, vtable.wxObject.0
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
cmp eax, ebp
je 0x562fd8
inc dword [eax + 4]
mov dword [esp + 0x54], vtable.wxPen.0
mov eax, dword [esi + 0x90]
mov dword [esp + 0x88], ebp
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
cmp eax, ebp
je 0x562ffc
inc dword [eax + 4]
mov dword [esp + 0x4c], vtable.wxBrush.0
mov edi, dword [esp + 0x94]
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
mov ecx, edi
mov byte [esp + 0x88], 1
call edx
mov byte [esp + 0x16], al
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
mov ecx, edi
call edx
mov byte [esp + 0x17], al
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
mov ecx, edi
call edx
mov edi, dword [esp + 0x98]
mov byte [esp + 0x18], al
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
mov ecx, edi
call edx
mov byte [esp + 0x19], al
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
mov ecx, edi
call edx
mov byte [esp + 0x1a], al
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
mov ecx, edi
call edx
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x9c]
cmp eax, 0x20
je 0x5632d3
cmp eax, 0x10
je 0x5632d3
mov ebx, dword [esp + 0x90]
mov ecx, dword [ebx + 0xc]
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
cmp ebp, 1
mov dword [esp + 0x44], ecx
jge 0x5630ac
mov ebp, 1
test ecx, ecx
jle 0x563516
movzx eax, byte [esp + 0x16]
movzx edx, byte [esp + 0x19]
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + 0x1a]
mov dword [esp + 0x20], eax
movzx eax, byte [esp + 0x17]
mov dword [esp + 0x24], eax
movzx eax, byte [esp + 0x1b]
mov dword [esp + 0x28], eax
movzx eax, byte [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, ebp
neg eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], eax
xor edi, edi
jmp 0x56310c
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
sub ecx, ebp
mov dword [esp + 0x3c], ecx
mov cl, byte [esp + 0x19]
sub edi, eax
cmp byte [esp + 0x16], cl
mov ecx, dword [esp + 0x44]
jbe 0x56313a
mov eax, dword [esp + 0x1c]
sub eax, edx
imul eax, edi
cdq
idiv ecx
mov dl, byte [esp + 0x16]
sub dl, al
mov byte [esp + 0x38], dl
jmp 0x563150
mov eax, edx
sub eax, dword [esp + 0x1c]
imul eax, edi
cdq
idiv dword [esp + 0x44]
add al, byte [esp + 0x16]
mov byte [esp + 0x38], al
mov al, byte [esp + 0x1a]
cmp byte [esp + 0x17], al
jbe 0x563174
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x20]
imul eax, edi
cdq
idiv ecx
mov dl, byte [esp + 0x17]
sub dl, al
mov byte [esp + 0x34], dl
jmp 0x56318a
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x24]
imul eax, edi
cdq
idiv ecx
add al, byte [esp + 0x17]
mov byte [esp + 0x34], al
mov al, byte [esp + 0x1b]
cmp byte [esp + 0x18], al
jbe 0x5631ae
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
imul eax, edi
cdq
idiv ecx
mov cl, byte [esp + 0x18]
sub cl, al
mov byte [esp + 0x30], cl
jmp 0x5631c4
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x2c]
imul eax, edi
cdq
idiv ecx
add al, byte [esp + 0x18]
mov byte [esp + 0x30], al
mov dword [esp + 0x70], 0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
push 0xff
push edx
push eax
push ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 6
mov dword [esp + 0x7c], vtable.wxColour.0
call dword [0x649398]
push 0x64
push 1
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x94], 7
call fcn.00564b20
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
mov byte [esp + 0x8c], 8
call eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x88], 7
call fcn.0055bd20
push 0x64
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x6c]
call fcn.00564050
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x34]
mov ecx, esi
mov byte [esp + 0x8c], 9
call eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x88], 7
call fcn.0055bd20
cmp dword [esp + 0x9c], 0x40
mov edx, dword [esi]
push ebp
jne 0x563294
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov edx, dword [edx + 0xf0]
push eax
mov eax, dword [esp + 0x44]
add ecx, eax
mov eax, dword [ebx]
push ecx
push eax
mov ecx, esi
call edx
jmp 0x5632b2
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
sub eax, ebp
sub eax, dword [esp + 0x40]
push ecx
add eax, dword [ebx + 4]
mov ecx, esi
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [edx + 0xf0]
call eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x88], 1
call fcn.0055bd20
cmp dword [esp + 0x3c], 0
jg 0x563100
jmp 0x563516
mov ebx, dword [esp + 0x90]
mov ecx, dword [ebx + 8]
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
mov edi, eax
sar edi, 8
cmp edi, 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], ecx
jge 0x5632ff
mov edi, 1
cmp ecx, edi
jl 0x563516
movzx eax, byte [esp + 0x16]
movzx edx, byte [esp + 0x19]
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + 0x17]
mov dword [esp + 0x24], eax
movzx eax, byte [esp + 0x18]
mov dword [esp + 0x40], edx
movzx edx, byte [esp + 0x1a]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edx
movzx edx, byte [esp + 0x1b]
mov eax, edi
neg eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x44], eax
jmp 0x563358
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov dl, byte [esp + 0x19]
sub dword [esp + 0x3c], edi
sub ebp, eax
cmp byte [esp + 0x16], dl
jbe 0x563382
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x40]
imul eax, ebp
cdq
idiv ecx
mov dl, byte [esp + 0x16]
sub dl, al
mov byte [esp + 0x38], dl
jmp 0x563398
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x1c]
imul eax, ebp
cdq
idiv ecx
add al, byte [esp + 0x16]
mov byte [esp + 0x38], al
mov al, byte [esp + 0x1a]
cmp byte [esp + 0x17], al
jbe 0x5633bc
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x20]
imul eax, ebp
cdq
idiv ecx
mov dl, byte [esp + 0x17]
sub dl, al
mov byte [esp + 0x34], dl
jmp 0x5633d2
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x24]
imul eax, ebp
cdq
idiv ecx
add al, byte [esp + 0x17]
mov byte [esp + 0x34], al
mov al, byte [esp + 0x1b]
cmp byte [esp + 0x18], al
jbe 0x5633f6
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
imul eax, ebp
cdq
idiv ecx
mov cl, byte [esp + 0x18]
sub cl, al
mov byte [esp + 0x30], cl
jmp 0x56340c
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x2c]
imul eax, ebp
cdq
idiv ecx
add al, byte [esp + 0x18]
mov byte [esp + 0x30], al
mov dword [esp + 0x70], 0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
push 0xff
push edx
push eax
push ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 2
mov dword [esp + 0x7c], vtable.wxColour.0
call dword [0x649398]
push 0x64
push 1
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x70]
mov byte [esp + 0x94], 3
call fcn.00564b20
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
mov byte [esp + 0x8c], 4
call eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x88], 3
call fcn.0055bd20
push 0x64
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x64]
call fcn.00564050
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x34]
mov ecx, esi
mov byte [esp + 0x8c], 5
call eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x88], 3
call fcn.0055bd20
cmp dword [esp + 0x9c], 0x20
mov edx, dword [esi]
jne 0x5634df
mov eax, dword [ebx]
mov ecx, dword [ebx + 0xc]
sub eax, edi
sub eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [ebx + 4]
add eax, dword [ebx + 8]
push edi
push ecx
push eax
mov eax, dword [edx + 0xf0]
mov ecx, esi
call eax
jmp 0x5634fb
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov edx, dword [edx + 0xf0]
push eax
mov eax, dword [ebx]
push edi
push ecx
mov ecx, dword [esp + 0x48]
add eax, ecx
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x88], 1
call fcn.0055bd20
cmp dword [esp + 0x3c], edi
jge 0x563350
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x88], 0
call fcn.0055bd20
lea ecx, [esp + 0x54]
mov dword [esp + 0x88], 0xffffffff
call fcn.0055bd20
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 0x10