Function at 0x42c870
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x440
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
xor ebx, ebx
push eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0x8000023a
mov dword [esp + 0x14], ebx
call fcn.0042cac0
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x18], esi
je 0x42caa6
mov eax, dword [esp + 0x10]
mov edx, dword [0x4dbcb0]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
lea ecx, [eax + 8]
add eax, 0x14
push eax
mov dword [esp + 0x24], ecx
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x42c8e5
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x440
ret 4
mov eax, dword [esp + 0x10]
mov edi, ebp
lea esi, [esp + 0x1c]
push ebx
lea ecx, [eax + 0x14]
xor eax, eax
mov edx, ecx
push ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, 5
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov eax, ecx
lea edi, [ebp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
add ecx, 0x6f4c
mov edx, dword [ecx]
call dword [edx + 0x54]
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, 0x4dba38
mov dword [0x4dbf68], ebx
mov dword [0x4dbf6c], ebx
push ebx
push str.MsnTabStart
push str.UserAction
mov dword [0x4dbf70], ebx
mov dword [0x4dbf74], ebx
mov dword [0x4dbf78], ebx
call sub.MFC42.DLL_CWinApp::WriteProfileInt
push ebx
push str.MsnWebStart
push str.UserAction
mov ecx, 0x4dba38
call sub.MFC42.DLL_CWinApp::WriteProfileInt
push ebx
push str.MsnTabReg
push str.UserAction
mov ecx, 0x4dba38
call sub.MFC42.DLL_CWinApp::WriteProfileInt
push ebx
push str.MsnWebReg
push str.UserAction
mov ecx, 0x4dba38
call sub.MFC42.DLL_CWinApp::WriteProfileInt
push ebx
push str.MsnLogin
push str.UserAction
mov ecx, 0x4dba38
call sub.MFC42.DLL_CWinApp::WriteProfileInt
push ebx
push str.ChannelBtn
push str.UserAction
mov ecx, 0x4dba38
call sub.MFC42.DLL_CWinApp::WriteProfileInt
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push ebx
lea eax, [esp + 0x34]
push str.Item_d
push eax
xor esi, esi
call ebp
add esp, 0xc
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4dbcd0]
push ecx
lea edx, [esp + 0x54]
push 0x400
push edx
lea eax, [esp + 0x3c]
push 0x4db948
push eax
push str.ChannelWorld
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x50], bl
je 0x42ca76
inc esi
lea ecx, [esp + 0x30]
push esi
push str.Item_d
push ecx
call ebp
mov edx, dword [0x4dbcd0]
add esp, 0xc
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x50]
push edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x54]
push 0x400
push eax
lea ecx, [esp + 0x3c]
push 0x4db948
push ecx
push str.ChannelWorld
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x50], bl
jne 0x42ca2c
xor edi, edi
cmp esi, ebx
jle 0x42caa6
push edi
lea edx, [esp + 0x34]
push str.Channel_d
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x30]
mov ecx, 0x4dba38
push ebx
push eax
push str.UserAction
call sub.MFC42.DLL_CWinApp::WriteProfileInt
inc edi
cmp edi, esi
jl 0x42ca7c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x440
ret 4