Function at 0x401cf0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4280d8
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x432b60]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x432b60]
xor eax, esp
push eax
lea eax, [esp + 0x2a4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2b4]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ebp, 0xf
push eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x34], eax
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
call fcn.00405ed0
push 0x434074
push 0x434020
lea edi, [esp + 0x34]
mov dword [esp + 0x2b4], ebx
call fcn.00405060
add esp, 8
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x88]
mov byte [esp + 0x2b4], 1
call fcn.004048a0
mov edi, 0x10
mov byte [esp + 0x2ac], bl
cmp dword [esp + 0x44], edi
jb 0x401db7
mov eax, dword [esp + 0x30]
push eax
call fcn.00407b33
add esp, 4
push 0x1ff
lea ecx, [esp + 0xa1]
push ebx
push ecx
mov byte [esp + 0xa8], 0
call fcn.004155a0
mov eax, dword [esp + 0x90]
add esp, 0xc
cmp dword [esp + 0x98], edi
jae 0x401dec
lea eax, [esp + 0x84]
push eax
push 0x200
lea edx, [esp + 0xa4]
push edx
push 0x42c643
push 0x42c550
push str.ServerListUpdate
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x9c]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401e26
sub eax, edx
push eax
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x6c]
call fcn.00406890
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], 0
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x2b0], 3
call fcn.00407030
mov bl, al
add esp, 4
test bl, bl
mov byte [esp + 0x1b], bl
je 0x401ff7
cmp dword [esp + 0x60], edi
mov eax, dword [esp + 0x4c]
jae 0x401e85
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
call fcn.004067d0
mov byte [esp + 0x2ac], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
push eax
call fcn.00406600
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x20], esi
mov byte [esp + 0x2ac], 5
mov edx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x401ed8
push edx
lea ecx, [esp + 0x24]
call fcn.004066a0
mov esi, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call ebx
lea ebp, [eax + eax]
push ebp
call fcn.00413b6e
add esp, 4
push ebp
mov edi, eax
push edi
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call ebx
push edi
lea ecx, [esp + 0x28]
call fcn.00406200
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x2b0], 6
call fcn.00406580
mov byte [esp + 0x2ac], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401f4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call fcn.00407b33
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.00408e9a
mov byte [esp + 0x2ac], 7
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
push eax
call fcn.00406600
mov ecx, dword [esp + 0x30]
add esp, 4
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.00402080
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2ac], 5
call fcn.00408eb1
lea eax, [esi - 0x10]
mov byte [esp + 0x2ac], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401fc3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2ac], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401feb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, byte [esp + 0x1b]
mov edi, 0x10
lea ebp, [edi - 1]
cmp dword [esp + 0x60], edi
jb 0x40200a
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00407b33
add esp, 4
xor esi, esi
cmp dword [esp + 0x7c], edi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], esi
mov byte [esp + 0x4c], 0
jb 0x40202c
mov edx, dword [esp + 0x68]
push edx
call fcn.00407b33
add esp, 4
cmp dword [esp + 0x98], edi
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], esi
mov byte [esp + 0x68], 0
jb 0x402052
mov eax, dword [esp + 0x84]
push eax
call fcn.00407b33
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x2a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.00414015
add esp, 0x29c
ret 4