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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x5c
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
lea eax, [ecx + 0x78]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x78]
mov edx, dword [eax + 4]
test edx, edx
jne 0x666999c8
mov edx, eax
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + 0xc]
mov eax, dword [edx + 8]
and eax, 0x7fffffff
cmp ecx, eax
jg 0x66699a80
mov eax, dword [edx]
cmp eax, 1
jbe 0x66699aa5
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x20], eax
lea edx, [eax + 8]
mov eax, dword [eax + 8]
add eax, 1
cmp eax, 1
ja 0x66699b10
mov esi, dword [esp + 0x20]
test byte [esi + 0x20], 1
je 0x66699ae8
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 4]
test edx, edx
jne 0x666997fc
jmp 0x66699bc0
add ecx, 4
sub edx, 1
je 0x66699bc0
mov eax, dword [ecx]
cmp eax, esi
je 0x666997f0
mov edi, dword [0x66a1fdbc]
mov dword [esp + 0x28], esi
lea esi, [esp + 0x30]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x2c], 1
jmp 0x666998d4
xor edx, edx
cmp ebp, eax
ja 0x6669994c
mov dword [esp + 4], edx
mov ecx, edi
mov dword [esp], eax
call fcn.667d12c0
mov edx, dword [ebx + 0x78]
sub esp, 8
mov ecx, dword [edx + 4]
mov ebp, dword [esp + 0x40]
mov eax, ecx
add ecx, 1
shl eax, 4
add eax, dword [edx + 0xc]
add eax, edx
mov dword [eax], ebp
mov ebp, dword [0x66a1f9dc]
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x44]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x48]
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x4c]
mov dword [eax + 0xc], ebp
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], 0
mov dword [edx + 4], ecx
lea ecx, [esp + 0x4c]
call eax
mov eax, dword [esp + 0x40]
mov edx, dword [eax]
test edx, edx
je 0x66699960
cmp edx, 0xffffffff
je 0x666998b9
lock sub dword [eax], 1
mov eax, dword [esp + 0x40]
je 0x66699960
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call dword [0x66a201f4]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x28], eax
je 0x66699980
mov ebp, dword [eax + 0x18]
lea ecx, [esp + 0x40]
mov eax, dword [ebp]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], esi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call method.QDirModel.filePath_QModelIndex_const__const
sub esp, 8
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], ebp
lea ecx, [esp + 0x4c]
mov dword [esp], esi
mov dword [esp + 0x44], eax
call dword [0x66a1fdb0]
mov ecx, dword [ebx + 0x78]
sub esp, 4
mov eax, dword [ecx + 4]
lea ebp, [eax + 1]
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
and eax, 0x7fffffff
cmp edx, 1
ja 0x66699830
mov edx, ecx
cmp ebp, eax
jbe 0x6669984e
mov eax, dword [ecx + 4]
mov edx, 8
add eax, 1
jmp 0x6669983a
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x66a1f9d8]
jmp 0x666998b9
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 8]
lea edx, [esi + 8]
test eax, eax
je 0x666999a8
cmp eax, 0xffffffff
je 0x66699999
lock sub dword [edx], 1
je 0x666999a8
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x667b7000
mov ecx, dword [esp + 0x20]
call dword [0x66a201d8]
sub esp, 4
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [eax]
cmp edx, 1
jbe 0x66699a29
test dword [eax + 8], 0x7fffffff
jne 0x66699a08
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 0x10
call dword [0x66a1f9e0]
mov dword [ebx + 0x78], eax
mov edx, eax
jmp 0x66699a2b
mov dword [esp + 4], 0
mov eax, dword [eax + 8]
lea ecx, [ecx + 0x78]
and eax, 0x7fffffff
mov dword [esp], eax
call fcn.667d12c0
mov eax, dword [ebx + 0x78]
sub esp, 8
mov edx, eax
mov esi, dword [edx + 4]
shl esi, 4
add esi, dword [edx + 0xc]
add esi, edx
mov edx, dword [edx]
cmp edx, 1
jbe 0x66699b20
test dword [eax + 8], 0x7fffffff
jne 0x66699b90
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 0x10
call dword [0x66a1f9e0]
mov dword [ebx + 0x78], eax
mov edx, eax
jmp 0x66699b22
mov dword [esp], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], 0
call fcn.667d12c0
mov edx, dword [ebx + 0x78]
sub esp, 8
mov eax, dword [edx]
cmp eax, 1
ja 0x666997b8
mov esi, dword [ebx + 0x78]
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 0x10
call dword [0x66a1f9e0]
cmp esi, eax
je 0x666997b8
mov eax, dword [ebx + 0x78]
or byte [eax + 0xb], 0x80
jmp 0x666997b8
mov eax, dword [esi + 8]
cmp eax, 1
jbe 0x666997df
lea ecx, [esp + 0x20]
call fcn.667b7010
mov esi, dword [esp + 0x20]
jmp 0x666997df
lock add dword [edx], 1
jmp 0x666997d1
mov edx, eax
mov ebp, dword [edx + 0xc]
add ebp, edx
cmp ebp, esi
je 0x66699b7b
mov edi, dword [0x66a1fdbc]
jmp 0x66699b47
cmp edx, 0xffffffff
je 0x66699b43
lock sub dword [eax], 1
je 0x66699b58
cmp ebp, esi
je 0x66699b78
add ebp, 0x10
lea ecx, [ebp - 4]
call edi
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
test edx, edx
jne 0x66699b38
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [0x66a1f9d8]
cmp ebp, esi
jne 0x66699b47
mov edx, dword [ebx + 0x78]
mov dword [edx + 4], 0
jmp 0x66699797
mov dword [esp + 4], 0
mov eax, dword [eax + 8]
lea ecx, [ebx + 0x78]
and eax, 0x7fffffff
mov dword [esp], eax
call fcn.667d12c0
mov edx, dword [ebx + 0x78]
sub esp, 8
jmp 0x66699b22
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 1
jmp 0x66699984