Function at 0x4321c0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x120
push str.GND_NO_CHECK_IS_ALIVE
mov dword [esp + 8], 0
call fcn.00463afa
add esp, 4
test eax, eax
mov al, byte [0x4d6b34]
setne byte [esp + 3]
test al, al
jne 0x43220f
mov eax, dword [str.csl_com.c]
push 0x6a3
push eax
push str.init_done
call fcn.0041cad0
add esp, 0xc
mov eax, 0x445c1
add esp, 0x120
ret
push ebx
push ebp
push esi
push edi
push 0
call fcn.004640ba
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, dword [0x4d6b30]
xor ebx, ebx
xor edx, edx
xor esi, esi
xor eax, eax
cmp edi, ebx
mov dword [esp + 0x2c], edx
jle 0x432264
mov ecx, dword [0x4d6b2c]
cmp dword [ecx], ebx
jle 0x432259
cmp edx, 0x40
jae 0x432253
mov dword [esp + edx*4 + 0x30], eax
mov edx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x2c], edx
cmp esi, eax
jg 0x432259
mov esi, eax
inc eax
add ecx, 0xd4
cmp eax, edi
jl 0x43223d
mov edi, dword [0x4d6b28]
xor eax, eax
cmp edi, ebx
jle 0x43229d
mov ecx, dword [0x4d6b24]
cmp dword [ecx], ebx
jle 0x432292
cmp edx, 0x40
jae 0x43228c
mov dword [esp + edx*4 + 0x30], eax
mov edx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x2c], edx
cmp esi, eax
jg 0x432292
mov esi, eax
inc eax
add ecx, 0x1c0
cmp eax, edi
jl 0x432276
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebx
lea edx, [esp + 0x38]
push edx
inc esi
push esi
mov dword [esp + 0x38], 3
mov dword [esp + 0x3c], ebx
call sub.WS2_32.dll_select
push ebx
mov esi, eax
call fcn.004640ba
add esp, 4
cmp esi, ebx
mov dword [esp + 0x18], eax
jle 0x432430
mov ecx, dword [0x4d6b28]
xor edi, edi
cmp ecx, ebx
jle 0x4323d8
mov eax, dword [0x4d6b24]
cmp dword [ebx + eax], 0
jle 0x4323c0
lea ecx, [esp + 0x2c]
push ecx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4323c0
push 0xffffffffffffffff
push edi
call fcn.004314d0
mov esi, eax
add esp, 8
cmp esi, 0x1392
je 0x4323c0
test esi, esi
je 0x4323c0
mov edx, dword [str.csl_com.c]
push 0x6dd
push edx
push 0x49e734
call fcn.0041ca70
lea eax, [esp + 0x2c]
push eax
push esi
mov dword [esp + 0x34], 0
call fcn.0041c6d0
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x432390
mov dl, byte [ebp]
xor eax, eax
test dl, dl
sete al
test eax, eax
jne 0x432390
push edi
push 0x49e740
call sym.cns.exe_gen__nls_nlst
mov ecx, dword [esp + 0x28]
add esp, 4
push eax
push ebp
push esi
push ecx
push str._s__d__s__s__d_n
push 0x49e79c
call fcn.0041b0a0
add esp, 0x1c
jmp 0x4323c0
push edi
push str.___G:_s90_csl_csl_com.c___GENERAL___1757___while_reading_from_client
call sym.cns.exe_gen__nls_nlst
add esp, 4
push eax
push esi
push str.___G:_s90_csl_csl_com.c___GENERAL___1757___Error
call sym.cns.exe_gen__nls_nlst
add esp, 4
push eax
push str._s___d___s__d_n
push 0x49e838
call fcn.0041b0a0
add esp, 0x18
mov eax, dword [0x4d6b28]
inc edi
add ebx, 0x1c0
cmp edi, eax
jl 0x4322e3
mov eax, dword [esp + 0x18]
mov ecx, dword [0x4d6b30]
xor esi, esi
test ecx, ecx
jle 0x432430
xor ebp, ebp
mov edx, dword [0x4d6b2c]
cmp dword [edx + ebp], 0
jle 0x43241c
lea eax, [esp + 0x2c]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43241c
mov ecx, dword [esp + 0x13c]
push ecx
push esi
call fcn.004325b0
mov edi, eax
add esp, 8
test edi, edi
jne 0x432588
mov eax, dword [0x4d6b30]
inc esi
add ebp, 0xd4
cmp esi, eax
jl 0x4323e6
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x138]
sub eax, edx
cmp eax, ecx
jl 0x432221
mov eax, dword [esp + 0x134]
xor ebp, ebp
cmp eax, ebp
je 0x432461
call eax
push ebp
call fcn.004640ba
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
imul eax, dword [esp + 0x138]
cmp eax, 0x258
jle 0x432221
push 0x49e840
push 0x4d6a5a
mov dword [esp + 0x1c], ebp
call fcn.00419ed0
add esp, 8
test eax, eax
jne 0x432221
mov al, byte [esp + 0x13]
test al, al
jne 0x432221
mov eax, dword [0x4d6b28]
test eax, eax
jle 0x432221
xor esi, esi
mov eax, dword [0x4d6b24]
cmp dword [esi + eax], 0
jle 0x43256f
cmp dword [esi + eax + 0x1a8], 2
jne 0x43256f
push 0
mov byte [0x49deb0], 0
mov edx, dword [esi + eax]
push 0
push edx
push str.is_alive
call fcn.00430780
mov edi, eax
add esp, 0x10
test edi, edi
mov byte [0x49deb0], 1
je 0x43256f
cmp edi, 0x1393
mov eax, dword [0x4d6b24]
lea ecx, [esi + eax + 0xd8]
push ecx
lea edx, [esi + eax + 0x10a]
push edx
jne 0x43252d
push str.Blocked_socket_on_Client__s_on__s_npossibly_no_longer_alive
push 0x49e88c
call fcn.0041b0a0
add esp, 0x10
jmp 0x43256f
push str.Client__s_on__s_..._is_not_alive__close._n
push 0x49e8c0
call fcn.0041b0a0
add esp, 0x10
cmp edi, 0x1392
je 0x43256f
push ebp
call fcn.00432a20
mov ecx, dword [0x4d6b24]
mov eax, dword [esi + ecx + 0xd4]
add esp, 4
test eax, eax
je 0x43256f
lea ecx, [esi + ecx + 0xd8]
push ecx
push ebp
call eax
add esp, 8
mov eax, dword [0x4d6b28]
inc ebp
add esi, 0x1c0
cmp ebp, eax
jl 0x4324b6
jmp 0x432221
mov edx, dword [str.csl_com.c]
push 0x6e6
push edx
call fcn.0041cc10
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret