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

Disassembly:
push 0xffffffffffffffff
push 0x55fd3b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x63d20c]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0xa8]
xor esi, esi
push eax
xor edi, edi
mov dword [esp + 0x1c], esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov ebx, eax
mov dword [esp + 0x48], ebx
cmp ebx, edi
je 0x46f4dc
push 0x14
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
mov dword [esp + 0xa0], edi
cmp esi, edi
je 0x46f4cb
mov ecx, dword [esp + 0xac]
push ecx
mov ecx, esi
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QMenu::constructor_class_QWidget__]
mov dword [esi], vtable.QMenu.1.0
mov dword [esi + 8], vtable.QMenu.0
jmp 0x46f4cd
xor esi, esi
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x18], esi
cmp ebx, edi
mov dword [esp + 0x2c], edi
jle 0x46f8b2
push 0x30
lea edx, [esp + 0x6c]
push 0
push edx
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0xb4]
add esp, 0xc
lea eax, [esp + 0x68]
push eax
push 1
push edi
push ecx
mov dword [esp + 0x78], 0x30
mov dword [esp + 0x7c], 0x16
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
xor ebp, ebp
xor ebx, ebx
cmp dword [esp + 0x70], 0x800
mov dword [esp + 0x1c], ebp
jne 0x46f544
mov ecx, esi
call dword [sym.imp.QtGui4.dll_public:_class_QAction____thiscall_QMenu::addSeparator_void_]
mov ebp, eax
mov dword [esp + 0x1c], ebp
jmp 0x46f869
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x14], eax
mov edx, 1
lock xadd dword [eax], edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0xa0], 1
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QPixmap::constructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 2
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QKeySequence::constructor_void_]
mov eax, dword [esp + 0x7c]
mov byte [esp + 0xa0], 3
test eax, eax
je 0x46f59c
mov ecx, dword [esp + 0x3c]
push esi
push eax
call fcn.0046f440
mov ebx, eax
jmp 0x46f59e
xor ebx, ebx
mov edx, dword [esp + 0xa8]
lea eax, [esp + 0x14]
push eax
sub esp, 0x30
mov edi, esp
mov ecx, 0xc
lea esi, [esp + 0x9c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x60]
push ecx
push edx
call fcn.0046ca90
push 0xffffffffffffffff
push str.__s_
mov edi, eax
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromLatin1_helper_char_const___int_]
add esp, 0x44
mov dword [esp + 0x28], eax
push 0
push 1
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRegExp::constructor_class_QString_const___enum_Qt::CaseSensitivity__enum_QRegExp::PatternSyntax_]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 5
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::lastIndexOf_class_QRegExp_const___int_const]
lea ecx, [esp + 0x34]
mov esi, eax
mov byte [esp + 0xa0], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRegExp::destructor_void_]
mov ecx, dword [esp + 0x28]
mov byte [esp + 0xa0], 3
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x46f645
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
cmp esi, 0xffffffff
je 0x46f71e
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
sub eax, esi
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::right_int_]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xa4], 6
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QKeySequence::constructor_class_QString_const__]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 7
call dword [sym.imp.QtGui4.dll_public:_class_QKeySequence____thiscall_QKeySequence::operator_class_QKeySequence_const__]
lea ecx, [esp + 0x44]
mov byte [esp + 0xa0], 6
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QKeySequence::destructor_void_]
lea ecx, [esp + 0x20]
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QKeySequence::operator_int_void_const]
test eax, eax
je 0x46f6fb
push esi
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::left_int_]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 8
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
mov eax, dword [esp + 0x30]
mov byte [esp + 0xa0], 6
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x46f6fb
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov eax, dword [esp + 0x24]
mov byte [esp + 0xa0], 3
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x46f71e
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
test ebx, ebx
je 0x46f72f
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QMenu::setTitle_class_QString_const__]
test edi, edi
je 0x46f792
cmp edi, 4
jne 0x46f81b
test ebx, ebx
je 0x46f74d
mov ecx, dword [esp + 0x18]
push ebx
call dword [sym.imp.QtGui4.dll_public:_class_QAction____thiscall_QMenu::addMenu_class_QMenu__]
jmp 0x46f7b2
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x44]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QIcon::constructor_class_QPixmap_const__]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0xa8], 9
call dword [sym.imp.QtGui4.dll_public:_class_QAction____thiscall_QMenu::addAction_class_QIcon_const___class_QString_const__]
mov ebp, eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0xa0], 3
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QIcon::destructor_void_]
jmp 0x46f7b8
test ebx, ebx
je 0x46f7a3
mov ecx, dword [esp + 0x18]
push ebx
call dword [sym.imp.QtGui4.dll_public:_class_QAction____thiscall_QMenu::addMenu_class_QMenu__]
jmp 0x46f7b2
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
call dword [sym.imp.QtGui4.dll_public:_class_QAction____thiscall_QMenu::addAction_class_QString_const__]
mov ebp, eax
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x46f81b
lea ecx, [esp + 0x20]
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QKeySequence::operator_int_void_const]
test eax, eax
je 0x46f7d7
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QAction::setShortcut_class_QKeySequence_const__]
lea ecx, [esp + 0x4c]
call dword [sym.imp.QtGui4.dll_public:_bool___thiscall_QPixmap::isNull_void_const]
test al, al
jne 0x46f81b
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QIcon::constructor_class_QPixmap_const__]
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
mov byte [esp + 0xa4], 0xa
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QAction::setIcon_class_QIcon_const__]
lea ecx, [esp + 0x38]
mov byte [esp + 0xa0], 3
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QIcon::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 2
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QKeySequence::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 1
call dword [sym.imp.QtGui4.dll_public_virtual:_void___thiscall_QPixmap::destructor_void_]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x46f865
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov esi, dword [esp + 0x18]
test ebp, ebp
je 0x46f89f
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x5c], edx
lea edx, [esp + 0x20]
mov dword [esp + 0x60], eax
push edx
lea eax, [esp + 0x6c]
push eax
add ecx, 0x6c
mov dword [esp + 0x6c], ebx
call fcn.0046f3a0
mov edi, dword [esp + 0x2c]
inc edi
cmp edi, dword [esp + 0x48]
mov dword [esp + 0x2c], edi
jl 0x46f4e8
mov eax, esi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 8