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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2230
call fcn.00463360
push ebx
push esi
push edi
lea edi, [ebp - 0x2230]
mov ecx, 0x88c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4d8ed4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x2030], 0
push 0x1fff
push 0
lea eax, [ebp - 0x202f]
push eax
call fcn.0045ea40
add esp, 0xc
mov eax, 1
test eax, eax
je 0x44d0ea
mov dword [ebp - 0x213c], 0
mov dword [ebp - 0x2160], 0
jmp 0x44cec5
mov eax, dword [ebp - 0x2160]
add eax, 1
mov dword [ebp - 0x2160], eax
mov eax, dword [ebp - 0x2160]
cmp eax, dword [ebp - 0x213c]
jae 0x44cee9
mov eax, dword [ebp - 0x2160]
mov ecx, dword [ebp + eax*4 - 0x2138]
cmp ecx, dword [ebp - 0x1c]
jne 0x44cee7
jmp 0x44cee9
jmp 0x44ceb6
mov eax, dword [ebp - 0x2160]
cmp eax, dword [ebp - 0x213c]
jne 0x44cf1f
cmp dword [ebp - 0x213c], 0x40
jae 0x44cf1f
mov eax, dword [ebp - 0x2160]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x2138], ecx
mov eax, dword [ebp - 0x213c]
add eax, 1
mov dword [ebp - 0x213c], eax
xor eax, eax
jne 0x44ceaa
mov dword [ebp - 0x216c], 0
jmp 0x44cf3e
mov eax, dword [ebp - 0x216c]
add eax, 1
mov dword [ebp - 0x216c], eax
mov eax, dword [ebp - 0x216c]
cmp eax, dword [ebp - 0x213c]
jae 0x44cf62
mov eax, dword [ebp - 0x216c]
mov ecx, dword [ebp + eax*4 - 0x2138]
cmp ecx, dword [ebp - 0x28]
jne 0x44cf60
jmp 0x44cf62
jmp 0x44cf2f
mov eax, dword [ebp - 0x216c]
cmp eax, dword [ebp - 0x213c]
jne 0x44cf98
cmp dword [ebp - 0x213c], 0x40
jae 0x44cf98
mov eax, dword [ebp - 0x216c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x2138], ecx
mov eax, dword [ebp - 0x213c]
add eax, 1
mov dword [ebp - 0x213c], eax
xor eax, eax
jne 0x44cf23
mov esi, esp
push 0
push 0
push 0
lea eax, [ebp - 0x213c]
push eax
push 0
call dword [sym.imp.WS2_32.dll_select]
cmp esi, esp
call fcn.0045dfa0
mov dword [ebp - 0x2148], eax
cmp dword [ebp - 0x2148], 0
jg 0x44cfd3
jmp 0x44d0ea
lea eax, [ebp - 0x213c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x44d062
mov esi, esp
push 0
push 0x2000
lea eax, [ebp - 0x2030]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp esi, esp
call fcn.0045dfa0
mov dword [ebp - 0x2154], eax
cmp dword [ebp - 0x2154], 0
jg 0x44d021
jmp 0x44d0ea
mov eax, dword [ebp - 0x2154]
push eax
lea ecx, [ebp - 0x2030]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0044cd50
add esp, 0xc
mov dword [ebp - 0x2148], eax
cmp dword [ebp - 0x2148], 0
je 0x44d058
mov eax, dword [ebp - 0x2148]
cmp eax, dword [ebp - 0x2154]
je 0x44d062
jmp 0x44d0ea
lea eax, [ebp - 0x213c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x44d0e5
mov esi, esp
push 0
push 0x2000
lea eax, [ebp - 0x2030]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp esi, esp
call fcn.0045dfa0
mov dword [ebp - 0x2154], eax
cmp dword [ebp - 0x2154], 0
jg 0x44d0aa
jmp 0x44d0ea
mov eax, dword [ebp - 0x2154]
push eax
lea ecx, [ebp - 0x2030]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0044cd50
add esp, 0xc
mov dword [ebp - 0x2148], eax
cmp dword [ebp - 0x2148], 0
je 0x44d0e1
mov eax, dword [ebp - 0x2148]
cmp eax, dword [ebp - 0x2154]
je 0x44d0e5
jmp 0x44d0ea
jmp 0x44ce93
mov esi, esp
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp esi, esp
call fcn.0045dfa0
mov esi, esp
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp esi, esp
call fcn.0045dfa0
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x44d144]
call fcn.0045dfd0
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e500
add esp, 0x2230
cmp ebp, esp
call fcn.0045dfa0
mov esp, ebp
pop ebp
ret 4