Function at 0x40cdef
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x41242c
call fcn.004111a0
sub esp, 0x83c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
xor edi, edi
lea ecx, [esi + 0x4cc]
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x40ce21
cmp dword [ecx + 0x20], edi
je 0x40ce21
push edi
call sub.MFC42.DLL_CWnd::ShowWindow
push 1
push 0x3ee
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
lea ecx, [ebp - 0x30]
mov dword [esi + 0x4c8], edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString_2
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, 0x800
lea eax, [ebp - 0x848]
push edi
push eax
push 0x419de8
mov ebx, str.download
push 0x41957c
push ebx
mov byte [ebp - 4], 9
call esi
cmp byte [ebp - 0x848], 0
je 0x40cf05
mov ecx, dword [ebp - 0x10]
push 0
push 0x3ea
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [ebp - 0x10]
push 5
push 0x3f3
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push dword [ebp + 8]
lea eax, [ebp - 0x848]
push edi
push eax
push 0x419de8
push str.name
push ebx
call esi
or dword [ebp - 0x18], 0xffffffff
cmp byte [ebp - 0x848], 0
je 0x40cf4b
xor eax, eax
lea ecx, [ebp - 0x848]
push eax
push eax
push eax
push eax
push ecx
push eax
mov eax, dword [ebp - 0x10]
push 1
lea ecx, [eax + 0x338]
call sub.MFC42.DLL_CListCtrl::InsertItem
mov dword [ebp - 0x18], eax
push dword [ebp + 8]
lea eax, [ebp - 0x848]
push edi
push eax
push 0x419de8
push str.size
push ebx
call esi
cmp byte [ebp - 0x848], 0
je 0x40cf86
lea eax, [ebp - 0x848]
push eax
mov eax, dword [ebp - 0x10]
push 1
push dword [ebp - 0x18]
lea ecx, [eax + 0x338]
call sub.MFC42.DLL_CListCtrl::SetItemText
push dword [ebp + 8]
lea eax, [ebp - 0x848]
push edi
push eax
push 0x419de8
push str.info
push ebx
call esi
cmp byte [ebp - 0x848], 0
je 0x40cfc1
lea eax, [ebp - 0x848]
push eax
mov eax, dword [ebp - 0x10]
push 2
push dword [ebp - 0x18]
lea ecx, [eax + 0x338]
call sub.MFC42.DLL_CListCtrl::SetItemText
push dword [ebp + 8]
lea eax, [ebp - 0x848]
mov ebx, str.Update_Page
push edi
push eax
push 0x4199d8
push 0x4198b4
push ebx
call esi
lea eax, [ebp - 0x848]
lea ecx, [ebp - 0x30]
push eax
call fcn.00410f80
push dword [ebp + 8]
lea eax, [ebp - 0x848]
push edi
push eax
push 0x419994
push 0x419898
push ebx
call esi
lea eax, [ebp - 0x848]
lea ecx, [ebp - 0x14]
push eax
call fcn.00410f80
push 0x419038
push 0x419894
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Replace
push dword [ebp + 8]
lea eax, [ebp - 0x848]
push edi
push eax
push 0x419968
push str.ManualUpdateCaption
push ebx
call esi
lea eax, [ebp - 0x848]
lea ecx, [ebp - 0x28]
push eax
call fcn.00410f80
push dword [ebp + 8]
lea eax, [ebp - 0x848]
push edi
push eax
push str.http:__www.PPS.tv_download.html
push str.hyperurl
push str.update
call esi
lea eax, [ebp - 0x848]
lea ecx, [ebp - 0x20]
push eax
call fcn.00410f80
push dword [ebp + 8]
lea eax, [ebp - 0x848]
push edi
push eax
push 0x419938
push str.ListHeaderCaption1
push ebx
call esi
lea eax, [ebp - 0x848]
lea ecx, [ebp - 0x38]
push eax
call fcn.00410f80
push dword [ebp + 8]
lea eax, [ebp - 0x848]
push edi
push eax
push 0x41991c
push str.ListHeaderCaption2
push ebx
call esi
lea eax, [ebp - 0x848]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00410f80
push dword [ebp + 8]
lea eax, [ebp - 0x848]
push edi
push eax
push 0x419538
push str.ListHeaderCaption3
push ebx
call esi
lea eax, [ebp - 0x848]
lea ecx, [ebp - 0x34]
push eax
call fcn.00410f80
push dword [ebp + 8]
lea eax, [ebp - 0x848]
push edi
push eax
push 0x4198ec
push str.IDOKCaption2
push ebx
call esi
lea eax, [ebp - 0x848]
lea ecx, [ebp - 0x24]
push eax
call fcn.00410f80
push dword [ebp + 8]
lea eax, [ebp - 0x848]
push edi
push eax
push 0x419854
push str.IDCancelCaption2
push ebx
call esi
lea eax, [ebp - 0x848]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00410f80
push dword [ebp - 0x30]
mov esi, dword [ebp - 0x10]
mov ecx, esi
push 0x3f0
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
push dword [ebp - 0x14]
mov ecx, esi
push 0x3f1
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea eax, [ebp - 0x48]
push eax
push dword [esi + 0x358]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x40]
push 0xffffffffffffffff
sub eax, dword [ebp - 0x48]
push 5
pop ebx
lea edi, [esi + 0x338]
shl eax, 1
cdq
mov ecx, ebx
idiv ecx
mov ecx, edi
sub eax, ebx
push eax
push 0
push dword [ebp - 0x38]
push 0
call sub.MFC42.DLL_CListCtrl::InsertColumn
mov eax, dword [ebp - 0x40]
mov ecx, ebx
sub eax, dword [ebp - 0x48]
push 0xffffffffffffffff
cdq
idiv ecx
mov ecx, edi
sub eax, 0xb
push eax
push 0
push dword [ebp - 0x1c]
push 1
call sub.MFC42.DLL_CListCtrl::InsertColumn
mov eax, dword [ebp - 0x40]
push 0xffffffffffffffff
sub eax, dword [ebp - 0x48]
mov ecx, ebx
shl eax, 1
cdq
idiv ecx
mov ecx, edi
sub eax, ebx
push eax
push 0
push dword [ebp - 0x34]
push 2
call sub.MFC42.DLL_CListCtrl::InsertColumn
push dword [ebp - 0x28]
lea edi, [esi + 0x110]
mov ecx, edi
call sub.MFC42.DLL_CWnd::SetWindowTextA
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
call fcn.004029a2
push dword [ebp - 0x24]
mov ecx, esi
push 1
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
push dword [ebp - 0x2c]
mov ecx, esi
push 2
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4