Function at 0x4411c0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffad8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x528], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.00405ed4
xor eax, eax
push ebp
push 0x441438
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00405828
mov bl, 1
mov dword [ebp - 0x524], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x520], eax
mov dword [ebp - 0x20], 7
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0
lea eax, [ebp - 0x524]
push eax
push 0
call fcn.0042f0b8
test eax, eax
jle 0x441406
push 0
push 0x400
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.0042f0a8
mov edi, eax
push 0
lea edx, [ebp - 0x420]
lea eax, [ebp - 0xc]
mov ecx, edi
call fcn.00405960
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00405bf0
lea eax, [ebp - 8]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
mov esi, eax
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
cmp esi, eax
setg byte [ebp - 0x15]
cmp byte [ebp - 0x15], 0
je 0x44140a
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
mov esi, eax
test esi, esi
jle 0x4412eb
mov edi, 1
lea eax, [ebp - 8]
xor edx, edx
call fcn.00405a38
movzx eax, byte [eax + edi - 1]
push eax
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405a38
pop edx
cmp dl, byte [eax + edi - 1]
je 0x4412e7
mov byte [ebp - 0x15], 0
jmp 0x4412eb
inc edi
dec esi
jne 0x4412c0
cmp byte [ebp - 0x15], 0
je 0x44140a
lea eax, [ebp - 8]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
mov esi, eax
test esi, esi
jle 0x44132a
mov edi, 1
mov eax, dword [ebp - 8]
cmp byte [eax + edi - 1], 0x3d
jne 0x441326
lea eax, [ebp - 8]
call fcn.00405f5c
mov byte [eax + edi - 1], 0x20
inc edi
dec esi
jne 0x44130f
mov eax, dword [ebp - 8]
cmp byte [eax + 3], 0x2d
setne bl
push 0x7fffffff
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, 0x441458
call fcn.0040c45c
mov edi, eax
test edi, edi
jne 0x441356
mov edi, 0x7ffffffe
cmp dword [ebp - 0x14], 0
je 0x4413d8
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0
jne 0x4413d8
lea eax, [ebp - 0xc]
push eax
mov ecx, edi
sub ecx, 5
mov edx, 5
mov eax, dword [ebp - 8]
call fcn.00405f64
mov edx, dword [ebp - 0xc]
mov eax, 0x441468
call fcn.0040ce44
test al, al
je 0x4413d8
push 0x7fffffff
lea eax, [ebp - 0x528]
push eax
mov ecx, 0x7fffffff
mov edx, 5
mov eax, dword [ebp - 0xc]
call fcn.00405f64
lea eax, [ebp - 0x528]
mov edx, 0x44147c
call fcn.00405bf0
mov edx, dword [ebp - 0x528]
mov ecx, 1
mov eax, 0x44148c
call fcn.0040c548
test eax, eax
jle 0x4413d8
mov eax, dword [ebp - 0x14]
mov byte [eax], 1
lea ecx, [edi + 1]
lea eax, [ebp - 8]
mov edx, 1
call fcn.00405fc8
test bl, bl
jne 0x44140a
lea eax, [ebp - 8]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
cmp eax, 4
jge 0x44132a
jmp 0x44140a
mov byte [ebp - 0x15], 0
test bl, bl
je 0x441201
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44143f
lea eax, [ebp - 0x528]
call fcn.00405828
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040584c
ret