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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4b67f7
push eax
mov eax, 0xa0cc
mov dword fs:[0], esp
call fcn.0047a5c0
push ebx
push ebp
push esi
mov esi, ecx
or ebp, 0xffffffff
push edi
mov al, byte [esi + 0x14a1]
test al, al
mov eax, dword [esp + 0xa0f0]
jne 0x46dc33
test eax, eax
je 0x46e8e2
jmp 0x46dc77
test eax, eax
jne 0x46dc77
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x46dc77
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x70], eax
test eax, eax
mov dword [esp + 0xa0e4], 0
je 0x46dc68
push esi
mov ecx, eax
call sub.MFC42.DLL_CClientDC::CClientDC
jmp 0x46dc6a
xor eax, eax
mov dword [esp + 0xa0e4], ebp
mov dword [esi + 0x80], eax
mov ebx, eax
mov eax, dword [esi + 0x1490]
test eax, eax
mov dword [esp + 0x50], ebx
je 0x46dc95
mov ecx, dword [eax + 8]
test ecx, ecx
jge 0x46dc95
mov dword [eax + 8], 0
mov al, byte [esi + 0x6c]
test al, al
jne 0x46dd0e
test ebx, ebx
jne 0x46dca4
xor eax, eax
jmp 0x46dca7
mov eax, dword [ebx + 4]
push eax
lea edi, [esi + 0x70]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call sub.MFC42.DLL_CDC::Attach
test eax, eax
je 0x46e8e2
mov eax, dword [esi + 0x14a8]
test eax, eax
je 0x46dcdb
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
test eax, eax
je 0x46e8e2
mov eax, dword [esi + 0x14a8]
test eax, eax
jne 0x46dd08
push 0xc
call dword [sym.imp.GDI32.dll_GetStockObject]
test eax, eax
je 0x46e8e2
push eax
mov eax, dword [esi + 0x74]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x46e8e2
mov byte [esi + 0x6c], 1
jmp 0x46dd36
mov eax, dword [esi + 0x14a8]
test eax, eax
je 0x46dd36
mov cl, byte [esi + 0x14ac]
test cl, cl
je 0x46dd36
mov edx, dword [esi + 0x70]
lea ecx, [esi + 0x70]
push eax
call dword [edx + 0x30]
mov byte [esi + 0x14ac], 0
mov dword [esi + 0x4c], ebp
cmp dword [esi + 0x4c], ebp
jne 0x46de53
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x78]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push str.Mgq_____
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
lea edx, [esp + 0x40]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esi + 0x78]
push eax
call edi
mov ecx, dword [esi + 0x14a4]
mov edx, dword [esp + 0x44]
lea eax, [edx + ecx*2 + 1]
lea ecx, [esp + 0x14]
mov dword [esi + 0x40], eax
call sub.MFC42.DLL_CString::CString
push 0x4d6388
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 0x78]
push eax
call edi
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x44], ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
sub eax, edx
mov ecx, dword [esp + 0x80]
mov dword [esi + 0x48], eax
mov edi, dword [esp + 0x78]
cdq
idiv dword [esi + 0x40]
sub ecx, edi
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x54], eax
mov eax, ecx
cdq
idiv dword [esi + 0x44]
mov ecx, dword [esi + 0x64]
dec eax
test ecx, ecx
mov dword [esi + 0x50], eax
je 0x46de01
mov edx, dword [ecx]
push 1
call dword [edx + 4]
push 8
call sub.MFC42.DLL_operatornew
add esp, 4
test eax, eax
je 0x46de20
mov dword [eax + 4], 0
mov dword [eax], vtable.CBitmap.0
mov edi, eax
jmp 0x46de22
xor edi, edi
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov dword [esi + 0x64], edi
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esi + 0x64]
test eax, eax
je 0x46de49
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x74]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esi + 0x1490]
xor ecx, ecx
cmp eax, ecx
jne 0x46deba
mov edx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_EnableScrollBar]
push 3
push 1
push edx
call edi
mov eax, dword [esi + 0x20]
push 3
push 0
push eax
call edi
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x4c]
push 0xc0c0c0
push ecx
lea edi, [esi + 0x70]
push edx
push 0
push 0
mov ecx, edi
call sub.MFC42.DLL_CDC::FillSolidRect
mov eax, dword [esi + 0x48]
mov esi, dword [esi + 0x4c]
test edi, edi
je 0x46dea1
mov edi, dword [edi + 4]
push 0xcc0020
push 0
push 0
push edi
push eax
mov eax, dword [ebx + 4]
push esi
push 0
push 0
push eax
jmp 0x46e8dc
cmp dword [eax + 8], ecx
jle 0x46dedf
mov edx, dword [esi + 0x4c]
mov edi, dword [eax + 0x10]
cmp edx, edi
jle 0x46dedf
mov bl, byte [esp + 0xa0ec]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x1490]
mov byte [eax + 0x17], 0
jmp 0x46deed
mov bl, byte [esp + 0xa0ec]
test bl, bl
je 0x46deed
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x1490]
mov edx, dword [ecx]
call dword [edx + 8]
mov edi, eax
mov eax, dword [sym.imp.USER32.dll_EnableScrollBar]
test bl, bl
mov dword [esp + 0x70], edi
jne 0x46df14
mov ecx, dword [esi + 0x1490]
mov dl, byte [ecx + 0x16]
test dl, dl
jne 0x46df45
cmp edi, dword [esi + 0x54]
jl 0x46df41
mov edx, dword [esi + 0x20]
push 0
push 1
push edx
call eax
push 1
push 0x8000
push 0
push 1
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetScrollRange
mov eax, dword [esi + 0x1490]
mov byte [eax + 0x16], 1
jmp 0x46df5e
test bl, bl
jne 0x46df4a
cmp edi, dword [esi + 0x54]
jge 0x46df5e
mov ecx, dword [esi + 0x20]
push 3
push 1
push ecx
call eax
mov edx, dword [esi + 0x1490]
mov byte [edx + 0x16], 0
mov eax, dword [esi + 0x1490]
mov cl, byte [eax + 0x16]
test cl, cl
je 0x46dfbb
xor ebp, ebp
mov dword [esp + 0x78], 0x1c
cmp edi, ebp
mov dword [esp + 0x7c], 2
je 0x46df93
mov eax, dword [esi + 0x54]
shl eax, 0xf
cdq
idiv edi
mov dword [esp + 0x88], eax
jmp 0x46df9e
mov dword [esp + 0x88], 0x7fea
cmp edi, 0x64
lea edx, [esp + 0x78]
setl cl
and ecx, 0xff
push ecx
push edx
push 1
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetScrollInfo
jmp 0x46dfbd
xor ebp, ebp
mov al, byte [esi + 0x14a2]
test al, al
je 0x46dfe0
mov eax, dword [esi + 0x1490]
mov ecx, dword [esi + 0x54]
mov edx, ecx
add edx, dword [eax + 4]
cmp edx, edi
jge 0x46dfe0
mov edx, edi
sub edx, ecx
mov dword [eax + 4], edx
cmp dword [esi + 0x68], ebp
je 0x46e01f
mov eax, dword [esi + 0x1490]
mov cl, byte [esi + 0x14a2]
cmp byte [eax + 0x15], cl
je 0x46e01f
mov byte [eax + 0x15], cl
mov eax, dword [esi + 0x1490]
xor ecx, ecx
push ebp
mov bl, byte [eax + 0x15]
test bl, bl
setne cl
mov eax, ecx
mov ecx, dword [esi + 0x68]
push eax
push 0xf1
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x1490]
mov ebx, dword [esi + 0x54]
mov eax, edi
mov edx, dword [ecx + 4]
sub eax, ebx
cmp edx, eax
jle 0x46e036
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x1490]
cmp dword [eax + 4], ebp
jge 0x46e044
mov dword [eax + 4], ebp
mov eax, dword [esi + 0x1490]
cmp dword [eax + 0xc], edi
jl 0x46e055
lea ecx, [edi - 1]
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 0x1490]
cmp dword [eax + 0xc], ebp
jge 0x46e067
cmp edi, ebp
jle 0x46e067
mov dword [eax + 0xc], ebp
mov eax, dword [esi + 0x1490]
mov cl, byte [eax + 0x16]
test cl, cl
je 0x46e08d
cmp edi, ebp
je 0x46e08d
mov edx, dword [eax + 4]
push 1
push edi
push edx
push 0x8000
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
jmp 0x46e090
push 1
push ebp
push 1
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetScrollPos
mov eax, dword [esi + 0x1490]
mov ecx, dword [esi + 0x4c]
mov eax, dword [eax + 0x10]
cmp eax, ecx
mov dword [esp + 0x14], eax
jg 0x46e0b1
mov dword [esp + 0x14], ecx
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ecx, dword [esi + 0x54]
cmp eax, esi
sete bl
inc ecx
mov byte [esp + 0x1a], bl
test ecx, ecx
mov dword [esi + 0x1484], ebp
mov dword [esp + 0x3c], ebp
jle 0x46e720
lea eax, [esp + 0x28]
lea ecx, [esp + 0x20dc]
mov edx, dword [esi]
push eax
push ecx
mov ecx, dword [esi + 0x1490]
lea eax, [esp + 0xe4]
push eax
mov eax, dword [ecx + 4]
add eax, ebp
mov ecx, esi
push eax
call dword [edx + 0xc0]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x46e8e2
cmp eax, 0xffffffff
je 0x46e6f4
mov ecx, dword [esi + 0x1490]
mov edx, dword [ecx + 4]
add edx, ebp
cmp edx, edi
jge 0x46e6f4
mov eax, dword [esp + 0x28]
cmp eax, 0xffffff
mov dword [esp + 0x38], eax
setne cl
cmp eax, 0xc0
mov byte [esp + 0x13], cl
jne 0x46e156
mov eax, 0x80
mov dword [esp + 0x28], eax
test cl, cl
je 0x46e17f
mov cl, bl
neg cl
sbb ecx, ecx
and ecx, 3
add ecx, 0xffffffc4
neg bl
sbb ebx, ebx
push ecx
and ebx, 0xfffffffd
add ebx, 0x49
push ebx
push eax
call fcn.00463e10
add esp, 0xc
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x68]
push edx
push 1
push 0
call sub.MFC42.DLL_CPen::CPen
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x60]
push eax
mov dword [esp + 0xa0e8], 1
call sub.MFC42.DLL_CBrush::CBrush
lea ecx, [esp + 0x68]
lea edi, [esi + 0x70]
push ecx
mov ecx, edi
mov byte [esp + 0xa0e8], 2
call sub.MFC42.DLL_CDC::SelectObject_1
lea edx, [esp + 0x60]
mov ecx, edi
push edx
mov dword [esp + 0x98], eax
call sub.MFC42.DLL_CDC::SelectObject_2
push 1
mov ecx, edi
mov ebx, eax
call sub.MFC42.DLL_CDC::SetBkMode
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x40]
lea ecx, [ebp + 1]
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x20], ecx
imul ecx, eax
imul eax, ebp
push ecx
push edx
push eax
mov eax, dword [esi + 0x74]
push 0
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
push ebx
mov ecx, edi
call sub.MFC42.DLL_CDC::SelectObject_2
mov eax, dword [esp + 0x28]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x34]
mov al, byte [esp + 0x13]
test al, al
je 0x46e227
mov ebx, dword [esp + 0x38]
jmp 0x46e234
mov ebx, dword [esp + 0x20dc]
and ebx, 0x7fffffff
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0x38]
mov al, byte [esp + 0x13]
test al, al
je 0x46e248
mov eax, ebx
jmp 0x46e255
push 0xffffffffffffffd8
push 0x3c
push ebx
call fcn.00463e10
add esp, 0xc
push eax
push 1
push 0
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CPen::CPen
push ebx
push 1
push 0
lea ecx, [esp + 0x60]
mov byte [esp + 0xa0f0], 3
call sub.MFC42.DLL_CPen::CPen
lea eax, [esp + 0x48]
mov ecx, edi
push eax
mov byte [esp + 0xa0e8], 4
call sub.MFC42.DLL_CDC::SelectObject_1
mov cl, byte [esi + 0x1498]
mov eax, dword [esi + 0x14a4]
test cl, cl
mov dword [esp + 0x24], eax
jne 0x46e2ef
mov ecx, dword [esi + 0x149c]
test ecx, ecx
jne 0x46e2ef
imul ebp, dword [esi + 0x40]
mov ecx, dword [esp + 0x1c]
push 0
push 0
push 0
push ecx
mov edx, dword [edi]
lea ecx, [esp + 0xec]
add ebp, eax
mov eax, dword [esi + 0x1490]
push ecx
push ebp
mov ecx, 3
mov ebp, dword [eax + 8]
lea eax, [esp + 0xd4]
sub ecx, ebp
push ecx
push eax
mov ecx, edi
call dword [edx + 0x6c]
mov ebp, dword [eax]
add ebp, 2
jmp 0x46e56c
mov eax, dword [esi + 0x74]
test eax, eax
je 0x46e79b
mov eax, dword [esp + 0x1c]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x30], ebp
jle 0x46e56c
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov ebx, ebp
mov dword [esp + 0x34], ecx
lea eax, [esp + ecx*4 + 0x20dc]
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
mov dword [esp + 0x74], eax
shr eax, 0x1f
and al, 1
cmp ecx, edx
mov byte [esp + 0x1b], al
jge 0x46e362
mov ecx, dword [esp + 0x2c]
jmp 0x46e342
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x74]
cmp edx, dword [ecx]
jne 0x46e362
mov edx, dword [esp + 0x34]
add ecx, 4
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
inc edx
cmp edx, ecx
mov dword [esp + 0x34], edx
jl 0x46e33e
mov cl, byte [esp + 0x13]
test cl, cl
je 0x46e395
test al, al
je 0x46e387
mov eax, dword [esi + 0x1484]
mov ecx, dword [esi + 0x1488]
cmp eax, ecx
jne 0x46e387
mov edx, dword [edi]
push 0xffffff
jmp 0x46e39c
mov ecx, dword [esp + 0x38]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x38]
jmp 0x46e3a1
mov eax, dword [esp + 0x74]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push ebp
sub eax, ecx
push 0
push 0
mov dword [esp + 0x38], eax
push eax
lea eax, [esp + ecx + 0xec]
mov ecx, dword [esp + 0x4c]
imul ecx, dword [esi + 0x40]
push eax
mov eax, dword [esp + 0x38]
add ecx, eax
mov eax, dword [esi + 0x1490]
mov edx, dword [edi]
push ecx
mov ecx, ebp
sub ecx, dword [eax + 8]
lea eax, [esp + 0xe4]
add ecx, 3
push ecx
push eax
mov ecx, edi
call dword [edx + 0x6c]
mov ecx, dword [eax]
mov al, byte [esp + 0x1b]
add ebp, ecx
test al, al
je 0x46e558
mov ecx, dword [esi + 0x1484]
mov eax, dword [esi + 0x1488]
cmp ecx, eax
jne 0x46e411
lea edx, [esp + 0x54]
push edx
jmp 0x46e416
lea eax, [esp + 0x48]
push eax
mov ecx, edi
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [esi + 0x1484]
cmp eax, 0x100
jge 0x46e4a9
mov ecx, dword [esi + 0x1490]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x3c]
add edx, ecx
mov ecx, ebx
mov dword [esi + eax*4 + 0x84], edx
mov eax, dword [esi + 0x1490]
mov edx, dword [eax + 8]
sub ecx, edx
mov edx, dword [esi + 0x1484]
add ecx, 3
mov dword [esi + edx*4 + 0x484], ecx
mov eax, dword [esi + 0x1490]
mov ecx, ebp
mov edx, dword [eax + 8]
sub ecx, edx
mov edx, dword [esi + 0x1484]
add ecx, 3
mov dword [esi + edx*4 + 0x884], ecx
mov eax, dword [esi + 0x1484]
mov ecx, dword [esp + 0x30]
mov dword [esi + eax*4 + 0xc84], ecx
mov edx, dword [esi + 0x1484]
mov eax, dword [esp + 0x2c]
mov dword [esi + edx*4 + 0x1084], eax
mov eax, dword [esi + 0x1484]
inc eax
mov dword [esi + 0x1484], eax
mov al, byte [esp + 0x13]
test al, al
je 0x46e502
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
imul ecx, dword [esi + 0x40]
lea eax, [ecx + edx - 4]
mov ecx, dword [esi + 0x1490]
push eax
mov edx, dword [ecx + 8]
mov ecx, edi
sub ebx, edx
lea edx, [esp + 0xc8]
add ebx, 3
push ebx
push edx
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
imul eax, dword [esi + 0x40]
lea edx, [eax + ecx - 4]
mov eax, dword [esi + 0x1490]
mov ecx, ebp
push edx
sub ecx, dword [eax + 8]
add ecx, 3
push ecx
jmp 0x46e551
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
imul edx, dword [esi + 0x40]
lea ecx, [edx + eax - 3]
mov edx, dword [esi + 0x1490]
push ecx
mov ecx, edi
mov eax, dword [edx + 8]
sub ebx, eax
lea eax, [esp + 0xd8]
add ebx, 3
push ebx
push eax
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
imul ecx, dword [esi + 0x40]
lea eax, [ecx + edx - 3]
mov ecx, dword [esi + 0x1490]
mov edx, ebp
push eax
sub edx, dword [ecx + 8]
add edx, 3
push edx
mov ecx, edi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x46e30c
mov eax, dword [esp + 0x94]
mov ecx, edi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x5c]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::SetBkMode
cmp ebp, dword [esp + 0x14]
jle 0x46e591
mov dword [esp + 0x14], ebp
mov eax, dword [esi + 0x1490]
mov ebp, dword [esp + 0x3c]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
add edx, ebp
cmp edx, ecx
jne 0x46e66e
mov cl, byte [eax + 0x14]
test cl, cl
je 0x46e66e
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x40]
push eax
push 1
push 0
call sub.MFC42.DLL_CPen::CPen
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0e4], 9
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::SelectObject_1
mov edx, ebp
mov dword [esp + 0x5c], eax
imul edx, dword [esi + 0x40]
push edx
lea eax, [esp + 0xb8]
push 0
push eax
mov ecx, edi
call sub.MFC42.DLL_CDC::MoveTo
mov ebx, dword [esp + 0x20]
mov ecx, ebx
imul ecx, dword [esi + 0x40]
push ecx
push 0
mov ecx, edi
call sub.MFC42.DLL_CDC::LineTo
mov edx, ebp
mov eax, dword [esi + 0x4c]
imul edx, dword [esi + 0x40]
dec eax
push edx
lea ecx, [esp + 0x7c]
push eax
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::MoveTo
imul ebx, dword [esi + 0x40]
mov edx, dword [esi + 0x4c]
push ebx
dec edx
mov ecx, edi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x5c]
mov ecx, edi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov dword [esp + 0x40], vtable.CGdiObject.0
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0e4], 0xa
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x40], vtable.CObject.0
mov ebx, vtable.CGdiObject.0
mov edi, vtable.CObject.0
jmp 0x46e678
mov edi, vtable.CObject.0
mov ebx, vtable.CGdiObject.0
mov dword [esp + 0x54], ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0xa0e4], 0xb
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x54], edi
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0xa0e4], 0xc
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x48], edi
mov dword [esp + 0x60], ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0xa0e4], 0xd
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x60], edi
mov dword [esp + 0x68], ebx
lea ecx, [esp + 0x68]
mov dword [esp + 0xa0e4], 0xe
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov bl, byte [esp + 0x1a]
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0xa0e4], 0xffffffff
jmp 0x46e70f
mov eax, dword [esi + 0x40]
push 0xffffff
push eax
mov ecx, dword [esi + 0x4c]
imul eax, ebp
push ecx
push eax
push 0
lea ecx, [esi + 0x70]
call sub.MFC42.DLL_CDC::FillSolidRect
mov edx, dword [esi + 0x54]
inc ebp
inc edx
mov dword [esp + 0x3c], ebp
cmp ebp, edx
jl 0x46e0dc
mov eax, dword [esi + 0x1490]
mov edi, dword [esi + 0x4c]
mov ecx, dword [eax + 0x10]
cmp ecx, edi
mov edx, ecx
jg 0x46e734
mov edx, edi
mov ebx, dword [esp + 0x14]
cmp ebx, edx
je 0x46e80d
mov ecx, dword [esi + 0x44]
push 0
push 0
lea edx, [ebx + ecx*2]
mov dword [eax + 0x10], edx
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_EnableScrollBar]
push 1
push 0x8000
push 0
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetScrollRange
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x1490]
shl eax, 0xf
cdq
mov dword [esp + 0x78], 0x1c
mov dword [esp + 0x7c], 2
idiv dword [ecx + 0x10]
push 1
lea edx, [esp + 0x7c]
mov dword [esp + 0x8c], eax
jmp 0x46e8a0
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x54], esi
lea ecx, [esp + 0x54]
mov byte [esp + 0xa0e4], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, vtable.CObject.0
mov dword [esp + 0x48], esi
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x48]
mov byte [esp + 0xa0e4], 6
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x48], edi
mov dword [esp + 0x60], esi
lea ecx, [esp + 0x60]
mov byte [esp + 0xa0e4], 7
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x60], edi
mov dword [esp + 0x68], esi
lea ecx, [esp + 0x68]
mov dword [esp + 0xa0e4], 8
call sub.MFC42.DLL_CGdiObject::DeleteObject
jmp 0x46e8e2
mov dl, byte [esp + 0xa0ec]
test dl, dl
jne 0x46e823
mov bl, byte [eax + 0x17]
test bl, bl
je 0x46e8b4
cmp ecx, edi
jg 0x46e83b
mov byte [eax + 0x17], 0
mov ecx, dword [esi + 0x20]
push 3
push 0
push ecx
call dword [sym.imp.USER32.dll_EnableScrollBar]
jmp 0x46e8b4
test dl, dl
je 0x46e8b4
mov edx, dword [esi + 0x20]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_EnableScrollBar]
push 1
push 0x8000
push 0
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetScrollRange
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x1490]
shl eax, 0xf
cdq
mov dword [esp + 0x98], 0x1c
mov dword [esp + 0x9c], 6
mov dword [esp + 0xac], 0
push 1
idiv dword [ecx + 0x10]
lea edx, [esp + 0x9c]
mov dword [esp + 0xac], eax
push edx
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetScrollInfo
mov eax, dword [esi + 0x1490]
mov byte [eax + 0x17], 1
mov ecx, dword [esi + 0x48]
lea eax, [esi + 0x70]
mov esi, dword [esi + 0x4c]
test eax, eax
je 0x46e8c4
mov eax, dword [eax + 4]
push 0xcc0020
push 0
push 0
push eax
push ecx
mov ecx, dword [esp + 0x64]
push esi
push 0
mov edx, dword [ecx + 4]
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0xa0dc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0d8
ret 8