Function at 0x4051b5
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x40f2e4
call fcn.0040ea50
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, dword [esi + 0xc9c]
cmp ecx, edi
je 0x4051f2
mov eax, dword [ecx]
push 1
call dword [eax]
push edi
push edi
push 0x14b
mov dword [esi + 0xc9c], edi
push dword [esi + 0x178]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x24]
push eax
call fcn.00403e0c
mov dword [esp], str.Config.ini
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], edi
push eax
call sub.MFC42u.DLL_operator
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0040e5c2
push dword [ebp - 0x18]
mov ebx, str.Parameters
push edi
push str.AccountCount
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], eax
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString
cmp dword [ebp - 0x20], edi
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], edi
jle 0x405307
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push str.Account_d
push eax
call sub.MFC42u.DLL_CString::Format
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x18]
push 0x46
push 0x46
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push 0x41a638
push str.Username
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x4052f8
push 0xc
call sub.MFC42u.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x28], ecx
cmp ecx, edi
mov byte [ebp - 4], 5
je 0x4052c5
push dword [ebp - 0x14]
call fcn.0040c5e8
jmp 0x4052c7
xor eax, eax
mov ecx, dword [esi + 0xc9c]
mov byte [ebp - 4], 4
cmp ecx, edi
jne 0x4052dd
mov dword [esi + 0xc9c], eax
jmp 0x4052e3
push eax
call fcn.0040c68b
push dword [ebp - 0x10]
push edi
push 0x143
push dword [esi + 0x178]
call dword [sym.imp.USER32.dll_SendMessageW]
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jl 0x405257
cmp dword [esi + 0xc9c], edi
jne 0x405371
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.004055af
test eax, eax
je 0x4053c5
push 0xc
call sub.MFC42u.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x28], ecx
cmp ecx, edi
mov byte [ebp - 4], 6
je 0x405343
push str.Account0
call fcn.0040c5e8
jmp 0x405345
xor eax, eax
push dword [ebp - 0x10]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0xc9c], eax
add esi, 0x178
push edi
push 0x143
push dword [esi]
call ebx
push edi
push edi
push 0x14e
push dword [esi]
call ebx
jmp 0x4053c5
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
push 0x14
push 0x14
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push 0x41a638
push str.DefaultAccount
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov ecx, dword [esi + 0xc9c]
push edi
push dword [ebp - 0x10]
call fcn.0040c6e3
cmp eax, 0xffffffff
jne 0x4053b2
xor eax, eax
push edi
push eax
push 0x14e
push dword [esi + 0x178]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040e5c2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040e5c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040e5c2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret