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

Disassembly:
push 0xffffffffffffffff
push 0x43a529
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d0d8c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x4071c2
mov edi, dword [esp + 0x70]
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x24], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
push edi
mov dword [esp + 0x6c], ebx
call fcn.0040c520
mov ebp, eax
cmp ebp, ebx
je 0x4071c2
mov eax, dword [esp + 0x74]
push eax
mov ecx, ebp
call fcn.004077e0
mov ecx, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
call fcn.00407810
test eax, eax
jle 0x4070c8
push ebx
mov ecx, ebp
call fcn.004077e0
mov edi, eax
test edi, edi
je 0x4070b0
push edi
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.0040d7b0
push 0x84
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 1
call dword [sym.imp.QtCore4.dll_public:_class_QVariant___thiscall_QModelIndex::data_int_]
or dword [esp + 0x14], 1
mov ecx, eax
mov byte [esp + 0x68], 2
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QVariant::toBool_void_const]
test al, al
je 0x407059
cmp edi, dword [esp + 0x1c]
je 0x407059
mov bl, 1
jmp 0x40705b
xor bl, bl
test byte [esp + 0x14], 1
mov dword [esp + 0x68], 1
je 0x407079
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x50]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
test bl, bl
je 0x40709d
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x18]
xor eax, eax
mov byte [esp + 0x68], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
inc ebx
mov ecx, ebp
mov dword [esp + 0x18], ebx
call fcn.00407810
cmp ebx, eax
jl 0x407000
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x44]
push edx
call fcn.0040d7b0
push 0x84
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 3
call dword [sym.imp.QtCore4.dll_public:_class_QVariant___thiscall_QModelIndex::data_int_]
mov ecx, eax
mov byte [esp + 0x68], 4
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QVariant::toBool_void_const]
lea ecx, [esp + 0x50]
mov bl, al
mov byte [esp + 0x68], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
test bl, bl
je 0x407120
cmp byte [esi + 8], 0
jne 0x40712a
jmp 0x4071c2
cmp byte [esi + 8], 0
jne 0x4071c2
mov edx, dword [esi]
mov edx, dword [edx + 0xa4]
push edi
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push ecx
push edx
push eax
mov ecx, esi
mov byte [esp + 0x74], 5
call dword [sym.imp.QtCore4.dll_protected:_void___thiscall_QAbstractItemModel::beginInsertRows_class_QModelIndex_const___int__int_]
mov edi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QPersistentModelIndex::constructor_class_QModelIndex_const__]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 3
call edi
lea ecx, [esp + 0x20]
push ecx
mov bl, 6
lea ecx, [esp + 0x74]
mov byte [esp + 0x6c], bl
call edi
lea edx, [esp + 0x74]
push edx
push 0
lea eax, [esp + 0x78]
lea edi, [esi + 0x10]
push eax
mov ecx, edi
mov byte [esp + 0x74], 7
call fcn.00406910
inc eax
push eax
mov ecx, edi
call fcn.00406e20
mov edi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QPersistentModelIndex::destructor_void_]
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], bl
call edi
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 3
call edi
mov ecx, esi
call dword [sym.imp.QtCore4.dll_protected:_void___thiscall_QAbstractItemModel::endInsertRows_void_]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0xc