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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x71a00c]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0
mov dword [esp + 0x24], edi
push dword [esi + 0x44]
mov dword [esi + 0x50], 0
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [esp + 0x74]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x80]
sub eax, dword [esp + 0x78]
mov ecx, dword [esi + 0x54]
add ecx, dword [esi + 0x58]
cdq
idiv ecx
push 1
push edi
mov edi, dword [sym.imp.USER32.dll_GetScrollPos]
mov ebx, eax
call edi
push 0
push dword [esp + 0x24]
mov dword [esp + 0x24], eax
call edi
imul eax, dword [esi + 0x54]
mov ecx, esi
cdq
sub eax, edx
mov edx, dword [esi]
mov edi, eax
sar edi, 1
mov dword [esp + 0x18], edi
call dword [edx + 0x90]
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + ebx]
cmp eax, edx
cmovl edx, eax
mov dword [esp + 0x2c], edx
cmp ecx, edx
jge 0x41c992
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esi + 0x54]
add ecx, ebx
add eax, dword [esi + 0x58]
mov edx, dword [esi]
imul eax, ebx
mov dword [esp + 0x10], ecx
push eax
mov eax, dword [esi + 0x5c]
sub eax, edi
push eax
push ecx
push dword [esi + 0x44]
mov ecx, esi
call dword [edx + 0x98]
cmp dword [esi + 0x5c], 0
mov dword [esp + 0x24], eax
jle 0x41c8ef
mov edx, dword [esi + 0x54]
lea ecx, [ebx + 1]
add edx, dword [esi + 0x58]
mov eax, ebx
mov edi, dword [esi]
imul ecx, edx
imul eax, edx
push ecx
push eax
push dword [esi + 0x5c]
mov ecx, esi
push 0
push dword [esi + 0x44]
push dword [esp + 0x24]
call dword [edi + 0xa0]
mov edi, dword [esi + 0x54]
lea eax, [ebx + 1]
mov edx, dword [esi + 0x58]
mov ecx, dword [esp + 0x14]
add edx, edi
imul edi, dword [esp + 0x24]
mov ebx, dword [esi]
mov dword [esp + 0x28], eax
imul eax, edx
imul ecx, edx
push eax
mov eax, edi
mov edi, dword [esp + 0x1c]
cdq
sub eax, edx
push ecx
push dword [esp + 0x84]
sar eax, 1
mov ecx, esi
sub eax, edi
add eax, dword [esi + 0x5c]
push eax
push dword [esi + 0x44]
push dword [esp + 0x24]
call dword [ebx + 0xa0]
mov ebx, dword [esi + 0x58]
test ebx, ebx
jle 0x41c977
mov edx, dword [esi + 0x54]
mov edi, dword [esi]
lea ecx, [edx + ebx]
imul ecx, dword [esp + 0x14]
lea eax, [ecx + edx]
add eax, ebx
push eax
lea eax, [ecx + edx]
mov ecx, esi
push eax
push dword [esp + 0x84]
push dword [esp + 0x80]
push dword [esi + 0x44]
push dword [esp + 0x24]
call dword [edi + 0xa0]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], ebx
lea eax, [ebx + ecx]
cmp eax, edx
jl 0x41c898
mov eax, dword [esi + 0x54]
sub edx, ecx
add eax, dword [esi + 0x58]
imul eax, edx
push 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x94], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x88]
push eax
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x44]
call dword [eax + 0x9c]
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
push ebx
call dword [sym.imp.USER32.dll_BeginPaint]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
push 0xcc0020
push edx
push ecx
push dword [esi + 0x44]
sub eax, edx
push eax
mov eax, dword [esp + 0x54]
sub eax, ecx
push eax
push edx
push ecx
push dword [esp + 0x50]
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [esp + 0x30]
push eax
push ebx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x94]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0066bc45
mov esp, ebp
pop ebp
ret 0xc