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

Disassembly:
push 0xffffffffffffffff
push 0x4b9070
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x508
push ebx
push ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, dword [esp + 0x524]
push edi
xor edi, edi
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 0x20]
push edi
push edi
push 0x1032
push eax
call ebx
cmp eax, edi
ja 0x46494a
xor eax, eax
jmp 0x464f75
mov ecx, dword [esi + 0x20]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 3
lea edx, [esp + 0xc4]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x20]
push edx
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebp, dword [esp + 0xcc]
mov eax, dword [esp + 0xc4]
mov ecx, dword [esi + 0x20]
push edi
push edi
sub ebp, eax
push 0x1027
push ecx
add ebp, 0x32
call ebx
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x1027
push edx
lea edi, [eax - 1]
call ebx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x1028
push eax
call ebx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x20]
push 0
push 0
add eax, ecx
push 0x1004
push edx
mov dword [esp + 0x40], eax
call ebx
mov ecx, dword [esp + 0x30]
dec eax
cmp ecx, eax
jle 0x4649fa
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x1004
push eax
call ebx
dec eax
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 0x20]
push 2
push edi
push 0x100c
push ecx
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x464a55
cmp edi, dword [esp + 0x30]
jg 0x464a55
lea edx, [esp + 0x68]
push 0
push edx
push edi
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::GetItemRect
mov eax, dword [esp + 0x68]
test eax, eax
jge 0x464a34
mov dword [esp + 0x68], 0
cmp dword [esp + 0x70], ebp
jle 0x464a3e
mov dword [esp + 0x70], ebp
lea eax, [esp + 0x68]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_UnionRect]
jmp 0x4649fa
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x78]
push eax
call sub.MFC42.DLL_CClientDC::CClientDC
xor edi, edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x520], edi
call fcn.004ac282
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], vtable.CBitmap.0
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x78]
neg eax
sbb eax, eax
mov byte [esp + 0x520], 2
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CDC::Attach
cmp eax, edi
jne 0x464af9
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x520], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], vtable.CObject.0
mov byte [esp + 0x520], 0
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x78]
mov dword [esp + 0x520], 0xffffffff
call fcn.004ac4b6
xor eax, eax
jmp 0x464f75
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x24]
push eax
sub ecx, ebp
push ecx
mov ecx, dword [esp + 0x84]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
cmp eax, edi
jne 0x464b78
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x520], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], vtable.CObject.0
mov byte [esp + 0x520], 0
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x78]
mov dword [esp + 0x520], 0xffffffff
call fcn.004ac4b6
xor eax, eax
jmp 0x464f75
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0x40]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
push 0xff00
sub eax, edx
sub ecx, ebp
push eax
push ecx
push edi
push edi
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CDC::FillSolidRect
mov edx, dword [esi + 0x20]
push edi
push edi
push 0x31
push edx
call ebx
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov edx, dword [eax + 4]
lea ecx, [esp + 0xf4]
push ecx
push 0x3c
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov byte [esp + 0x10e], 3
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], vtable.CFont.0
lea eax, [esp + 0xf4]
mov byte [esp + 0x520], 5
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CDC::SelectObject_1
mov edx, dword [esi + 0x20]
push edi
push edi
push 0x1027
push edx
mov dword [esp + 0x74], eax
call ebx
lea ebp, [eax - 1]
mov eax, dword [esi + 0x20]
push 2
push ebp
push 0x100c
push eax
call ebx
mov ebp, eax
cmp ebp, 0xffffffff
je 0x464e5d
cmp ebp, dword [esp + 0x30]
jg 0x464e5d
lea edx, [esp + 0x9c]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0xa0]
push edx
push eax
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x138]
push 0x1005
push eax
mov dword [esp + 0xac], 3
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], 0x3e7
call ebx
mov edi, dword [esp + 0x4c]
mov edx, dword [esi + 0x20]
xor ecx, ecx
push 0
test edi, edi
setne cl
push ecx
push 0x1002
push edx
call ebx
push eax
call sub.MFC42.DLL_CImageList::FromHandle
test eax, eax
mov dword [esp + 0x2c], eax
je 0x464dad
lea eax, [esp + 0x8c]
push 1
push eax
push ebp
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::GetItemRect
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xb8]
lea ecx, [esp + 0xd4]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageInfo]
mov edx, dword [esp + 0x20]
push 1
lea eax, [edx + edx]
mov edx, dword [esp + 0x94]
mov ecx, eax
mov eax, dword [esp + 0x9c]
sub eax, ecx
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0xec]
mov ecx, eax
mov eax, dword [esp + 0xf4]
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar ecx, 1
sar eax, 1
sub ecx, eax
lea eax, [edx + edx]
neg edi
mov edx, eax
mov eax, dword [esp + 0x98]
sbb edi, edi
sub eax, edx
mov edx, dword [esp + 0x90]
and edi, 0xfffffffe
add eax, edx
add edi, 2
cdq
sub eax, edx
mov edx, dword [esp + 0xe8]
add ecx, edi
mov edi, eax
mov eax, dword [esp + 0xf0]
push ecx
sub eax, edx
mov ecx, dword [esp + 0x34]
cdq
sub eax, edx
mov edx, dword [esp + 0x48]
sar edi, 1
sar eax, 1
sub edi, eax
lea eax, [esp + 0x44]
neg eax
sbb eax, eax
push edi
and eax, edx
mov edx, dword [ecx + 4]
push eax
mov eax, dword [esp + 0xc8]
push eax
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov edi, dword [esp + 0x4c]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x524], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x54]
push 2
push ecx
push ebp
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::GetItemRect
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
mov edx, 2
sub edx, eax
add ecx, edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x58], ecx
or ecx, 0xffffffff
sub ecx, eax
mov eax, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x60], edx
mov edx, 2
sub edx, eax
add ecx, edx
mov edx, dword [esp + 0x5c]
sub edx, eax
mov dword [esp + 0x54], ecx
test edi, edi
mov dword [esp + 0x5c], edx
mov eax, 0x18000
jne 0x464e2f
mov eax, 0x18011
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
push eax
lea eax, [esp + 0x58]
push eax
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x520], 5
call sub.MFC42.DLL_CString::CString
jmp 0x464c35
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x3c]
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [esp + 0x50]
test eax, eax
je 0x464e76
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x40]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
push 8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x50], eax
test eax, eax
mov byte [esp + 0x520], 7
je 0x464ea6
mov ecx, eax
call fcn.004ac252
mov esi, eax
jmp 0x464ea8
xor esi, esi
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
push 1
push 0
sub edx, ebp
push 0x21
sub eax, edi
push edx
push eax
mov ecx, esi
mov byte [esp + 0x534], 5
call sub.MFC42.DLL_CImageList::Create
mov ebp, dword [esp + 0x14]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x10]
push 0xff00
neg eax
sbb eax, eax
and eax, ebp
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esp + 0x52c]
test eax, eax
je 0x464f12
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ebx, vtable.CGdiObject.0
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x520], 8
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, vtable.CObject.0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x34], edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x520], 9
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], edi
mov byte [esp + 0x520], 0
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x78]
mov dword [esp + 0x520], 0xffffffff
call fcn.004ac4b6
mov eax, esi
mov ecx, dword [esp + 0x518]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x514
ret 8