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

Disassembly:
push 0xffffffffffffffff
push 0x1024d79b
mov eax, dword fs:[0]
push eax
sub esp, 0x124
push ebx
push ebp
push esi
push edi
mov eax, dword [0x102a8930]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x18], vtable.C3303::ByteString.0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x18]
push eax
push 4
mov eax, esi
mov dword [esp + 0x148], ebx
call fcn.10094b30
mov edi, eax
cmp edi, ebx
jle 0x10094fe6
mov dword [esp + 0x140], 0xffffffff
mov esi, dword [esp + 0x24]
cmp esi, ebx
je 0x10094fdf
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push esi
call fcn.10228aa0
add esp, 0xc
push esi
call fcn.1021b8de
add esp, 4
mov eax, edi
jmp 0x100951b4
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x10094ff4
cmp dword [esp + 0x1c], ebx
jne 0x10094ff9
mov eax, 0x1025bd4e
mov eax, dword [eax]
push eax
call sub.WSOCK32.dll_ntohl
mov edx, dword [esi + 0x1c]
push 0x102bda14
mov edi, eax
mov eax, dword [esi + 4]
push ebx
mov dword [0x102bda14], edx
push ebx
lea edx, [esp + 0x38]
inc eax
mov dword [0x102bda18], ebx
mov ecx, dword [esi + 4]
push edx
push eax
dec edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], 1
call sub.WSOCK32.dll_select
or ebp, 0xffffffff
cmp eax, ebp
jne 0x10095095
call sub.WSOCK32.dll_WSAGetLastError
push eax
push str._socketlib__fncselect_code0x_x
lea eax, [esi + 8]
call fcn.101e6de0
mov eax, dword [esi + 4]
add esp, 8
cmp eax, ebp
je 0x10095065
push eax
call sub.WSOCK32.dll_closesocket
mov dword [esi + 4], ebp
mov dword [esp + 0x140], ebp
mov esi, dword [esp + 0x24]
cmp esi, ebx
je 0x100951af
mov eax, dword [esp + 0x20]
push eax
push ebx
push esi
call fcn.10228aa0
add esp, 0xc
push esi
call fcn.1021b8de
add esp, 4
jmp 0x100951af
cmp eax, ebx
jne 0x100950d1
lea ecx, [esi + 8]
push ecx
mov edx, str.Receive_Body_TimeOut__
call fcn.101e5eb0
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x100950b7
push eax
call sub.WSOCK32.dll_closesocket
mov dword [esi + 4], ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x140], ebp
call fcn.101e5b00
mov eax, pe_nt_image_headers32
jmp 0x100951b4
mov eax, dword [esi + 4]
lea edx, [esp + 0x2c]
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x10095181
mov ecx, dword [esp + 0x148]
mov edx, dword [esi + 4]
push ebx
push 1
push ecx
push edx
call sub.WSOCK32.dll_recv
cmp eax, ebp
jne 0x10095134
call sub.WSOCK32.dll_WSAGetLastError
push eax
push str._socketlib__fncrecv_code0x_x
lea eax, [esi + 8]
call fcn.101e6de0
add esp, 8
call fcn.10094a00
lea ecx, [esp + 0x18]
mov dword [esp + 0x140], ebp
call fcn.101e5b00
mov eax, 2
jmp 0x100951b4
cmp eax, ebx
jne 0x1009514d
lea eax, [esi + 8]
push eax
mov edx, str.The_connection_closed..
call fcn.101e5eb0
call fcn.10094a00
jmp 0x1009519f
mov ecx, dword [esp + 0x14c]
push ecx
push edi
mov eax, esi
call fcn.10094b30
mov dword [esp + 0x140], ebp
lea ecx, [esp + 0x18]
test eax, eax
jle 0x10095178
call fcn.101e5b00
mov eax, 3
jmp 0x100951b4
call fcn.101e5b00
xor eax, eax
jmp 0x100951b4
lea edx, [esi + 8]
push edx
mov edx, str.FD_ISSET_failed__
call fcn.101e5eb0
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x1009519f
push eax
call sub.WSOCK32.dll_closesocket
mov dword [esi + 4], ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x140], ebp
call fcn.101e5b00
mov eax, 1
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret 8