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

Disassembly:
sub esp, 0x110
push esi
mov esi, ecx
mov eax, dword [esi + 0x170]
test eax, eax
je 0x46853a
push dword [esp + 0x118]
push eax
call fcn.004687b0
pop esi
add esp, 0x110
ret 4
cmp dword [esi + 0x11c], 0
mov eax, dword [esp + 0x118]
mov dword [esp + 0xc], 0
mov eax, dword [eax + 8]
mov dword [esp + 8], eax
je 0x46870a
mov eax, dword [esi + 0x120]
lea ecx, [esp + 8]
push edi
push ecx
push 0
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], eax
push ecx
inc eax
mov dword [esp + 0x24], 1
push eax
call dword [sym.imp.WS2_32.dll_select]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4685da
mov edx, dword [esp + 0x14]
xor ecx, ecx
test edx, edx
je 0x46872c
mov eax, dword [esi + 0x120]
cmp dword [esp + ecx*4 + 0x18], eax
je 0x4685b1
inc ecx
cmp ecx, edx
jb 0x4685a1
jmp 0x46872c
lea eax, [edx - 1]
cmp ecx, eax
jae 0x468727
nop dword [eax]
mov eax, dword [esp + ecx*4 + 0x1c]
mov dword [esp + ecx*4 + 0x18], eax
inc ecx
mov edx, dword [esp + 0x14]
lea eax, [edx - 1]
cmp ecx, eax
jae 0x468727
jmp 0x4685c0
test edi, edi
jne 0x46862a
mov edx, dword [esp + 0x14]
xor ecx, ecx
test edx, edx
je 0x46874b
mov eax, dword [esi + 0x120]
cmp dword [esp + ecx*4 + 0x18], eax
je 0x468602
inc ecx
cmp ecx, edx
jb 0x4685f2
jmp 0x46874b
lea eax, [edx - 1]
cmp ecx, eax
jae 0x468746
nop dword [eax]
mov eax, dword [esp + ecx*4 + 0x1c]
mov dword [esp + ecx*4 + 0x18], eax
inc ecx
mov edx, dword [esp + 0x14]
lea eax, [edx - 1]
cmp ecx, eax
jae 0x468746
jmp 0x468610
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x120]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4686aa
push 0
push 0x2800
push dword [esi + 0x11c]
push dword [esi + 0x120]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4686aa
mov edx, dword [esp + 0x14]
xor ecx, ecx
test edx, edx
je 0x46876d
mov eax, dword [esi + 0x120]
cmp dword [esp + ecx*4 + 0x18], eax
je 0x468682
inc ecx
cmp ecx, edx
jb 0x468672
jmp 0x46876d
lea eax, [edx - 1]
cmp ecx, eax
jae 0x468768
nop dword [eax]
mov eax, dword [esp + ecx*4 + 0x1c]
mov dword [esp + ecx*4 + 0x18], eax
inc ecx
mov edx, dword [esp + 0x14]
lea eax, [edx - 1]
cmp ecx, eax
jae 0x468768
jmp 0x468690
mov edx, dword [esp + 0x14]
xor ecx, ecx
test edx, edx
je 0x4686ed
mov eax, dword [esi + 0x120]
nop word [eax + eax]
cmp dword [esp + ecx*4 + 0x18], eax
je 0x4686cd
inc ecx
cmp ecx, edx
jb 0x4686c0
jmp 0x4686ed
lea eax, [edx - 1]
cmp ecx, eax
jae 0x4686e8
mov eax, dword [esp + ecx*4 + 0x1c]
mov dword [esp + ecx*4 + 0x18], eax
inc ecx
mov edx, dword [esp + 0x14]
lea eax, [edx - 1]
cmp ecx, eax
jb 0x4686d4
dec edx
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x11c]
mov byte [edi + eax], 0
test edi, edi
je 0x468787
pop edi
pop esi
add esp, 0x110
ret 4
push 0x19a
lea ecx, [esp + 8]
call fcn.00463e00
push 0x67c874
lea eax, [esp + 8]
push eax
call fcn.005cb59c
dec edx
mov dword [esp + 0x14], edx
push 0x6d
lea ecx, [esp + 0xc]
call fcn.00463e00
push 0x67c874
lea eax, [esp + 0xc]
push eax
call fcn.005cb59c
dec edx
mov dword [esp + 0x14], edx
push 0x192
lea ecx, [esp + 0xc]
call fcn.00463e00
push 0x67c874
lea eax, [esp + 0xc]
push eax
call fcn.005cb59c
dec edx
mov dword [esp + 0x14], edx
push 0x67
lea ecx, [esp + 0xc]
call fcn.00463e00
push 0x67c874
lea eax, [esp + 0xc]
push eax
call fcn.005cb59c
push 0x190
lea ecx, [esp + 0xc]
call fcn.00463e00
push 0x67c874
lea eax, [esp + 0xc]
push eax
call fcn.005cb59c
int3