Function at 0x415240
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42e5d5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x483644]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [sym.imp.EFIcoreui_2.8_vc8.dll_class_wxBitmap___cdecl_CUGetBitmapFromMemory_unsigned_char_const___int_]
push 0x95
lea eax, [esp + 0x18]
push 0x482248
push eax
call ebx
add esp, 0xc
lea ecx, [esi + 0x17c]
cmp ecx, eax
mov dword [esp + 0x30], 0
je 0x4152a2
push eax
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxObject::Ref_class_wxObject_const__]
mov edi, dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public_virtual:_void___thiscall_wxBitmap::destructor_void_]
or ebp, 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebp
call edi
push 0x520
lea ecx, [esp + 0x18]
push 0x481800
push ecx
call ebx
add esp, 0xc
lea ecx, [esi + 0x184]
cmp ecx, eax
mov dword [esp + 0x30], 1
je 0x4152e2
push eax
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxObject::Ref_class_wxObject_const__]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebp
call edi
push 0x4fc
lea edx, [esp + 0x18]
push 0x481300
push edx
call ebx
add esp, 0xc
lea ecx, [esi + 0x18c]
cmp ecx, eax
mov dword [esp + 0x30], 2
je 0x415319
push eax
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxObject::Ref_class_wxObject_const__]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebp
call edi
push 0x525
lea eax, [esp + 0x18]
push 0x481d20
push eax
call ebx
add esp, 0xc
lea ecx, [esi + 0x194]
cmp ecx, eax
mov dword [esp + 0x30], 3
je 0x415350
push eax
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxObject::Ref_class_wxObject_const__]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebp
call edi
push 0x539
lea ecx, [esp + 0x18]
push 0x480868
push ecx
call ebx
add esp, 0xc
lea ecx, [esi + 0x19c]
cmp ecx, eax
mov dword [esp + 0x30], 4
je 0x415387
push eax
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxObject::Ref_class_wxObject_const__]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebp
call edi
push 0x507
lea edx, [esp + 0x18]
push 0x480360
push edx
call ebx
add esp, 0xc
lea ecx, [esi + 0x1a4]
cmp ecx, eax
mov dword [esp + 0x30], 5
je 0x4153be
push eax
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxObject::Ref_class_wxObject_const__]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebp
call edi
push 0x552
lea eax, [esp + 0x18]
push 0x480da8
push eax
call ebx
add esp, 0xc
lea ecx, [esi + 0x1ac]
cmp ecx, eax
mov dword [esp + 0x30], 6
je 0x4153f5
push eax
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxObject::Ref_class_wxObject_const__]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebp
call edi
push 0x552
lea ecx, [esp + 0x18]
push 0x47f8a0
push ecx
call ebx
add esp, 0xc
lea ecx, [esi + 0x1b4]
cmp ecx, eax
mov dword [esp + 0x30], 7
je 0x41542c
push eax
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxObject::Ref_class_wxObject_const__]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebp
call edi
push 0x520
lea edx, [esp + 0x18]
push 0x47f380
push edx
call ebx
add esp, 0xc
lea ecx, [esi + 0x1bc]
cmp ecx, eax
mov dword [esp + 0x30], 8
je 0x415463
push eax
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxObject::Ref_class_wxObject_const__]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebp
call edi
push 0x568
lea eax, [esp + 0x20]
push 0x47fdf8
push eax
call ebx
add esp, 0xc
lea ecx, [esi + 0x1c4]
cmp ecx, eax
mov dword [esp + 0x30], 9
je 0x41549a
push eax
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxObject::Ref_class_wxObject_const__]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], ebp
call edi
mov edx, dword [esi]
mov eax, dword [edx + 0x6c]
push ebp
push ebp
push 0x1e
push ebp
push 0x1e
push 0xa
mov ecx, esi
call eax
push 0x64
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov dword [esp + 0x30], 0xa
je 0x4154eb
push 4
mov ecx, edi
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxBoxSizer::constructor_int_]
mov dword [edi], vtable.wxBoxSizer.1.0
mov dword [edi + 8], vtable.wxBoxSizer.0
jmp 0x4154ed
xor edi, edi
push 1
mov ecx, edi
mov dword [esp + 0x34], ebp
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_class_wxSizerItem____thiscall_wxSizer::AddStretchSpacer_int_]
push 1
push edi
mov ecx, esi
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxWindowBase::SetSizer_class_wxSizer___bool_]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret