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

Disassembly:
push 0xffffffffffffffff
push 0x4388e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
lea eax, [esp + 0x40]
push ebp
mov ebp, ecx
push eax
call fcn.00426fd0
mov ecx, dword [eax]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x58], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x74]
test eax, eax
mov dword [esp + 0x60], edx
je 0x427114
push 2
lea eax, [esp + 0x58]
push 0
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [ebp + 0x20]
lea ecx, [esp + 0x54]
push 1
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop ebp
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
mov eax, dword [ebp + 0x188]
test eax, eax
je 0x427353
push ebx
push esi
lea ecx, [esp + 0x34]
push edi
push ecx
mov ecx, ebp
call fcn.00426fd0
mov edx, eax
mov edi, dword [edx]
mov esi, dword [edx + 4]
mov dword [esp + 0x54], esi
mov eax, dword [edx + 8]
sub eax, edi
mov ecx, dword [edx + 0xc]
cdq
idiv dword [ebp + 0x188]
mov dword [esp + 0x5c], ecx
sub ecx, esi
mov dword [esp + 0x10], eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [ebp + 0x20]
sar edx, 1
mov eax, edx
push ecx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x18], edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov esi, eax
push 1
mov ecx, esi
call sub.MFC42.DLL_CDC::SetBkMode
push 6
mov ecx, esi
mov dword [esp + 0x20], eax
call sub.MFC42.DLL_CDC::SetTextAlign
push 0x808080
push 1
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], eax
call sub.MFC42.DLL_CPen::CPen
push 0xffffff
push 1
push 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x84], 0
call sub.MFC42.DLL_CPen::CPen
lea edx, [esp + 0x30]
mov ecx, esi
push edx
mov byte [esp + 0x7c], 1
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [ebp + 0x188]
mov ebx, 1
cmp ecx, ebx
mov dword [esp + 0x24], eax
jl 0x4272ea
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
add edi, eax
cmp ebx, ecx
je 0x427279
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject
mov edx, dword [esp + 0x54]
mov ecx, esi
lea eax, [edx - 2]
push eax
lea eax, [esp + 0x3c]
push edi
push eax
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x5c]
lea eax, [ecx + 2]
mov ecx, esi
push eax
push edi
call sub.MFC42.DLL_CDC::LineTo
lea edx, [esp + 0x28]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov eax, dword [esp + 0x54]
lea ecx, [edi + 1]
add eax, 0xfffffffe
push eax
push ecx
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x5c]
mov ecx, esi
lea eax, [edx + 2]
push eax
lea eax, [edi + 1]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::CString
push ebx
lea eax, [esp + 0x84]
push 0x4511f8
push eax
mov byte [esp + 0x84], 2
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x8c]
add esp, 0xc
mov edx, dword [esi]
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x1c]
mov ecx, edi
push eax
mov eax, dword [esp + 0x24]
sub ecx, eax
push ecx
mov ecx, esi
call dword [edx + 0x64]
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], 1
call fcn.00434b38
mov ecx, dword [esp + 0x10]
inc ebx
add edi, ecx
mov ecx, dword [ebp + 0x188]
cmp ebx, ecx
jle 0x42720f
mov edx, dword [esp + 0x1c]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SetBkMode
mov eax, dword [esp + 0x20]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SetTextAlign
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject
mov edx, dword [esi + 4]
mov eax, dword [ebp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, 0x43bb90
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x28], 0x43bb7c
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x78], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
pop ebp
mov dword fs:[0], ecx
add esp, 0x6c
ret 4