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

Disassembly:
push 0xffffffffffffffff
push 0x435b5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push esi
push edi
mov esi, ecx
xor edi, edi
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], esi
call fcn.0042b320
mov dword [esp + 0xe0], edi
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CMenu::Attach
cmp eax, edi
jne 0x42dd13
lea ecx, [esp + 0x44]
mov dword [esp + 0xe0], 0xffffffff
call fcn.0042b4b0
jmp 0x42e092
mov eax, dword [esp + 0x114]
cmp eax, edi
jle 0x42dd25
mov dword [esp + 0xbc], eax
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x128]
lea edx, [esp + 0x12c]
mov dword [esp + 0x74], eax
push edx
mov dword [esp + 0x88], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x42dd85
lea eax, [esp + 0x12c]
lea ecx, [esp + 0x44]
push eax
call fcn.0042d790
push ebx
push 0xa
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CPtrList::CPtrList
mov ebx, 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe4], bl
call sub.MFC42.DLL_CPtrList::RemoveAll
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x14]
cmp ecx, edi
mov dword [esp + 0xc], edi
jle 0x42dffc
push ebp
jmp 0x42ddbf
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 8]
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov eax, dword [esi + 0x108]
test eax, eax
je 0x42dfe3
push str.CMenuObj
mov ecx, esi
call fcn.0042b2b0
test eax, eax
je 0x42de96
mov eax, dword [esi + 0x114]
test eax, eax
je 0x42de02
lea ecx, [esp + 0x4c]
call fcn.0042c810
jmp 0x42dfe3
mov edi, dword [esi + 0x10c]
lea edx, [esi + 0x110]
push edx
push 0x43f364
mov eax, dword [edi - 8]
test eax, eax
je 0x42de59
lea eax, [esp + 0x2c]
push eax
call sub.MFC42.DLL_operator_1
mov ecx, dword [esi + 0x11c]
mov eax, dword [eax]
push edi
add ecx, 0x2710
push eax
push ecx
push 0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xf8], 2
call fcn.0042d2d0
mov byte [esp + 0xe8], bl
lea ecx, [esp + 0x24]
jmp 0x42dfde
lea eax, [esp + 0x28]
push eax
call sub.MFC42.DLL_operator_1
mov ecx, dword [esi + 0x11c]
mov eax, dword [eax]
add ecx, 0x2710
push eax
push ecx
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0xf4], 3
call fcn.0042cf50
mov byte [esp + 0xe8], bl
lea ecx, [esp + 0x20]
jmp 0x42dfde
push str.CMenuSubGroup
mov ecx, esi
call fcn.0042b2b0
test eax, eax
je 0x42dfe3
push 0x94
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0xe8], 4
je 0x42ded4
push 0
mov ecx, eax
call fcn.0042b320
mov edi, eax
jmp 0x42ded6
xor edi, edi
push edi
lea ecx, [esp + 0x34]
mov byte [esp + 0xec], bl
call sub.MFC42.DLL_CPtrList::AddTail
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
mov ecx, edi
call sub.MFC42.DLL_CMenu::Attach
mov eax, dword [esp + 0x11c]
test eax, eax
jle 0x42df03
mov dword [edi + 0x78], eax
mov edx, dword [esp + 0x128]
mov dword [edi + 0x38], edx
mov eax, dword [esp + 0x124]
mov dword [edi + 0x34], eax
mov ecx, dword [esp + 0x12c]
mov dword [edi + 0x3c], ecx
mov edx, dword [esp + 0x120]
mov dword [edi + 0x30], edx
mov eax, dword [esp + 0x130]
lea ecx, [esp + 0x134]
mov dword [edi + 0x40], eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x42df56
lea edx, [esp + 0x134]
mov ecx, edi
push edx
call fcn.0042d790
push edi
mov ecx, esi
call fcn.0042e3b0
mov ebp, dword [esi + 0x10c]
mov eax, dword [ebp - 8]
test eax, eax
je 0x42dfa6
add esi, 0x110
lea eax, [esp + 0x14]
push esi
push 0x43f364
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push ebp
push eax
push edi
push 0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xf8], 5
call fcn.0042ccf0
mov byte [esp + 0xe8], bl
lea ecx, [esp + 0x14]
jmp 0x42dfde
add esi, 0x110
lea ecx, [esp + 0x18]
push esi
push 0x43f364
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x4c]
push eax
push edi
push 0
mov byte [esp + 0xf4], 6
call fcn.0042ce30
mov byte [esp + 0xe8], bl
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
inc eax
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x10], eax
cmp eax, ecx
jl 0x42ddbb
pop ebp
mov esi, dword [esp + 0xec]
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf0]
push 0
push esi
push eax
push ecx
push 0
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CMenu::TrackPopupMenu
test esi, esi
jne 0x42e029
xor eax, eax
jmp 0x42e02c
mov eax, dword [esi + 0x20]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x48]
call fcn.0042c1f0
call fcn.0042e6e0
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x42e06c
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CPtrList::RemoveTail
test eax, eax
je 0x42e064
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
test eax, eax
jg 0x42e04f
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe4], 0
call fcn.0043156a
lea ecx, [esp + 0x48]
mov dword [esp + 0xe4], 0xffffffff
call fcn.0042b4b0
pop ebx
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xdc
ret 0x4f8