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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4190ea
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebp
push esi
mov esi, dword [esp + 0x70]
test esi, esi
mov ebp, ecx
je 0x40cff8
push ebx
push esi
call sub.MFC71U.DLL_CListCtrl::GetItemData
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x40cff7
cmp dword [ebx], esi
jne 0x40cff7
push esi
mov ecx, ebp
call sub.MFC71U.DLL_CListBox::ItemFromPoint
test eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], 0
je 0x40c6c3
push 0x20
push esi
mov ecx, ebp
call sub.MFC71U.DLL_CTabCtrl::GetItemState
test al, 0x20
je 0x40c6c3
mov dword [esp + 0x1c], 1
mov eax, dword [ebp + 0x20]
push edi
push esi
push 3
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
lea ecx, [esp + 0x58]
push ecx
push esi
mov ecx, ebp
mov dword [esp + 0x34], eax
call sub.MFC71U.DLL_CToolBar::GetItemRect
mov eax, dword [esp + 0x7c]
test eax, eax
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 4]
mov dword [esp + 0x1c], esi
jne 0x40c705
mov eax, dword [ebp + 0x94]
test eax, eax
je 0x40c72f
call dword [sym.imp.CSXTP1031u.dll_private:_static_class_CXTPColorManager____cdecl_CXTPColorManager::Instance_void_]
push 0x1e
push esi
push 0xd
mov dword [esp + 0x88], eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esp + 0x84]
push eax
call dword [sym.imp.CSXTP1031u.dll_public:_unsigned_long_int___thiscall_CXTPColorManager::LightColor_unsigned_long_int__unsigned_long_int__int_const]
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x74]
push 1
mov ecx, esi
call sub.MFC71U.DLL_CListCtrl::SetBkImage
mov edx, dword [esi]
push edi
mov ecx, esi
mov dword [esp + 0x44], eax
call dword [edx + 0x38]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 8]
push 6
push eax
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call sub.MFC71U.DLL_CDC::FromHandle
mov edx, dword [esi]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
test eax, eax
mov ecx, esi
lea eax, [ebp + 0xa0]
jne 0x40c77a
lea eax, [ebp + 0x98]
push eax
call dword [edx + 0x30]
mov ecx, dword [ebp + 0x20]
push 0
push 0
push 0x111f
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
lea edx, [esp + 0x58]
push edx
mov ecx, esi
call sub.MFC71U.DLL_CDC::FillSolidRect
lea eax, [ebx + 0x10]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x6c], 0
je 0x40c7de
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40c7de
lea edi, [ebx + 0x14]
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_CGopherFileFind::IsDots]
test al, al
jne 0x40c7de
push edi
lea ecx, [esp + 0x14]
call dword [0x41a768]
push 0x41ea40
lea ecx, [esp + 0x80]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.0040a9d0
mov eax, dword [eax]
lea ecx, [esp + 0x7c]
mov dword [ebp + 0xd0], eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push 0
mov ecx, ebp
call sub.MFC71U.DLL_CWnd::GetScrollLimit
mov edi, dword [ebp + 0xc8]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
sub edi, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edi
mov ebx, dword [ebx + 0x2c]
test bl, 1
je 0x40c885
test bl, 2
je 0x40c885
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40c885
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.0040a9d0
mov edx, dword [eax]
mov ecx, dword [ebp + 0xd0]
lea eax, [edx + ecx*2]
mov ecx, dword [esp + 0x44]
lea edx, [eax + ecx + 1]
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call sub.MFC71U.DLL_CDC::FillSolidRect
mov ebx, dword [esi]
push 0x8024
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov ecx, esi
call dword [ebx + 0x70]
mov eax, dword [esi]
lea ecx, [ebp + 0xa0]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov ebx, dword [esp + 0x78]
push ebx
mov ecx, ebp
call fcn.0040b0b0
test eax, eax
jne 0x40cab4
mov edx, dword [ebp + 0x20]
push ebx
push 4
push 0x110a
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x7c], ebx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
test ebx, ebx
mov byte [esp + 0x6c], 1
je 0x40ca88
mov edi, edi
push ebx
mov ecx, ebp
call sub.MFC71U.DLL_CListCtrl::GetItemData
test eax, eax
mov dword [esp + 0x30], eax
je 0x40ca88
cmp dword [eax], ebx
jne 0x40ca88
lea ecx, [eax + 0x14]
mov dword [esp + 0x74], ecx
call dword [sym.imp.MFC71U.DLL_CGopherFileFind::IsDots]
test al, al
jne 0x40ca68
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x44], edi
mov eax, dword [ebx]
push eax
lea ecx, [esp + 0x14]
push 0x41ea38
push ecx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a9d0
add edi, dword [eax]
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, esi
mov dword [esp + 0x54], edi
call sub.MFC71U.DLL_CDC::FillSolidRect
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov eax, dword [esi]
push edx
mov ecx, esi
call dword [eax + 0x38]
mov eax, dword [esi]
push 0x8024
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebx
mov dword [esp + 0x38], eax
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
mov ecx, ebx
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov eax, dword [esp + 0x40]
mov ecx, esi
call dword [eax + 0x70]
mov edx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x7c]
push eax
mov ecx, ebp
mov dword [esp + 0x4c], edi
call fcn.0040b500
mov ecx, dword [esp + 0x78]
push ecx
lea edx, [esp + 0x14]
push 0x41ea30
push edx
mov byte [esp + 0x78], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0040a9d0
mov ecx, dword [eax]
mov edx, dword [esp + 0x1c]
add edi, ecx
push edx
lea eax, [esp + 0x48]
push eax
mov ecx, esi
mov dword [esp + 0x54], edi
call sub.MFC71U.DLL_CDC::FillSolidRect
mov eax, dword [ebp + 0x64]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x38]
mov ebx, dword [esi]
push 0x8024
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x80]
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
lea ecx, [esp + 0x84]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov ecx, esi
call dword [ebx + 0x70]
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ebx, dword [esp + 0x7c]
mov edx, dword [ebp + 0x20]
push ebx
push 1
push 0x110a
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x7c], ebx
jne 0x40c910
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ebp + 0xd0]
push ecx
mov eax, edi
lea edx, [esp + 0x48]
sub eax, ebx
push edx
mov ecx, esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], edi
call sub.MFC71U.DLL_CDC::FillSolidRect
lea ecx, [esp + 0x28]
jmp 0x40cfbd
mov ecx, dword [esp + 0x14]
add ecx, 0x18
mov dword [esp + 0x78], ecx
call dword [sym.imp.MFC71U.DLL_CGopherFileFind::IsDots]
test al, al
jne 0x40cbbd
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x40cbbd
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], edi
mov eax, dword [eax + 0x2c]
test al, 1
je 0x40cb10
test al, 4
je 0x40cb10
mov ecx, dword [esp + 0x78]
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.0040a9d0
mov edx, dword [eax]
mov ecx, dword [ebp + 0xd0]
mov eax, dword [esp + 0x44]
lea edi, [edx + ecx*2]
add edi, eax
jmp 0x40cb75
push ecx
mov ecx, ebp
call fcn.0040aa90
test eax, eax
je 0x40cb20
mov ebx, dword [esp + 0x28]
push 2
push ebx
mov ecx, ebp
mov dword [esp + 0x80], 0
call fcn.0040aa50
test eax, eax
je 0x40cb58
lea esp, [esp]
push eax
push 2
mov ebx, eax
mov eax, dword [ebp + 0x20]
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x40cb40
lea ecx, [esp + 0x78]
push ecx
push ebx
push esi
mov ecx, ebp
call fcn.0040b6c0
mov edx, dword [ebp + 0xd0]
mov eax, dword [esp + 0x78]
lea ecx, [eax + edx*2]
add edi, ecx
dec dword [esp + 0x44]
mov ebx, dword [esp + 0x1c]
push ebx
lea edx, [esp + 0x48]
push edx
mov ecx, esi
mov dword [esp + 0x54], edi
call sub.MFC71U.DLL_CDC::FillSolidRect
mov eax, dword [esp + 0x44]
mov ecx, dword [ebp + 0x64]
inc eax
mov dword [esp + 0x44], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x38]
mov eax, dword [esp + 0x14]
push 0x8024
lea edx, [esp + 0x48]
push edx
add eax, 0x18
push eax
mov ecx, esi
call fcn.0040a990
jmp 0x40cbc1
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add ecx, 0x1c
call dword [sym.imp.MFC71U.DLL_CGopherFileFind::IsDots]
test al, al
jne 0x40ccc0
mov eax, dword [esp + 0x14]
add eax, 0x1c
push eax
lea ecx, [esp + 0x7c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x78]
push 0x41e81c
push ecx
mov byte [esp + 0x78], 3
call fcn.00401340
push 0x41ea2c
push eax
lea edx, [esp + 0x90]
push edx
mov byte [esp + 0x84], 4
call fcn.004058a0
add esp, 0x18
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x70], 5
call dword [0x41a768]
lea ecx, [esp + 0x7c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x74]
mov byte [esp + 0x6c], 3
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
mov dword [esp + 0x4c], edi
call fcn.0040a9d0
mov eax, dword [eax]
mov edx, dword [ebp + 0xd0]
lea ecx, [eax + edx*2]
mov eax, dword [esp + 0x44]
add edi, ecx
push ebx
lea edx, [esp + 0x48]
dec eax
push edx
mov ecx, esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x4c], eax
call sub.MFC71U.DLL_CDC::FillSolidRect
mov eax, dword [esp + 0x44]
mov ecx, dword [ebp + 0x68]
inc eax
mov dword [esp + 0x44], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x38]
push 0x8024
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x80]
push eax
mov ecx, esi
call fcn.0040a990
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x24]
or ecx, 0xffffffff
cmp edx, ecx
je 0x40cee6
cmp dword [eax + 0x28], ecx
je 0x40cee6
mov ecx, dword [ebp + 0xd0]
mov eax, edi
add edi, ecx
push ebx
lea ecx, [esp + 0x48]
dec eax
push ecx
mov ecx, esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x4c], eax
call sub.MFC71U.DLL_CDC::FillSolidRect
mov edx, dword [esp + 0x44]
mov eax, dword [ebp + 0x78]
inc edx
mov dword [esp + 0x44], edx
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x38]
push 0x41e7dc
lea ecx, [esp + 0x7c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push 0x8024
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x80]
push edx
mov ecx, esi
mov byte [esp + 0x78], 6
call fcn.0040a990
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x24]
push ecx
lea edx, [esp + 0x14]
push 0x41c3e0
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
mov dword [esp + 0x4c], edi
call fcn.0040a9d0
add edi, dword [eax]
push ebx
lea edx, [esp + 0x48]
push edx
mov ecx, esi
mov dword [esp + 0x54], edi
call sub.MFC71U.DLL_CDC::FillSolidRect
mov ecx, dword [ebp + 0x6c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x38]
push 0x8024
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0040a990
mov ecx, dword [ebp + 0xd0]
mov dword [esp + 0x44], edi
add edi, ecx
push ebx
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
mov dword [esp + 0x54], edi
call sub.MFC71U.DLL_CDC::FillSolidRect
mov eax, dword [ebp + 0x78]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x38]
push 0x41ea28
lea ecx, [esp + 0x7c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push 0x8024
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x80]
push edx
mov ecx, esi
mov byte [esp + 0x78], 7
call fcn.0040a990
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], edi
mov ecx, dword [eax + 0x28]
push ecx
lea edx, [esp + 0x14]
push 0x41c3e0
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.0040a9d0
add edi, dword [eax]
push ebx
lea edx, [esp + 0x48]
push edx
mov ecx, esi
mov dword [esp + 0x54], edi
call sub.MFC71U.DLL_CDC::FillSolidRect
mov ecx, dword [ebp + 0x70]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x38]
push 0x8024
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0040a990
mov eax, dword [ebp + 0xd0]
lea ecx, [eax + edi]
mov dword [esp + 0x44], edi
lea edi, [ecx + eax*2]
push ebx
lea edx, [esp + 0x48]
push edx
mov ecx, esi
mov dword [esp + 0x54], edi
call sub.MFC71U.DLL_CDC::FillSolidRect
mov ecx, dword [ebp + 0x78]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x38]
push 0x41e7d8
lea ecx, [esp + 0x7c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push 0x8024
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x80]
push eax
mov ecx, esi
mov byte [esp + 0x78], 8
call fcn.0040a990
mov byte [esp + 0x6c], 0
lea ecx, [esp + 0x78]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
cmp dword [eax + 0x30], ecx
je 0x40cfc8
lea ecx, [esp + 0x78]
mov dword [esp + 0x44], edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x28]
cmp eax, 0xffffffff
mov byte [esp + 0x6c], 9
je 0x40cf27
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x7c]
push str.0x__0_dX
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0xc
jmp 0x40cf36
push str.0x_04X
lea ecx, [esp + 0x7c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_1]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x30]
push edx
lea ecx, [esp + 0x7c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.0040a9d0
mov ecx, dword [ebp + 0xd0]
lea edx, [edi + ecx*2]
mov ecx, dword [eax]
mov edi, dword [esp + 0x44]
add edx, ecx
push ebx
lea eax, [esp + 0x48]
dec edi
push eax
mov ecx, esi
mov dword [esp + 0x54], edx
mov dword [esp + 0x4c], edi
call sub.MFC71U.DLL_CDC::FillSolidRect
mov eax, dword [esp + 0x44]
mov edx, dword [esi]
inc eax
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x74]
push eax
mov ecx, esi
call dword [edx + 0x38]
push 0x8024
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0040a990
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x38]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [esp + 0x3c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, esi
call sub.MFC71U.DLL_CListCtrl::SetBkImage
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop edi
pop ebx
mov ecx, dword [esp + 0x5c]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x60
ret 0xc