Function at 0x404470
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x41a064]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov word [ebp - 0xb], ax
mov byte [ebp - 9], al
mov ecx, dword [ebp - 0x20]
mov byte [ecx + 0x3d40], 0
mov edx, dword [ebp - 0x20]
mov byte [edx + 0x3d41], 0
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x3d42], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x3d44], 0
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x3d48], 0
push 0x3e8
push 0
mov eax, dword [ebp - 0x20]
add eax, 0x3d4c
push eax
call fcn.004065e0
add esp, 0xc
push 0x3e8
push 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x4134
push ecx
call fcn.004065e0
add esp, 0xc
push str..ConnectServer.ini
push 0xc8
mov edx, dword [ebp - 0x20]
add edx, 0x3b34
push edx
push str.none
push str.Address
push str.FtpServerInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..ConnectServer.ini
push 0x15
push str.Port
push str.FtpServerInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x20]
mov word [ecx + 0x3bfc], ax
push str..ConnectServer.ini
push 0x14
mov edx, dword [ebp - 0x20]
add edx, 0x3bfe
push edx
push 0x41884e
push 0x418aac
push str.FtpServerInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..ConnectServer.ini
push 0x14
mov eax, dword [ebp - 0x20]
add eax, 0x3c12
push eax
push 0x41884e
push str.PASS
push str.FtpServerInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..ConnectServer.ini
push 0x14
mov ecx, dword [ebp - 0x20]
add ecx, 0x3c26
push ecx
push str.version.wvd
push str.VersionFileName
push str.GameServerInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..ConnectServer.ini
push 0xc8
mov edx, dword [ebp - 0x20]
add edx, 0x3c3a
push edx
push str.none
push str.HttpAddress
push str.HttpServerInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..ConnectServer.ini
push 0x15
push str.Port
push str.HttpServerInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x20]
mov word [ecx + 0x3d02], ax
push str..ConnectServer.ini
push 0x14
mov edx, dword [ebp - 0x20]
add edx, 0x3d04
push edx
push 0x41884e
push 0x418aac
push str.HttpServerInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..ConnectServer.ini
push 0x14
mov eax, dword [ebp - 0x20]
add eax, 0x3d18
push eax
push 0x41884e
push str.PASS
push str.HttpServerInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..ConnectServer.ini
push 0x14
mov ecx, dword [ebp - 0x20]
add ecx, 0x3d2c
push ecx
push str.version.wvd
push str.VersionFileName
push str.GameServerInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..ConnectServer.ini
push 0xa
lea edx, [ebp - 0x1c]
push edx
push str.00.00
push str.ClientVersion
push str.GameServerInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x418b18
lea eax, [ebp - 0x1c]
push eax
call fcn.0040705f
add esp, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00407132
add esp, 4
mov edx, dword [ebp - 0x20]
mov byte [edx + 0x3d40], al
push 0x418b18
push 0
call fcn.0040705f
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call fcn.00407132
add esp, 4
mov ecx, dword [ebp - 0x20]
mov byte [ecx + 0x3d41], al
push 0x418b18
push 0
call fcn.0040705f
add esp, 8
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
call fcn.00407132
add esp, 4
mov ecx, dword [ebp - 0x20]
mov byte [ecx + 0x3d42], al
call fcn.00403fb0
push str._UpdateConfig__Loaded_Successfull_
push 3
call dword [0x41c29c]
add esp, 8
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00405d6a
mov esp, ebp
pop ebp
ret