Function at 0x4eb520
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6b196c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov dword [esi], 0x6c3834
push edi
lea edi, [esi + 4]
mov dword [esp + 0x14], esi
mov dword [edi + 4], ebp
mov dword [edi], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ebp
mov dword [esp + 0x12c], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
lea ecx, [esi + 0x28]
mov byte [esp + 0x12c], 1
call fcn.00527000
lea ecx, [esi + 0x600]
mov byte [esp + 0x12c], 2
call fcn.00527000
lea ecx, [esi + 0xbdc]
mov byte [esp + 0x12c], 3
call fcn.0052b880
push 0x200
push 0x200
push str.login_server.tga
push str.data_interface
mov ecx, edi
mov byte [esp + 0x13c], 4
call fcn.005497a0
push ebp
push 0x3f800000
push 0x3f400000
push 0x3f800000
push ebp
push 0x3f400000
push 0x3f000000
push 0x3f800000
push ebp
push 0x3f400000
push 0x3f000000
push 0x3f800000
mov dword [esi + 0x24], ebp
mov eax, dword [0x70859c]
mov ecx, dword [0x7085a0]
cdq
sub eax, edx
push ebp
push 0x3f000000
mov edi, eax
push 0x3e800000
push 0x3f800000
mov eax, 0x66666667
imul ecx
push ebp
push 0x3e800000
push ebp
sar edx, 3
push 0x3f800000
push ebp
mov eax, edx
shr eax, 0x1f
push 1
add eax, edx
sar edi, 1
push 0x80
sub ecx, eax
sub edi, 0x9c
sub ecx, 0x1c2
push 0x80
mov ebx, ecx
push str.ok_button.tga
fld dword [0x70a1b8]
push ebp
push 0x19
push 0x41
push 0x20
push 0x80
call fcn.005cd414
fld dword [0x70a1b4]
push eax
call fcn.005cd414
push eax
push ebx
push edi
lea ecx, [esi + 0x28]
call fcn.00528830
fld dword [0x70a1c0]
push ebp
push 0x3f800000
push 0x3f400000
push 0x3f800000
push ebp
push 0x3f400000
push 0x3f000000
push 0x3f800000
push ebp
push 0x3f400000
push 0x3f000000
push 0x3f800000
push ebp
push 0x3f000000
push 0x3e800000
push 0x3f800000
push ebp
push 0x3e800000
push ebp
push 0x3f800000
push ebp
push 1
push 0x80
push 0x80
push str.cancel_button.tga
push ebp
push 0x19
push 0x41
push 0x20
push 0x80
call fcn.005cd414
fld dword [0x70a1bc]
push eax
call fcn.005cd414
push eax
push ebx
push edi
lea ecx, [esi + 0x600]
call fcn.00528830
push 1
push 0x40800000
push 0x40800000
push 0x3f000000
push ebp
push 0x3f200000
push 0x3f000000
push 0x3f000000
push 0x3f000000
push 0x3f000000
push 0x3ec00000
push 0x3f000000
push ebp
push 0x3f000000
push 0x3ec00000
push 0x3f800000
push 0x3f000000
push 0x3ec00000
push 0x3e800000
push 0x3f800000
push 0x3f000000
or eax, 0xffffffff
push 0x3e800000
mov dword [esi + 0xbd8], eax
mov dword [esi + 0x1e94], eax
push 0x3e000000
push 0x3f800000
push 0x3f000000
push 0x3e000000
push ebp
push 0x3f000000
push ebp
push 0x3ec00000
push 0x3e800000
push 0x3f000000
push ebp
push 0x3e800000
push 0x3e000000
push 0x3f000000
push ebp
push 0x3e000000
push ebp
push 0x40
push 0x80
push str.scrollbar.tga
push 0x43890000
push 0x41500000
push 0x41980000
push ebp
push 1
push 0x13
push 0xd
push 0x20
push 0x10
push 0x138
push 0xd
push 0x41
push 0x119
push ebx
push edi
lea ecx, [esi + 0xbdc]
call fcn.0052c430
mov ecx, esi
call fcn.004eae70
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [esi + 0x1e38], 0xffffffff
cmp dword [0x708598], 2
jne 0x4eb876
push 0x7191e0
xor eax, eax
push 0x104
mov ecx, 0x41
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
push ecx
push 0x6bb5d5
push str.SERVER
push str.LOGIN
call ebx
test eax, eax
je 0x4eb876
lea edx, [esp + 0x18]
push edx
call fcn.005cd365
add esp, 4
mov dword [esi + 0x1e38], eax
xor eax, eax
lea edi, [esi + 0x1e3c]
mov ecx, 0x14
rep stosd dword es:[edi], eax
mov dword [esi + 0x1e90], ebp
mov dword [esi + 0x1e8c], ebp
mov ecx, dword [0x7191d4]
mov eax, dword [ecx]
push 0x3a
call dword [eax + 4]
test al, al
je 0x4eb930
push str..SORT_LIST.INI
push 0x104
lea ecx, [esp + 0x20]
push ecx
push 0x6bb5d5
push str.SORT
push str.LIST_SORT
call ebx
test eax, eax
je 0x4eb930
lea edx, [esp + 0x18]
push 0x6c0310
push edx
call fcn.005ce160
mov edi, eax
add esp, 8
xor ebx, ebx
cmp edi, ebp
je 0x4eb92a
lea eax, [esi + 0x1e3c]
mov dword [esp + 0x14], eax
mov edi, edi
cmp ebx, 0x14
jge 0x4eb90a
push edi
call fcn.005cd365
push edi
call fcn.005cd365
mov ecx, dword [esp + 0x1c]
add esp, 8
mov dword [ecx], eax
push 0x6c0310
push ebp
call fcn.005ce160
mov ecx, dword [esp + 0x1c]
add esp, 8
mov edi, eax
add ecx, 4
inc ebx
cmp edi, ebp
mov dword [esp + 0x14], ecx
jne 0x4eb8f0
mov dword [esi + 0x1e8c], ebx
mov ecx, dword [esp + 0x124]
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret