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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe70
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x441d68
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x442000
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
call fcn.00404788
xor edi, edi
mov byte [ebp - 0x11], 1
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x441dc6
cmp dword [ebx + 0x7c], 0
je 0x441dc6
mov byte [ebp - 0x11], 0
mov edx, dword [ebx + 0x7c]
mov edi, edx
mov ecx, dword [ebx + 0x78]
xchg edx, ecx
call fcn.00402978
mov eax, dword [ebx + 0x84]
push eax
call sub.kernel32.dll_LocalFree_1
xor eax, eax
mov dword [ebx + 0x84], eax
xor eax, eax
mov dword [ebx + 0x7c], eax
jmp 0x441e41
cmp byte [ebp - 0x11], 0
je 0x441e41
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x160], 1
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x15c], eax
mov eax, dword [0x52fe68]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0
lea eax, [ebp - 0x160]
push eax
push 0
call sub.wsock32.dll_select
test eax, eax
jle 0x441fea
push 0
mov eax, dword [ebx + 0x74]
sub eax, edi
push eax
mov eax, dword [ebx + 0x78]
add eax, edi
push eax
mov eax, dword [ebx + 0x50]
push eax
call sub.wsock32.dll_recv
test eax, eax
jg 0x441e3f
test eax, eax
jne 0x441e31
test edi, edi
je 0x441e35
xor eax, eax
jmp 0x441e37
mov al, 1
mov byte [ebp - 9], al
jmp 0x441fea
add edi, eax
cmp dword [ebx + 8], 0
je 0x441fb7
push 3
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x170], eax
xor eax, eax
mov dword [ebp - 0x16c], eax
xor eax, eax
mov dword [ebp - 0x168], eax
xor eax, eax
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x170]
push eax
push 3
mov dword [ebp - 0x180], edi
xor eax, eax
mov dword [ebp - 0x17c], eax
xor eax, eax
mov dword [ebp - 0x178], eax
xor eax, eax
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x180]
push eax
push 3
mov dword [ebp - 0x190], 1
xor eax, eax
mov dword [ebp - 0x18c], eax
xor eax, eax
mov dword [ebp - 0x188], eax
xor eax, eax
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x190]
push eax
push 3
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x5c]
mov eax, ebx
call fcn.00441764
push 0
push 0
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebx + 0x54]
push eax
mov eax, dword [ebx + 8]
call dword [eax + 0x68]
sub eax, 0x80090318
je 0x441f96
sub eax, 0x7ff6fce8
je 0x441f13
sub eax, 0x90317
je 0x441fb1
sub eax, 0xa
je 0x441f9f
jmp 0x441fea
mov dword [ebp - 0x10], 4
lea esi, [ebp - 0x4c]
cmp dword [esi], 1
jne 0x441f44
cmp dword [esi - 4], 0
jbe 0x441f44
lea eax, [ebp - 0x18]
mov ecx, dword [esi - 4]
mov edx, dword [esi + 4]
call fcn.00404878
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
call fcn.00404a60
mov eax, dword [ebp - 4]
add esi, 0xc
dec dword [ebp - 0x10]
jne 0x441f1d
push ebp
lea eax, [ebp - 9]
call fcn.00441c78
pop ecx
test al, al
jne 0x441fea
xor edi, edi
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x10], 4
lea esi, [ebp - 0x4c]
cmp dword [esi], 5
jne 0x441f89
mov ecx, dword [esi - 4]
mov edx, dword [ebx + 0x78]
mov eax, dword [esi + 4]
call fcn.00402978
mov edi, dword [esi - 4]
jmp 0x441d88
add esi, 0xc
dec dword [ebp - 0x10]
jne 0x441f6e
jmp 0x441d88
mov byte [ebp - 0x11], 1
jmp 0x441d88
xor edx, edx
mov eax, ebx
call fcn.004418cc
test al, al
je 0x441fea
jmp 0x441d88
mov byte [ebp - 9], 1
jmp 0x441fea
lea eax, [ebp - 0x18]
mov ecx, edi
mov edx, dword [ebx + 0x78]
call fcn.00404878
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
call fcn.00404a60
mov eax, dword [ebp - 4]
xor edi, edi
mov byte [ebp - 0x11], 1
push ebp
lea eax, [ebp - 9]
call fcn.00441c78
pop ecx
test al, al
je 0x441d88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442007
lea eax, [ebp - 0x18]
call fcn.00404788
ret