Function at 0x402a33
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x407824
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x518
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0xa8]
test ecx, ecx
jle 0x402cef
mov eax, dword [ebp + 8]
cmp dword [eax], ecx
jl 0x402a60
dec ecx
mov dword [eax], ecx
cmp dword [eax], 0
jge 0x402a68
and dword [eax], 0
mov eax, dword [eax]
push dword [edi + 0xa8]
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
inc eax
push eax
mov esi, 0x100
push str._d__d
lea eax, [ebp - 0x524]
push esi
push eax
call ebx
mov eax, dword [edi + 0xa4]
inc eax
push eax
push str.record_d
lea eax, [ebp - 0x220]
push esi
push eax
call ebx
add esp, 0x24
lea eax, [ebp - 0x120]
push dword [edi + 0xb0]
mov ebx, 0x40c960
push esi
push eax
push ebx
lea eax, [ebp - 0x220]
push str.title
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [edi + 0xb0]
lea eax, [ebp - 0x420]
push esi
push eax
push ebx
lea eax, [ebp - 0x220]
push 0x40c364
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [edi + 0xb0]
lea eax, [ebp - 0x320]
push esi
push eax
push ebx
lea eax, [ebp - 0x220]
push str.click
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor esi, esi
mov dword [ebp - 0x14], esi
lea ecx, [edi + 0x60]
mov dword [ebp - 4], esi
call fcn.00406ad9
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push str._D_3
push eax
call dword [ecx]
cmp dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
je 0x402b51
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
call fcn.004031d4
cmp eax, esi
jge 0x402b51
cmp eax, 0x80004002
je 0x402b51
push eax
call fcn.0040723a
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Header
call fcn.00402d48
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.004031be
mov ecx, eax
call fcn.0040314a
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Message
call fcn.00402d48
lea eax, [ebp + 8]
lea ecx, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 3
call fcn.004031be
mov ecx, eax
call fcn.0040314a
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 5
cmp eax, esi
je 0x402cae
cmp dword [ebp - 0x18], esi
je 0x402cae
lea eax, [ebp - 0x524]
push 0xffffffffffffffff
push eax
call fcn.00402d00
pop ecx
mov dword [ebp - 0x10], eax
pop ecx
cmp dword [ebp - 0x18], esi
mov byte [ebp - 4], 6
jne 0x402be5
push 0x80004003
call fcn.0040723a
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xe4]
push dword [ebp - 0x10]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 5
call edi
lea ecx, [ebp - 0x20]
call fcn.00406b18
lea eax, [ebp - 0x320]
push ebx
push eax
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x120]
push eax
jne 0x402c3f
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x120]
push eax
push str._a_target__blank__title__s__href__s___s__a_
jmp 0x402c52
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x120]
push eax
push str._a_title__s__href___OnClick__s___s__a_
lea eax, [ebp - 0x20]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
cmp dword [ebp + 8], esi
je 0x402c99
push 0xffffffffffffffff
push dword [ebp - 0x20]
call fcn.00402d00
pop ecx
mov dword [ebp - 0x10], eax
pop ecx
cmp dword [ebp + 8], esi
mov byte [ebp - 4], 8
jne 0x402c85
push 0x80004003
call fcn.0040723a
mov eax, dword [ebp + 8]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xe4]
push dword [ebp - 0x10]
call edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
jmp 0x402cb2
mov byte [ebp - 4], 3
cmp eax, esi
je 0x402cbc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp eax, esi
je 0x402ccd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
and byte [ebp - 4], 0
cmp eax, esi
je 0x402cde
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x402cef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4