Function at 0x41a7d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x424813
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa18
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], bp
push str.links.ini
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x20]
push 0x208
push eax
mov dword [esp + 0x20], esi
call fcn.00405320
lea ecx, [esp + 0x28]
push ecx
call fcn.00404d60
add esp, 0x10
test al, al
jne 0x41a836
xor eax, eax
jmp 0x41aa30
push ebx
mov ecx, esi
call fcn.0041aa50
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x22a]
mov word [esp + 0x228], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
stosw word es:[edi], ax
call sub.MFC42u.DLL_CString::CString_4
mov dword [esp + 0xa30], ebp
mov dword [esp + 0x10], ebp
xor ebx, ebx
push 0xc
call sub.MFC42u.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, ebp
mov byte [esp + 0xa30], 1
je 0x41a8d0
lea edi, [esi + 4]
mov ecx, edi
call sub.MFC42u.DLL_CString::CString_4
lea ebp, [esi + 8]
mov byte [esp + 0xa30], 2
mov ecx, ebp
call sub.MFC42u.DLL_CString::CString_4
push 0x42f1b0
mov ecx, edi
mov byte [esp + 0xa34], 3
mov dword [esi], 1
call sub.MFC42u.DLL_CString::operator
push 0x42f1b0
mov ecx, ebp
call sub.MFC42u.DLL_CString::operator
xor ebp, ebp
jmp 0x41a8d2
xor esi, esi
push ebx
lea edx, [esp + 0x18]
push 0x42e994
push edx
mov byte [esp + 0xa3c], 0
mov dword [esp + 0x1c], esi
call sub.MFC42u.DLL_CString::Format
mov edx, dword [esp + 0x20]
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x234]
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x228]
push eax
push 0x800
push ecx
push ebp
push edx
push str.bknews
call esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x228]
push eax
add ecx, 4
call sub.MFC42u.DLL_CString::operator_2
push ebx
lea edx, [esp + 0x18]
push 0x42e97c
push edx
call sub.MFC42u.DLL_CString::Format
mov edx, dword [esp + 0x20]
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x234]
add esp, 0xc
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x228]
push eax
push 0x800
push ecx
push ebp
push edx
push str.bknews
call esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x228]
push eax
add ecx, 8
call sub.MFC42u.DLL_CString::operator_2
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 4]
cmp dword [edx - 8], ebp
je 0x41a9bd
mov ecx, dword [eax + 8]
cmp dword [ecx - 8], ebp
je 0x41a9bd
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
lea ecx, [edx + 4]
lea edx, [esp + 0x10]
push edx
push 1
push eax
call fcn.0041ab50
jmp 0x41a9f0
mov esi, eax
cmp eax, ebp
mov dword [esp + 0x1c], esi
je 0x41a9f0
lea ecx, [eax + 8]
mov byte [esp + 0xa30], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 4]
mov byte [esp + 0xa30], 0
call sub.MFC42u.DLL_CString::CString
push esi
call sub.MFC42u.DLL_operatordelete
add esp, 4
inc ebx
cmp ebx, 0xa
jl 0x41a86e
mov eax, dword [esp + 0x18]
pop ebx
mov ecx, dword [eax + 8]
cmp ecx, ebp
jne 0x41aa0a
xor eax, eax
jmp 0x41aa12
mov eax, dword [eax + 0xc]
sub eax, ecx
sar eax, 2
xor ecx, ecx
mov dword [esp + 0xa2c], 0xffffffff
cmp ecx, eax
lea ecx, [esp + 0x10]
sbb esi, esi
neg esi
call sub.MFC42u.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0xa24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xa24
ret