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

Disassembly:
sub esp, 0x74
mov eax, dword [0x654085d0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push edi
mov edi, dword [esp + 0x80]
mov ebx, ecx
mov dword [esp + 0xc], edi
test edi, edi
je 0x6511fc03
mov eax, dword [ebx + 4]
push esi
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 4]
shr eax, 0xf
test al, 1
jne 0x6511f80f
push 0
lea eax, [esp + 0x14]
lea esi, [ebx + 0x1b8]
push eax
mov ecx, esi
call fcn.65245a00
mov ebx, eax
mov ecx, esi
cmp ebx, 0xffffffff
je 0x6511f7f1
call dword [0x652b85d8]
mov ecx, dword [esi]
lea edi, [eax - 1]
mov eax, dword [ecx]
cmp eax, 1
je 0x6511f7d3
test eax, eax
je 0x6511f7d3
push dword [ecx + 4]
mov ecx, esi
call fcn.6511c4b0
push edi
push ebx
mov ecx, esi
call dword [0x652b81c0]
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.652b52e0
add esp, 0x74
ret 4
lea eax, [esp + 0x10]
push eax
call fcn.6511ba00
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.652b52e0
add esp, 0x74
ret 4
mov eax, dword [0x652b845c]
mov ecx, edi
mov dword [esp + 0xc], eax
mov eax, dword [edi]
push ebp
call dword [eax + 4]
test eax, eax
mov ecx, ebx
lea eax, [esp + 0x18]
sete byte [esp + 0x14]
push dword [esp + 0x14]
push dword [ebx + 0x1dc]
push eax
call fcn.651220f0
lea ecx, [esp + 0x2c]
call dword [0x652b8530]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.6523ec90
lea ecx, [esp + 0x1c]
call dword [0x652b85cc]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
call dword [0x652b85c8]
mov ebp, dword [0x652b85e0]
mov dword [esp + 0x24], eax
mov eax, 1
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x24]
je 0x6511f9fd
mov esi, dword [esi]
test eax, eax
je 0x6511f9eb
test esi, esi
jne 0x6511f8ea
mov eax, dword [0x652db1a4]
lea ecx, [esp + 0x5c]
movq xmm0, qword [0x652db19c]
mov dword [esp + 0x78], eax
mov al, byte [0x652db1a8]
mov byte [esp + 0x7c], al
lea eax, [esp + 0x70]
push eax
push str.QMdiArea::rearrange
push str._s:_s
push esi
push esi
push esi
movq qword [esp + 0x88], xmm0
call dword [0x652b8668]
push eax
call dword [0x652b8664]
add esp, 0x10
jmp 0x6511f9e9
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 4]
shr eax, 0xf
test al, 1
je 0x6511f9e9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, esi
cmp eax, 2
jne 0x6511f94c
call sym.Qt5Widgets.dll_public:_bool___thiscall_QWidget::isMinimized_void_const
test al, al
je 0x6511f9e9
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QMdiSubWindow::isShaded_void_const
test al, al
jne 0x6511f9e9
mov eax, dword [esi + 0x14]
test dword [eax + 8], 0x800
jne 0x6511f9e9
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
push eax
lea ecx, [esp + 0x14]
call fcn.6511ba00
jmp 0x6511f9e9
call sym.Qt5Widgets.dll_public:_bool___thiscall_QWidget::isMinimized_void_const
test al, al
je 0x6511f964
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QMdiSubWindow::isShaded_void_const
test al, al
je 0x6511f9e9
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QWidget::isMaximized_void_const
test al, al
jne 0x6511f97a
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QMdiSubWindow::isShaded_void_const
test al, al
je 0x6511f981
mov ecx, esi
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::showNormal_void_
mov eax, dword [esi + 4]
mov ecx, esi
add eax, 0x150
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x4c]
push eax
call sym.Qt5Widgets.dll_public:_class_QSize___thiscall_QWidget::minimumSize_void_
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x3c]
call dword [0x652b8290]
mov ecx, eax
call dword [0x652b8290]
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, 1
je 0x6511f9e1
test eax, eax
je 0x6511f9e1
push 1
push 0x7fffffff
lea ecx, [esp + 0x18]
call fcn.6511c530
jmp 0x6511f9e7
lea ecx, [esp + 0x10]
call ebp
mov dword [eax], esi
xor eax, eax
add dword [esp + 0x20], 4
xor eax, 1
mov dword [esp + 0x28], eax
jne 0x6511f880
mov ecx, dword [esp + 0x1c]
or ebp, 0xffffffff
mov eax, dword [ecx]
test eax, eax
je 0x6511fa1f
cmp eax, ebp
je 0x6511fa29
mov eax, ebp
lock xadd dword [ecx], eax
setne al
test al, al
jne 0x6511fa29
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x652b85e8]
add esp, 4
mov eax, dword [ebx + 0x1c8]
test eax, eax
je 0x6511faef
cmp dword [eax + 4], 0
je 0x6511faef
cmp dword [ebx + 0x1cc], 0
je 0x6511faef
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x6511faef
mov eax, dword [ebx + 0x1c8]
test eax, eax
je 0x6511fa75
cmp dword [eax + 4], 0
je 0x6511fa75
mov ebp, dword [ebx + 0x1cc]
jmp 0x6511fa77
xor ebp, ebp
lea ecx, [esp + 0x10]
call dword [0x652b85d8]
test eax, eax
jle 0x6511faec
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call dword [0x652b85d0]
lea ecx, [esp + 0x10]
mov esi, eax
call dword [0x652b85c8]
add esi, 4
cmp esi, eax
je 0x6511faec
cmp dword [esi], ebp
je 0x6511fab1
add esi, 4
cmp esi, eax
jne 0x6511faa4
jmp 0x6511faec
lea ecx, [esp + 0x10]
call dword [0x652b85cc]
sub esi, eax
sar esi, 2
test esi, esi
jle 0x6511faec
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x6511fadf
test ecx, ecx
je 0x6511fadf
push dword [eax + 4]
lea ecx, [esp + 0x14]
call fcn.6511c4b0
push 0
push esi
lea ecx, [esp + 0x18]
call dword [0x652b81c0]
or ebp, 0xffffffff
mov esi, dword [ebx + 0x164]
mov ecx, dword [esi + 0x14]
add ecx, 0x10
call dword [0x652b84e4]
mov ecx, dword [esi + 0x14]
push eax
add ecx, 0x10
call dword [0x652b84e8]
push eax
push 0
push 0
lea ecx, [esp + 0x44]
call dword [0x652b8500]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x6511fb5c
lea ecx, [esp + 0x10]
call dword [0x652b85d4]
test al, al
jne 0x6511fb5c
lea ecx, [esp + 0x10]
call dword [0x652b85d8]
push eax
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.65120950
movdqu xmm0, xmmword [eax]
movdqu xmmword [esp + 0x34], xmm0
mov eax, dword [edi]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [eax]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x6511fb95
lea ecx, [esp + 0x10]
call dword [0x652b85d4]
test al, al
jne 0x6511fb95
mov ecx, ebx
mov byte [ebx + 0x1f7], 1
call fcn.65122990
jmp 0x6511fba8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
cmp eax, 1
jne 0x6511fba8
mov byte [ebx + 0x1f7], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
test ecx, ecx
je 0x6511fbc8
cmp ecx, 0xffffffff
je 0x6511fbd6
mov ecx, ebp
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x6511fbd6
mov eax, dword [esp + 0x18]
mov esi, dword [0x652b85e8]
push eax
call esi
add esp, 4
jmp 0x6511fbdc
mov esi, dword [0x652b85e8]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
test ecx, ecx
je 0x6511fbfb
cmp ecx, 0xffffffff
je 0x6511fc01
lock xadd dword [eax], ebp
dec ebp
setne al
test al, al
jne 0x6511fc01
mov eax, dword [esp + 0x10]
push eax
call esi
add esp, 4
pop ebp
pop esi
mov ecx, dword [esp + 0x78]
pop edi
pop ebx
xor ecx, esp
call fcn.652b52e0
add esp, 0x74
ret 4