Function at 0x424b80
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43e8b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x514
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], 0
mov dword [esp + 0x18], ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [esp + 0x20]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x20]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edx, eax
xor ebx, ebx
add esp, 8
cmp edx, ebx
je 0x424c0d
mov edi, str.links.ini
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
call fcn.004039d0
add esp, 4
test al, al
jne 0x424c25
xor eax, eax
jmp 0x424e1c
mov ecx, ebp
call fcn.00424e40
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x125]
mov byte [esp + 0x124], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x14]
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x52c], ebx
mov dword [esp + 0x10], ebx
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov byte [esp + 0x52c], 1
je 0x424cbf
lea edi, [esi + 4]
mov ecx, edi
call sub.MFC42.DLL_CString::CString_3
lea ebp, [esi + 8]
mov byte [esp + 0x52c], 2
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_3
push 0x451020
mov ecx, edi
mov byte [esp + 0x530], 3
mov dword [esi], 1
call sub.MFC42.DLL_CString::operator_1
push 0x451020
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
mov ebp, dword [esp + 0x18]
jmp 0x424cc1
xor esi, esi
push ebx
lea edx, [esp + 0x18]
push 0x450338
push edx
mov byte [esp + 0x538], 0
mov dword [esp + 0x1c], esi
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x130]
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x124]
push eax
push 0x400
push ecx
push 0
push edx
push str.bknews
call esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x124]
push eax
add ecx, 4
call sub.MFC42.DLL_CString::operator_1
push ebx
lea edx, [esp + 0x18]
push 0x450334
push edx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x130]
add esp, 0xc
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x124]
push eax
push 0x400
push ecx
push 0
push edx
push str.bknews
call esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x124]
push eax
add ecx, 8
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 4]
mov ecx, dword [edx - 8]
test ecx, ecx
je 0x424dae
mov ecx, dword [eax + 8]
mov edx, dword [ecx - 8]
test edx, edx
je 0x424dae
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 4]
lea edx, [esp + 0x10]
push edx
push 1
push eax
call fcn.00406f30
jmp 0x424de1
mov esi, eax
test eax, eax
mov dword [esp + 0x1c], esi
je 0x424de1
lea ecx, [eax + 8]
mov byte [esp + 0x52c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov byte [esp + 0x52c], 0
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
inc ebx
cmp ebx, 0xa
jl 0x424c5b
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x424df6
xor eax, eax
jmp 0x424dfe
mov eax, dword [ebp + 0xc]
sub eax, ecx
sar eax, 2
xor ecx, ecx
mov dword [esp + 0x52c], 0xffffffff
cmp ecx, eax
lea ecx, [esp + 0x14]
sbb esi, esi
neg esi
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x524]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x520
ret