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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2124
call fcn.004ad4d0
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x211c], ecx
mov byte [ebp - 0x2014], 0
mov ecx, 0x7ff
xor eax, eax
lea edi, [ebp - 0x2013]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor edx, edx
mov dl, byte [0x76e990]
test edx, edx
je 0x44c673
mov dword [ebp - 0x2118], 0
mov dword [ebp - 0x2120], 0
jmp 0x44c495
mov eax, dword [ebp - 0x2120]
add eax, 1
mov dword [ebp - 0x2120], eax
mov ecx, dword [ebp - 0x2120]
cmp ecx, dword [ebp - 0x2118]
jae 0x44c4b9
mov edx, dword [ebp - 0x2120]
mov eax, dword [ebp + edx*4 - 0x2114]
cmp eax, dword [ebp - 0x10]
jne 0x44c4b7
jmp 0x44c4b9
jmp 0x44c486
mov ecx, dword [ebp - 0x2120]
cmp ecx, dword [ebp - 0x2118]
jne 0x44c4ef
cmp dword [ebp - 0x2118], 0x40
jae 0x44c4ef
mov edx, dword [ebp - 0x2120]
mov eax, dword [ebp - 0x10]
mov dword [ebp + edx*4 - 0x2114], eax
mov ecx, dword [ebp - 0x2118]
add ecx, 1
mov dword [ebp - 0x2118], ecx
xor edx, edx
test edx, edx
jne 0x44c47a
mov dword [ebp - 0x2124], 0
jmp 0x44c510
mov eax, dword [ebp - 0x2124]
add eax, 1
mov dword [ebp - 0x2124], eax
mov ecx, dword [ebp - 0x2124]
cmp ecx, dword [ebp - 0x2118]
jae 0x44c537
mov edx, dword [ebp - 0x2124]
mov eax, dword [ebp + edx*4 - 0x2114]
cmp eax, dword [ebp - 0x211c]
jne 0x44c535
jmp 0x44c537
jmp 0x44c501
mov ecx, dword [ebp - 0x2124]
cmp ecx, dword [ebp - 0x2118]
jne 0x44c570
cmp dword [ebp - 0x2118], 0x40
jae 0x44c570
mov edx, dword [ebp - 0x2124]
mov eax, dword [ebp - 0x211c]
mov dword [ebp + edx*4 - 0x2114], eax
mov ecx, dword [ebp - 0x2118]
add ecx, 1
mov dword [ebp - 0x2118], ecx
xor edx, edx
test edx, edx
jne 0x44c4f5
push 0
push 0
push 0
lea eax, [ebp - 0x2118]
push eax
push 0
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x44c59d
jmp 0x44c696
lea ecx, [ebp - 0x2118]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x44c607
push 0
push 0x2000
lea eax, [ebp - 0x2014]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x44c5d7
jmp 0x44c694
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x2014]
push eax
mov ecx, dword [ebp - 0x211c]
push ecx
call fcn.0044c3ac
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44c602
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 4]
je 0x44c607
jmp 0x44c692
lea eax, [ebp - 0x2118]
push eax
mov ecx, dword [ebp - 0x211c]
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x44c66e
push 0
push 0x2000
lea edx, [ebp - 0x2014]
push edx
mov eax, dword [ebp - 0x211c]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x44c644
jmp 0x44c690
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x2014]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0044c3ac
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44c66c
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 4]
je 0x44c66e
jmp 0x44c68e
jmp 0x44c460
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x211c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x44c698
jmp 0x44c673
jmp 0x44c673
jmp 0x44c673
jmp 0x44c673
jmp 0x44c673
pop edi
mov esp, ebp
pop ebp
ret 4