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

Disassembly:
push 0xffffffffffffffff
push 0x43bbe1
mov eax, dword fs:[0]
push eax
sub esp, 0x124
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d0d8c]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x54], ebp
xor ebx, ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.QtCore4.dll_protected:_void___thiscall_QAbstractItemModel::beginResetModel_void_]
mov esi, dword [ebp + 0x1c]
cmp esi, ebx
je 0x40f196
mov ecx, esi
call fcn.00407a50
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
push ebx
push ebx
lea eax, [esp + 0x60]
push 0x16
push eax
call dword [sym.imp.QtGui4.dll_public:_static_class_QStyle____cdecl_QApplication::style_void_]
mov ecx, eax
call dword [sym.imp.QtGui4.dll_public:_class_QIcon___thiscall_QStyle::standardIcon_enum_QStyle::StandardPixmap__class_QStyleOption_const___class_QWidget_const__]
mov esi, dword [sym.imp.QtGui4.dll_public:_class_QIcon____thiscall_QIcon::operator_class_QIcon_const__]
push eax
lea ecx, [ebp + 0x10]
mov dword [esp + 0x144], ebx
call esi
mov edi, dword [sym.imp.QtGui4.dll_public:_void___thiscall_QIcon::destructor_void_]
lea ecx, [esp + 0x58]
mov dword [esp + 0x140], 0xffffffff
call edi
push 0xffffffffffffffff
push str.:_trolltech_assistant_images_bookmark.png
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromLatin1_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x144], 1
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QIcon::constructor_class_QString_const__]
push eax
lea ecx, [ebp + 0x14]
mov byte [esp + 0x144], 2
call esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x140], 1
call edi
mov edx, dword [esp + 0x38]
mov dword [esp + 0x140], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40f247
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
push 0xc
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
mov edi, 3
mov dword [esp + 0x140], edi
test esi, esi
je 0x40f367
push 1
lea ecx, [esp + 0xf0]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_bool_]
push 0
lea edx, [esp + 0x4c]
push str.Address
push edx
mov byte [esp + 0x14c], 4
mov dword [esp + 0x20], 1
call fcn.0040c3b0
add esp, 0xc
mov dword [esp + 0x14], edi
mov edi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
push eax
lea ecx, [esp + 0xb0]
mov dword [esp + 0x144], 5
call edi
push 0
lea eax, [esp + 0x50]
push str.Name
mov ebx, 7
push eax
mov dword [esp + 0x14c], 6
mov dword [esp + 0x20], ebx
call fcn.0040c3b0
add esp, 0xc
push eax
lea ecx, [esp + 0x110]
mov dword [esp + 0x144], ebx
mov dword [esp + 0x18], 0xf
call edi
mov eax, dword [sym.imp.QtCore4.dll_struct_QVectorData_QVectorData::shared_null]
mov dword [esp + 0x20], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x10c]
mov ebx, 0x3f
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x144], 9
mov dword [esp + 0x18], ebx
call fcn.00405910
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x24]
call fcn.00405910
lea ecx, [esp + 0xec]
push ecx
lea ecx, [esp + 0x24]
call fcn.00405910
push 0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00407bd0
jmp 0x40f369
xor eax, eax
mov dword [ebp + 0x1c], eax
mov dword [esp + 0x140], 0xe
test bl, 0x20
je 0x40f3a6
mov eax, dword [esp + 0x20]
and ebx, 0xffffffdf
mov dword [esp + 0x14], ebx
test eax, eax
je 0x40f3a6
or edi, 0xffffffff
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x40f3a9
mov edx, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x24]
call fcn.004048e0
jmp 0x40f3a9
or edi, 0xffffffff
mov esi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
mov dword [esp + 0x140], 0xd
test bl, 0x10
je 0x40f3cf
and ebx, 0xffffffef
lea ecx, [esp + 0x10c]
mov dword [esp + 0x14], ebx
call esi
mov dword [esp + 0x140], 0xc
test bl, 8
je 0x40f400
mov eax, dword [esp + 0x4c]
and ebx, 0xfffffff7
mov dword [esp + 0x14], ebx
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x40f400
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov dword [esp + 0x140], 0xb
test bl, 4
je 0x40f420
and ebx, 0xfffffffb
lea ecx, [esp + 0xac]
mov dword [esp + 0x14], ebx
call esi
mov dword [esp + 0x140], 0xa
test bl, 2
je 0x40f451
mov eax, dword [esp + 0x48]
and ebx, 0xfffffffd
mov dword [esp + 0x14], ebx
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x40f451
mov edx, dword [esp + 0x48]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov dword [esp + 0x140], edi
test bl, 1
je 0x40f46d
and ebx, 0xfffffffe
lea ecx, [esp + 0xec]
mov dword [esp + 0x14], ebx
call esi
push 0xc
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x140], 0x10
test esi, esi
je 0x40f586
push 1
lea ecx, [esp + 0xa0]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_bool_]
lea eax, [esp + 0x50]
or ebx, 0x40
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x144], 0x11
mov dword [esp + 0x18], ebx
mov dword [esp + 0x54], str.Folder
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_class_QLatin1String_const__]
push 0
lea ecx, [esp + 0x48]
push str.Bookmarks_Menu
or ebx, 0x80
push ecx
mov dword [esp + 0x14c], 0x12
mov dword [esp + 0x20], ebx
call fcn.0040c3b0
add esp, 0xc
or ebx, 0x100
push eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0x144], 0x13
mov dword [esp + 0x18], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
mov eax, dword [sym.imp.QtCore4.dll_struct_QVectorData_QVectorData::shared_null]
or ebx, 0x200
mov dword [esp + 0x1c], eax
mov edx, 1
lock xadd dword [eax], edx
lea eax, [esp + 0xcc]
or ebx, 0x400
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x144], 0x15
mov dword [esp + 0x18], ebx
call fcn.00405910
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405910
lea edx, [esp + 0x9c]
push edx
lea ecx, [esp + 0x20]
call fcn.00405910
push 0
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00407bd0
mov esi, eax
jmp 0x40f588
xor esi, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x140], 0x19
test ebx, 0x400
je 0x40f5c7
mov eax, dword [esp + 0x1c]
and ebx, 0xfffffbff
mov dword [esp + 0x14], ebx
test eax, eax
je 0x40f5c7
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x40f5c7
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x20]
call fcn.004048e0
mov dword [esp + 0x140], 0x18
test ebx, 0x200
je 0x40f5f1
and ebx, 0xfffffdff
lea ecx, [esp + 0xcc]
mov dword [esp + 0x14], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
mov dword [esp + 0x140], 0x17
test ebx, 0x100
je 0x40f628
mov eax, dword [esp + 0x44]
and ebx, 0xfffffeff
mov dword [esp + 0x14], ebx
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x40f628
mov edx, dword [esp + 0x44]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov dword [esp + 0x140], 0x16
test bl, bl
jns 0x40f64e
and ebx, 0xffffff7f
lea ecx, [esp + 0x8c]
mov dword [esp + 0x14], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
mov dword [esp + 0x140], edi
test bl, 0x40
je 0x40f66e
and ebx, 0xffffffbf
lea ecx, [esp + 0x9c]
mov dword [esp + 0x14], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
mov ecx, dword [ebp + 0x1c]
push esi
call fcn.00407c20
mov eax, dword [sym.imp.QtCore4.dll_struct_QVectorData_QVectorData::shared_null]
mov dword [esp + 0x18], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x144], 0x1b
call fcn.0040d190
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x2c], eax
mov ecx, 1