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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
cmp byte [edi + 0x1c], 0
je 0x6516bb78
call fcn.65169f30
cmp dword [edi + 0x14], 2
mov byte [edi + 0x1c], 1
jne 0x6516bb89
mov eax, dword [edi + 8]
sub dword [esp + 0x7c], eax
mov eax, dword [edi]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
cmp dword [eax + 4], ecx
jle 0x6516c18b
mov edx, dword [0x652b242c]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edx
nop word [eax + eax]
mov eax, dword [eax]
cmp eax, 1
je 0x6516bbed
test eax, eax
je 0x6516bbed
mov eax, dword [edi]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
jne 0x6516bbd8
push 2
push ecx
push 4
push 0x18
call edx
add esp, 0x10
mov dword [edi], eax
jmp 0x6516bbe9
push ecx
mov eax, esp
push ecx
mov ecx, edi
mov dword [eax], 0
call fcn.6516c460
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x24], 0
mov edx, dword [eax + 0xc]
add edx, ebx
xor ebx, ebx
add edx, eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x20], edx
lea esi, [edx + 0x14]
cmp dword [eax + 4], ebx
jle 0x6516bd07
xor ebp, ebp
nop dword [eax]
mov eax, dword [eax]
cmp eax, 1
je 0x6516bc5b
test eax, eax
je 0x6516bc5b
mov eax, dword [esi]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
jne 0x6516bc4a
push 2
push ecx
push 4
push 0x14
call dword [esp + 0x38]
add esp, 0x10
mov dword [esi], eax
jmp 0x6516bc5b
push ecx
mov eax, esp
push ecx
mov ecx, esi
mov dword [eax], 0
call fcn.6516c3a0
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
add edi, eax
add edi, ebp
mov dword [esp + 0x38], edi
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, dword [esp + 0x78]
je 0x6516bd2b
cmp byte [edi + 0x10], 0
jne 0x6516bc90
mov ecx, dword [edi]
test ecx, ecx
je 0x6516bcf0
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x6516bcf0
cmp byte [edi + 0x10], 0
mov dword [esp + 0x18], ebx
jne 0x6516bcc8
mov ecx, dword [edi]
test ecx, ecx
je 0x6516bcab
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x6516bcc8
mov edi, dword [esp + 0x10]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
cmp dword [edi + 0x14], 1
cmove eax, ecx
add dword [esp + 0x24], eax
jmp 0x6516bcf4
push dword [edi]
lea eax, [esp + 0x34]
push eax
call sym.Qt5Widgets.dll_class_QSize___cdecl_qSmartMinSize_class_QWidgetItem_const__
mov edi, dword [esp + 0x18]
add esp, 8
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
cmp dword [edi + 0x14], 1
cmove eax, ecx
add dword [esp + 0x24], eax
jmp 0x6516bcf4
mov edi, dword [esp + 0x10]
mov eax, dword [esi]
inc ebx
add ebp, 0x14
cmp ebx, dword [eax + 4]
jl 0x6516bc20
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
inc ecx
mov ebx, dword [esp + 0x2c]
add ebx, 0x18
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], ebx
cmp ecx, dword [eax + 4]
jge 0x6516c18b
mov edx, dword [esp + 0x28]
jmp 0x6516bbb0
mov eax, dword [esp + 0x18]
test eax, eax
js 0x6516c18b
mov esi, dword [esp + 0x20]
add esi, 0x14
push eax
mov ecx, esi
mov dword [esp + 0x20], esi
call fcn.65169270
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
cmp dword [esp + 0x7c], eax
jge 0x6516bd6d
mov ebx, dword [esp + 0x7c]
cmp ebx, dword [esp + 0x24]
cmovl ebx, dword [esp + 0x24]
jmp 0x6516be56
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 4]
cmp dword [ebp + 0x14], 1
mov ecx, dword [edi + 4]
cmovne edx, eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esi]
inc edx
mov dword [esp + 0x78], edx
cmp ebx, dword [eax + 4]
jge 0x6516be47
mov edi, dword [esp + 0x20]
lea ecx, [ebx + ebx*4]
shl ecx, 2
mov dword [esp + 0x2c], ecx
mov esi, dword [eax + 0xc]
add esi, eax
add esi, ecx
cmp byte [esi + 0x10], 0
jne 0x6516bdf8
mov ecx, dword [esi]
test ecx, ecx
je 0x6516be26
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x6516be22
cmp byte [esi + 0x10], al
jne 0x6516bdf8
mov ecx, dword [esi]
test ecx, ecx
je 0x6516bdd9
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x6516bdf8
mov edx, dword [esp + 0x78]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x10], ecx
cmp dword [ebp + 0x14], 1
mov dword [esp + 0x14], eax
cmove eax, ecx
sub edx, eax
mov dword [esp + 0x78], edx
jmp 0x6516be26
push dword [esi]
lea eax, [esp + 0x14]
push eax
call sym.Qt5Widgets.dll_class_QSize___cdecl_qSmartMinSize_class_QWidgetItem_const__
mov eax, dword [esp + 0x1c]
add esp, 8
cmp dword [ebp + 0x14], 1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x78]
cmove eax, ecx
sub edx, eax
mov dword [esp + 0x78], edx
jmp 0x6516be26
mov edx, dword [esp + 0x78]
mov eax, dword [edi + 0x14]
inc ebx
mov ecx, dword [esp + 0x2c]
add ecx, 0x14
mov dword [esp + 0x2c], ecx
cmp ebx, dword [eax + 4]
jl 0x6516bda5
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 4]
jmp 0x6516be4b
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x7c], edx
cmovl edx, dword [esp + 0x7c]
mov ebx, edx
mov esi, dword [esp + 0x30]
sub ebx, eax
cmp byte [esi + 0x10], 0
jne 0x6516be79
mov ecx, dword [esi]
test ecx, ecx
je 0x6516be73
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x6516be79
xor ecx, ecx
xor eax, eax
jmp 0x6516be8d
lea eax, [esp + 0x6c]
mov ecx, esi
push eax
call fcn.6516c2d0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
cmp dword [ebp + 0x14], 1
cmove eax, ecx
sub eax, dword [esi + 8]
mov dword [esp + 0x7c], eax
mov esi, eax
call sym.Qt5Widgets.dll_public:_static_int___cdecl_QApplication::startDragDistance_void_
mov ecx, ebx
sub ecx, esi
sub esi, ebx
cmovs esi, ecx
mov ecx, edi
cmp esi, eax
cmovl ebx, dword [esp + 0x7c]
mov dword [esp + 0x7c], ebx
neg ebx
push ebx
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x24]
push dword [ebx + 0x10]
call fcn.65169c20
mov ecx, dword [esp + 0x7c]
test ecx, ecx
js 0x6516beea
push ecx
push dword [ebx + 0x10]
mov ecx, dword [esp + 0x38]
call fcn.65169c20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edi, [eax + eax*4]
shl edi, 2
mov dword [esp + 0x24], edi
nop dword [eax]
mov eax, dword [ebx]
mov eax, dword [eax]
cmp eax, 1
je 0x6516bf3d
test eax, eax
je 0x6516bf3d
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
jne 0x6516bf2c
push 2
push ecx
push 4
push 0x14
call dword [esp + 0x38]
add esp, 0x10
mov dword [ebx], eax
jmp 0x6516bf3d
push ecx
mov eax, esp
push ecx
mov ecx, ebx
mov dword [eax], 0
call fcn.6516c3a0
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
add esi, eax
add esi, edi
cmp byte [esi + 0x10], 0
jne 0x6516bf89
mov ecx, dword [esi]
test ecx, ecx
je 0x6516c171
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x6516c171
cmp byte [esi + 0x10], al
jne 0x6516bf89
mov ecx, dword [esi]
test ecx, ecx
je 0x6516bf7b
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x6516bf89
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
jmp 0x6516bfa0
push dword [esi]
lea eax, [esp + 0x40]
push eax
call sym.Qt5Widgets.dll_class_QSize___cdecl_qSmartMinSize_class_QWidgetItem_const__
mov ebx, dword [esp + 0x48]
add esp, 8
mov eax, dword [esp + 0x3c]
cmp dword [ebp + 0x14], 1
mov ecx, dword [esp + 0x20]
cmove ebx, eax
mov eax, dword [esi + 8]
sub eax, ebx
mov dword [esp + 0x38], eax
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x7c], ecx
cmp eax, dword [esp + 0x78]
jge 0x6516c082
cmp byte [esi + 0x10], 0
jne 0x6516bfea
mov ecx, dword [esi]
test ecx, ecx
je 0x6516bfdc
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x6516bfea
xor eax, eax
xor edi, edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
jmp 0x6516c001
push dword [esi]
lea eax, [esp + 0x48]
push eax
call sym.Qt5Widgets.dll_class_QSize___cdecl_qSmartMinSize_class_QWidgetItem_const__
mov edi, dword [esp + 0x50]
add esp, 8
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x7c], 1
cmove edi, eax
cmp edi, ebx
cmovl edi, ebx
cmp byte [esi + 0x10], 0
jne 0x6516c033
mov ecx, dword [esi]
test ecx, ecx
je 0x6516c025
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x6516c033
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
jmp 0x6516c047
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.6516c2d0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
cmp dword [esp + 0x7c], 1
cmove eax, ecx
cmp edi, eax
jne 0x6516c06e
mov dword [esi + 8], eax
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x38]
mov dword [esi + 0xc], 0xffffffff
mov dword [esp + 0x78], eax
jmp 0x6516c16d
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x38]
mov dword [esi + 0xc], edi
mov dword [esp + 0x78], eax
jmp 0x6516c16d
mov edi, dword [esi + 0xc]
test edi, edi
jg 0x6516c0ca
cmp byte [esi + 0x10], 0
jne 0x6516c0ae
mov ecx, dword [esi]
test ecx, ecx
je 0x6516c0a0
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x6516c0ae
xor eax, eax
xor edi, edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edi
jmp 0x6516c0c2
lea eax, [esp + 0x54]
mov ecx, esi
push eax
call fcn.6516c2d0
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x7c], 1
cmove edi, eax
sub edi, dword [esp + 0x78]
cmp byte [esi + 0x10], 0
jne 0x6516c0f3
mov ecx, dword [esi]
test ecx, ecx
je 0x6516c0e5
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x6516c0f3
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebx
jmp 0x6516c10a
push dword [esi]
lea eax, [esp + 0x60]
push eax
call sym.Qt5Widgets.dll_class_QSize___cdecl_qSmartMinSize_class_QWidgetItem_const__
mov ebx, dword [esp + 0x68]
add esp, 8
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x7c], 1
cmove ebx, eax
cmp ebx, edi
cmovl ebx, edi
cmp byte [esi + 0x10], 0
jne 0x6516c13c
mov ecx, dword [esi]
test ecx, ecx
je 0x6516c12e
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x6516c13c
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
jmp 0x6516c150
lea eax, [esp + 0x64]
mov ecx, esi
push eax
call fcn.6516c2d0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
cmp dword [esp + 0x7c], 1
cmove eax, ecx
cmp ebx, eax
jne 0x6516c162
mov dword [esi + 8], eax
or ebx, 0xffffffff
mov dword [esi + 0xc], ebx
mov dword [esp + 0x78], 0
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
sub dword [esp + 0x24], 0x14
dec ecx
mov edi, dword [esp + 0x24]
mov dword [esp + 0x18], ecx
test ecx, ecx
jns 0x6516bf00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8