Function at 0x403650
Capabilities:
Access peb ldr_data
Get ntdll base address
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4274cb
push eax
mov eax, 0x1004
mov dword fs:[0], esp
call fcn.00426b20
push ebx
push esi
mov esi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
mov eax, dword [esi + 0x40]
push eax
lea eax, [esp + 0x14]
push 0x1000
push eax
push 0x43b21c
push str.m_sLinkName
push str.Settings
call ebx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esi + 0x40]
lea edx, [esp + 0x10]
push eax
push 0x1000
push edx
push 0x43b21c
push str.m_sLinkUser
push str.Settings
call ebx
lea eax, [esp + 0x10]
lea ecx, [esi + 8]
push eax
call sub.MFC42.DLL_CString::operator
mov eax, dword [esi + 0x40]
lea ecx, [esp + 0x10]
push eax
push 0x1000
push ecx
push 0x43b21c
push str.m_sLinkPwd
push str.Settings
call ebx
lea edx, [esp + 0x10]
lea ecx, [esi + 0xc]
push edx
call sub.MFC42.DLL_CString::operator
call fcn.00403330
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x40]
push eax
push 0
push str.m_bSavePwd
push str.Settings
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x40]
push eax
push 0
push str.m_bAutoLogon
push str.Settings
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x40]
push eax
push 0
push str.m_bAutoDial
push str.Settings
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x40]
push eax
push 0xa
push str.m_nErrNum
push str.Settings
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x40]
push eax
push 5
push str.m_nWaitSpan
push str.Settings
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x40]
push eax
push 0
push str.m_nThread
push str.Settings
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x40]
push eax
push 1
push str.m_bSafedll
push str.Settings
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x40]
push eax
push 0
push str.m_bHideWnd
push str.Settings
call edi
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x40]
push eax
push 0
push str.m_nParentNumAccount
push str.Settings
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x40]
push eax
lea eax, [esp + 0x14]
push 0x1000
push eax
push 0x43b21c
push str.m_sAccount
push str.Settings
call ebx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x38]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esi + 0x40]
lea edx, [esp + 0x10]
push eax
push 0x1000
push edx
push 0x43b21c
push str.m_sPassword
push str.Settings
call ebx
lea edi, [esi + 0x3c]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::operator
mov esi, dword [esi + 0x44]
lea ecx, [esp + 0x10]
push esi
push 0x1000
push ecx
push 0x43b21c
push str.m_sPassword
push str.Settings
call ebx
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push edx
call fcn.0042640e
mov eax, dword [esp + 0xc]
mov esi, dword [edi]
mov dword [esp + 0x1018], 0
push eax
call fcn.0041a4d0
push eax
push esi
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 0xc
test eax, eax
jne 0x403882
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov dword [esp + 0x1018], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1010]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1010
ret