Function at 0x10003a70
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101639a3
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x1029e9c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push dword [ebp + 8]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QGraphicsView::constructor_class_QWidget__]
mov dword [edi], vtable.nmc::DkBaseViewPort.0
mov eax, 1
mov dword [edi + 8], vtable.nmc::DkBaseViewPort.1.0
mov ecx, dword [sym.imp.QtCore4.dll_struct_QVectorData_QVectorData::shared_null]
mov dword [ebp - 4], 0
mov dword [edi + 0x14], ecx
lock xadd dword [ecx], eax
sub esp, 0xc
mov byte [ebp - 4], 1
mov ecx, esp
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QImage::constructor_void_]
lea ecx, [edi + 0x28]
call sym.libnomacs.dll_public:_void___thiscall_nmc::DkImageStorage::constructor_class_QImage_
lea ecx, [edi + 0x50]
mov byte [ebp - 4], 2
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QBrush::constructor_void_]
mov esi, dword [sym.imp.QtGui4.dll_public:_void___thiscall_QTransform::constructor_void_]
lea ecx, [edi + 0x58]
mov byte [ebp - 4], 3
call esi
lea ecx, [edi + 0xa8]
call esi
mov esi, dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::grabGesture_enum_Qt::GestureType__class_QFlags_enum_Qt::GestureFlag__]
mov ecx, edi
xorps xmm0, xmm0
push ecx
mov eax, esp
movups xmmword [ecx + 0xf8], xmm0
push 3
movups xmmword [ecx + 0x108], xmm0
movups xmmword [ecx + 0x118], xmm0
movups xmmword [ecx + 0x128], xmm0
movups xmmword [ecx + 0x138], xmm0
movups xmmword [ecx + 0x148], xmm0
movups xmmword [ecx + 0x158], xmm0
movups xmmword [ecx + 0x168], xmm0
mov dword [eax], 0
call esi
push ecx
mov eax, esp
mov ecx, edi
push 4
mov dword [eax], 0
call esi
push ecx
mov eax, esp
mov ecx, edi
push 5
mov dword [eax], 0
call esi
push 1
mov esi, edi
push 0x79
mov ecx, esi
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::setAttribute_enum_Qt::WidgetAttribute__bool_]
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp + 8]
mov dword [esi + 0x24], eax
mov byte [esi + 0x18c], 0
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x10]
sub edx, dword [ecx + 0x14]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x1c], eax
mov eax, edx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRectF::constructor_class_QRect_const__]
movdqu xmm0, xmmword [ebp - 0x44]
movdqu xmmword [esi + 0x118], xmm0
movdqu xmm0, xmmword [ebp - 0x34]
movdqu xmmword [esi + 0x128], xmm0
mov esi, dword [sym.imp.QtGui4.dll_public:_void___thiscall_QTransform::reset_void_]
lea ecx, [edi + 0xa8]
call esi
lea ecx, [edi + 0x58]
call esi
movaps xmm0, xmmword [0x1018e890]
mov ebx, edi
push 0x18
mov dword [ebx + 0x4c], 0
movdqu xmmword [ebx + 0x158], xmm0
mov dword [ebx + 0x178], 0x3c23d70a
mov dword [ebx + 0x17c], 0x42480000
mov byte [ebx + 0x18d], 0
mov eax, dword [sym.libnomacs.dll_struct_nmc::DkSettings::Global__nmc::DkSettings::global]
mov eax, dword [eax + 0x2c]
mov dword [ebx + 0x1c], eax
mov eax, dword [sym.libnomacs.dll_struct_nmc::DkSettings::Global__nmc::DkSettings::global]
mov eax, dword [eax + 0x30]
mov dword [ebx + 0x20], eax
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x10003c60
push ebx
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QTimer::constructor_class_QObject__]
mov dword [esi], vtable.QTimer.0
jmp 0x10003c62
xor esi, esi
push 0
push str.1stopBlockZooming__
mov dword [ebx + 0x190], esi
or dword [esi + 0x14], 1
mov esi, dword [sym.imp.QtCore4.dll_public:_static_bool___cdecl_QObject::connect_class_QObject_const___char_const___class_QObject_const___char_const___enum_Qt::ConnectionType_]
push ebx
push str.2timeout__
push dword [ebx + 0x190]
mov byte [ebp - 4], 3
call esi
push 0
push str.1update__
push ebx
lea eax, [ebx + 0x28]
push str.2imageUpdated__
push eax
call esi
mov esi, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push 0xffffffffffffffff
push str.:_nomacs_img_tp_pattern.png
call esi
mov dword [ebp + 8], eax
add esp, 0x2c
mov byte [ebp - 4], 5
mov eax, esp
lea ecx, [ebp - 0x20]
push 0
mov dword [eax], 0
lea eax, [ebp + 8]
push eax
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QPixmap::constructor_class_QString_const___char_const___class_QFlags_enum_Qt::ImageConversionFlag__]
push eax
lea ecx, [ebx + 0x50]
mov byte [ebp - 4], 6
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QBrush::setTexture_class_QPixmap_const__]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call dword [sym.imp.QtGui4.dll_public_virtual:_void___thiscall_QPixmap::destructor_void_]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [sym.libnomacs.dll_struct_nmc::DkSettings::Display__nmc::DkSettings::display]
push 0xffffffffffffffff
cmp byte [eax + 0x68], 0
je 0x10003d2f
cmp byte [eax + 0x7a], 0
je 0x10003d1c
push str.DkBaseViewPortGradient
call esi
add esp, 8
mov dword [ebp + 8], eax
mov byte [ebp - 4], 7
jmp 0x10003d40
push str.DkBaseViewPortDefaultColor
call esi
add esp, 8
mov dword [ebp + 8], eax
mov byte [ebp - 4], 8
jmp 0x10003d40
push str.DkBaseViewPort
call esi
add esp, 8
mov dword [ebp + 8], eax
mov byte [ebp - 4], 9
lea eax, [ebp + 8]
mov ecx, ebx
push eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QObject::setObjectName_class_QString_const__]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 1
push 2
mov ecx, ebx
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::setAttribute_enum_Qt::WidgetAttribute__bool_]
push 0x33
mov ecx, ebx
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::setSizePolicy_class_QSizePolicy_]
push 0xa
push 0xa
mov ecx, ebx
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::setMinimumSize_int__int_]
mov ecx, ebx
call sym.libnomacs.dll_protected_virtual:_void___thiscall_nmc::DkBaseViewPort::createShortcuts_void_
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4