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

Disassembly:
sub esp, 0xac
mov eax, dword [0x654085d0]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
push ebx
mov ebx, dword [esp + 0xb8]
push esi
mov esi, ecx
test eax, eax
je 0x6511eff0
test ebx, ebx
je 0x6511eff0
push ebp
mov ebp, dword [esi + 4]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
shr eax, 0xf
test al, 1
jne 0x6511ed24
push ebx
call dword [0x652b84b8]
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], ebx
lea ecx, [esi + 0x1bc]
push eax
call fcn.6511ba40
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x6511efef
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x6511efef
push ecx
call fcn.652b517e
add esp, 4
jmp 0x6511efef
push edi
call dword [0x652b8650]
add esi, 0x1c0
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
mov eax, dword [esi]
push dword [eax + 4]
call fcn.65120510
mov ecx, dword [ebp + 0x14]
add ecx, 0x10
call dword [0x652b84e4]
mov ecx, dword [ebp + 0x14]
push eax
add ecx, 0x10
call dword [0x652b84e8]
push eax
push 0
push 0
lea ecx, [esp + 0x4c]
call dword [0x652b8500]
push esi
lea ecx, [esp + 0x50]
call fcn.6512d090
mov esi, dword [esp + 0x4c]
mov ecx, esi
call dword [0x652b8404]
mov ecx, esi
mov edi, eax
call dword [0x652b8404]
mov ecx, dword [esi + 4]
lea ecx, [eax + ecx*8]
mov eax, 1
mov dword [esp + 0x1c], ecx
lea ebx, [ebx]
cmp edi, ecx
je 0x6511eed6
mov ecx, dword [edi]
test ecx, ecx
je 0x6511edb9
cmp dword [ecx + 4], 0
je 0x6511edb9
mov esi, dword [edi + 4]
jmp 0x6511edbb
xor esi, esi
test eax, eax
je 0x6511eec6
test esi, esi
jne 0x6511ee21
mov eax, dword [0x652db1a4]
lea ecx, [esp + 0x94]
movq xmm0, qword [0x652db19c]
mov dword [esp + 0xb0], eax
mov al, byte [0x652db1a8]
mov byte [esp + 0xb4], al
lea eax, [esp + 0xa8]
push eax
push str.QMdiArea::place
push str._s:_s
push esi
push esi
push esi
movq qword [esp + 0xc0], xmm0
call dword [0x652b8668]
push eax
call dword [0x652b8664]
add esp, 0x10
jmp 0x6511eec4
cmp esi, ebx
je 0x6511eec4
push ebp
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QWidget::isVisibleTo_class_QWidget_const__const
test al, al
je 0x6511eec4
push 0x2b
mov ecx, esi
call sym.Qt5Widgets.dll_private:_bool___thiscall_QWidget::testAttribute_helper_enum_Qt::WidgetAttribute_const
test al, al
je 0x6511eec4
lea ecx, [esp + 0x2c]
call dword [0x652b8504]
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QWidget::isMaximized_void_const
test al, al
je 0x6511ee8d
mov ecx, dword [esi + 4]
lea eax, [ecx + 0x160]
add ecx, 0x140
push eax
lea eax, [esp + 0x80]
push eax
call dword [0x652b84f4]
push eax
lea ecx, [esp + 0x8c]
call dword [0x652b82d4]
movdqu xmm0, xmmword [eax]
jmp 0x6511ee95
mov eax, dword [esi + 0x14]
movdqu xmm0, xmmword [eax + 0x10]
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
lea eax, [esp + 0x40]
push eax
movdqu xmmword [esp + 0x34], xmm0
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
push eax
lea eax, [esp + 0x78]
push eax
call sym.Qt5Widgets.dll_public:_static_class_QRect___cdecl_QStyle::visualRect_enum_Qt::LayoutDirection__class_QRect_const___class_QRect_const__
add esp, 0x10
lea ecx, [esp + 0x10]
push eax
call fcn.6511bac0
xor eax, eax
mov ecx, dword [esp + 0x1c]
add edi, 8
xor eax, 1
jne 0x6511eda0
mov esi, dword [esp + 0x4c]
or edi, 0xffffffff
mov ebp, dword [0x652b8654]
mov eax, dword [esi]
test eax, eax
je 0x6511eefa
cmp eax, edi
je 0x6511ef25
mov eax, edi
lock xadd dword [esi], eax
setne al
test al, al
jne 0x6511ef25
mov ecx, esi
call dword [0x652b865c]
mov ecx, dword [esi + 4]
lea eax, [eax + ecx*8]
mov ecx, esi
push eax
call dword [0x652b865c]
push eax
lea ecx, [esp + 0x54]
call fcn.6512f6e0
push 4
push 8
push esi
call ebp
add esp, 0xc
mov ecx, dword [ebx + 0x14]
lea eax, [esp + 0x1c]
push eax
add ecx, 0x10
call dword [0x652b82c0]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x14]
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x30]
push edx
call dword [eax]
mov ecx, dword [ebx + 0x14]
add ecx, 0x10
call dword [0x652b84e4]
mov ecx, dword [ebx + 0x14]
mov esi, eax
add ecx, 0x10
call dword [0x652b84e8]
push esi
push eax
lea ecx, [esp + 0x2c]
call dword [0x652b8544]
push eax
lea ecx, [esp + 0x30]
call dword [0x652b8548]
push eax
lea ecx, [esp + 0x6c]
call dword [0x652b8500]
lea eax, [esp + 0x5c]
mov ecx, ebx
push eax
lea eax, [esp + 0x40]
push eax
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
push eax
lea eax, [esp + 0x78]
push eax
call sym.Qt5Widgets.dll_public:_static_class_QRect___cdecl_QStyle::visualRect_enum_Qt::LayoutDirection__class_QRect_const___class_QRect_const__
add esp, 0x10
mov ecx, ebx
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::setGeometry_class_QRect_const__
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
test eax, eax
je 0x6511efd4
cmp eax, 0xffffffff
je 0x6511efee
lock xadd dword [esi], edi
dec edi
setne al
test al, al
jne 0x6511efee
mov esi, dword [esp + 0x10]
mov ecx, esi
call dword [0x652b865c]
mov ecx, esi
call dword [0x652b865c]
push 4
push 0x10
push esi
call ebp
add esp, 0xc
pop edi
pop ebp
mov ecx, dword [esp + 0xb0]
pop esi
pop ebx
xor ecx, esp
call fcn.652b52e0
add esp, 0xac
ret 8