Function at 0x485aa0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0e5b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x5cd9a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QObject::constructor_class_QObject__]
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 0
push 0
mov dword [esi], vtable.CTrayIcon.0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0xfffffffe
call dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QSystemTrayIcon::constructor_class_QObject__]
push 0
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QMenu::constructor_class_QWidget__]
cmp dword [ebp - 0x24], 0
xorps xmm0, xmm0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
movups xmmword [esi + 0x40], xmm0
mov byte [ebp - 4], 2
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
je 0x4860a1
cmp dword [ebp - 0x28], 0
je 0x4860a1
lea eax, [ebp - 0x10]
push eax
call fcn.00485240
add esp, 4
push eax
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call dword [sym.imp.Qt5Widgets.dll_public:_class_QAction____thiscall_QMenu::addAction_class_QString_const__]
lea ecx, [ebp - 0x10]
mov dword [esi + 0x38], eax
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push dword [esi + 0x38]
lea ecx, [esi + 0x18]
call dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QMenu::setDefaultAction_class_QAction__]
mov eax, dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QAction::triggered_bool_]
mov edi, dword [esi + 0x38]
push 0xc
mov dword [ebp - 0x10], fcn.004a0e70
mov dword [ebp - 0x14], eax
call fcn.004ce5f4
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x485bcc
mov ecx, dword [ebp - 0x10]
mov dword [eax], 1
mov dword [eax + 4], 0x46c570
mov dword [eax + 8], ecx
jmp 0x485bce
xor eax, eax
push dword [sym.imp.Qt5Widgets.dll_struct_QMetaObject_const_QAction::staticMetaObject]
push 0
push 0
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push edi
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const___void____class_QObject_const___void____class_QtPrivate::QSlotObjectBase___enum_Qt::ConnectionType__int_const___struct_QMetaObject_const__]
add esp, 0x24
cmp dword [ebp - 0x1c], 0
mov edi, dword [sym.imp.Qt5Core.dll_private:_bool___thiscall_QMetaObject::Connection::isConnected_helper_void_const]
mov byte [ebp - 4], 4
je 0x485c05
lea ecx, [ebp - 0x1c]
call edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
lea eax, [ebp - 0x14]
push eax
call fcn.004851c0
add esp, 4
push eax
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 5
call dword [sym.imp.Qt5Widgets.dll_public:_class_QAction____thiscall_QMenu::addAction_class_QString_const__]
lea ecx, [ebp - 0x14]
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QAction::triggered_bool_]
push 0xc
mov dword [ebp - 0x10], eax
call fcn.004ce5f4
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x485c6d
mov dword [eax], 1
mov dword [eax + 4], 0x486260
mov dword [eax + 8], esi
jmp 0x485c6f
xor eax, eax
push dword [sym.imp.Qt5Widgets.dll_struct_QMetaObject_const_QAction::staticMetaObject]
lea ecx, [ebp - 0x10]
push 0
push 1
push eax
mov eax, dword [ebp - 0x14]
push 0
push eax
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const___void____class_QObject_const___void____class_QtPrivate::QSlotObjectBase___enum_Qt::ConnectionType__int_const___struct_QMetaObject_const__]
add esp, 0x24
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 4], 6
je 0x485ca1
lea ecx, [ebp - 0x1c]
call edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
lea eax, [ebp - 0x14]
push eax
call fcn.004851a0
add esp, 4
push eax
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 7
call dword [sym.imp.Qt5Widgets.dll_public:_class_QAction____thiscall_QMenu::addAction_class_QString_const__]
lea ecx, [ebp - 0x14]
mov dword [esi + 0x34], eax
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x14], eax
mov eax, dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QAction::triggered_bool_]
push 0xc
mov dword [ebp - 0x10], eax
call fcn.004ce5f4
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x485d09
mov dword [eax], 1
mov dword [eax + 4], 0x486220
mov dword [eax + 8], esi
jmp 0x485d0b
xor eax, eax
push dword [sym.imp.Qt5Widgets.dll_struct_QMetaObject_const_QAction::staticMetaObject]
lea ecx, [ebp - 0x10]
push 0
push 1
push eax
mov eax, dword [ebp - 0x14]
push 0
push eax
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const___void____class_QObject_const___void____class_QtPrivate::QSlotObjectBase___enum_Qt::ConnectionType__int_const___struct_QMetaObject_const__]
add esp, 0x24
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 4], 8
je 0x485d3d
lea ecx, [ebp - 0x1c]
call edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
lea ecx, [esi + 0x18]
call dword [sym.imp.Qt5Widgets.dll_public:_class_QAction____thiscall_QMenu::addSeparator_void_]
lea eax, [ebp - 0x14]
push eax
call fcn.00485180
add esp, 4
push eax
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 9
call dword [sym.imp.Qt5Widgets.dll_public:_class_QAction____thiscall_QMenu::addAction_class_QString_const__]
lea ecx, [ebp - 0x14]
mov dword [esi + 0x3c], eax
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QAction::triggered_bool_]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x3c]
push 0xc
mov dword [ebp - 0x10], 0x4a0e00
mov dword [ebp - 0x18], eax
call fcn.004ce5f4
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x485db8
mov ecx, dword [ebp - 0x10]
mov dword [eax], 1
mov dword [eax + 4], 0x46c570
mov dword [eax + 8], ecx
jmp 0x485dba
xor eax, eax
push dword [sym.imp.Qt5Widgets.dll_struct_QMetaObject_const_QAction::staticMetaObject]
push 0
push 0
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const___void____class_QObject_const___void____class_QtPrivate::QSlotObjectBase___enum_Qt::ConnectionType__int_const___struct_QMetaObject_const__]
add esp, 0x24
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0xa
je 0x485ded
lea ecx, [ebp - 0x1c]
call edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
mov ecx, esi
call fcn.00486100
lea eax, [esi + 0x18]
push eax
lea ecx, [esi + 0x10]
call dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QSystemTrayIcon::setContextMenu_class_QMenu__]
mov eax, dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QSystemTrayIcon::activated_enum_QSystemTrayIcon::ActivationReason_]
push 0xc
mov dword [ebp - 0x10], fcn.004867f0
mov dword [ebp - 0x18], eax
call fcn.004ce5f4
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x485e43
mov ecx, dword [ebp - 0x10]
mov dword [eax], 1
mov dword [eax + 4], 0x486580
mov dword [eax + 8], ecx
jmp 0x485e45
xor eax, eax
push dword [sym.imp.Qt5Widgets.dll_struct_QMetaObject_const_QSystemTrayIcon::staticMetaObject]
push 0
push 0
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const___void____class_QObject_const___void____class_QtPrivate::QSlotObjectBase___enum_Qt::ConnectionType__int_const___struct_QMetaObject_const__]
add esp, 0x24
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0xb
je 0x485e79
lea ecx, [ebp - 0x1c]
call edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
mov eax, dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QSystemTrayIcon::messageClicked_void_]
push 0xc
mov dword [ebp - 0x10], 0x4866c0
mov dword [ebp - 0x18], eax
call fcn.004ce5f4
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x485ebb
mov ecx, dword [ebp - 0x10]
mov dword [eax], 1
mov dword [eax + 4], 0x46c570
mov dword [eax + 8], ecx
jmp 0x485ebd
xor eax, eax
push dword [sym.imp.Qt5Widgets.dll_struct_QMetaObject_const_QSystemTrayIcon::staticMetaObject]
push 0
push 0
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const___void____class_QObject_const___void____class_QtPrivate::QSlotObjectBase___enum_Qt::ConnectionType__int_const___struct_QMetaObject_const__]
add esp, 0x24
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0xc
je 0x485ef1
lea ecx, [ebp - 0x1c]
call edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
push 0xc
mov dword [ebp - 0x10], fcn.004866f0
mov dword [ebp - 0x18], fcn.0049cdb0
call fcn.004ce5f4
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x485f32
mov ecx, dword [ebp - 0x10]
mov dword [eax], 1
mov dword [eax + 4], 0x486500
mov dword [eax + 8], ecx
jmp 0x485f34
xor eax, eax
push 0x5c2910
push 0
push 1
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const___void____class_QObject_const___void____class_QtPrivate::QSlotObjectBase___enum_Qt::ConnectionType__int_const___struct_QMetaObject_const__]
add esp, 0x24
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0xd
je 0x485f71
lea ecx, [ebp - 0x1c]
call edi
mov dword [ebp - 0x10], 0
test al, al
jne 0x485f78
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
cmp dword [ebp - 0x10], 0xffffffff
je 0x4860a1
push 0xc
mov dword [ebp - 0x18], fcn.0049cae0
call fcn.004ce5f4
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x485fb9
mov dword [eax], 1
mov dword [eax + 4], 0x4863e0
mov dword [eax + 8], esi
jmp 0x485fbb
xor eax, eax
push 0x5c2910
push 0
push 1
push eax
push 0
push esi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const___void____class_QObject_const___void____class_QtPrivate::QSlotObjectBase___enum_Qt::ConnectionType__int_const___struct_QMetaObject_const__]
add esp, 0x24
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0xe
je 0x485ff6
lea ecx, [ebp - 0x1c]
call edi
mov dword [ebp - 0x10], 0
test al, al
jne 0x485ffd
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
cmp dword [ebp - 0x10], 0xffffffff
je 0x4860a1
push 0xc
mov dword [ebp - 0x18], fcn.0049fec0
call fcn.004ce5f4
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x48603e
mov dword [eax], 1
mov dword [eax + 4], 0x4862a0
mov dword [eax + 8], esi
jmp 0x486040
xor eax, eax
push 0x5c46d4
push 0
push 1
push eax
push 0
push esi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const___void____class_QObject_const___void____class_QtPrivate::QSlotObjectBase___enum_Qt::ConnectionType__int_const___struct_QMetaObject_const__]
add esp, 0x24
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0xf
je 0x486078
lea ecx, [ebp - 0x1c]
call edi
test al, al
je 0x486078
xor edi, edi
jmp 0x48607b
or edi, 0xffffffff
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
cmp edi, 0xffffffff
je 0x4860a1
push 0xffffffffffffffff
mov ecx, esi
call fcn.00486840
push 1
lea ecx, [esi + 0x10]
call dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QSystemTrayIcon::setVisible_bool_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8