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

Disassembly:
sub esp, 0x168
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x64], edi
call dword [sym.imp.Qt5Core.dll_protected:_void___thiscall_QAbstractItemModel::beginResetModel_void_]
mov esi, dword [edi + 0x1c]
lea ebx, [edi + 0x1c]
test esi, esi
je 0x40d8ea
mov ecx, esi
call fcn.00407200
push 0xc
push esi
call fcn.00436048
add esp, 8
call dword [sym.imp.Qt5Widgets.dll_public:_static_class_QStyle____cdecl_QApplication::style_void_]
push 0
push 0
push 0x16
mov ecx, dword [eax]
mov edx, dword [ecx + 0x7c]
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
call edx
push eax
lea ecx, [edi + 0x10]
call dword [sym.imp.Qt5Gui.dll_public:_class_QIcon____thiscall_QIcon::operator_class_QIcon__]
mov esi, dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QIcon::destructor_void_]
lea ecx, [esp + 0x6c]
call esi
push str.:_qt_project.org_assistant_images_bookmark.png
push 0x2e
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x54]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QIcon::constructor_class_QString_const__]
push eax
lea ecx, [edi + 0x14]
call dword [sym.imp.Qt5Gui.dll_public:_class_QIcon____thiscall_QIcon::operator_class_QIcon__]
lea ecx, [esp + 0x50]
call esi
lea ecx, [esp + 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0xc
call fcn.00436018
mov ecx, dword [sym.imp.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
add esp, 4
mov ebp, dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QMetaObject::tr_char_const___char_const___int_]
mov esi, eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov ecx, 0x4f02f8
push 0xffffffffffffffff
push 0
push str.Name
push eax
call ebp
mov edi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xbc]
call edi
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404710
push 0xffffffffffffffff
push 0
push str.Address
lea eax, [esp + 0x44]
mov ecx, 0x4f02f8
push eax
call ebp
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xac]
call edi
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404710
push 1
lea ecx, [esp + 0x9c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_bool_]
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404710
push 0
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00407170
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0x98]
mov dword [ebx], eax
call esi
lea ecx, [esp + 0xa8]
call esi
lea ecx, [esp + 0x38]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0xb8]
call esi
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
call fcn.004071a0
mov eax, dword [sym.imp.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
lea ecx, [esp + 0x80]
push dword [esp + 0x17c]
mov dword [esp + 0x14], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDataStream::constructor_class_QByteArray_const__]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x84]
call dword [sym.imp.Qt5Core.dll_public:_class_QDataStream____thiscall_QDataStream::operator___int__]
cmp dword [esp + 0x54], 0xe53798
jae 0x40dc62
mov ecx, dword [esp + 0x84]
push 0
push 0
mov eax, dword [ecx]
call dword [eax + 0x40]
push 0xc
call fcn.00436018
mov ecx, dword [sym.imp.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
add esp, 4
mov esi, eax
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x40]
mov ecx, 0x4f02f8
push 0xffffffffffffffff
push 0
push str.Bookmarks_Toolbar
push eax
call ebp
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xec]
call edi
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x20]
call fcn.00404710
mov edi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QLatin1String_]
lea ecx, [esp + 0xd8]
push str.Folder
push 6
call edi
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x20]
call fcn.00404710
push 1
lea ecx, [esp + 0xcc]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_bool_]
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x20]
call fcn.00404710
push 0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.00407170
lea ecx, [esp + 0xc8]
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0xd8]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0xe8]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0x40]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
call fcn.004071a0
mov ecx, dword [ebx]
push esi
call fcn.00407380
push 0xc
call fcn.00436018
mov edx, dword [sym.imp.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
add esp, 4
mov esi, eax
mov dword [esp + 0x20], edx
lea eax, [esp + 0x44]
mov ecx, 0x4f02f8
push 0xffffffffffffffff
push 0
push str.Bookmarks_Menu
push eax
call ebp
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x11c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x24]
call fcn.00404710
push str.Folder
push 6
lea ecx, [esp + 0x110]
call edi
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x24]
call fcn.00404710
push 1
lea ecx, [esp + 0xfc]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_bool_]
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x24]
call fcn.00404710
push 0
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.00407170
mov ebp, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0xf8]
mov esi, eax
mov dword [esp + 0x58], esi
call ebp
lea ecx, [esp + 0x108]
call ebp
lea ecx, [esp + 0x118]
call ebp
lea ecx, [esp + 0x44]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
call fcn.004071a0
mov ecx, dword [ebx]
push esi
call fcn.00407380
lea eax, [esp + 0x58]
push eax
jmp 0x40dc63
push ebx
lea ecx, [esp + 0x14]
call fcn.0040d4b0
lea ecx, [esp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esp + 0x80]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QDataStream::atEnd_void_const]
mov esi, dword [esp + 0x10]
or ebp, 0xffffffff
test al, al
jne 0x40e204
mov ebp, dword [sym.imp.Qt5Core.dll_class_QDataStream____cdecl_operator___class_QDataStream___class_QString__]
xor edi, edi
mov ebx, dword [sym.imp.Qt5Core.dll_public:_static_struct_QArrayData____cdecl_QArrayData::allocate_unsigned_int__unsigned_int__unsigned_int__class_QFlags_enum_QArrayData::AllocationOption__]
nop word [eax + eax]
lea eax, [esp + 0x48]
mov dword [esp + 0x2c], edi
push eax
lea ecx, [esp + 0x84]
call dword [sym.imp.Qt5Core.dll_public:_class_QDataStream____thiscall_QDataStream::operator___int__]
lea ecx, [esp + 0x30]
push ecx
push eax
call ebp
lea ecx, [esp + 0x30]
push ecx
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x5c]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDataStream____thiscall_QDataStream::operator___bool__]
mov eax, dword [esi + 4]
dec eax
cmp eax, dword [esp + 0x48]
je 0x40deac
mov eax, dword [esi]
cmp eax, 1
je 0x40dd03
test eax, eax
je 0x40dd03
mov al, 1
jmp 0x40dd05
xor al, al
test al, al
je 0x40dd46
mov ecx, dword [esp + 0x10]
test dword [ecx + 8], 0x7fffffff
jne 0x40dd2b
push 2
push 0
push 4
push 4
call ebx
mov esi, eax
add esp, 0x10
mov dword [esp + 0x10], esi
jmp 0x40dd4a
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x14]
and eax, 0x7fffffff
push eax
call fcn.0040d540
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 4]
lea edi, [eax - 1]
mov dword [esp + 0x24], edi
cmp edi, eax
je 0x40de9d
mov eax, dword [esi + 8]
and eax, 0x7fffffff
cmp edi, eax
jg 0x40dd81
mov eax, dword [esi]
cmp eax, 1
je 0x40dd77
test eax, eax
je 0x40dd77
mov al, 1
jmp 0x40dd79
xor al, al
mov edi, dword [esp + 0x24]
test al, al
je 0x40dda4
mov ecx, dword [esi + 8]
xor eax, eax
and ecx, 0x7fffffff
mov edx, 8
cmp edi, ecx
cmovg eax, edx
cmovg ecx, edi
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0040d540
mov eax, dword [esp + 0x10]
cmp edi, dword [eax + 4]
mov eax, dword [eax]
jge 0x40de1c
cmp eax, 1
je 0x40ddbc
test eax, eax
je 0x40ddbc
mov al, 1
jmp 0x40ddbe
xor al, al
test al, al
je 0x40de0d
mov ecx, dword [esp + 0x10]
test dword [ecx + 8], 0x7fffffff
jne 0x40ddf2
push 2
push 0
push 4
push 4
call ebx
add esp, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
call fcn.0040ca70
mov edi, dword [esp + 0x24]
jmp 0x40de94
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x14]
and eax, 0x7fffffff
push eax
call fcn.0040d540
lea ecx, [esp + 0x10]
call fcn.0040ca70
mov edi, dword [esp + 0x24]
jmp 0x40de94
cmp eax, 1
je 0x40de29
test eax, eax
je 0x40de29
mov al, 1
jmp 0x40de2b
xor al, al
test al, al
je 0x40de6a
mov ecx, dword [esp + 0x10]
test dword [ecx + 8], 0x7fffffff
jne 0x40de4f
push 2
push 0
push 4
push 4
call ebx
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x40de6e
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x14]
and eax, 0x7fffffff
push eax
call fcn.0040d540
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
mov edi, dword [esp + 0x24]
add ecx, eax
lea esi, [ecx + edi*4]
lea ecx, [esp + 0x10]
call fcn.0040ca70
sub esi, eax
and esi, 0xfffffffc
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov esi, dword [esp + 0x10]
mov eax, edi
mov dword [esi + 4], edi
dec eax
cmp eax, dword [esp + 0x48]
jne 0x40dcf4
mov edi, dword [esp + 0x2c]
push 0xc
call fcn.00436018
mov ecx, dword [sym.imp.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
add esp, 4
mov ebp, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
mov esi, eax
lea eax, [esp + 0x30]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x148]
push eax
call ebp
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x18]
call fcn.00404710
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x13c]
call ebp
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x18]
call fcn.00404710
push dword [esp + 0x5c]
lea ecx, [esp + 0x12c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_bool_]
lea eax, [esp + 0x128]
or edi, 0xf0000
push eax
lea ecx, [esp + 0x18]
call fcn.00404710
push 0
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00407170
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0x128]
mov ebp, eax
mov dword [esp + 0x60], ebp
call esi
lea ecx, [esp + 0x138]
call esi
lea ecx, [esp + 0x148]
call esi
mov ecx, dword [esp + 0x14]
and edi, 0xfff0ffff
mov dword [esp + 0x2c], edi
mov ecx, dword [ecx]
test ecx, ecx
je 0x40df8e
cmp ecx, 0xffffffff
je 0x40dfd1
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
lea eax, [ecx - 1]
test eax, eax
jne 0x40dfd1
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 4]
shl edi, 4
add edi, ebp
add edi, eax
lea esi, [eax + ebp]
cmp esi, edi
je 0x40dfbf
nop word [eax + eax]
mov ecx, esi
add esi, 0x10
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
cmp esi, edi
jne 0x40dfb0
push 8
push 0x10
push ebp
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_]
mov ebp, dword [esp + 0x6c]
add esp, 0xc
push str.Folder
push 6
lea ecx, [esp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::operator_class_QLatin1String_const]
test al, al
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
je 0x40e127
cmp eax, 1
je 0x40dffd
test eax, eax
je 0x40dffd
mov al, 1
jmp 0x40dfff
xor al, al
test al, al
je 0x40e03e
mov ecx, dword [esp + 0x10]
test dword [ecx + 8], 0x7fffffff
jne 0x40e023
push 2
push 0
push 4
push 4
call ebx
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x40e03e
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x14]
and eax, 0x7fffffff
push eax
call fcn.0040d540
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, 1
je 0x40e051
test eax, eax
je 0x40e051
mov al, 1
jmp 0x40e053
xor al, al
test al, al
je 0x40e094
mov ecx, dword [esp + 0x10]
test dword [ecx + 8], 0x7fffffff
jne 0x40e079
push 2
push 0
push 4
push 4
call ebx
mov esi, eax
add esp, 0x10
mov dword [esp + 0x10], esi
jmp 0x40e098
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x14]
and eax, 0x7fffffff
push eax
call fcn.0040d540
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 4]
lea edi, [esi + 4]
mov eax, dword [esi + 0xc]
push ebp
lea ecx, [eax + ecx*4]
mov ecx, dword [ecx + esi - 4]
call fcn.00407380
mov ecx, dword [esi + 8]
mov edx, dword [edi]
and ecx, 0x7fffffff
mov eax, dword [esi]
inc edx
cmp eax, 1
je 0x40e0c9
test eax, eax
je 0x40e0c9
mov al, 1
jmp 0x40e0cb
xor al, al
test al, al
jne 0x40e0e9
cmp ecx, edx
jb 0x40e0eb
mov eax, dword [esi + 0xc]
mov ecx, dword [edi]
mov esi, dword [esp + 0x10]
lea eax, [eax + ecx*4]
mov dword [eax + esi], ebp
inc dword [edi]
jmp 0x40e1e2
cmp ecx, edx
sbb eax, eax
and eax, 8
cmp edx, ecx
jbe 0x40e0f9
mov ecx, dword [edi]
inc ecx
jmp 0x40e102
mov ecx, dword [esi + 8]
and ecx, 0x7fffffff
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0040d540
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 4]
lea edi, [esi + 4]
mov eax, dword [esi + 0xc]
lea eax, [eax + ecx*4]
mov dword [eax + esi], ebp
inc dword [edi]
jmp 0x40e1e2
cmp eax, 1
je 0x40e134
test eax, eax
je 0x40e134
mov al, 1
jmp 0x40e136
xor al, al
test al, al
je 0x40e175
mov ecx, dword [esp + 0x10]
test dword [ecx + 8], 0x7fffffff
jne 0x40e15a
push 2
push 0
push 4
push 4
call ebx
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x40e175
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x14]
and eax, 0x7fffffff
push eax
call fcn.0040d540
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, 1
je 0x40e188
test eax, eax
je 0x40e188
mov al, 1
jmp 0x40e18a
xor al, al
test al, al
je 0x40e1cb
mov ecx, dword [esp + 0x10]
test dword [ecx + 8], 0x7fffffff
jne 0x40e1b0
push 2
push 0
push 4
push 4
call ebx
mov esi, eax
add esp, 0x10
mov dword [esp + 0x10], esi
jmp 0x40e1cf
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x14]
and eax, 0x7fffffff
push eax
call fcn.0040d540
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
push ebp
lea ecx, [eax + ecx*4]
mov ecx, dword [ecx + esi - 4]
call fcn.00407380
lea ecx, [esp + 0x80]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QDataStream::atEnd_void_const]
mov edi, dword [esp + 0x2c]
mov ebp, dword [sym.imp.Qt5Core.dll_class_QDataStream____cdecl_operator___class_QDataStream___class_QString__]
test al, al
je 0x40dcb0
or ebp, 0xffffffff
mov ebx, dword [esp + 0x64]
mov eax, dword [sym.imp.Qt5Core.dll_struct_QMapDataBase_const_QMapDataBase::shared_null]
mov dword [esp + 0x4c], eax
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x68]
mov dword [ebx + 0x20], eax
call fcn.0040bb50
lea ecx, [esp + 0x4c]
call fcn.0040bb50
mov eax, dword [ebx]
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x78], 0
mov edi, dword [eax + 0x2c]
lea eax, [esp + 0x158]
push eax
mov dword [esp + 0x80], 0
call dword [sym.imp.Qt5Core.dll_public:_class_QModelIndex___thiscall_QModelIndex::parent_void_]
push eax
push 0
push 0
lea eax, [esp + 0x174]
mov ecx, ebx
push eax
call edi
push eax
mov ecx, ebx
call fcn.0040e470
mov ecx, ebx
call dword [sym.imp.Qt5Core.dll_protected:_void___thiscall_QAbstractItemModel::endResetModel_void_]
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x80]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDataStream::destructor_void_]
mov ecx, dword [esi]
mov eax, dword [esp + 0x10]
test ecx, ecx
je 0x40e2c3
cmp ecx, 0xffffffff
je 0x40e2d1
lock xadd dword [eax], ebp
lea ecx, [ebp - 1]
test ecx, ecx
jne 0x40e2d1
push 4
push 4
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret 4