Function at 0x4fb690
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x57a040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x64
lea eax, [ebp - 0x68]
mov ebx, ecx
push 0
push eax
call fcn.0052bd20
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0xc
push str..DataGameServerInfo___Common.dat
push 0
push str.LicenseID
push str.GameServerInfo
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..DataGameServerInfo___Common.dat
push 0x20
mov dword [ebx + 4], eax
lea eax, [ebx + 8]
push eax
push 0x556a78
push str.CustomerName
push str.GameServerInfo
call esi
push str..DataGameServerInfo___Common.dat
push 0x24
lea eax, [ebx + 0x28]
push eax
push 0x556a78
push str.CustomerHardwareId
push str.GameServerInfo
call esi
push str..DataGameServerInfo___Common.dat
push 0x20
lea eax, [ebx + 0x4c]
push eax
push 0x556a78
push str.ServerName
push str.GameServerInfo
call esi
push str..DataGameServerInfo___Common.dat
push 0
push str.ServerCode
push str.GameServerInfo
call edi
push str..DataGameServerInfo___Common.dat
push 0
push str.ServerLock
push str.GameServerInfo
mov dword [ebx + 0x6c], eax
call edi
push str..DataGameServerInfo___Common.dat
push 0
push str.ServerPort
push str.GameServerInfo
mov dword [ebx + 0x70], eax
call edi
push dword [ebx + 0x6c]
mov dword [ebx + 0x90], eax
lea eax, [ebx + 0x94]
push str.WZ_MU_GS_MUTEX__d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x68]
push str..DataGameServerInfo___Common.dat
push 0x64
push eax
push 0x556a78
push str.ServerVersion
push str.GameServerInfo
call esi
movzx eax, byte [ebp - 0x68]
mov byte [0xbda804], al
movzx eax, byte [ebp - 0x66]
mov byte [0xbda805], al
movzx eax, byte [ebp - 0x65]
mov byte [0xbda806], al
movzx eax, byte [ebp - 0x63]
push str..DataGameServerInfo___Common.dat
mov byte [0xbda807], al
movzx eax, byte [ebp - 0x62]
push 0x11
mov byte [0xbda808], al
lea eax, [ebx + 0xba]
push eax
push 0x556a78
push str.ServerSerial
push str.GameServerInfo
mov byte [0xbda809], 0
call esi
push str..DataGameServerInfo___Common.dat
push 0
push str.ServerMaxUserNumber
push str.GameServerInfo
call edi
push str..DataGameServerInfo___Common.dat
mov ecx, 0x3e8
push 0
cmp eax, ecx
push str.Disable_BuyForWC
cmovg eax, ecx
push str.GameServerInfo
mov dword [ebx + 0xcc], eax
call edi
push str..DataGameServerInfo___Common.dat
push 0x10
mov dword [ebx + 0xd0], eax
lea eax, [ebx + 0xe8]
push eax
push 0x556a78
push str.DataServerAddress
push str.GameServerInfo
call esi
push str..DataGameServerInfo___Common.dat
push 0
push str.DataServerPort
push str.GameServerInfo
call edi
push str..DataGameServerInfo___Common.dat
push 0x10
mov dword [ebx + 0xf8], eax
lea eax, [ebx + 0xd4]
push eax
push 0x556a78
push str.JoinServerAddress
push str.GameServerInfo
call esi
push str..DataGameServerInfo___Common.dat
push 0
push str.JoinServerPort
push str.GameServerInfo
call edi
push str..DataGameServerInfo___Common.dat
push 0x10
mov dword [ebx + 0xe4], eax
lea eax, [ebx + 0xfc]
push eax
push 0x556a78
push str.ConnectServerAddress
push str.GameServerInfo
call esi
push str..DataGameServerInfo___Common.dat
push 0
push str.ConnectServerPort
push str.GameServerInfo
call edi
push str..DataGameServerInfo___Common.dat
push 0
push str.WriteChatLog
push str.GameServerInfo
mov dword [ebx + 0x10c], eax
call edi
push str..DataGameServerInfo___Common.dat
push 0
push str.WriteCommandLog
push str.GameServerInfo
mov dword [ebx + 0x110], eax
call edi
mov dword [ebx + 0x114], eax
push str..DataGameServerInfo___Common.dat
push 0
push str.WriteTradeLog
push str.GameServerInfo
call edi
push str..DataGameServerInfo___Common.dat
push 0
push str.WriteConnectLog
push str.GameServerInfo
mov dword [ebx + 0x118], eax
call edi
push str..DataGameServerInfo___Common.dat
push 0
push str.WriteHackLog
push str.GameServerInfo
mov dword [ebx + 0x11c], eax
call edi
push str..DataGameServerInfo___Common.dat
push 0
push str.WriteCashShopLog
push str.GameServerInfo
mov dword [ebx + 0x120], eax
call edi
push str..DataGameServerInfo___Common.dat
push 0
push str.WriteChaosMixLog
push str.GameServerInfo
mov dword [ebx + 0x124], eax
call edi
push str..DataGameServerInfo___Common.dat
push 0
push str.WriteItemLog
push str.GameServerInfo
mov dword [ebx + 0x128], eax
call edi
push str..DataGameServerInfo___Common.dat
push 0
push str.ExperienceMultiplierConstA
push str.GameServerInfo
mov dword [ebx + 0x12c], eax
call edi
push str..DataGameServerInfo___Common.dat
push 0
push str.ExperienceMultiplierConstB
push str.GameServerInfo
mov dword [ebx + 0x230], eax
call edi
push str..DataGameServerInfo___Common.dat
push 0
push str.MaxLevel
push str.GameServerInfo
mov dword [ebx + 0x234], eax
call edi
cmp eax, 0x3e8
mov ecx, 0x3e8
pop edi
cmovg eax, ecx
mov ecx, dword [ebp - 4]
pop esi
mov dword [ebx + 0x318], eax
xor ecx, ebp
pop ebx
call fcn.00529f01
mov esp, ebp
pop ebp
ret 8