Function at 0x40bd10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x411e59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0xa4]
push edi
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QMenu::clear_void_]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0xa4]
mov edi, dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::addAction_class_QAction__]
push eax
call edi
mov ecx, dword [esi + 0x70]
push ecx
mov ecx, dword [esi + 0xa4]
call edi
mov ecx, dword [esi + 0xa4]
mov ebx, dword [sym.imp.QtGui4.dll_public:_class_QAction____thiscall_QMenu::addSeparator_void_]
call ebx
mov edx, dword [esi + 0x74]
mov ecx, dword [esi + 0xa4]
push edx
call edi
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0xa4]
push eax
call edi
mov ecx, dword [esi + 0xa4]
call ebx
mov ecx, dword [esi + 0x7c]
push ecx
mov ecx, dword [esi + 0xa4]
call edi
mov edx, dword [esi + 0x80]
mov ecx, dword [esi + 0xa4]
push edx
call edi
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0xa4]
push eax
call edi
xor edi, edi
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x14]
call dword [sym.imp.QtGui4.dll_public:_class_QList_class_QMdiSubWindow_____thiscall_QMdiArea::subWindowList_enum_QMdiArea::WindowOrder_]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
cmp edx, dword [eax + 8]
mov dword [esp + 0x58], edi
setne al
movzx ecx, al
push ecx
mov ecx, dword [esi + 0x84]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QAction::setVisible_bool_]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
sub edx, ecx
test edx, edx
jle 0x40c177
push ebp
jmp 0x40be00
mov ebx, dword [sym.imp.QtGui4.dll_public:_class_QWidget____thiscall_QMdiSubWindow::widget_void_const]
add ecx, edi
mov ecx, dword [eax + ecx*4 + 0x14]
push 0x415728
call ebx
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QObject::inherits_char_const__const]
test al, al
je 0x40c161
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
add ecx, edi
mov ecx, dword [eax + ecx*4 + 0x14]
call ebx
push eax
mov ecx, 0x427380
call dword [sym.imp.QtCore4.dll_public:_class_QObject____thiscall_QMetaObject::cast_class_QObject__const]
mov ebx, eax
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x1c], eax
mov edx, 1
lock xadd dword [eax], edx
cmp edi, 9
mov byte [esp + 0x5c], 1
jge 0x40bf74
mov byte [esp + 0x44], 0x20
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x16]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov byte [esp + 0x48], 0x20
mov ecx, dword [esp + 0x48]
push ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
lea edx, [esp + 0x2c]
push edx
mov ecx, ebx
call fcn.0040d650
mov ebp, eax
push 0
lea eax, [esp + 0x2c]
push str._1__2
push eax
mov byte [esp + 0x68], 2
call fcn.00408bb0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0xa
push 0
lea edx, [edi + 1]
push edx
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
mov byte [esp + 0x70], 3
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_int__int__int__class_QChar_const__]
lea edx, [esp + 0x12]
push edx
push 0
push ebp
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
mov byte [esp + 0x6c], 4
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_const__]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 5
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
mov edx, dword [esp + 0x20]
mov ebp, dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
mov byte [esp + 0x5c], 4
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40bf1a
mov ecx, dword [esp + 0x20]
push ecx
call ebp
add esp, 4
mov edx, dword [esp + 0x24]
mov byte [esp + 0x5c], 3
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40bf36
mov ecx, dword [esp + 0x24]
push ecx
call ebp
add esp, 4
mov edx, dword [esp + 0x28]
mov byte [esp + 0x5c], 2
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40bf52
mov ecx, dword [esp + 0x28]
push ecx
call ebp
add esp, 4
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x5c], 1
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40c086
mov ecx, dword [esp + 0x2c]
push ecx
call ebp
jmp 0x40c083
mov byte [esp + 0x4c], 0x20
mov edx, dword [esp + 0x4c]
push edx
lea ecx, [esp + 0x1a]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov byte [esp + 0x50], 0x20
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebx
call fcn.0040d650
mov ebp, eax
push 0
lea edx, [esp + 0x3c]
push 0x415754
push edx
mov byte [esp + 0x68], 6
call fcn.00408bb0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0xa
push 0
lea edx, [edi + 1]
push edx
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
mov byte [esp + 0x70], 7
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_int__int__int__class_QChar_const__]
lea edx, [esp + 0x16]
push edx
push 0
push ebp
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
mov byte [esp + 0x6c], 8
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_const__]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 9
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
mov edx, dword [esp + 0x30]
mov ebp, dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
mov byte [esp + 0x5c], 8
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40c02e
mov ecx, dword [esp + 0x30]
push ecx
call ebp
add esp, 4
mov edx, dword [esp + 0x34]
mov byte [esp + 0x5c], 7
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40c04a
mov ecx, dword [esp + 0x34]
push ecx
call ebp
add esp, 4
mov edx, dword [esp + 0x38]
mov byte [esp + 0x5c], 6
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40c066
mov ecx, dword [esp + 0x38]
push ecx
call ebp
add esp, 4
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x5c], 1
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40c086
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov ecx, dword [esi + 0xa4]
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.QtGui4.dll_public:_class_QAction____thiscall_QMenu::addAction_class_QString_const__]
mov ebp, eax
push 1
mov ecx, ebp
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QAction::setCheckable_bool_]
mov ecx, dword [esi + 0x14]
call dword [sym.imp.QtGui4.dll_public:_class_QMdiSubWindow____thiscall_QMdiArea::activeSubWindow_void_const]
mov dword [esp + 0x40], eax
test eax, eax
je 0x40c0fc
push 0x415728
mov ecx, eax
call dword [sym.imp.QtGui4.dll_public:_class_QWidget____thiscall_QMdiSubWindow::widget_void_const]
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QObject::inherits_char_const__const]
mov ecx, dword [esp + 0x40]
test al, al
je 0x40c0e5
call dword [sym.imp.QtGui4.dll_public:_class_QWidget____thiscall_QMdiSubWindow::widget_void_const]
push eax
mov ecx, 0x427380
call dword [sym.imp.QtCore4.dll_public:_class_QObject____thiscall_QMetaObject::cast_class_QObject__const]
jmp 0x40c0fe
call dword [sym.imp.QtGui4.dll_public:_class_QWidget____thiscall_QMdiSubWindow::widget_void_const]
push eax
mov ecx, 0x427358
call dword [sym.imp.QtCore4.dll_public:_class_QObject____thiscall_QMetaObject::cast_class_QObject__const]
mov eax, dword [eax + 0x14]
jmp 0x40c0fe
xor eax, eax
cmp ebx, eax
sete al
movzx ecx, al
push ecx
mov ecx, ebp
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QAction::setChecked_bool_]
mov edx, dword [esi + 0x34]
push 0
push str.1map__
push edx
push str.2triggered__
push ebp
call dword [sym.imp.QtCore4.dll_public:_static_bool___cdecl_QObject::connect_class_QObject_const___char_const___class_QObject_const___char_const___enum_Qt::ConnectionType_]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 8]
add ecx, edi
mov edx, dword [eax + ecx*4 + 0x14]
mov ecx, dword [esi + 0x34]
add esp, 0x14
push edx
push ebp
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSignalMapper::setMapping_class_QObject___class_QWidget__]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x5c], 0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40c161
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
inc edi
sub edx, ecx
cmp edi, edx
jl 0x40be00
pop ebp
pop edi
pop esi
mov dword [esp + 0x50], 0xffffffff
or ecx, 0xffffffff
pop ebx
lock xadd dword [eax], ecx
jne 0x40c199
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret