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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4d8b96
mov eax, dword fs:[0]
push eax
sub esp, 0xec
push ebx
push esi
mov eax, dword [0x56e01c]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
mov edx, dword [edi + 0x30]
mov eax, dword [eax + 0xd0]
push edx
call eax
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edi + 0x30]
mov edx, dword [edx + 0xd0]
push eax
call edx
or esi, 0xffffffff
xor ebx, ebx
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
lea edx, [esp + 0x94]
push edx
mov dword [esp + 0x104], ebx
mov ecx, dword [edi + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
push ebx
push ebx
lea edx, [esp + 0xc0]
push edx
call eax
mov byte [esp + 0x100], 1
mov ecx, dword [edi + 0x18]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0xf4]
call eax
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
lea eax, [esp + 0x84]
push eax
mov dword [esp + 0x104], 2
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
push ebx
push 1
lea eax, [esp + 0xb0]
push eax
call edx
mov byte [esp + 0x100], 3
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0xf4]
call eax
mov dword [esp + 0x100], esi
mov ecx, dword [sym.imp.QtCore4.dll_class_QCoreApplication__QCoreApplication::self]
mov esi, dword [sym.imp.QtCore4.dll_public:_class_QObject____thiscall_QMetaObject::cast_class_QObject__const]
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov eax, dword [ecx]
push eax
mov ecx, 0x56e524
call esi
mov eax, dword [eax + 8]
push eax
mov ecx, 0x56e674
call esi
cmp eax, ebx
je 0x40e212
mov eax, dword [eax + 0x60]
cmp eax, ebx
je 0x40e212
mov ecx, eax
call dword [sym.imp.QtGui4.dll_public:_class_QMenu____thiscall_QSystemTrayIcon::contextMenu_void_const]
lea edx, [esp + 0x54]
push edx
mov ecx, eax
mov dword [esp + 0x5c], eax
call dword [sym.imp.QtGui4.dll_public:_class_QList_class_QAction_____thiscall_QWidget::actions_void_]
mov dword [esp + 0x100], 4
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
sub ecx, 1
mov dword [esp + 0x3c], ecx
js 0x40dcac
jmp 0x40dc78
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax + 8]
push ebx
push 0x56ea4c
push 0x56ea34
add edx, ecx
mov eax, dword [eax + edx*4 + 0x14]
push ebx
push eax
call sub.MSVCR90.dll___RTDynamicCast
add esp, 0x14
cmp eax, ebx
je 0x40dca5
mov ecx, dword [esp + 0x58]
push eax
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::removeAction_class_QAction__]
sub dword [esp + 0x3c], 1
jns 0x40dc70
mov ecx, dword [sym.imp.QtCore4.dll_class_QCoreApplication__QCoreApplication::self]
mov eax, dword [ecx]
push eax
mov ecx, 0x56e524
call esi
mov eax, dword [eax + 8]
push eax
mov ecx, 0x56e674
call esi
mov eax, dword [eax + 0x84]
lea edx, [esp + 0x50]
push edx
mov ecx, eax
mov dword [esp + 0x6c], eax
call dword [sym.imp.QtGui4.dll_public:_class_QList_class_QAction_____thiscall_QWidget::actions_void_]
mov byte [esp + 0x100], 5
mov eax, dword [esp + 0x50]
mov ebx, dword [eax + 0xc]
sub ebx, dword [eax + 8]
sub ebx, 1
js 0x40dd2f
jmp 0x40dcfb
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
push 0
push 0x56ea4c
push 0x56ea34
add ecx, ebx
mov edx, dword [eax + ecx*4 + 0x14]
push 0
push edx
call sub.MSVCR90.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x40dd2a
mov ecx, dword [esp + 0x68]
push eax
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::removeAction_class_QAction__]
sub ebx, 1
jns 0x40dcf7
mov eax, dword [edi + 0x30]
mov ecx, dword [sym.imp.QtCore4.dll_class_QCoreApplication__QCoreApplication::self]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx]
push eax
mov ecx, 0x56e524
call esi
mov eax, dword [eax + 8]
push eax
mov ecx, 0x56e674
call esi
mov eax, dword [eax + 0x70]
mov ebx, dword [sym.imp.QtGui4.dll_public:_void___thiscall_QAction::setVisible_bool_]
push 1
mov ecx, eax
mov dword [esp + 0x44], eax
call ebx
mov edx, dword [sym.imp.QtCore4.dll_class_QCoreApplication__QCoreApplication::self]
mov eax, dword [edx]
push eax
mov ecx, 0x56e524
call esi
mov eax, dword [eax + 8]
push eax
mov ecx, 0x56e674
call esi
mov eax, dword [eax + 0x74]
push 1
mov ecx, eax
mov dword [esp + 0x64], eax
call ebx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
lea ebx, [eax + ecx*4 + 0x14]
lea eax, [eax + edx*4 + 0x14]
cmp ebx, eax
je 0x40de95
lea esp, [esp]
mov eax, dword [ebx]
push 0xc
mov dword [esp + 0x50], eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x5c], eax
mov byte [esp + 0x100], 6
test eax, eax
je 0x40de15
mov eax, dword [esp + 0x4c]
push edi
push ecx
mov esi, esp
mov dword [esp + 0x50], esp
call fcn.0049eeb0
mov edx, dword [esp + 0x54]
push ecx
mov ecx, esp
mov byte [esp + 0x10c], 7
mov dword [esp + 0x88], esp
push ecx
push edx
call fcn.00409c80
mov esi, dword [esp + 0x68]
mov byte [esp + 0x10c], 6
call fcn.0049faf0
mov dword [esp + 0x48], eax
jmp 0x40de1d
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x4c]
lea esi, [esp + 0x64]
mov byte [esp + 0x100], 5
call fcn.0049eeb0
mov eax, esi
mov byte [esp + 0x100], 8
mov esi, dword [esp + 0x48]
push eax
lea ecx, [esi + 8]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [esp + 0x64]
mov byte [esp + 0x100], 5
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x60]
push esi
push ecx
mov ecx, dword [esp + 0x60]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::insertAction_class_QAction___class_QAction__]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x68]
push esi
push edx
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::insertAction_class_QAction___class_QAction__]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0xc]
add ebx, 4
lea eax, [eax + ecx*4 + 0x14]
cmp ebx, eax
jne 0x40ddb0
mov esi, dword [esp + 0x3c]
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 8]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 0xc]
lea eax, [eax + edx*4 + 0x14]
mov dword [esp + 0x48], ecx
cmp ecx, eax
je 0x40df9d
jmp 0x40debc
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
push 0xc
mov dword [esp + 0x50], eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x100], 9
test ebx, ebx
je 0x40df1f
mov eax, dword [esp + 0x4c]
push edi
push ecx
mov esi, esp
mov dword [esp + 0x6c], esp
call fcn.0049eeb0
mov edx, dword [esp + 0x54]
push ecx
mov ecx, esp
mov byte [esp + 0x10c], 0xa
mov dword [esp + 0x80], esp
push ecx
push edx
call fcn.00409c80
mov esi, ebx
mov byte [esp + 0x10c], 9
call fcn.0049faf0
mov ebx, eax
jmp 0x40df21
xor ebx, ebx
mov eax, dword [esp + 0x4c]
lea esi, [esp + 0x5c]
mov byte [esp + 0x100], 5
call fcn.0049eeb0
mov eax, esi
push eax
lea ecx, [ebx + 8]
mov byte [esp + 0x104], 0xb
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
mov ecx, esi
mov byte [esp + 0x100], 5
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x60]
mov esi, dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::insertAction_class_QAction___class_QAction__]
push ebx
push ecx
mov ecx, dword [esp + 0x60]
call esi
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x68]
push ebx
push edx
call esi
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x48]
mov edx, dword [eax + 0xc]
add ecx, 4
lea eax, [eax + edx*4 + 0x14]
mov dword [esp + 0x48], ecx
cmp ecx, eax
jne 0x40deb8
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x58]
push str.1trayMenuAction_QAction_
push edi
push str.2triggered_QAction_
push ebx
call dword [sym.imp.QtCore4.dll_public:_static_bool___cdecl_QObject::disconnect_class_QObject_const___char_const___class_QObject_const___char_const__]
push 0
push str.1trayMenuAction_QAction_
push edi
push str.2triggered_QAction_
push ebx
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 [esi + 8]
mov cl, byte [eax + 0xc]
sub cl, byte [eax + 8]
mov eax, dword [esi + 0x10]
mov bl, byte [eax + 0xc]
mov esi, dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::setMinimumWidth_int_]
add esp, 0x24
sub bl, byte [eax + 8]
mov byte [esp + 0x38], cl
mov ecx, dword [edi + 0x18]
jne 0x40dff2
push 0xd2
jmp 0x40dff7
push 0x118
call esi
mov ecx, dword [edi + 0x18]
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QWidget::minimumWidth_void_const]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x40], eax
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QWidget::minimumWidth_void_const]
mov ecx, dword [edi + 0x1c]
push eax
call esi
mov ecx, dword [edi + 0x18]
push 1
push 1
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::resize_int__int_]
mov ecx, dword [edi + 0x1c]
push 1
push 1
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::resize_int__int_]
mov eax, dword [esp + 0x40]
push eax
mov ecx, edi
call esi
push 1
push 1
mov ecx, edi
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::resize_int__int_]
fld qword [0x537480]
fst qword [esp + 0x74]
test bl, bl
jle 0x40e05e
fstp st(0)
fld qword [0x537478]
fst qword [esp + 0x74]
movsx edx, byte [esp + 0x38]
fldz
fstp qword [esp + 0x6c]
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x6c]
push ecx
fild dword [esp + 0x44]
sub esp, 8
fdivrp st(1)
fstp qword [esp]
call dword [sym.imp.MSVCR90.dll_modf]
fldz
fcompp
add esp, 0xc
fnstsw ax
fld qword [esp + 0x6c]
test ah, 5
jp 0x40e09c
fadd qword [0x537468]
call fcn.004cf0b0
mov ecx, dword [edi + 0x18]
mov esi, dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::setMinimumHeight_int_]
cbw
imul ax, ax, 0x45
movzx eax, ax
cwde
push eax
mov dword [esp + 0x44], eax
call esi
mov ecx, dword [edi + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push 1
call eax
test bl, bl
jle 0x40e15b
movsx edx, bl
mov dword [esp + 0x60], edx
lea ecx, [esp + 0x6c]
push ecx
fild dword [esp + 0x64]
sub esp, 8
fdiv qword [esp + 0x80]
fstp qword [esp]
call dword [sym.imp.MSVCR90.dll_modf]
fldz
fcompp
add esp, 0xc
fnstsw ax
fld qword [esp + 0x6c]
test ah, 5
jp 0x40e10a
fadd qword [0x537468]
call fcn.004cf0b0
cmp al, 2
jge 0x40e115
mov al, 2
mov ecx, dword [edi + 0x1c]
cbw
imul ax, ax, 0x45
inc ax
movzx eax, ax
movsx ebx, ax
push ebx
call esi
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push 1
call eax
mov ecx, dword [esp + 0x40]
add ebx, ecx
push ebx
mov ecx, edi
call esi
lea edx, [esp + 0x38]
mov byte [esp + 0x38], 1
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], edx
lea eax, [esp + 0x74]
jmp 0x40e18c
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push 0
call eax
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, edi
call esi
lea edx, [esp + 0x44]
mov byte [esp + 0x44], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], edx
lea eax, [esp + 0x7c]
mov esi, dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject___struct_QMetaObject_const___int__void___]
push eax
push 3
push 0x56e544
push edi
call esi
add esp, 0x10
push 0
push 2
push 0x56e544
push edi
call esi
mov byte [esp + 0x110], 4
mov eax, dword [esp + 0x60]
mov esi, dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 0x10
test eax, eax
je 0x40e1e2
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40e1e2
mov edx, dword [esp + 0x50]
mov eax, dword [edx]
test eax, eax
jne 0x40e1e2
mov ecx, dword [esp + 0x50]
push ecx
call esi
add esp, 4
mov dword [esp + 0x100], 0xffffffff
mov eax, dword [esp + 0x54]
test eax, eax
je 0x40e212
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x40e212
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
test ecx, ecx
jne 0x40e212
mov edx, dword [esp + 0x54]
push edx
call esi
add esp, 4
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret