Function at 0x40a450
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44d1c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
push edi
xor ebx, ebx
push 8
mov dword [esp + 0x14], ebx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x30], edi
cmp edi, ebx
mov dword [esp + 0xa8], ebx
je 0x40a4a2
push esi
mov ecx, edi
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QActionGroup::constructor_class_QObject__]
mov dword [edi], vtable.QActionGroup.0
mov ecx, edi
jmp 0x40a4a4
xor ecx, ecx
mov dword [esp + 0xa8], 0xffffffff
push 1
mov dword [esi + 0x1c], ecx
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QActionGroup::setExclusive_bool_]
push ebx
lea eax, [esp + 0x28]
push 0x29f9
push eax
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeString_int__enum_TLang_]
mov ebx, eax
lea ecx, [esp + 0x6c]
push 0x4f0d
push ecx
mov dword [esp + 0xbc], 1
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeUrl_int_]
add esp, 0x14
mov byte [esp + 0xa8], 2
mov edi, dword [sym.imp.QtGui4.dll_public:_void___thiscall_QIcon::constructor_class_QString_const__]
push eax
lea ecx, [esp + 0x78]
call edi
mov byte [esp + 0xa8], 3
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.QtGui4.dll_public:_class_QAction____thiscall_QActionGroup::addAction_class_QIcon_const___class_QString_const__]
push ebx
push eax
call ebp
mov byte [esp + 0xa8], 2
mov ebx, dword [sym.imp.QtGui4.dll_public:_void___thiscall_QIcon::destructor_void_]
lea ecx, [esp + 0x74]
call ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0xa8], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
mov dword [esp + 0xa8], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0
lea edx, [esp + 0x3c]
push 0x2a00
push edx
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeString_int__enum_TLang_]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x7c]
push 0x4f17
push eax
mov dword [esp + 0xbc], 4
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeUrl_int_]
add esp, 0x14
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0xac], 5
call edi
mov byte [esp + 0xa8], 6
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x1c]
push eax
call ebp
lea ecx, [esp + 0x84]
mov byte [esp + 0xa8], 5
call ebx
lea ecx, [esp + 0x70]
mov byte [esp + 0xa8], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x38]
mov dword [esp + 0xa8], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0
lea edx, [esp + 0x18]
push 0x29ff
push edx
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeString_int__enum_TLang_]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x68]
push 0x4f16
push eax
mov dword [esp + 0xbc], 7
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeUrl_int_]
add esp, 0x14
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0xac], 8
call edi
mov byte [esp + 0xa8], 9
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [esi + 0x1c]
push eax
call ebp
lea ecx, [esp + 0x88]
mov byte [esp + 0xa8], 8
call ebx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa8], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
mov dword [esp + 0xa8], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0
lea edx, [esp + 0x24]
push 0x29fa
push edx
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeString_int__enum_TLang_]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x58]
push 0x4f0e
push eax
mov dword [esp + 0xbc], 0xa
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeUrl_int_]
add esp, 0x14
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xac], 0xb
call edi
mov byte [esp + 0xa8], 0xc
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x1c]
push eax
call ebp
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 0xb
call ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa8], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov dword [esp + 0xa8], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0
lea edx, [esp + 0x30]
push 0x29fb
push edx
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeString_int__enum_TLang_]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x8c]
push 0x4f0f
push eax
mov dword [esp + 0xbc], 0xd
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeUrl_int_]
add esp, 0x14
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xac], 0xe
call edi
mov byte [esp + 0xa8], 0xf
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x1c]
push eax
call ebp
lea ecx, [esp + 0x58]
mov byte [esp + 0xa8], 0xe
call ebx
lea ecx, [esp + 0x80]
mov byte [esp + 0xa8], 0xd
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x2c]
mov dword [esp + 0xa8], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0
lea edx, [esp + 0x38]
push 0x29fc
push edx
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeString_int__enum_TLang_]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x74]
push 0x4f10
push eax
mov dword [esp + 0xbc], 0x10
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeUrl_int_]
add esp, 0x14
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0xac], 0x11
call edi
mov byte [esp + 0xa8], 0x12
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x1c]
push eax
call ebp
lea ecx, [esp + 0x78]
mov byte [esp + 0xa8], 0x11
call ebx
lea ecx, [esp + 0x68]
mov byte [esp + 0xa8], 0x10
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x34]
mov dword [esp + 0xa8], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0
lea edx, [esp + 0x40]
push 0x29fd
push edx
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeString_int__enum_TLang_]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x60]
push 0x4f11
push eax
mov dword [esp + 0xbc], 0x13
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeUrl_int_]
add esp, 0x14
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xac], 0x14
call edi
mov byte [esp + 0xa8], 0x15
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esi + 0x1c]
push eax
call ebp
lea ecx, [esp + 0x50]
mov byte [esp + 0xa8], 0x14
call ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0xa8], 0x13
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0x3c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0
lea edx, [esp + 0x48]
push 0x29f8
push edx
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeString_int__enum_TLang_]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x78]
push 0x4f12
push eax
mov dword [esp + 0xbc], 0x16
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeUrl_int_]
add esp, 0x14
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 0x17
call edi
mov byte [esp + 0xa8], 0x18
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esi + 0x1c]
push eax
call ebp
lea ecx, [esp + 0x64]
mov byte [esp + 0xa8], 0x17
call ebx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], 0x16
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
or ebx, 0xffffffff
lea ecx, [esp + 0x44]
mov dword [esp + 0xa8], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0x14
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x30], edi
test edi, edi
mov dword [esp + 0xa8], 0x19
je 0x40a98c
push 0x4d7a9f
lea ecx, [esp + 0x4c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push esi
lea edx, [esp + 0x4c]
mov byte [esp + 0xac], 0x1a
push edx
mov ecx, edi
mov dword [esp + 0x18], 1
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QMenu::constructor_class_QString_const___class_QWidget__]
mov dword [edi], vtable.QMenu.0
mov dword [edi + 8], vtable.QMenu.1.0
jmp 0x40a98e
xor edi, edi
mov dword [esp + 0xa8], ebx
test byte [esp + 0x10], 1
mov dword [esi + 0x14], edi
je 0x40a9ae
and dword [esp + 0x10], 0xfffffffe
lea ecx, [esp + 0x48]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.QtGui4.dll_public:_class_QList_class_QAction_____thiscall_QActionGroup::actions_void_]
mov eax, dword [eax]
mov ebp, dword [eax + 0xc]
sub ebp, dword [eax + 8]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40a9ec
mov ecx, ebx
lock xadd dword [eax], ecx
jne 0x40a9ec
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
test eax, eax
jne 0x40a9ec
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
xor edi, edi
test ebp, ebp
jle 0x40aac4
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.QtGui4.dll_public:_class_QList_class_QAction_____thiscall_QActionGroup::actions_void_]
mov ebx, eax
mov dword [esp + 0xa8], 0x1c
mov eax, dword [ebx]
mov eax, dword [eax]
cmp eax, 1
je 0x40aa20
push ebx
call fcn.0040b360
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
add ecx, edi
mov ebx, dword [eax + ecx*4 + 0x14]
mov dword [esp + 0xa8], 0xffffffff
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40aa5f
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x40aa5f
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
test ecx, ecx
jne 0x40aa5f
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
push edi
lea ecx, [esp + 0x90]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_]
push eax
mov ecx, ebx
mov dword [esp + 0xac], 0x1d
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QAction::setData_class_QVariant_const__]
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa8], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
cmp edi, 4
je 0x40aaa3
cmp edi, 6
jne 0x40aaac
mov ecx, dword [esi + 0x14]
call dword [sym.imp.QtGui4.dll_public:_class_QAction____thiscall_QMenu::addSeparator_void_]
mov ecx, dword [esi + 0x14]
push ebx
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::addAction_class_QAction__]
add edi, 1
cmp edi, ebp
jl 0x40a9f6
or ebx, 0xffffffff
push 0x68
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x44], edi
test edi, edi
mov dword [esp + 0xa8], 0x1e
je 0x40ab34
push 0x4d7a9f
lea ecx, [esp + 0x44]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [esp + 0x28]
push 0x4f0c
mov byte [esp + 0xac], 0x1f
or dword [esp + 0x14], 2
push eax
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeUrl_int_]
add esp, 8
push 0
push esi
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0xb4], 0x20
or dword [esp + 0x1c], 4
push eax
mov ecx, edi
call sub.control.dll_public:_void___thiscall_CButton::constructor_class_QString_const___class_QString_const___class_QWidget___int_
jmp 0x40ab36
xor eax, eax
mov dword [esp + 0xa8], 0x21
test byte [esp + 0x10], 4
mov dword [esi + 0x18], eax
je 0x40ab5a
and dword [esp + 0x10], 0xfffffffb
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0xa8], ebx
test byte [esp + 0x10], 2
je 0x40ab72
lea ecx, [esp + 0x40]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0
lea edx, [esp + 0x34]
push 0x29fe
push edx
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeString_int__enum_TLang_]
add esp, 0xc
mov dword [esp + 0xa8], 0x23
mov ecx, dword [esi + 0x18]
push eax
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::setToolTip_class_QString_const__]
lea ecx, [esp + 0x30]
mov dword [esp + 0xa8], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0x10
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
test edi, edi
mov dword [esp + 0xa8], 0x24
je 0x40abe3
mov ecx, edi
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QHBoxLayout::constructor_void_]
mov dword [edi], vtable.QHBoxLayout.0
mov dword [edi + 8], vtable.QHBoxLayout.1.0
jmp 0x40abe5
xor edi, edi
push 0
push 0
push 0
push 0
mov ecx, edi
mov dword [esp + 0xb8], ebx
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QLayout::setContentsMargins_int__int__int__int_]
push ecx
mov eax, esp
mov dword [esp + 0x2c], esp
mov dword [eax], 0x80
mov eax, dword [esi + 0x18]
push 0
push eax
mov ecx, edi
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QBoxLayout::addWidget_class_QWidget___int__class_QFlags_enum_Qt::AlignmentFlag__]
push 0x19
mov ecx, esi
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::setMaximumHeight_int_]
push 0x19
mov ecx, esi
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::setMinimumHeight_int_]
push edi
mov ecx, esi
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::setLayout_class_QLayout__]
mov ecx, dword [esp + 0xa0]
pop edi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa0
ret