Function at 0x431681
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x517b1c
call fcn.004edf30
sub esp, 0x220
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x10]
and byte [esi + 0x4d8], 0
call sub.MFC42.DLL_CString::CString
and dword [ebp - 4], 0
lea edi, [esi + 0x3d8]
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
push str.file:____
push 0x55a62c
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Replace
push 0x55a628
push 0x55a624
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Replace
push 0x100
push dword [ebp - 0x10]
push edi
call fcn.004ea914
push 0x104
lea eax, [ebp - 0x22c]
push 0
push eax
call sub.MSVCRT.dll_memset
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x18
lea eax, [ebp - 0x22c]
push edi
push str._s_data_main_start.dat
push 0x103
push eax
call ebx
add esp, 0x10
mov ecx, esi
push 0
push 0x50000000
push 0
call sub.MFC42.DLL_CWnd::ModifyStyle
lea eax, [ebp - 0x22c]
lea ecx, [esi + 0x60]
push eax
call fcn.0047edaa
push edi
push str.PATH
mov ecx, esi
call fcn.00431f31
mov ecx, esi
call fcn.004322e7
test al, al
je 0x4319f8
lea ecx, [esi + 0x4f4]
call fcn.0047eb8a
push 0x10
lea eax, [ebp - 0x28]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edi, 0x5594ac
push dword [esi + 0x2d0]
lea eax, [ebp - 0x28]
push edi
push 0xf
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
push str.CURWORLD
call fcn.00431f31
push 0x10
lea eax, [ebp - 0x28]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x28]
push dword [esi + 0x2d4]
push edi
push 0xf
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
push str.CURSERVER
call fcn.00431f31
and byte [ebp - 0xe8], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0xe7]
and byte [ebp - 0x128], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0x127]
rep stosd dword es:[edi], eax
and byte [ebp - 0x68], 0
push 0xf
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x67]
cmp byte [esi + 0x2d8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esi + 0x2d8]
jne 0x431881
push 0x80
lea eax, [ebp - 0xe8]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0xe8]
push 0x52a808
push 0x80
push eax
push 0x568b08
push str.AccountRecord
push str.Account
call edi
test eax, eax
je 0x43187b
and byte [ebp - 0x69], 0
lea eax, [ebp - 0xe8]
push 0x80
push eax
lea eax, [esi + 0x2d8]
push eax
call fcn.004ea914
add esp, 0xc
lea eax, [esi + 0x2d8]
push eax
push str.LOGINUSER
mov ecx, esi
call fcn.00431f31
push 0x52a808
lea eax, [ebp - 0x28]
push 0xf
push eax
push 0x5594a8
push str.AccountNum
push str.AccountList
call edi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
and dword [ebp - 0x14], 0
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
push eax
jge 0x4319a1
push str.Account_d
lea eax, [ebp - 0x128]
push 0x3f
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0xe8]
push 0x52a808
push 0x7f
push eax
lea eax, [ebp - 0x128]
push 0x568b08
push eax
push str.AccountList
call edi
push dword [ebp - 0x14]
lea eax, [ebp - 0x68]
push str.ACCOUNT_d
push 0x3f
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0xe8]
mov ecx, esi
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00431f31
mov eax, dword [ebp - 0x18]
dec eax
cmp dword [ebp - 0x14], eax
jne 0x4319c1
cmp byte [esi + 0x2d8], 0
lea eax, [esi + 0x2d8]
jne 0x431999
push 0x52a808
push 0x7f
push eax
push 0x568b08
push str.AccountRecord
push str.Account
call edi
cmp dword [esi + 0x2d0], 0xffffffff
je 0x431978
cmp dword [esi + 0x2d4], 0xffffffff
je 0x431978
cmp byte [esi + 0x2d8], 0
lea eax, [esi + 0x2d8]
jne 0x431999
lea eax, [ebp - 0xe8]
push 0x80
push eax
lea eax, [esi + 0x2d8]
push eax
call fcn.004ea914
add esp, 0xc
lea eax, [ebp - 0xe8]
push eax
push str.LOGINUSER
jmp 0x4319ba
push str.ACCOUNT_d
lea eax, [ebp - 0x68]
push 0x3f
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x68]
push 0x568b08
push eax
mov ecx, esi
call fcn.00431f31
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xa
jl 0x4318bc
cmp byte [esi + 0xb0], 0
lea edi, [esi + 0xb0]
je 0x4319f1
push 0x55974c
push str.RETURNLOGIN
mov ecx, esi
call fcn.00431f31
and byte [edi], 0
mov ecx, esi
call fcn.00432b27
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004edc2e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret