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

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
xor ebp, ebp
mov esi, eax
mov dword [esp + 0x18], ebp
cmp edi, ebp
je 0x10094bd5
mov eax, dword [edi + 0xc]
cmp eax, ebp
je 0x10094b66
mov ecx, dword [edi + 4]
push ecx
push ebp
push eax
call fcn.10228aa0
add esp, 0xc
mov dword [edi + 4], ebp
mov dword [edi + 0x10], ebp
mov eax, dword [esi + 0x1b0]
cmp eax, ebp
je 0x10094ba5
mov edx, dword [esp + 0x128]
push edx
push str.ToBeRead_length_:__d
push str.CTCPComm::Recv
mov ecx, 0xe5
mov edi, str......._srcDSToolkitDSToolkit_TCP.cpp
mov edx, str.INFO
mov ebx, eax
mov dword [esp + 0x24], eax
call fcn.1007a350
add esp, 0xc
mov edi, dword [esp + 0x128]
inc edi
push edi
call fcn.10226586
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
cmp ebx, ebp
jne 0x10094be7
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x10094bd5
push eax
call sub.WSOCK32.dll_closesocket
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 8
push edi
push ebp
push ebx
call fcn.10228aa0
add esp, 0xc
cmp dword [esp + 0x128], ebp
jle 0x10094ccc
nop
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 4]
push 0x102bda0c
push 0
mov dword [0x102bda0c], ecx
push 0
lea ecx, [esp + 0x28]
inc eax
mov dword [0x102bda10], 0
mov edx, dword [esi + 4]
push ecx
push eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], 1
call sub.WSOCK32.dll_select
cmp eax, 0xffffffff
je 0x10094cf8
test eax, eax
je 0x10094d2b
mov eax, dword [esi + 4]
lea edx, [esp + 0x1c]
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x10094d90
mov ecx, dword [esp + 0x128]
mov edx, dword [esi + 4]
push 0
sub ecx, ebp
push ecx
add ebx, ebp
push ebx
push edx
call sub.WSOCK32.dll_recv
mov edi, eax
cmp edi, 0xffffffff
je 0x10094d59
test edi, edi
je 0x10094d73
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10094cb9
push str.Recv_message
push edi
push ebx
push str.CTCPComm::Recv
push str......._srcDSToolkitDSToolkit_TCP.cpp
mov ecx, 0x142
mov edx, str.INFO
mov ebx, eax
call fcn.1007a480
add esp, 0x14
mov ebx, dword [esp + 0x14]
add ebp, edi
cmp ebp, dword [esp + 0x128]
jl 0x10094c00
mov edi, dword [esp + 0x128]
mov esi, dword [esp + 0x12c]
push ebx
call fcn.101e5d60
push ebx
call fcn.102264a9
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 8
call sub.WSOCK32.dll_WSAGetLastError
push eax
push str._socketlib__fncselect_code0x_x
lea eax, [esi + 8]
call fcn.101e6de0
push ebx
call fcn.102264a9
add esp, 0xc
call fcn.10094a00
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 8
lea eax, [esi + 8]
push eax
mov edx, str.Receive_Body_TimeOut__
call fcn.101e5eb0
push ebx
call fcn.102264a9
add esp, 4
call fcn.10094a00
mov eax, pe_nt_image_headers32
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 8
call sub.WSOCK32.dll_WSAGetLastError
push eax
push str._socketlib__fncrecv_code0x_x
lea eax, [esi + 8]
call fcn.101e6de0
mov ecx, dword [esp + 0x1c]
push ecx
jmp 0x10094d0c
lea edx, [esi + 8]
push edx
mov edx, str.The_connection_closed..
call fcn.101e5eb0
mov eax, dword [esp + 0x14]
push eax
call fcn.102264a9
add esp, 4
jmp 0x10094d14
lea ecx, [esi + 8]
push ecx
mov edx, str.FD_ISSET_failed__
call fcn.101e5eb0
push ebx
call fcn.102264a9
add esp, 4
call fcn.10094a00
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x114
ret 8