Function at 0x4014e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x42544c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
push 0x64
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov edi, dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxBoxSizer::constructor_int_]
cmp esi, ebx
mov dword [esp + 0x38], ebx
je 0x40153b
push 8
mov ecx, esi
call edi
mov dword [esi], vtable.wxBoxSizer.1.0
mov dword [esi + 8], vtable.wxBoxSizer.0
jmp 0x40153d
xor esi, esi
push 1
push esi
mov ecx, ebp
mov dword [esp + 0x40], 0xffffffff
mov dword [ebp + 0x1a4], esi
call dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxWindowBase::SetSizer_class_wxSizer___bool_]
push 0x64
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, ebx
mov dword [esp + 0x38], 1
je 0x401587
push 4
mov ecx, esi
call edi
mov dword [esi], vtable.wxBoxSizer.1.0
mov dword [esi + 8], vtable.wxBoxSizer.0
mov ebx, esi
mov edi, dword [ebp + 0x1a4]
push 0x44
mov dword [esp + 0x3c], 0xffffffff
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov dword [esp + 0x38], 2
je 0x4015cd
push 0
push 5
push 0x20f0
push 0
push ebx
mov ecx, esi
call dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxSizerItem::constructor_class_wxSizer___int__int__int__class_wxObject__]
mov dword [esi], vtable.wxSizerItem.0
jmp 0x4015cf
xor esi, esi
mov eax, dword [edi + 0x34]
mov edx, dword [edi]
push esi
push eax
mov ecx, edi
mov dword [esp + 0x40], 0xffffffff
call dword [edx + 0x10]
mov eax, dword [sym.imp.wxmsw28_core_vc.dll_class_wxBitmap_wxNullBitmap]
lea ecx, [esp + 0x28]
push eax
call dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxGDIImage::constructor_class_wxGDIImage_const__]
mov ecx, dword [sym.imp.wxmsw28_core_vc.dll_const_wxBitmap::vftable]
mov dword [esp + 0x28], ecx
push 0x160
mov dword [esp + 0x3c], 3
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov byte [esp + 0x38], 4
mov edi, 0x20
je 0x4016c4
mov eax, dword [sym.imp.wxmsw28_core_vc.dll_char_const__const_const_wxStaticBitmapNameStr]
test eax, eax
jne 0x401638
mov eax, 0x4458c8
mov edx, dword [sym.imp.wxbase28_vc.dll_unsigned_int_const_wxStringBase::npos]
mov ecx, dword [edx]
push ecx
push 0
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.wxbase28_vc.dll_protected:_void___thiscall_wxStringBase::InitWith_char_const___unsigned_int__unsigned_int_]
mov dword [esp + 0x10], 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov edi, dword [sym.imp.wxmsw28_core_vc.dll_class_wxPoint_const_wxDefaultPosition]
mov ecx, esi
mov byte [esp + 0x38], 5
call dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxControl::constructor_void_]
mov edx, dword [sym.imp.wxmsw28_core_vc.dll_const_wxStaticBitmapBase::vftable]
mov dword [esi], edx
mov eax, dword [sym.imp.wxmsw28_core_vc.dll_const_wxStaticBitmap::vftable]
lea ecx, [esp + 0x18]
mov dword [esi], eax
xor eax, eax
push ecx
lea edx, [esp + 0x24]
mov dword [esi + 0x158], eax
mov dword [esi + 0x15c], eax
push eax
push edx
lea eax, [esp + 0x34]
push edi
push eax
push 0x13f1
push ebp
mov ecx, esi
mov dword [esp + 0x54], 6
mov byte [esi + 0x154], 1
call dword [sym.imp.wxmsw28_core_vc.dll_public:_bool___thiscall_wxStaticBitmap::Create_class_wxWindow___int__class_wxGDIImage_const___class_wxPoint_const___class_wxSize_const___long_int__class_wxString_const__]
mov dword [esi], vtable.wxStaticBitmap.0
jmp 0x4016c6
xor esi, esi
mov al, byte [esp + 0x10]
mov dword [ebp + 0x1a8], esi
test al, 1
mov dword [esp + 0x38], 3
je 0x401706
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
and esi, 0xfffffffe
lea eax, [ecx - 0xc]
mov dword [esp + 0x10], esi
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x401706
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x401706
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edi, dword [ebp + 0x1a8]
push 0x44
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov byte [esp + 0x38], 8
je 0x401741
push 0
push 5
push 0x8f0
push 0
push edi
mov ecx, esi
call dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxSizerItem::constructor_class_wxWindow___int__int__int__class_wxObject__]
mov dword [esi], vtable.wxSizerItem.0
jmp 0x401743
xor esi, esi
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx]
push esi
push eax
mov ecx, ebx
mov byte [esp + 0x40], 3
call dword [edx + 0x10]
push 0x154
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x38], 9
je 0x401844
mov eax, dword [sym.imp.wxmsw28_core_vc.dll_char_const__const_const_wxStaticTextNameStr]
test eax, eax
jne 0x401782
mov eax, 0x4458c8
mov ecx, dword [sym.imp.wxbase28_vc.dll_unsigned_int_const_wxStringBase::npos]
mov edx, dword [ecx]
lea ecx, [esp + 0x1c]
push edx
push 0
push eax
call dword [sym.imp.wxbase28_vc.dll_protected:_void___thiscall_wxStringBase::InitWith_char_const___unsigned_int__unsigned_int_]
or dword [esp + 0x10], 2
mov byte [esp + 0x38], 0xa
call dword [sym.imp.wxbase28_vc.dll_class_wxLocale____cdecl_wxGetLocale_void_]
test eax, eax
je 0x4017bc
mov edx, dword [eax]
push 0
push str.This_is_a_demo_plotter_cutter_version_1.0
mov ecx, eax
call dword [edx + 8]
jmp 0x4017c1
mov eax, str.This_is_a_demo_plotter_cutter_version_1.0
test eax, eax
jne 0x4017ca
mov eax, 0x4458c8
mov ecx, dword [sym.imp.wxbase28_vc.dll_unsigned_int_const_wxStringBase::npos]
mov edx, dword [ecx]
lea ecx, [esp + 0x18]
push edx
push 0
push eax
call dword [sym.imp.wxbase28_vc.dll_protected:_void___thiscall_wxStringBase::InitWith_char_const___unsigned_int__unsigned_int_]
or dword [esp + 0x10], 4
mov edi, dword [sym.imp.wxmsw28_core_vc.dll_class_wxSize_const_wxDefaultSize]
mov ebp, dword [sym.imp.wxmsw28_core_vc.dll_class_wxPoint_const_wxDefaultPosition]
mov ecx, esi
mov dword [esp + 0x38], 0xb
call dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxControl::constructor_void_]
mov eax, dword [sym.imp.wxmsw28_core_vc.dll_const_wxStaticTextBase::vftable]
mov dword [esi], eax
mov ecx, dword [sym.imp.wxmsw28_core_vc.dll_const_wxStaticText::vftable]
lea edx, [esp + 0x1c]
push edx
push 0
push edi
lea eax, [esp + 0x24]
mov dword [esi], ecx
mov ecx, dword [esp + 0x20]
push ebp
push eax
push 0x13f1
push ecx
mov ecx, esi
mov dword [esp + 0x54], 0xc
call dword [sym.imp.wxmsw28_core_vc.dll_public:_bool___thiscall_wxStaticText::Create_class_wxWindow___int__class_wxString_const___class_wxPoint_const___class_wxSize_const___long_int__class_wxString_const__]
mov ebp, dword [esp + 0x14]
mov dword [esi], vtable.wxStaticText.0
jmp 0x401846
xor esi, esi
test byte [esp + 0x10], 4
je 0x401878
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
and edi, 0xfffffffb
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
mov dword [esp + 0x10], edi
je 0x401878
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x401878
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, byte [esp + 0x10]
mov dword [esp + 0x38], 3
test al, 2
je 0x4018b2
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
add eax, 0xfffffff4
and edi, 0xfffffffd
mov dword [esp + 0x10], edi
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4018b2
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4018b2
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push 0x44
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
test edi, edi
mov byte [esp + 0x38], 0xf
je 0x4018e7
push 0
push 5
push 0x8f0
push 0
push esi
mov ecx, edi
call dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxSizerItem::constructor_class_wxWindow___int__int__int__class_wxObject__]
mov dword [edi], vtable.wxSizerItem.0
jmp 0x4018e9
xor edi, edi
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx]
push edi
push eax
mov ecx, ebx
mov byte [esp + 0x40], 3
call dword [edx + 0x10]
push 0x64
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x38], 0x10
je 0x40192e
push 4
mov ecx, esi
call dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxBoxSizer::constructor_int_]
mov dword [esi], vtable.wxBoxSizer.1.0
mov dword [esi + 8], vtable.wxBoxSizer.0
mov ebx, esi
jmp 0x401930
xor ebx, ebx
mov edi, dword [ebp + 0x1a4]
push 0x44
mov byte [esp + 0x3c], 3
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x38], 0x11
je 0x401970
push 0
push 5
push 0x20f0
push 0
push ebx
mov ecx, esi
call dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxSizerItem::constructor_class_wxSizer___int__int__int__class_wxObject__]
mov dword [esi], vtable.wxSizerItem.0
jmp 0x401972
xor esi, esi
mov eax, dword [edi + 0x34]
mov edx, dword [edi]
push esi
push eax
mov ecx, edi
mov byte [esp + 0x40], 3
call dword [edx + 0x10]
push 0x154
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x38], 0x12
je 0x401a67
mov eax, dword [sym.imp.wxmsw28_core_vc.dll_char_const__const_const_wxStaticTextNameStr]
test eax, eax
jne 0x4019b1
mov eax, 0x4458c8
mov ecx, dword [sym.imp.wxbase28_vc.dll_unsigned_int_const_wxStringBase::npos]
mov edx, dword [ecx]
lea ecx, [esp + 0x18]
push edx
push 0
push eax
call dword [sym.imp.wxbase28_vc.dll_protected:_void___thiscall_wxStringBase::InitWith_char_const___unsigned_int__unsigned_int_]
or dword [esp + 0x10], 8
mov byte [esp + 0x38], 0x13
call dword [sym.imp.wxbase28_vc.dll_class_wxLocale____cdecl_wxGetLocale_void_]
test eax, eax
je 0x4019eb
mov edx, dword [eax]
push 0
push str.2012.1
mov ecx, eax
call dword [edx + 8]
jmp 0x4019f0
mov eax, str.2012.1
test eax, eax
jne 0x4019f9
mov eax, 0x4458c8
mov ecx, dword [sym.imp.wxbase28_vc.dll_unsigned_int_const_wxStringBase::npos]
mov edx, dword [ecx]
lea ecx, [esp + 0x1c]
push edx
push 0
push eax
call dword [sym.imp.wxbase28_vc.dll_protected:_void___thiscall_wxStringBase::InitWith_char_const___unsigned_int__unsigned_int_]
or dword [esp + 0x10], 0x10
mov edi, dword [sym.imp.wxmsw28_core_vc.dll_class_wxSize_const_wxDefaultSize]
mov ebp, dword [sym.imp.wxmsw28_core_vc.dll_class_wxPoint_const_wxDefaultPosition]
mov ecx, esi
mov dword [esp + 0x38], 0x14
call dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxStaticTextBase::constructor_void_]
mov eax, dword [sym.imp.wxmsw28_core_vc.dll_const_wxStaticText::vftable]
lea ecx, [esp + 0x18]
push ecx
push 0
push edi
lea edx, [esp + 0x28]
mov dword [esi], eax
mov eax, dword [esp + 0x20]
push ebp
push edx
push 0x13f1
push eax
mov ecx, esi
mov dword [esp + 0x54], 0x15
call dword [sym.imp.wxmsw28_core_vc.dll_public:_bool___thiscall_wxStaticText::Create_class_wxWindow___int__class_wxString_const___class_wxPoint_const___class_wxSize_const___long_int__class_wxString_const__]
mov dword [esi], vtable.wxStaticText.0
jmp 0x401a69
xor esi, esi
test byte [esp + 0x10], 0x10
je 0x401a9a
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
and edi, 0xffffffef
lea eax, [ecx - 0xc]
mov dword [esp + 0x10], edi
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x401a9a
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x401a9a
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, byte [esp + 0x10]
mov dword [esp + 0x38], 3
test al, 8
je 0x401ad5
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
and edi, 0xfffffff7
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
mov dword [esp + 0x10], edi
je 0x401ad5
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x401ad5
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push 0x44
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
test edi, edi
mov byte [esp + 0x38], 0x18
je 0x401b0a
push 0
push 5
push 0x8f0
push 0
push esi
mov ecx, edi
call dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxSizerItem::constructor_class_wxWindow___int__int__int__class_wxObject__]
mov dword [edi], vtable.wxSizerItem.0
jmp 0x401b0c
xor edi, edi
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx]
push edi
push eax
mov ecx, ebx
mov byte [esp + 0x40], 3
call dword [edx + 0x10]
push 0x154
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x38], 0x19
je 0x401ba8
mov eax, dword [sym.imp.wxmsw28_core_vc.dll_char_const__const_const_wxStaticLineNameStr]
test eax, eax
jne 0x401b47
mov eax, 0x4458c8
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.wxbase28_vc.dll_public:_void___thiscall_wxStringBase::constructor_char_const__]
mov ebx, dword [esp + 0x10]
or ebx, 0x20
mov dword [esp + 0x10], ebx
mov edi, dword [sym.imp.wxmsw28_core_vc.dll_class_wxSize_const_wxDefaultSize]
mov ebp, dword [sym.imp.wxmsw28_core_vc.dll_class_wxPoint_const_wxDefaultPosition]
mov ecx, esi
mov byte [esp + 0x38], 0x1a
call dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxStaticLineBase::constructor_void_]
mov edx, dword [esp + 0x14]
mov eax, dword [sym.imp.wxmsw28_core_vc.dll_const_wxStaticLine::vftable]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0x1b
push ecx
push 4
push edi
push ebp
push 0x13f1
push edx
mov ecx, esi
mov dword [esi], eax
call dword [sym.imp.wxmsw28_core_vc.dll_public:_bool___thiscall_wxStaticLine::Create_class_wxWindow___int__class_wxPoint_const___class_wxSize_const___long_int__class_wxString_const__]
mov dword [esi], vtable.wxStaticLine.0
jmp 0x401bae
mov ebx, dword [esp + 0x10]
xor esi, esi
test bl, 0x20
mov dword [esp + 0x38], 3
je 0x401bdd
mov eax, dword [esp + 0x1c]
and ebx, 0xffffffdf
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x401bdd
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x401bdd
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [esp + 0x14]
push 0x44
mov ebp, dword [ecx + 0x1a4]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
test edi, edi
mov byte [esp + 0x38], 0x1d
je 0x401c1c
push 0
push 5
push 0x20f0
push 0
push esi
mov ecx, edi
call dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxSizerItem::constructor_class_wxWindow___int__int__int__class_wxObject__]
mov dword [edi], vtable.wxSizerItem.0
jmp 0x401c1e
xor edi, edi
push edi
mov ecx, ebp
mov byte [esp + 0x3c], 3
call dword [sym.imp.wxmsw28_core_vc.dll_public:_class_wxSizerItem____thiscall_wxSizer::Add_class_wxSizerItem__]
push 0x64
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x38], 0x1e
je 0x401c60
push 4
mov ecx, esi
call dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxBoxSizer::constructor_int_]
mov dword [esi], vtable.wxBoxSizer.1.0
mov dword [esi + 8], vtable.wxBoxSizer.0
mov ebp, esi
jmp 0x401c62
xor ebp, ebp
mov edx, dword [esp + 0x14]
push 0x44
mov byte [esp + 0x3c], 3
mov edi, dword [edx + 0x1a4]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x38], 0x1f
je 0x401ca6
push 0
push 5
push 0x20f0
push 0
push ebp
mov ecx, esi
call dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxSizerItem::constructor_class_wxSizer___int__int__int__class_wxObject__]
mov dword [esi], vtable.wxSizerItem.0
jmp 0x401ca8
xor esi, esi
push esi
mov ecx, edi
mov byte [esp + 0x3c], 3
call dword [sym.imp.wxmsw28_core_vc.dll_public:_class_wxSizerItem____thiscall_wxSizer::Add_class_wxSizerItem__]
push 0x44
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x38], 0x20
je 0x401cee
push 0
push 5
push 0x8f0
push 1
push 5
push 5
mov ecx, esi
call dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxSizerItem::constructor_int__int__int__int__int__class_wxObject__]
mov dword [esi], vtable.wxSizerItem.0
jmp 0x401cf0
xor esi, esi
push esi
mov ecx, ebp
mov byte [esp + 0x3c], 3
call dword [sym.imp.wxmsw28_core_vc.dll_public:_class_wxSizerItem____thiscall_wxSizer::Add_class_wxSizerItem__]
push 0x154
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x38], 0x21
je 0x401dbf
mov eax, dword [sym.imp.wxmsw28_core_vc.dll_char_const__const_const_wxButtonNameStr]
test eax, eax
jne 0x401d2c
mov eax, 0x4458c8
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.wxbase28_vc.dll_public:_void___thiscall_wxStringBase::constructor_char_const__]
or ebx, 0x40
mov dword [esp + 0x10], ebx
mov byte [esp + 0x38], 0x22
call dword [sym.imp.wxbase28_vc.dll_class_wxLocale____cdecl_wxGetLocale_void_]
test eax, eax
je 0x401d5d
mov edx, dword [eax]
push 0
push str.Close
mov ecx, eax
call dword [edx + 8]
jmp 0x401d62
mov eax, str.Close
test eax, eax
jne 0x401d6b
mov eax, 0x4458c8
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.wxbase28_vc.dll_public:_void___thiscall_wxStringBase::constructor_char_const__]
or bl, 0x80
mov dword [esp + 0x10], ebx
mov ecx, dword [sym.imp.wxmsw28_core_vc.dll_class_wxValidator_const_wxDefaultValidator]
mov edx, dword [sym.imp.wxmsw28_core_vc.dll_class_wxSize_const_wxDefaultSize]
lea eax, [esp + 0x18]
mov dword [esp + 0x38], 0x23
push eax
mov eax, dword [sym.imp.wxmsw28_core_vc.dll_class_wxPoint_const_wxDefaultPosition]
push ecx
push 0
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0x1389
push edx
mov ecx, esi
call dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxButton::constructor_class_wxWindow___int__class_wxString_const___class_wxPoint_const___class_wxSize_const___long_int__class_wxValidator_const___class_wxString_const__]
mov dword [esi], vtable.wxButton.0
jmp 0x401dc1
xor esi, esi
test bl, 0x80
je 0x401de8
mov eax, dword [esp + 0x1c]
and bl, 0x7f
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x401de8
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x401de8
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
test bl, 0x40
mov dword [esp + 0x38], 3
je 0x401e15
mov ecx, dword [esp + 0x18]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x401e15
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x401e15
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push 0
push 5
push 0x8f0
push 0
push esi
mov ecx, ebp
call dword [sym.imp.wxmsw28_core_vc.dll_public:_class_wxSizerItem____thiscall_wxSizer::Add_class_wxWindow___int__int__int__class_wxObject__]
mov edx, str.PLOTTERICON
test edx, edx
mov eax, edx
jne 0x401e39
mov eax, 0x4458c8
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.wxbase28_vc.dll_public:_void___thiscall_wxStringBase::constructor_char_const__]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x24]
mov bl, 0x26
push 4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], bl
call dword [sym.imp.wxmsw28_core_vc.dll_public:_void___thiscall_wxIcon::constructor_class_wxString_const___long_int__int__int_]
mov esi, dword [esp + 0x14]
push eax
mov byte [esp + 0x3c], 0x27
mov ecx, dword [esi + 0x1a8]
mov edx, dword [ecx]
call dword [edx + 0x2c8]
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], bl
call dword [sym.imp.wxmsw28_core_vc.dll_public_virtual:_void___thiscall_wxIcon::destructor_void_]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x38], 3
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x401ea9
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x401ea9
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [esi + 0x1a4]
mov edx, dword [ecx]
call dword [edx + 0x44]
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.wxmsw28_core_vc.dll_public_virtual:_void___thiscall_wxBitmap::destructor_void_]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret