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

Disassembly:
sub esp, 0xc0
push ebx
mov ebx, dword [esp + 0xd0]
push ebp
push esi
mov esi, dword [esp + 0xdc]
mov eax, dword [ebx]
push edi
mov edx, dword [eax + 0x5c]
mov ecx, dword [eax + 0x58]
sub edx, dword [esi + 4]
sub ecx, dword [esi]
mov esi, dword [esp + 0xd8]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
test esi, esi
je 0x10002eaf
mov ecx, esi
call dword [sym.imp.Qt5Gui.dll_public:_bool___thiscall_QWindow::isTopLevel_void_const]
test al, al
jne 0x10002b2a
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
call dword [eax + 0xc]
cmp eax, 1
jne 0x10002ea7
push esi
call fcn.100042b0
mov edi, eax
add esp, 4
test edi, edi
je 0x10002ea7
mov esi, dword [ebx]
mov ebx, dword [sym.imp.Qt5Gui.dll_public:_class_QPlatformScreen____thiscall_QScreen::handle_void_const]
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
mov dword [esp + 0x18], ecx
mov ecx, edi
mov dword [esp + 0x1c], edx
movups xmm0, xmmword [esi + 0x38]
movups xmmword [esp + 0x48], xmm0
call ebx
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ebp, dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QRect::contains_class_QPoint_const___bool_const]
lea eax, [esp + 0x40]
push 0
push eax
lea ecx, [esp + 0x30]
call ebp
test al, al
jne 0x10002ea7
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
call ebp
test al, al
je 0x10002bb7
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
pop ebp
mov dword [eax + 4], ecx
pop ebx
add esp, 0xc0
ret
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call dword [sym.imp.Qt5Gui.dll_public:_class_QList_class_QScreen_____thiscall_QScreen::virtualSiblings_void_]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], 0
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
add esi, 4
add edi, 4
lea esi, [eax + esi*4]
lea edi, [eax + edi*4]
cmp esi, edi
je 0x10002c23
mov ebx, dword [esi]
mov ecx, ebx
call dword [sym.imp.Qt5Gui.dll_public:_class_QPlatformScreen____thiscall_QScreen::handle_void_const]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
lea ecx, [esp + 0xc0]
push ecx
mov ecx, eax
call edx
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call ebp
test al, al
jne 0x10002c19
add esi, 4
cmp esi, edi
jne 0x10002be6
jmp 0x10002c1d
mov dword [esp + 0x20], ebx
mov ebx, dword [sym.imp.Qt5Gui.dll_public:_class_QPlatformScreen____thiscall_QScreen::handle_void_const]
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_class_QPoint___thiscall_QRect::center_void_]
mov ecx, dword [esp + 0xdc]
mov esi, eax
mov eax, dword [esp + 0x54]
mov ecx, dword [ecx]
sub eax, dword [ecx + 0x64]
lea ecx, [esp + 0x28]
sub eax, dword [esp + 0x4c]
cdq
sub eax, edx
mov edi, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xa0]
sar edi, 1
add edi, dword [esi + 4]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QPoint___thiscall_QRect::center_void_]
mov esi, eax
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax]
mov eax, dword [esp + 0x50]
sub eax, dword [ecx + 0x60]
sub eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, dword [esi]
cmp ecx, eax
cmovl ecx, eax
mov eax, dword [esp + 0x14]
cmp eax, edi
mov dword [esp + 0x38], ecx
cmovl eax, edi
mov dword [esp + 0x14], eax
test edx, edx
jne 0x10002cf8
mov esi, dword [esp + 0xd4]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
mov dword [esi], ecx
mov eax, dword [eax]
test eax, eax
je 0x10002cde
cmp eax, 0xffffffff
je 0x10002ceb
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x10002ceb
push dword [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret
mov ecx, edx
call ebx
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [esp + 0xdc]
mov edx, dword [eax]
mov ecx, dword [edx + 0x64]
mov eax, dword [edx + 0x60]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [edx + 0x5c]
mov eax, dword [edx + 0x58]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x68], ecx
push eax
lea ecx, [esp + 0x90]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QRect::constructor_class_QPoint_const___class_QSize_const__]
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0xb0]
sub eax, dword [esp + 0x50]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0x54]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x88]
add eax, dword [esp + 0x48]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x8c]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QRect::constructor_class_QPoint_const___class_QPoint_const__]
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0xb4]
call dword [sym.imp.Qt5Core.dll_public:_class_QPoint___thiscall_QRect::center_void_]
mov esi, eax
lea ecx, [esp + 0x78]
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QPoint___thiscall_QRect::center_void_]
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x10002df5
mov eax, dword [eax + 4]
cmp eax, dword [esi + 4]
jne 0x10002df5
mov esi, dword [esp + 0xd4]
lea ecx, [esp + 0x10]
mov eax, dword [esp + 0x38]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
call fcn.10001d60
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
sub eax, esi
mov ecx, dword [esp + 0x18]
inc eax
sub ecx, dword [esp + 0x78]
imul eax, ecx
mov ecx, dword [esp + 0x80]
sub ecx, dword [esp + 0x78]
inc ecx
push 0
cdq
idiv ecx
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x80]
lea edi, [eax + esi]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x3c], edi
imul eax, ecx
mov ecx, dword [esp + 0x88]
sub ecx, dword [esp + 0x80]
inc ecx
cdq
idiv ecx
mov ecx, dword [esp + 0xe4]
add eax, dword [esp + 0x30]
mov dword [esp + 0x40], eax
sub eax, dword [ecx + 4]
sub edi, dword [ecx]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x60], edi
call ebp
mov esi, dword [esp + 0xd4]
lea ecx, [esp + 0x38]
test al, al
lea edx, [esp + 0x58]
cmove edx, ecx
mov ecx, dword [edx]
mov dword [esi], ecx
mov ecx, dword [edx + 4]
mov dword [esi + 4], ecx
lea ecx, [esp + 0x10]
call fcn.10001d60
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
add esp, 0xc0
ret