Function at 0x422cf0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x430a7c
mov eax, dword fs:[0]
push eax
sub esp, 0x164
push ebx
push ebp
push esi
push edi
mov eax, dword [0x483644]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov eax, dword [esp + 0x18c]
xor edi, edi
mov dword [esp + 0x44], edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], ecx
xor ebp, ebp
lea ecx, [esp + 0x48]
mov dword [esp + 0x180], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebp
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxGDIObject::constructor_void_]
mov eax, dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_const_wxColour::vftable]
mov esi, dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_protected:_void___thiscall_wxColour::Init_void_]
lea ecx, [esp + 0x48]
mov dword [esp + 0x180], 1
mov dword [esp + 0x48], eax
call esi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x180], 2
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxGDIObject::constructor_void_]
mov ecx, dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_const_wxColour::vftable]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x180], 3
call esi
mov esi, dword [esp + 0x19c]
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
mov ecx, esi
mov byte [esp + 0x180], 4
call eax
mov edx, dword [esi]
mov bl, al
mov eax, dword [edx + 0x2c]
mov ecx, esi
mov byte [esp + 0x3b], bl
call eax
mov edx, dword [esi]
mov byte [esp + 0x1b], al
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
movzx ecx, byte [esp + 0x1b]
mov dword [esp + 0x20], ecx
movzx edx, bl
fild dword [esp + 0x20]
mov dword [esp + 0x20], edx
fmul qword [0x4439f8]
mov esi, dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_static_class_wxColour_const____cdecl_wxStockGDI::GetColour_enum_wxStockGDI::Item_]
fild dword [esp + 0x20]
mov byte [esp + 0x3a], al
movzx eax, al
fmul qword [0x4439f0]
mov dword [esp + 0x20], eax
push 0x10
faddp st(1)
fild dword [esp + 0x24]
fmul qword [0x4439e8]
faddp st(1)
fcomp qword [0x4439e0]
fnstsw ax
test ah, 1
jne 0x422e56
call esi
add esp, 4
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_class_wxColour____thiscall_wxColour::operator_class_wxColour_const__]
push 0xa
call esi
add esp, 4
push eax
lea ecx, [esp + 0x60]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_class_wxColour____thiscall_wxColour::operator_class_wxColour_const__]
mov byte [esp + 0x1a], 0
jmp 0x422e7d
call esi
add esp, 4
push eax
lea ecx, [esp + 0x60]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_class_wxColour____thiscall_wxColour::operator_class_wxColour_const__]
push 0xa
call esi
add esp, 4
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_class_wxColour____thiscall_wxColour::operator_class_wxColour_const__]
mov byte [esp + 0x1a], 1
push 0xffffffffffffffff
push 1
push 1
lea ecx, [esp + 0x3c]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxBitmap::constructor_int__int__int_]
lea ecx, [esp + 0x70]
mov byte [esp + 0x180], 5
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxMemoryDC::constructor_void_]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x174]
mov byte [esp + 0x184], 6
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxMemoryDCBase::SelectObject_class_wxBitmap__]
mov edx, dword [esp + 0x194]
push edx
lea ecx, [esp + 0x74]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public_virtual:_void___thiscall_wxDC::SetFont_class_wxFont_const__]
mov ebx, dword [esp + 0x198]
mov eax, dword [ebx + 4]
xor esi, esi
cmp eax, edi
jle 0x422f9e
nop
mov eax, dword [ebx + 8]
mov ecx, dword [eax + esi*4]
cmp dword [ecx - 8], edi
lea eax, [eax + esi*4]
jne 0x422f56
push 0x4439d8
lea ecx, [esp + 0x24]
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxString::constructor_wchar_t_const__]
push edi
push edi
push edi
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x88]
mov byte [esp + 0x198], 7
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxDCBase::GetTextExtent_class_wxString_const___int___int___int___int___class_wxFont__const]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
mov byte [esp + 0x180], 6
je 0x422f4e
add ecx, 0xffffffff
cmp ecx, edi
mov dword [eax], ecx
jne 0x422f4e
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], eax
jmp 0x422f75
push edi
push edi
push edi
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x4c]
push ecx
push eax
lea ecx, [esp + 0x88]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxDCBase::GetTextExtent_class_wxString_const___int___int___int___int___class_wxFont__const]
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x1c]
jle 0x422f7f
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x1a4]
add edx, eax
add esi, 1
add ebp, edx
cmp esi, dword [ebx + 4]
jl 0x422ee0
mov dword [esp + 0x14], ebp
mov eax, dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_class_wxSize_const_wxDefaultSize]
mov ecx, dword [esp + 0x28]
cmp ecx, dword [eax]
jne 0x422fb3
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [eax + 4]
jne 0x422fc0
mov dword [esp + 0x2c], ebp
mov edx, dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_class_wxBitmap_wxNullBitmap]
push edx
lea ecx, [esp + 0x174]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxMemoryDCBase::SelectObject_class_wxBitmap__]
mov eax, dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_const_wxMemoryDCBase::vftable]
lea ecx, [esp + 0x70]
mov byte [esp + 0x180], 5
mov dword [esp + 0x170], eax
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public_virtual:_void___thiscall_wxDC::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x180], 4
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public_virtual:_void___thiscall_wxBitmap::destructor_void_]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x188]
push 0xffffffffffffffff
push ecx
push edx
mov ecx, ebp
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxBitmap::constructor_int__int__int_]
mov eax, dword [ebp + 4]
cmp eax, edi
mov dword [esp + 0x44], 1
je 0x423498
cmp dword [eax + 0x14], edi
je 0x423498
lea ecx, [esp + 0x70]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxMemoryDC::constructor_void_]
mov eax, dword [esp + 0x190]
mov edi, dword [eax]
mov esi, dword [eax + 4]
push ebp
lea ecx, [esp + 0x174]
mov byte [esp + 0x184], 8
mov dword [esp + 0x34], edi
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxMemoryDCBase::SelectObject_class_wxBitmap__]
push 0x64
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxBrush::constructor_class_wxColour_const___int_]
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x184], 9
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public_virtual:_void___thiscall_wxDC::SetBackground_class_wxBrush_const__]
lea ecx, [esp + 0x20]
mov byte [esp + 0x180], 8
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public_virtual:_void___thiscall_wxBrush::destructor_void_]
lea ecx, [esp + 0x70]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public_virtual:_void___thiscall_wxDC::Clear_void_]
xor eax, eax
cmp dword [ebx + 4], eax
jbe 0x4232ad
push 0x6a
lea ecx, [esp + 0x74]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public_virtual:_void___thiscall_wxDC::SetBackgroundMode_int_]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x110]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_class_wxColour____thiscall_wxColour::operator_class_wxColour_const__]
mov edx, dword [esp + 0x194]
push edx
lea ecx, [esp + 0x74]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public_virtual:_void___thiscall_wxDC::SetFont_class_wxFont_const__]
mov ecx, dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_class_wxPoint_const_wxDefaultPosition]
cmp edi, dword [ecx]
mov edi, dword [esp + 0x1a0]
jne 0x423147
test edi, 0x100
je 0x423127
mov eax, dword [ebp + 4]
test eax, eax
jne 0x423119
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x30], eax
jmp 0x423147
mov eax, dword [eax + 8]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x30], eax
jmp 0x423147
test edi, 0x200
je 0x42313f
mov eax, dword [ebp + 4]
test eax, eax
je 0x42313f
mov eax, dword [eax + 8]
mov dword [esp + 0x30], eax
jmp 0x423147
mov dword [esp + 0x30], 0
cmp esi, dword [ecx + 4]
jne 0x423186
test edi, 0x800
je 0x423170
mov eax, dword [ebp + 4]
test eax, eax
jne 0x423164
cdq
sub eax, edx
mov esi, eax
sar esi, 1
jmp 0x423186
mov eax, dword [eax + 0xc]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
jmp 0x423186
test edi, 0x400
je 0x423184
mov eax, dword [ebp + 4]
test eax, eax
je 0x423184
mov esi, dword [eax + 0xc]
jmp 0x423186
xor esi, esi
test edi, 0x800
je 0x42319b
mov eax, dword [esp + 0x14]
cdq
sub eax, edx
sar eax, 1
sub esi, eax
jmp 0x4231a7
test edi, 0x400
je 0x4231a7
sub esi, dword [esp + 0x14]
xor edi, edi
cmp dword [ebx + 4], edi
jle 0x4232ad
mov ecx, dword [ebx + 8]
lea ebp, [edi*4]
mov edx, dword [ecx + ebp]
cmp dword [edx - 8], 0
lea eax, [ecx + ebp]
jne 0x423231
push 0x4439d8
lea ecx, [esp + 0x18]
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxString::constructor_wchar_t_const__]
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x88]
mov byte [esp + 0x198], 0xa
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxDCBase::GetTextExtent_class_wxString_const___int___int___int___int___class_wxFont__const]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
mov byte [esp + 0x180], 8
je 0x423229
add ecx, 0xffffffff
mov dword [eax], ecx
jne 0x423229
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x423253
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x88]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxDCBase::GetTextExtent_class_wxString_const___int___int___int___int___class_wxFont__const]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x1a0]
cmp edx, 0x200
mov ecx, dword [esp + 0x30]
je 0x423273
cmp edx, 0x900
jne 0x423279
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [ebx + 8]
push esi
push ecx
add eax, ebp
push eax
lea ecx, [esp + 0x7c]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxDCBase::DrawText_class_wxString_const___int__int_]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1a4]
add ecx, edx
add edi, 1
add esi, ecx
cmp edi, dword [ebx + 4]
jl 0x4231b2
mov ebp, dword [esp + 0x188]
mov eax, dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_class_wxBitmap_wxNullBitmap]
push eax
lea ecx, [esp + 0x174]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxMemoryDCBase::SelectObject_class_wxBitmap__]
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_class_wxImage___thiscall_wxBitmap::ConvertToImage_void_]
push 0
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x188], 0xb
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxImage::SetAlpha_unsigned_char___bool_]
lea ecx, [esp + 0x28]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_bool___thiscall_wxImage::IsOk_void_const]
test al, al
je 0x42345e
lea ecx, [esp + 0x28]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_unsigned_char____thiscall_wxImage::GetAlpha_void_const]
mov edi, eax
test edi, edi
je 0x423406
lea ecx, [esp + 0x28]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_unsigned_char____thiscall_wxImage::GetData_void_const]
mov esi, eax
test esi, esi
je 0x423406
lea ecx, [esp + 0x28]
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_int___thiscall_wxImage::GetWidth_void_const]
lea ecx, [esp + 0x28]
mov ebx, eax
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_int___thiscall_wxImage::GetHeight_void_const]
test eax, eax
jle 0x423406
fld qword [0x4439d0]
mov dword [esp + 0x20], eax
fld qword [0x4439e8]
fld qword [0x4439f0]
fld qword [0x4439f8]
test ebx, ebx
jle 0x4233f3
mov ecx, ebx
movzx edx, byte [esi + 1]
fnstcw word [esp + 0x1c]
movzx eax, byte [esi]
mov dword [esp + 0x14], edx
movzx edx, byte [esi + 2]
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
movzx eax, word [esp + 0x1c]
fmul st(1)
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul st(3)
or eax, 0xc00
cmp byte [esp + 0x1a], 0
faddp st(1)
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fmul st(4)
faddp st(1)
fadd st(4)
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
mov al, byte [esp + 0x14]
fldcw word [esp + 0x1c]
je 0x4233c5
movzx edx, al
mov eax, 0xff
sub eax, edx
jmp 0x4233c8
movzx eax, al
mov dl, byte [esp + 0x1b]
mov byte [edi], al
movzx eax, byte [esp + 0x3b]
mov byte [esi], al
movzx eax, byte [esp + 0x3a]
add esi, 1
mov byte [esi], dl
add esi, 1
mov byte [esi], al
add edi, 1
add esi, 1
sub ecx, 1
jne 0x423361
sub dword [esp + 0x20], 1
jne 0x423357
fstp st(3)
fstp st(2)
fstp st(1)
fstp st(0)
mov dword [esp + 0x34], 0
mov ecx, dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_const_wxBitmap::vftable]
push 0xffffffffffffffff
lea edx, [esp + 0x2c]
mov dword [esp + 0x34], ecx
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x188], 0xc
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_protected:_bool___thiscall_wxBitmap::CreateFromImage_class_wxImage_const___int_]
lea eax, [esp + 0x30]
cmp ebp, eax
mov byte [esp + 0x180], 0xd
je 0x42344c
mov ecx, eax
push ecx
mov ecx, ebp
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxObject::Ref_class_wxObject_const__]
lea ecx, [esp + 0x30]
mov byte [esp + 0x180], 0xb
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public_virtual:_void___thiscall_wxBitmap::destructor_void_]
mov edx, dword [sym.imp.wxbase28u_vc_8_EFI.dll_const_wxObject::vftable]
lea ecx, [esp + 0x28]
mov byte [esp + 0x180], 8
mov dword [esp + 0x28], edx
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxObject::UnRef_void_]
mov eax, dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_const_wxMemoryDCBase::vftable]
lea ecx, [esp + 0x70]
mov byte [esp + 0x180], 4
mov dword [esp + 0x170], eax
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public_virtual:_void___thiscall_wxDC::destructor_void_]
mov esi, dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public_virtual:_void___thiscall_wxColour::destructor_void_]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x180], 2
call esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x180], 0
call esi
mov eax, ebp
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x170
ret