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

Disassembly:
push 0xffffffffffffffff
push 0x406416
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x443154]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x9c]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], eax
xor ebx, ebx
mov dword [esp + 0x94], ebx
cmp ecx, ebx
jl 0x403018
cmp edx, ebx
jl 0x403018
cmp eax, ebx
je 0x403018
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.QtCore4.dll_public:_class_QModelIndex___thiscall_QModelIndex::parent_void_]
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov edi, dword [eax + 8]
mov dword [esp + 0x24], edi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
jmp 0x402fd8
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x7c]
push ebp
call eax
test al, al
je 0x403039
mov ecx, dword [esi + 8]
mov byte [esi + 0x14], 1
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
push ebp
call eax
mov byte [esi + 0x14], bl
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
push ebp
call eax
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x38]
push ebp
mov dword [esp + 0x1c], edi
call eax
mov dword [esp + 0x14], eax
test edi, edi
jle 0x4031b2
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x7c]
push ebp
call eax
test al, al
je 0x403083
mov ecx, dword [esi + 8]
mov byte [esi + 0x14], 1
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
push ebp
call eax
mov byte [esi + 0x14], 0
xor edi, edi
cmp dword [esp + 0x14], edi
jle 0x4031a7
nop
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
push ebp
push edi
push ebx
lea eax, [esp + 0x38]
push eax
call edx
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
push ebp
push edi
push ebx
lea edx, [esp + 0x88]
push edx
mov byte [esp + 0xa4], 1
call eax
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
push ebp
push edi
push ebx
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0xa4], 2
call edx
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
push ebp
push edi
push ebx
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0xa4], 3
call eax
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x9c], 4
call edx
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x98], 5
call eax
test al, al
je 0x40314b
mov eax, dword [esp + 0xa0]
cmp eax, 0xa
jge 0x40314b
inc eax
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
mov dword [esp + 0xa8], eax
call fcn.00402f80
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
push ebp
push edi
push ebx
lea eax, [esp + 0x48]
push eax
call edx
xor eax, eax
inc edi
cmp edi, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov byte [esp + 0x94], al
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
jl 0x403090
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x403061
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 8