Function at 0x408cc0
Capabilities:
Read .ini file
Receive data
Receive data on socket

Disassembly:
mov eax, 0x451c
call fcn.00458680
mov al, byte [0x494b70]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4530]
mov ebp, ecx
push edi
mov byte [esp + 0x2524], al
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x2525]
cmp esi, 0xffffffff
rep stosd dword es:[edi], eax
jne 0x408d05
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x451c
ret 0xc
lea eax, [esi*8]
mov edx, dword [ebp + 0x122f8]
sub eax, esi
lea ecx, [eax + eax*2]
lea edi, [esi + ecx*8]
shl edi, 2
mov eax, dword [edi + edx + 0x15c]
cmp eax, 0xffffffff
jne 0x408d38
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x451c
ret 0xc
test eax, eax
jne 0x408f1d
mov ebp, dword [esp + 0x4530]
push ebp
call fcn.0043f050
add esp, 4
test eax, eax
je 0x408d6a
push 0
lea eax, [esp + 0x2528]
push 0x1001
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
mov cl, byte [0x494b70]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x494f68
lea edx, [esp + 0x1124]
push 0x400
mov byte [esp + 0x1c], cl
push edx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x21]
push str.English
push 0x48e194
rep stosd dword es:[edi], eax
push str.System
call ebx
lea eax, [esp + 0x1120]
lea ecx, [esp + 0x14]
push eax
push 0x494e60
push str._sLanguage_s.ini
push ecx
call fcn.004585a3
mov dl, byte [0x494b70]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x12d]
mov byte [esp + 0x12c], dl
lea edx, [esp + 0x12c]
rep stosd dword es:[edi], eax
mov edi, str.Too_many_connections.
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x48e174
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x48e170
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x134]
push ecx
call fcn.004088f0
push 0x48e16c
lea edx, [esp + 0x13c]
push 0x48e168
push edx
call fcn.004088f0
mov al, byte [0x494b70]
mov ecx, 0x400
mov byte [esp + 0x1548], al
xor eax, eax
lea edi, [esp + 0x1549]
add esp, 0x28
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1520]
push ecx
push 0x1000
lea eax, [esp + 0x124]
push edx
lea ecx, [esp + 0x128]
push eax
push ecx
push str.String
call ebx
mov al, byte [esp + 0x1520]
test al, al
je 0x408eb6
lea edi, [esp + 0x1520]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x11c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x48e170
lea ecx, [esp + 0x120]
push 0x48e174
push ecx
call fcn.004088f0
push 0x48e168
lea edx, [esp + 0x12c]
push 0x48e16c
push edx
call fcn.004088f0
lea edi, [esp + 0x134]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x253c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x253c]
push ecx
push ebp
jmp 0x4092a4
mov ecx, 0x495140
xor ebx, ebx
call fcn.0043f160
test eax, eax
je 0x408f88
mov eax, dword [0x4b2b30]
test eax, eax
je 0x408f40
mov edx, dword [esp + 0x4538]
push edx
jmp 0x408f42
push 0
push esi
mov ecx, 0x4cb650
call fcn.00442b40
mov ecx, dword [ebp + 0x122f8]
cmp eax, dword [edi + ecx + 0x15c]
jle 0x408d29
cmp dword [0x4a0b0c], 1
jne 0x408f88
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xbb8
jg 0x408f88
mov ecx, 0x495140
call fcn.0043f160
test eax, eax
jne 0x408f2d
mov esi, dword [esp + 0x4530]
push esi
call fcn.0043f050
add esp, 4
test eax, eax
je 0x408fb2
push 0
lea edx, [esp + 0x2528]
push 0x1001
push edx
push esi
call dword [sym.imp.WS2_32.dll_recv]
mov al, byte [0x494b70]
mov ecx, 0x41
mov byte [esp + 0x14], al
xor eax, eax
lea edi, [esp + 0x15]
push 0x494f68
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1124]
push 0x400
push ecx
push str.English
push 0x48e194
push str.System
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x1120]
lea eax, [esp + 0x14]
push edx
push 0x494e60
push str._sLanguage_s.ini
push eax
call fcn.004585a3
mov dl, byte [0x494b70]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x12d]
mov byte [esp + 0x12c], dl
add esp, 0x10
rep stosd dword es:[edi], eax
mov edi, str.Too_many_connections.
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [esp + 0x11c]
mov eax, ecx
mov esi, edi
mov edi, ebx
mov byte [esp + 0x3528], dl
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea ebx, [esp + 0x11c]
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x400
lea edi, [esp + 0x3529]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], eax
cmp ecx, 0x1000
jbe 0x4090b3
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [ecx + ecx + 1]
push ecx
call fcn.0046efc9
add esp, 4
mov ebp, eax
mov dword [esp + 0x10], 1
jmp 0x4090ba
lea ebp, [esp + 0x3528]
mov byte [ebp], 0
push 0x48e170
push ebx
call fcn.00458600
add esp, 8
test eax, eax
je 0x409145
mov byte [eax], 0
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x48e174
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x48e170
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebx
lea ebx, [ecx + edx]
jmp 0x4090be
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x11c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x10]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x4091a1
push ebp
call fcn.0046eff2
add esp, 4
push 0x48e16c
lea ecx, [esp + 0x120]
push 0x48e168
push ecx
call fcn.004088f0
mov dl, byte [0x494b70]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x152d]
mov byte [esp + 0x152c], dl
add esp, 0xc
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1520]
push eax
push 0x1000
lea edx, [esp + 0x124]
push ecx
lea eax, [esp + 0x128]
push edx
push eax
push str.String
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x1520]
test al, al
je 0x40923b
lea edi, [esp + 0x1520]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x11c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x48e170
lea ecx, [esp + 0x120]
push 0x48e174
push ecx
call fcn.004088f0
push 0x48e168
lea edx, [esp + 0x12c]
push 0x48e16c
push edx
call fcn.004088f0
lea edi, [esp + 0x134]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x253c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x4548]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x253c]
push ecx
push edx
call fcn.0043f0f0
add esp, 0x20
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x451c
ret 0xc