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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x497d08
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sub.MFC71U.DLL_CMenu::FromHandle
cmp eax, esi
je 0x435ea5
mov ecx, esi
call sub.MFC71U.DLL_COleControlSite::SetFocus
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x88]
push edx
mov ecx, esi
call dword [eax + 0x158]
lea ecx, [esp + 0x30]
mov edi, eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x150]
test edi, edi
jne 0x436057
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, esi
mov edi, 1
call dword [edx + 0x154]
mov ebx, dword [sym.imp.USER32.dll_GetCapture]
call ebx
test eax, eax
jne 0x436046
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call sub.MFC71U.DLL_CMenu::FromHandle
push esi
lea ecx, [esp + 0x44]
call sub.MFC71U.DLL_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu
mov edx, dword [esp + 0x20]
mov eax, dword [esi]
push 3
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x58]
push edx
mov ecx, esi
mov dword [esp + 0x94], 0
call dword [eax + 0x13c]
call sub.MFC71U.DLL_AfxLockGlobals
mov ebp, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x60]
push eax
call ebp
call ebx
push eax
call sub.MFC71U.DLL_CMenu::FromHandle
cmp eax, esi
jne 0x436024
mov eax, dword [esp + 0x58]
sub eax, 0x100
je 0x436125
sub eax, 0x100
je 0x436073
sub eax, 2
jne 0x43612c
call dword [sym.imp.USER32.dll_ReleaseCapture]
test edi, edi
je 0x435fe6
mov edx, dword [esp + 0x20]
mov eax, dword [esi]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x58]
push edx
mov ecx, esi
call dword [eax + 0x13c]
xor edi, edi
mov eax, dword [esp + 0x60]
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
mov eax, dword [esi]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edx
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call dword [eax + 0x158]
test eax, eax
jne 0x436024
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x58]
je 0x436024
push eax
mov ecx, esi
call fcn.00435130
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0
call sub.MFC71U.DLL_AfxUnlockGlobals
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
call sub.MFC71U.DLL_CByteArray::CByteArray
test edi, edi
je 0x436057
mov ecx, dword [esi + 0x20]
push 0
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call sub.MFC71U.DLL_CFieldExchange::Default
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret 0xc
mov eax, dword [esp + 0x60]
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
mov eax, dword [esi]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edx
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call dword [eax + 0x158]
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x4360eb
cmp dword [esp + 0x14], eax
jne 0x4360eb
test edi, edi
jne 0x436137
mov edi, dword [esp + 0x20]
mov edx, dword [esi]
push 3
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [esp + 0x38]
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x3c]
mov dword [ecx + 8], edi
mov edi, dword [esp + 0x40]
push eax
lea eax, [esp + 0x58]
mov dword [ecx + 0xc], edi
push eax
mov ecx, esi
call dword [edx + 0x13c]
mov edi, 1
jmp 0x436137
test edi, edi
je 0x436137
mov edi, dword [esp + 0x20]
mov edx, dword [esi]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [esp + 0x38]
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x3c]
mov dword [ecx + 8], edi
mov edi, dword [esp + 0x40]
push eax
lea eax, [esp + 0x58]
mov dword [ecx + 0xc], edi
push eax
mov ecx, esi
call dword [edx + 0x13c]
xor edi, edi
jmp 0x436137
cmp dword [esp + 0x5c], 0x1b
jne 0x436137
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea edx, [esp + 0x60]
push edx
call ebp
call ebx
push eax
call sub.MFC71U.DLL_CMenu::FromHandle
cmp eax, esi
je 0x435f81
jmp 0x436024