Function at 0x47a750
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x52382c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x6a55d4]
push esi
push edi
mov edi, dword [0x6a55d0]
mov dword [ebp - 0x188], ebx
call fcn.0047a080
mov esi, dword [0x526728]
mov ecx, dword [0x526800]
lea eax, [edi + 0xc8]
cmp esi, eax
jl 0x47a989
lea edx, [edi + 0xeb]
cmp esi, edx
jg 0x47a94a
lea edx, [ebx + 0x21]
cmp ecx, edx
jl 0x47a94a
lea edx, [ebx + 0x2c]
cmp ecx, edx
jg 0x47a94a
mov ecx, dword [0x5e90d8]
test ecx, ecx
je 0x47a7d0
push 0
push 1
push 0
call fcn.00488d70
mov eax, dword [0x5ea9d8]
cmp eax, dword [0x1a3c820]
jg 0x47ac61
shl eax, 6
add eax, 0x5e9f80
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47a7f0
sub eax, edx
je 0x47ac61
push 0x5257b0
push 0x525258
lea eax, [ebp - 0x184]
push 0x4e4cec
push eax
call fcn.004cce8a
add esp, 0x10
mov esi, 1
mov ebx, 0x641950
mov edi, 0x5ea9e0
mov dword [ebp - 0x188], 3
push 0x40
push 0
push edi
call fcn.004cce10
push 0x40
lea ecx, [ebp - 0x44]
push 0
push ecx
call fcn.004cce10
push esi
lea edx, [ebp - 0x84]
push str.LoginServerIP__d
push edx
call fcn.004cce8a
add esp, 0x24
lea eax, [ebp - 0x184]
push eax
mov eax, dword [0x5ea9d8]
push 0x40
lea ecx, [ebp - 0x44]
push ecx
push 0
lea edx, [ebp - 0x84]
shl eax, 6
push edx
add eax, 0x5e9f80
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jle 0x47a89d
lea ecx, [ebp - 0x44]
push ecx
push edi
call fcn.004cce8a
add esp, 8
push 0x40
lea edx, [ebp - 0x44]
push 0
push edx
mov dword [ebx], 0
call fcn.004cce10
push esi
lea eax, [ebp - 0x84]
push str.LoginServerPort__d
push eax
call fcn.004cce8a
add esp, 0x18
lea ecx, [ebp - 0x184]
push ecx
mov ecx, dword [0x5ea9d8]
push 0x40
lea edx, [ebp - 0x44]
push edx
push 0
lea eax, [ebp - 0x84]
shl ecx, 6
push eax
add ecx, 0x5e9f80
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jle 0x47a903
lea edx, [ebp - 0x44]
push edx
call fcn.004ce55a
add esp, 4
mov dword [ebx], eax
add edi, 0x40
inc esi
add ebx, 4
dec dword [ebp - 0x188]
jne 0x47a836
push 3
call fcn.0043b9c0
add esp, 4
pop edi
pop esi
mov dword [0x1a3c144], eax
mov dword [0x5256bc], 4
mov dword [0x526908], 0x28
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
cmp esi, eax
jl 0x47a989
lea eax, [edi + 0xeb]
cmp esi, eax
jg 0x47a989
lea edx, [ebx + 0x39]
cmp ecx, edx
jl 0x47a989
lea eax, [ebx + 0x44]
cmp ecx, eax
jg 0x47a989
mov dword [0x1a3b3f8], 0
mov dword [0x5256bc], 0x63
mov dword [0x526908], 0x5a
jmp 0x47ac4c
lea edx, [edi + 0x1c]
cmp esi, edx
jl 0x47a9be
lea eax, [edi + 0xaa]
cmp esi, eax
jg 0x47a9be
xor eax, eax
lea edx, [ebx + 0x2d]
nop
lea ebx, [edx - 0xd]
cmp ecx, ebx
jl 0x47a9af
cmp ecx, edx
jle 0x47aa34
inc eax
add edx, 0xf
cmp eax, 5
jl 0x47a9a0
mov ebx, dword [ebp - 0x188]
cmp dword [0x1a3c820], 5
jle 0x47ac61
lea edx, [edi + 0xb3]
cmp esi, edx
jl 0x47abab
lea eax, [edi + 0xb7]
cmp esi, eax
jg 0x47abab
mov eax, dword [0x6a55bc]
lea edx, [eax + ebx + 0x22]
cmp ecx, edx
jl 0x47abab
lea edx, [eax + ebx + 0x32]
cmp ecx, edx
jg 0x47abab
pop edi
mov dword [0x41ec334], esi
sub ecx, eax
pop esi
mov byte [0x6a55ba], 1
mov dword [0x63f0a4], ecx
mov dword [0x631e24], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
add eax, dword [0x6a55c4]
mov ecx, dword [0x5e90d8]
mov dword [0x5ea9d8], eax
test ecx, ecx
je 0x47aa59
push 0
push 1
push 0
call fcn.00488d70
mov eax, dword [0x5ea9d8]
cmp byte [ebp + 8], 0
je 0x47ac61
cmp eax, dword [0x1a3c820]
jg 0x47ac61
shl eax, 6
add eax, 0x5e9f80
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47aa80
sub eax, edx
je 0x47ac61
push 0x5257b0
push 0x525258
lea edx, [ebp - 0x184]
push 0x4e4cec
push edx
call fcn.004cce8a
add esp, 0x10
mov esi, 1
mov ebx, 0x641950
mov edi, 0x5ea9e0
mov dword [ebp - 0x188], 3
push 0x40
push 0
push edi
call fcn.004cce10
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.004cce10
push esi
lea ecx, [ebp - 0x84]
push str.LoginServerIP__d
push ecx
call fcn.004cce8a
add esp, 0x24
lea edx, [ebp - 0x184]
push edx
mov edx, dword [0x5ea9d8]
push 0x40
lea eax, [ebp - 0x44]
push eax
push 0
lea ecx, [ebp - 0x84]
shl edx, 6
push ecx
add edx, 0x5e9f80
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jle 0x47ab2f
lea eax, [ebp - 0x44]
push eax
push edi
call fcn.004cce8a
add esp, 8
push 0x40
lea ecx, [ebp - 0x44]
push 0
push ecx
mov dword [ebx], 0
call fcn.004cce10
push esi
lea edx, [ebp - 0x84]
push str.LoginServerPort__d
push edx
call fcn.004cce8a
add esp, 0x18
lea eax, [ebp - 0x184]
push eax
mov eax, dword [0x5ea9d8]
push 0x40
lea ecx, [ebp - 0x44]
push ecx
push 0
lea edx, [ebp - 0x84]
shl eax, 6
push edx
add eax, 0x5e9f80
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jle 0x47ab93
lea ecx, [ebp - 0x44]
push ecx
call fcn.004ce55a
add esp, 4
mov dword [ebx], eax
add edi, 0x40
inc esi
add ebx, 4
dec dword [ebp - 0x188]
jne 0x47aac6
jmp 0x47a916
lea eax, [edi + 0xb1]
cmp esi, eax
jl 0x47ac61
lea edx, [edi + 0xb9]
cmp esi, edx
jg 0x47abff
lea edx, [ebx + 0x17]
cmp ecx, edx
jl 0x47abff
lea edx, [ebx + 0x1f]
cmp ecx, edx
jg 0x47abff
cmp dword [0x6a55c4], 0
jle 0x47abf6
dec dword [0x6a55c4]
fild dword [0x6a55c4]
fdiv dword [0x6a55cc]
call fcn.004ccd60
mov dword [0x6a55bc], eax
mov byte [0x6a55bb], 3
jmp 0x47ac4c
cmp esi, eax
jl 0x47ac61
add edi, 0xb9
cmp esi, edi
jg 0x47ac61
lea eax, [ebx + 0x6c]
cmp ecx, eax
jl 0x47ac61
add ebx, 0x74
cmp ecx, ebx
jg 0x47ac61
mov ecx, dword [0x6a55c4]
cmp ecx, dword [0x6a55c8]
jge 0x47ac45
inc dword [0x6a55c4]
fild dword [0x6a55c4]
fdiv dword [0x6a55cc]
call fcn.004ccd60
mov dword [0x6a55bc], eax
mov byte [0x6a55bb], 4
mov ecx, dword [0x5e90d8]
test ecx, ecx
je 0x47ac61
push 0
push 1
push 0
call fcn.00488d70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ccd49
mov esp, ebp
pop ebp
ret