Function at 0x405cb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x454350]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xd8], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.004345d0
add esp, 4
cmp eax, 0x14
jbe 0x405cf7
push 0x14
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xd8]
add edx, 0xf04a
push edx
call fcn.00435460
add esp, 0xc
jmp 0x405d10
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xd8]
add ecx, 0xf04a
push ecx
call fcn.00434060
add esp, 8
mov byte [ebp - 0xd0], 0
push 0xc7
push 0
lea edx, [ebp - 0xcf]
push edx
call fcn.00433530
add esp, 0xc
push str.._Setting.ini
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea ecx, [ebp - 0xd0]
push ecx
push 0xdabf
push str.Port
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0xd8]
mov dword [ecx + 0xefc4], eax
mov edx, dword [ebp - 0xd8]
cmp dword [edx + 0xefc4], 0xffffffff
je 0x405f5a
lea eax, [ebp - 0xd0]
push eax
push 0xa
push str.MaxConnections
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0xd4], eax
lea edx, [ebp - 0xd0]
push edx
push 0x1e
mov eax, dword [ebp - 0xd8]
add eax, 0xf004
push eax
push str.MuOnline
push str.ServerODBC
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0xd0]
push edx
push 0x14
mov eax, dword [ebp - 0xd8]
add eax, 0xeff0
push eax
push str.MuOnline
push str.Name
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0xd0]
push edx
push 0x14
mov eax, dword [ebp - 0xd8]
add eax, 0xf022
push eax
push str.MuOnline
push str.NameMe
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0xd0]
push edx
push 0x14
mov eax, dword [ebp - 0xd8]
add eax, 0xf036
push eax
push str.Ranking
push str.Ranking
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0xd0]
push edx
push 0x14
mov eax, dword [ebp - 0xd8]
add eax, 0xefc8
push eax
push 0x4466cc
push str.Login
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0xd0]
push edx
push 0x14
mov eax, dword [ebp - 0xd8]
add eax, 0xefdc
push eax
push str.16122008
push str.Password
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.Initializing_database_connection
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xd8]
push ecx
mov edx, dword [eax]
call edx
add esp, 8
mov ecx, dword [ebp - 0xd8]
call fcn.004046a0
mov eax, dword [ebp - 0xd8]
add eax, 0xf004
push eax
mov ecx, dword [ebp - 0xd8]
add ecx, 0xeff0
push ecx
push str.Connected_to__s__s_database
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xd8]
push ecx
mov edx, dword [eax]
call edx
add esp, 0x10
push str.Initialized_database_connection
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xd8]
push edx
mov eax, dword [ecx]
call eax
add esp, 8
push str.Initializing_IOCP_system_connection
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [edx]
call ecx
add esp, 8
mov edx, dword [ebp - 0xd4]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0xefc4]
push ecx
mov ecx, dword [ebp - 0xd8]
call fcn.004065b0
push str.Initialized_IOCP_system_connection
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xd8]
push ecx
mov edx, dword [eax]
call edx
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434051
mov esp, ebp
pop ebp
ret 4