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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x41f027
push eax
mov eax, 0xa0dc
mov dword fs:[0], esp
call fcn.0041e190
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 + 0xa100]
jne 0x41a003
test eax, eax
je 0x41ad44
jmp 0x41a047
test eax, eax
jne 0x41a047
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x41a047
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x70], eax
test eax, eax
mov dword [esp + 0xa0f4], 0
je 0x41a038
push esi
mov ecx, eax
call sub.MFC42.DLL_CClientDC::CClientDC
jmp 0x41a03a
xor eax, eax
mov dword [esp + 0xa0f4], ebp
mov dword [esi + 0x80], eax
mov ebx, eax
mov eax, dword [esi + 0x1490]
test eax, eax
mov dword [esp + 0x64], ebx
je 0x41a065
mov ecx, dword [eax + 8]
test ecx, ecx
jge 0x41a065
mov dword [eax + 8], 0
mov al, byte [esi + 0x6c]
test al, al
jne 0x41a0de
test ebx, ebx
jne 0x41a074
xor eax, eax
jmp 0x41a077
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 0x41ad44
mov eax, dword [esi + 0x14a8]
test eax, eax
je 0x41a0ab
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
test eax, eax
je 0x41ad44
mov eax, dword [esi + 0x14a8]
test eax, eax
jne 0x41a0d8
push 0xc
call dword [sym.imp.GDI32.dll_GetStockObject]
test eax, eax
je 0x41ad44
push eax
mov eax, dword [esi + 0x74]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x41ad44
mov byte [esi + 0x6c], 1
jmp 0x41a106
mov eax, dword [esi + 0x14a8]
test eax, eax
je 0x41a106
mov cl, byte [esi + 0x14ac]
test cl, cl
je 0x41a106
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 0x41a220
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x74]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push str.Mgq_____
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
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 0x426020
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
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 + 0x80]
mov edx, dword [esp + 0x78]
sub eax, edx
mov ecx, dword [esp + 0x7c]
mov dword [esi + 0x48], eax
mov edi, dword [esp + 0x74]
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 0x41a1ce
mov edx, dword [ecx]
push 1
call dword [edx + 4]
push 8
call sub.MFC42.DLL_operatornew
add esp, 4
test eax, eax
je 0x41a1ed
mov dword [eax + 4], 0
mov dword [eax], 0x420f8c
mov edi, eax
jmp 0x41a1ef
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 0x41a216
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 0x41a287
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 0x41a26e
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 0x41ad3e
cmp dword [eax + 8], ecx
jle 0x41a2ac
mov edx, dword [esi + 0x4c]
mov edi, dword [eax + 0x10]
cmp edx, edi
jle 0x41a2ac
mov bl, byte [esp + 0xa0fc]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x1490]
mov byte [eax + 0x17], 0
jmp 0x41a2ba
mov bl, byte [esp + 0xa0fc]
test bl, bl
je 0x41a2ba
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 0x41a2e1
mov ecx, dword [esi + 0x1490]
mov dl, byte [ecx + 0x16]
test dl, dl
jne 0x41a312
cmp edi, dword [esi + 0x54]
jl 0x41a30e
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 0x41a32b
test bl, bl
jne 0x41a317
cmp edi, dword [esi + 0x54]
jge 0x41a32b
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 0x41a388
xor ebp, ebp
mov dword [esp + 0x74], 0x1c
cmp edi, ebp
mov dword [esp + 0x78], 2
je 0x41a360
mov eax, dword [esi + 0x54]
shl eax, 0xf
cdq
idiv edi
mov dword [esp + 0x84], eax
jmp 0x41a36b
mov dword [esp + 0x84], 0x7fea
cmp edi, 0x64
lea edx, [esp + 0x74]
setl cl
and ecx, 0xff
push ecx
push edx
push 1
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetScrollInfo
jmp 0x41a38a
xor ebp, ebp
mov al, byte [esi + 0x14a2]
test al, al
je 0x41a3ad
mov eax, dword [esi + 0x1490]
mov ecx, dword [esi + 0x54]
mov edx, ecx
add edx, dword [eax + 4]
cmp edx, edi
jge 0x41a3ad
mov edx, edi
sub edx, ecx
mov dword [eax + 4], edx
cmp dword [esi + 0x68], ebp
je 0x41a3ec
mov eax, dword [esi + 0x1490]
mov cl, byte [esi + 0x14a2]
cmp byte [eax + 0x15], cl
je 0x41a3ec
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 0x41a403
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x1490]
cmp dword [eax + 4], ebp
jge 0x41a411
mov dword [eax + 4], ebp
mov eax, dword [esi + 0x1490]
cmp dword [eax + 0xc], edi
jl 0x41a422
lea ecx, [edi - 1]
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 0x1490]
cmp dword [eax + 0xc], ebp
jge 0x41a434
cmp edi, ebp
jle 0x41a434
mov dword [eax + 0xc], ebp
mov eax, dword [esi + 0x1490]
mov cl, byte [eax + 0x16]
test cl, cl
je 0x41a45a
cmp edi, ebp
je 0x41a45a
mov edx, dword [eax + 4]
push 1
push edi
push edx
push 0x8000
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
jmp 0x41a45d
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 + 0x34], eax
jg 0x41a47e
mov dword [esp + 0x34], 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 + 0x20], ebp
jle 0x41ab82
lea eax, [esp + 0x28]
lea ecx, [esp + 0x20ec]
mov edx, dword [esi]
push eax
push ecx
mov ecx, dword [esi + 0x1490]
lea eax, [esp + 0xf4]
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 0x41ad44
cmp eax, 0xffffffff
je 0x41ab56
mov ecx, dword [esi + 0x1490]
mov edx, dword [ecx + 4]
add edx, ebp
cmp edx, edi
jge 0x41ab56
mov eax, dword [esp + 0x28]
cmp eax, 0xffffff
mov dword [esp + 0x38], eax
setne cl
cmp eax, 0xc0
mov byte [esp + 0x13], cl
jne 0x41a523
mov eax, 0x80
mov dword [esp + 0x28], eax
test cl, cl
je 0x41a54c
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.004128b0
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 + 0x54]
push eax
mov dword [esp + 0xa0f8], 1
call sub.MFC42.DLL_CBrush::CBrush
lea ecx, [esp + 0x68]
lea edi, [esi + 0x70]
push ecx
mov ecx, edi
mov byte [esp + 0xa0f8], 2
call sub.MFC42.DLL_CDC::SelectObject_2
lea edx, [esp + 0x54]
mov ecx, edi
push edx
mov dword [esp + 0x94], eax
call sub.MFC42.DLL_CDC::SelectObject_1
push 1
mov ecx, edi
mov ebx, eax
call sub.MFC42.DLL_CDC::SetBkMode
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x40]
lea ecx, [ebp + 1]
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x24], 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_1
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 0x41a5f4
mov ebx, dword [esp + 0x38]
jmp 0x41a601
mov ebx, dword [esp + 0x20ec]
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 0x41a615
mov eax, ebx
jmp 0x41a622
push 0xffffffffffffffd8
push 0x3c
push ebx
call fcn.004128b0
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 + 0x68]
mov byte [esp + 0xa100], 3
call sub.MFC42.DLL_CPen::CPen
lea eax, [esp + 0x48]
mov ecx, edi
push eax
mov byte [esp + 0xa0f8], 4
call sub.MFC42.DLL_CDC::SelectObject_2
mov al, byte [esi + 0x1498]
mov ebx, dword [esi + 0x14a4]
test al, al
mov dword [esp + 0x3c], ebx
jne 0x41a70d
mov eax, dword [esi + 0x149c]
test eax, eax
jne 0x41a70d
call fcn.004112a0
test al, al
je 0x41a6c9
imul ebp, dword [esi + 0x40]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x1490]
lea edx, [esp + 0xec]
push ecx
push edx
mov edx, dword [eax + 8]
mov ecx, 3
add ebp, ebx
sub ecx, edx
push ebp
push ecx
lea edx, [esp + 0xd4]
push edi
push edx
call fcn.00418aa0
mov ebp, dword [eax]
add esp, 0x18
add ebp, 2
jmp 0x41a9ce
imul ebp, dword [esi + 0x40]
mov ecx, dword [esp + 0x1c]
push 0
push 0
push 0
push ecx
mov ecx, dword [esi + 0x1490]
lea edx, [esp + 0xfc]
mov eax, dword [edi]
add ebp, ebx
push edx
push ebp
mov ebp, dword [ecx + 8]
mov edx, 3
lea ecx, [esp + 0xcc]
sub edx, ebp
push edx
push ecx
mov ecx, edi
call dword [eax + 0x6c]
mov ebp, dword [eax]
add ebp, 2
jmp 0x41a9ce
mov eax, dword [esi + 0x74]
test eax, eax
je 0x41abfd
mov eax, dword [esp + 0x1c]
xor ebp, ebp
xor ebx, ebx
test eax, eax
jle 0x41a9ce
mov edx, dword [esp + ebx*4 + 0x20ec]
lea ecx, [esp + ebx*4 + 0x20ec]
mov eax, edx
mov dword [esp + 0x30], edx
shr eax, 0x1f
and al, 1
cmp ebx, dword [esp + 0x1c]
mov byte [esp + 0x1b], al
mov dword [esp + 0x14], ebp
mov dword [esp + 0x2c], ebx
jge 0x41a783
jmp 0x41a760
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x30]
cmp edx, dword [ecx]
jne 0x41a783
mov edx, dword [esp + 0x2c]
add ecx, 4
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x1c]
inc edx
cmp edx, ecx
mov dword [esp + 0x2c], edx
jl 0x41a755
mov edx, dword [esp + 0x30]
mov cl, byte [esp + 0x13]
test cl, cl
je 0x41a7b6
test al, al
je 0x41a7a8
mov edx, dword [esi + 0x1484]
mov eax, dword [esi + 0x1488]
cmp edx, eax
jne 0x41a7a8
mov eax, dword [edi]
push 0xffffff
jmp 0x41a7b9
mov eax, dword [esp + 0x38]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x38]
jmp 0x41a7be
mov eax, dword [edi]
push edx
mov ecx, edi
call dword [eax + 0x38]
call fcn.004112a0
test al, al
mov eax, dword [esp + 0x2c]
je 0x41a80d
mov edx, dword [esp + 0x20]
sub eax, ebx
imul edx, dword [esi + 0x40]
lea ecx, [esp + ebx + 0xec]
push eax
push ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x1490]
add edx, ecx
mov ecx, ebp
push edx
mov edx, dword [eax + 8]
sub ecx, edx
lea edx, [esp + 0xe0]
add ecx, 3
push ecx
push edi
push edx
call fcn.00418aa0
add esp, 0x18
jmp 0x41a84e
mov ecx, dword [esp + 0x20]
push ebp
imul ecx, dword [esi + 0x40]
sub eax, ebx
push 0
push 0
mov dword [esp + 0x3c], eax
push eax
lea eax, [esp + ebx + 0xfc]
push eax
mov eax, dword [esp + 0x50]
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 + 0xf4]
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 0x41a9be
mov ecx, dword [esi + 0x1484]
mov eax, dword [esi + 0x1488]
cmp ecx, eax
jne 0x41a875
lea edx, [esp + 0x5c]
push edx
jmp 0x41a87a
lea eax, [esp + 0x48]
push eax
mov ecx, edi
call sub.MFC42.DLL_CDC::SelectObject_2
mov eax, dword [esi + 0x1484]
cmp eax, 0x100
jge 0x41a90b
mov ecx, dword [esi + 0x1490]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [esp + 0x14]
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 edx, dword [esp + 0x30]
mov dword [esi + eax*4 + 0xc84], ebx
mov ecx, dword [esi + 0x1484]
mov dword [esi + ecx*4 + 0x1084], edx
mov eax, dword [esi + 0x1484]
inc eax
mov dword [esi + 0x1484], eax
mov al, byte [esp + 0x13]
test al, al
je 0x41a966
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
imul eax, dword [esi + 0x40]
mov edx, dword [esi + 0x1490]
lea ecx, [eax + ebx - 4]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [edx + 8]
sub eax, ecx
mov ecx, edi
add eax, 3
push eax
lea eax, [esp + 0xd4]
push eax
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x1490]
imul ecx, dword [esi + 0x40]
lea edx, [ecx + ebx - 4]
mov ebx, dword [eax + 8]
mov ecx, ebp
push edx
sub ecx, ebx
add ecx, 3
push ecx
jmp 0x41a9b7
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
imul edx, dword [esi + 0x40]
mov ecx, dword [esi + 0x1490]
lea eax, [edx + ebx - 3]
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esp + 0x18]
mov ecx, edi
sub eax, edx
lea edx, [esp + 0xe8]
add eax, 3
push eax
push edx
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0x1490]
imul eax, dword [esi + 0x40]
lea ecx, [eax + ebx - 3]
mov ebx, dword [edx + 8]
mov eax, ebp
push ecx
sub eax, ebx
add eax, 3
push eax
mov ecx, edi
call sub.MFC42.DLL_CDC::LineTo
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
cmp ebx, eax
jl 0x41a728
mov ecx, dword [esp + 0x90]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::SelectObject_2
mov edx, dword [esp + 0x50]
mov ecx, edi
push edx
call sub.MFC42.DLL_CDC::SetBkMode
cmp ebp, dword [esp + 0x34]
jle 0x41a9f3
mov dword [esp + 0x34], ebp
mov eax, dword [esi + 0x1490]
mov ebp, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
add ecx, ebp
cmp ecx, edx
jne 0x41aad0
mov cl, byte [eax + 0x14]
test cl, cl
je 0x41aad0
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x40]
push edx
push 1
push 0
call sub.MFC42.DLL_CPen::CPen
lea eax, [esp + 0x40]
mov ecx, edi
push eax
mov byte [esp + 0xa0f8], 9
call sub.MFC42.DLL_CDC::SelectObject_2
mov ecx, ebp
lea edx, [esp + 0xbc]
imul ecx, dword [esi + 0x40]
push ecx
push 0
push edx
mov ecx, edi
mov dword [esp + 0x5c], eax
call sub.MFC42.DLL_CDC::MoveTo
mov ebx, dword [esp + 0x24]
mov ecx, edi
mov eax, ebx
imul eax, dword [esi + 0x40]
push eax
push 0
call sub.MFC42.DLL_CDC::LineTo
mov ecx, ebp
mov edx, dword [esi + 0x4c]
imul ecx, dword [esi + 0x40]
dec edx
push ecx
lea eax, [esp + 0x78]
push edx
push eax
mov ecx, edi
call sub.MFC42.DLL_CDC::MoveTo
imul ebx, dword [esi + 0x40]
mov ecx, dword [esi + 0x4c]
push ebx
dec ecx
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x50]
mov ecx, edi
push edx
call sub.MFC42.DLL_CDC::SelectObject_2
mov dword [esp + 0x40], 0x420cb8
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0f4], 0xa
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x40], 0x420b44
mov ebx, 0x420cb8
mov edi, 0x420b44
jmp 0x41aada
mov edi, 0x420b44
mov ebx, 0x420cb8
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0f4], 0xb
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x5c], edi
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0xa0f4], 0xc
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x48], edi
mov dword [esp + 0x54], ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0xa0f4], 0xd
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x54], edi
mov dword [esp + 0x68], ebx
lea ecx, [esp + 0x68]
mov dword [esp + 0xa0f4], 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 + 0xa0f4], 0xffffffff
jmp 0x41ab71
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 + 0x20], ebp
cmp ebp, edx
jl 0x41a4a9
mov eax, dword [esi + 0x1490]
mov edi, dword [esi + 0x4c]
mov ecx, dword [eax + 0x10]
cmp ecx, edi
mov edx, ecx
jg 0x41ab96
mov edx, edi
mov ebx, dword [esp + 0x34]
cmp ebx, edx
je 0x41ac6f
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 + 0x74], 0x1c
mov dword [esp + 0x78], 2
idiv dword [ecx + 0x10]
push 1
lea edx, [esp + 0x78]
mov dword [esp + 0x88], eax
jmp 0x41ad02
mov esi, 0x420cb8
mov dword [esp + 0x5c], esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0f4], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, 0x420b44
mov dword [esp + 0x48], esi
mov dword [esp + 0x5c], edi
lea ecx, [esp + 0x48]
mov byte [esp + 0xa0f4], 6
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x48], edi
mov dword [esp + 0x54], esi
lea ecx, [esp + 0x54]
mov byte [esp + 0xa0f4], 7
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x54], edi
mov dword [esp + 0x68], esi
lea ecx, [esp + 0x68]
mov dword [esp + 0xa0f4], 8
call sub.MFC42.DLL_CGdiObject::DeleteObject
jmp 0x41ad44
mov dl, byte [esp + 0xa0fc]
test dl, dl
jne 0x41ac85
mov bl, byte [eax + 0x17]
test bl, bl
je 0x41ad16
cmp ecx, edi
jg 0x41ac9d
mov byte [eax + 0x17], 0
mov ecx, dword [esi + 0x20]
push 3
push 0
push ecx
call dword [sym.imp.USER32.dll_EnableScrollBar]
jmp 0x41ad16
test dl, dl
je 0x41ad16
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 0x41ad26
mov eax, dword [eax + 4]
push 0xcc0020
push 0
push 0
push eax
push ecx
mov ecx, dword [esp + 0x78]
push esi
push 0
mov edx, dword [ecx + 4]
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0xa0ec]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0e8
ret 8