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

Disassembly:
push 0xffffffffffffffff
push 0x4f2a75
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [esp + 0x24], edi
mov eax, dword [edi + 0x80]
cmp eax, esi
mov dword [esp + 0x48], eax
je 0x4d4b6a
mov ebp, dword [eax + 0x40]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], ebp
mov ebx, dword [ebp + 0xe8]
call sub.MFC42.DLL_CWordArray::CWordArray
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x54]
mov dword [esp + 0x230], esi
call sub.MFC42.DLL_CWordArray::SetSize
test ebx, ebx
jle 0x4d45c0
xor eax, eax
mov ecx, dword [ebp + 0xe4]
mov eax, dword [ecx + eax*4]
lea ecx, [esp + 0xa8]
push eax
call fcn.0045a3a0
mov eax, dword [esp + 0x104]
mov byte [esp + 0x228], 1
test eax, eax
je 0x4d45a0
mov edx, dword [esp + 0x54]
push esi
push edx
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CWordArray::SetAtGrow
lea ecx, [esp + 0xa8]
mov byte [esp + 0x228], 0
call fcn.0045ae80
inc esi
mov eax, esi
and eax, 0xffff
cmp eax, ebx
jl 0x4d4568
mov ebx, dword [esp + 0x54]
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x60]
mov byte [esp + 0x228], 2
call sub.MFC42.DLL_CDC::CDC
xor esi, esi
mov byte [esp + 0x228], 3
push esi
push esi
push esi
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
push eax
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CDC::Attach
mov edx, dword [esp + 0x64]
lea eax, [esp + 0x60]
neg eax
sbb eax, eax
and eax, edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CDC::Attach
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0x4f4eec
mov eax, dword [esp + 0x64]
push 0x40
push 0x40
push eax
mov byte [esp + 0x234], 4
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [edi + 0x88]
cmp ecx, esi
je 0x4d4667
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [edi + 0x88], esi
push 8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, esi
mov byte [esp + 0x228], 5
je 0x4d468a
mov ecx, eax
call fcn.004e2736
jmp 0x4d468c
xor eax, eax
lea ecx, [ebx + 1]
mov byte [esp + 0x228], 4
push ecx
push ebx
push 1
push 0x40
push 0x40
mov ecx, eax
mov dword [edi + 0x88], eax
call sub.MFC42.DLL_CImageList::Create
cmp ebx, esi
mov dword [esp + 0x10], esi
jle 0x4d499d
jmp 0x4d46be
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0x34]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [esp + 0x40], eax
xor edi, edi
xor esi, esi
mov eax, dword [esp + 0x34]
push 0xffffff
push edi
push esi
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
inc esi
cmp esi, 0x40
jl 0x4d46df
inc edi
cmp edi, 0x40
jl 0x4d46dd
lea ecx, [esp + 0xa8]
call fcn.0045a2d0
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x228], 6
push ecx
lea ecx, [esp + 0x50]
call fcn.004d4b90
and eax, 0xffff
lea ecx, [ebp + 0xe0]
push eax
call fcn.004ccb10
sub esp, 0xbc
mov ecx, esp
mov dword [esp + 0xd0], esp
push eax
call fcn.0045a3a0
lea edx, [esp + 0x220]
lea ecx, [esp + 0x164]
push edx
call fcn.0045a950
lea ecx, [esp + 0x164]
call fcn.0045ae80
mov edi, 0x7fff
mov ebp, 0xffff8001
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], ebp
xor esi, esi
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x78]
push 0
push edx
mov ecx, dword [eax + 0xe4]
mov ecx, dword [ecx + esi*4]
call fcn.0045c9d0
mov edx, eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
cmp eax, edi
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
jge 0x4d47a5
mov edi, eax
cmp ecx, dword [esp + 0x14]
jge 0x4d47af
mov dword [esp + 0x14], ecx
cmp edx, dword [esp + 0x2c]
jle 0x4d47b9
mov dword [esp + 0x2c], edx
cmp ebx, ebp
jle 0x4d47bf
mov ebp, ebx
mov eax, dword [esp + 0x28]
inc esi
cmp esi, eax
jl 0x4d4779
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x4d47e8
mov esi, 0xfffffb50
mov edi, 0xfffffda8
mov ebp, 0x4b0
mov ebx, 0x258
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xdc]
test ecx, ecx
je 0x4d4822
mov ecx, dword [esp + 0x18]
add ecx, 0x8c
call fcn.00444570
test eax, eax
je 0x4d4843
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x88]
push edx
lea ecx, [eax + 0x8c]
call fcn.00444c20
jmp 0x4d4838
lea ecx, [esp + 0x98]
push 1
push ecx
lea ecx, [esp + 0xb0]
call fcn.0045c9d0
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebp, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov edx, dword [esp + 0x18]
sub esp, 0x10
add edx, 0x78
mov eax, 3
mov dword [esp + 0x24], edx
mov edx, esp
sub esp, 0x10
mov ecx, eax
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ebx
mov edx, esp
mov dword [edx], eax
mov eax, 0x3c
mov dword [edx + 4], ecx
lea ecx, [esp + 0x50]
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0xd0]
call fcn.0045df10
push 0
mov eax, 3
sub esp, 0x10
mov edx, esp
sub esp, 0x10
mov ecx, esp
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ebx
mov edx, dword [esp + 0x3c]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov eax, 0x3c
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea eax, [edx + 0x78]
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xd4]
call fcn.0045e2b0
push 0
lea ecx, [esp + 0x74]
push 0
push ecx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CDC::MoveTo
push 0
push 0x3f
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::LineTo
push 0x3f
push 0x3f
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::LineTo
push 0x3f
push 0
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::LineTo
push 0
push 0
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4d4926
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x34]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push 0xffffff
mov ecx, dword [edi + 0x88]
neg eax
sbb eax, eax
and eax, ebx
push eax
mov eax, dword [ecx + 4]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov esi, dword [esp + 0x10]
push 0
push 0
push 0
push eax
push 0
push 2
push 0
push esi
lea ecx, [edi + 0x9c]
call sub.MFC42.DLL_CListCtrl::SetItem
lea ecx, [esp + 0xa8]
mov byte [esp + 0x228], 4
call fcn.0045ae80
mov eax, dword [esp + 0x28]
inc esi
cmp esi, eax
mov dword [esp + 0x10], esi
jl 0x4d46ba
mov ebx, eax
mov eax, dword [edi + 0x88]
test eax, eax
je 0x4d49aa
mov eax, dword [eax + 4]
mov ecx, dword [edi + 0xbc]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0
push 0x1003
push ecx
call ebp
push eax
call sub.MFC42.DLL_CImageList::FromHandle
mov edx, dword [edi + 0xbc]
push 0
push 0
push 0x1009
push edx
call ebp
xor esi, esi
test ebx, ebx
jle 0x4d4a6a
lea ebp, [edi + 0x9c]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea edi, [esi + 1]
lea eax, [esp + 0x10]
push edi
push str._No._d
push eax
mov byte [esp + 0x234], 7
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0
push esi
push 0
push 0
push ecx
push esi
push 3
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::InsertItem
mov edx, dword [esp + 0x50]
mov ecx, ebp
mov si, word [edx + esi*2]
and esi, 0xffff
push esi
push 0
push 0
push 0
push 0
push 4
push 0
push eax
call sub.MFC42.DLL_CListCtrl::SetItem
lea ecx, [esp + 0x10]
mov byte [esp + 0x228], 4
call fcn.004e2712
mov esi, edi
cmp esi, ebx
jl 0x4d49e9
mov edi, dword [esp + 0x24]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x48]
cmp dword [eax + 0x214], 1
jne 0x4d4af6
mov eax, dword [eax + 0x210]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
cmp cl, 1
mov dword [esp + 0x74], edx
jne 0x4d4af6
mov eax, dword [edi + 0xbc]
xor esi, esi
push esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x46]
push esi
push 0x1004
push eax
and ebx, 0xffff
call ebp
test eax, eax
jle 0x4d4af6
lea ecx, [edi + 0x9c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
push esi
call sub.MFC42.DLL_CListCtrl::GetItemData
cmp eax, ebx
je 0x4d4ae4
mov edx, dword [edi + 0xbc]
push 0
push 0
push 0x1004
push edx
inc esi
call ebp
cmp esi, eax
jl 0x4d4abd
jmp 0x4d4af6
test esi, esi
jl 0x4d4af6
mov ecx, dword [esp + 0x10]
push 3
push 3
push esi
call sub.MFC42.DLL_CListCtrl::SetItemState
mov eax, dword [esp + 0x230]
test eax, eax
je 0x4d4b13
mov eax, dword [esp + 0x48]
push 1
push 0
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esp + 0x1c], 0x4f4f14
lea ecx, [esp + 0x1c]
mov byte [esp + 0x228], 8
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], 0x4f4f00
mov byte [esp + 0x228], 2
call fcn.004e2520
lea ecx, [esp + 0x30]
mov byte [esp + 0x228], 0
call fcn.004e2520
lea ecx, [esp + 0x4c]
mov dword [esp + 0x228], 0xffffffff
call fcn.004e2ca6
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x21c
ret 4