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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], esi
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QPlatformWindow::constructor_class_QWindow__]
mov eax, dword [ebp + 0xc]
lea edi, [esi + 0x78]
mov dword [esi], vtable.QWindowsWindow.0
push 4
movups xmm0, xmmword [eax]
movups xmmword [esi + 0xc], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x1c], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esi + 0x2c], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [esi + 0x3c], xmm0
movq xmm0, qword [eax + 0x40]
movq qword [esi + 0x4c], xmm0
mov eax, dword [eax + 0x48]
movsd xmm0, qword [0x100d8840]
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0x20000
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
movsd qword [esi + 0x70], xmm0
call fcn.100d42ee
mov esi, eax
push 0x10
mov dword [esi], 0
mov dword [edi], esi
call fcn.100d42ee
push 1
push esi
push eax
mov dword [eax + 0xc], esi
mov dword [eax + 8], 0x10003e80
mov dword [eax + 4], 1
mov dword [eax], 1
mov dword [edi + 4], eax
call fcn.10004200
push esi
push edi
call fcn.10004200
mov edi, dword [esp + 0x40]
add esp, 0x1c
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0xffffffff
mov dword [edi + 0x94], 0xffffffff
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
call fcn.1000f820
push edi
push dword [edi + 0x40]
mov ecx, eax
call fcn.1000e030
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [sym.imp.Qt5Gui.dll_public:_enum_Qt::WindowType___thiscall_QWindow::type_void_]
cmp eax, 0x11
je 0x10001d51
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0xc]
call eax
cmp eax, 1
jne 0x100017ff
call dword [sym.imp.Qt5Gui.dll_public:_static_enum_QOpenGLContext::OpenGLModuleType___cdecl_QOpenGLContext::openGLModuleType_void_]
mov ecx, dword [edi + 0x60]
test eax, eax
jne 0x100017f9
or ecx, 0x10
jmp 0x100017fc
or ecx, 0x20
mov dword [edi + 0x60], ecx
mov ecx, edi
call dword [sym.imp.Qt5Gui.dll_public:_class_QWindow____thiscall_QPlatformWindow::window_void_const]
mov ecx, eax
call dword [sym.imp.Qt5Gui.dll_public:_bool___thiscall_QWindow::isTopLevel_void_const]
movzx eax, al
mov ecx, edi
push eax
call fcn.1000a990
push ecx
mov eax, esp
mov ecx, edi
mov dword [eax], 0
call fcn.100074d0
push esi
call dword [sym.imp.Qt5Gui.dll_class_QWindowPrivate____cdecl_qt_window_private_class_QWindow__]
movsd xmm4, qword [0x100d8840]
xorps xmm2, xmm2
movsd xmm3, qword [0x100d8890]
add esp, 4
movsd xmm1, qword [eax + 0x80]
comisd xmm1, xmm2
movaps xmm0, xmm1
movsd qword [esp + 0x30], xmm1
subsd xmm0, xmm4
jae 0x10001865
xorps xmm1, xmm3
comisd xmm0, xmm2
jae 0x1000186e
xorps xmm0, xmm3
mulsd xmm0, qword [0x100d8860]
minsd xmm1, xmm4
comisd xmm1, xmm0
jae 0x10001998
call fcn.1000fcb0
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QLoggingCategory::isDebugEnabled_void_const]
test al, al
je 0x100018ea
call fcn.1000fcb0
lea ecx, [esp + 0xcc]
push dword [eax + 4]
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const___char_const__]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push str.QWindowsWindow::setOpacity
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
movsd xmm0, qword [esp + 0x30]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___double_]
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
movsd xmm1, qword [esp + 0x30]
xorps xmm3, xmm3
comisd xmm1, xmm3
movsd xmm2, qword [edi + 0x70]
movaps xmm5, xmm1
movsd xmm4, qword [0x100d8890]
movaps xmm0, xmm2
subsd xmm0, xmm1
jae 0x10001913
xorps xmm5, xmm4
comisd xmm2, xmm3
jae 0x1000191c
xorps xmm2, xmm4
comisd xmm0, xmm3
jae 0x10001925
xorps xmm0, xmm4
mulsd xmm0, qword [0x100d8860]
minsd xmm2, xmm5
comisd xmm2, xmm0
jae 0x10001998
cmp dword [edi + 0x40], 0
movsd qword [edi + 0x70], xmm1
je 0x10001998
mov esi, dword [edi + 0x60]
mov ecx, edi
call dword [sym.imp.Qt5Gui.dll_public:_class_QWindow____thiscall_QPlatformWindow::window_void_const]
lea edx, [esp + 0x14]
push edx
lea ecx, [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, eax
call dword [sym.imp.Qt5Gui.dll_public:_bool___thiscall_QSurfaceFormat::hasAlpha_void_const]
movsd xmm0, qword [esp + 0x30]
sub esp, 8
test esi, 0x800010
setne cl
movsd qword [esp], xmm0
movzx ecx, cl
push ecx
push eax
push dword [edi + 0xc]
push dword [edi + 0x40]
call fcn.10009a60
add esp, 0x18
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QSurfaceFormat::destructor_void_]
mov ecx, edi
call dword [sym.imp.Qt5Gui.dll_public:_class_QWindow____thiscall_QPlatformWindow::window_void_const]
mov ecx, edi
mov esi, eax
call dword [sym.imp.Qt5Gui.dll_public:_class_QWindow____thiscall_QPlatformWindow::window_void_const]
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Gui.dll_public:_class_QRegion___thiscall_QWindow::mask_void_]
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x8c]
push esi
push eax
call dword [sym.imp.Qt5Gui.dll_public:_static_struct_QHighDpiScaling::ScaleAndOrigin___cdecl_QHighDpiScaling::scaleAndOrigin_class_QWindow_const___class_QPoint__]
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [sym.imp.Qt5Gui.dll_bool_QHighDpiScaling::m_active]
movups xmmword [esp + 0x30], xmm0
cmp byte [eax], 0
jne 0x100019f5
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push esi
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QRegion::constructor_class_QRegion_const__]
jmp 0x10001ac9
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QRegion::constructor_void_]
mov ecx, dword [esp + 0x14]
call dword [sym.imp.Qt5Gui.dll_public:_class_QRect_const____thiscall_QRegion::begin_void_const]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
call dword [sym.imp.Qt5Gui.dll_public:_class_QRect_const____thiscall_QRegion::end_void_const]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
cmp esi, eax
je 0x10001aae
mov edi, eax
nop dword [eax]
push esi
lea ecx, [esp + 0xe4]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QRectF::constructor_class_QRect_const__]
movsd xmm3, qword [esp + 0x30]
lea ecx, [esp + 0xa8]
unpcklpd xmm3, xmm3
xorps xmm2, xmm2
movups xmm0, xmmword [eax + 0x10]
mulpd xmm0, xmm3
movups xmmword [esp + 0x48], xmm0
movups xmm0, xmmword [eax]
lea eax, [esp + 0x48]
push eax
subpd xmm0, xmm2
lea eax, [esp + 0x5c]
push eax
mulpd xmm0, xmm3
addpd xmm0, xmm2
movups xmmword [esp + 0x60], xmm0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QRectF::constructor_class_QPointF_const___class_QSizeF_const__]
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0xac]
call dword [sym.imp.Qt5Core.dll_public:_class_QRect___thiscall_QRectF::toRect_void_]
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.Qt5Gui.dll_public:_class_QRegion____thiscall_QRegion::operator_class_QRect_const__]
add esi, 0x10
cmp esi, edi
jne 0x10001a30
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [sym.imp.Qt5Gui.dll_struct_QRegion::QRegionData_const_QRegion::shared_empty]
mov dword [esp + 0x28], eax
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QRegion::destructor_void_]
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Gui.dll_public:_bool___thiscall_QRegion::isEmpty_void_const]
test al, al
je 0x10001ae9
push 1
push 0
push dword [edi + 0x40]
call dword [sym.imp.USER32.dll_SetWindowRgn]
jmp 0x10001be6
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Gui.dll_public:_class_QRect_const____thiscall_QRegion::begin_void_const]
lea ecx, [esp + 0x20]
mov esi, eax
call dword [sym.imp.Qt5Gui.dll_public:_class_QRect_const____thiscall_QRegion::end_void_const]
mov dword [esp + 0x1c], eax
cmp esi, eax
jne 0x10001b0e
xor esi, esi
jmp 0x10001b9d
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
inc ecx
push ecx
inc eax
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
add esi, 0x10
mov dword [esp + 0x14], eax
cmp esi, dword [esp + 0x1c]
je 0x10001b99
mov edi, eax
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
inc ecx
push ecx
inc eax
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10001b88
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 2
push dword [esp + 0x18]
mov dword [esp + 0x38], eax
push edi
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
test eax, eax
je 0x10001b7e
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [esp + 0x30]
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_DeleteObject]
add esi, 0x10
cmp esi, dword [esp + 0x1c]
jne 0x10001b32
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov ecx, edi
call dword [sym.imp.Qt5Gui.dll_public:_class_QWindow____thiscall_QPlatformWindow::window_void_const]
mov ecx, eax
call dword [sym.imp.Qt5Gui.dll_public:_bool___thiscall_QWindow::isTopLevel_void_const]
test al, al
je 0x10001bcf
mov eax, dword [edi]
lea ecx, [esp + 0x68]
push ecx
mov ecx, edi
call dword [eax + 0xb8]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push esi
call dword [sym.imp.GDI32.dll_OffsetRgn]
push 1
push esi
push dword [edi + 0x40]
call dword [sym.imp.USER32.dll_SetWindowRgn]
test eax, eax
jne 0x10001be6
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QRegion::destructor_void_]
lea ecx, [esp + 0x20]
call esi
lea ecx, [esp + 0x40]
call esi
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [sym.imp.Qt5Gui.dll_public:_bool___thiscall_QWindow::isTopLevel_void_const]
test al, al
je 0x10001ceb
lea eax, [esp + 0x44]
mov ecx, esi
push eax
call dword [sym.imp.Qt5Gui.dll_public:_class_QIcon___thiscall_QWindow::icon_void_]
cmp dword [edi + 0x40], 0
mov dword [esp + 0x1c], eax
je 0x10001ce1
mov ecx, dword [edi + 0x9c]
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
test ecx, ecx
je 0x10001c43
push ecx
call esi
mov dword [edi + 0x9c], 0
mov eax, dword [edi + 0x98]
test eax, eax
je 0x10001c5a
push eax
call esi
mov dword [edi + 0x98], 0
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x32
call edi
push 0x31
mov esi, eax
call edi
push esi
push eax
push dword [esp + 0x24]
call fcn.10003c30
mov esi, dword [esp + 0x30]
add esp, 0xc
push 0xc
mov dword [esi + 0x98], eax
call edi
push 0xb
mov esi, eax
call edi
push esi
push eax
push dword [esp + 0x24]
call fcn.10003c30
mov edi, dword [esp + 0x30]
add esp, 0xc
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x98]
mov edx, dword [edi + 0x40]
mov dword [edi + 0x9c], eax
push ecx
push 0
push 0x80
push edx
test eax, eax
je 0x10001cca
call esi
push dword [edi + 0x9c]
jmp 0x10001cd2
call esi
push dword [edi + 0x98]
push 1
push 0x80
push dword [edi + 0x40]
call esi
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x44]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QIcon::destructor_void_]
cmp byte [0x1011bd09], 0
jne 0x10001d20
push dword [0x1011a004]
lea eax, [esp + 0x7c]
mov dword [esp + 0x30], 1
push eax
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_class_QVariant___thiscall_QObject::property_char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QVariant::toBool_void_const]
mov byte [esp + 0x1b], 0
test al, al
je 0x10001d25
mov byte [esp + 0x1b], 1
test byte [esp + 0x2c], 1
je 0x10001d36
lea ecx, [esp + 0x78]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
mov ecx, dword [edi + 0x60]
mov eax, ecx
or eax, 0x200000
cmp byte [esp + 0x1b], 0
cmovne ecx, eax
and ecx, 0xfffdffff
mov dword [edi + 0x60], ecx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8