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

Disassembly:
sub esp, 0x120
mov eax, dword [0x4b8014]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x170]
test ecx, ecx
je 0x464a1b
push eax
push ecx
mov ecx, esi
call fcn.004655b0
mov ecx, dword [esp + 0x124]
pop edi
pop esi
xor ecx, esp
call fcn.00475a12
add esp, 0x120
ret 4
cmp dword [esi + 0x11c], 0
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
je 0x464bfa
mov eax, dword [esi + 0x120]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
push ecx
inc eax
mov dword [esp + 0x28], 1
push eax
call dword [sym.imp.WS2_32.dll_select]
mov edi, eax
cmp edi, 0xffffffff
jne 0x464aba
mov edx, dword [esp + 0x18]
xor ecx, ecx
test edx, edx
je 0x464c1a
mov eax, dword [esi + 0x120]
nop word [eax + eax]
cmp dword [esp + ecx*4 + 0x1c], eax
je 0x464a90
inc ecx
cmp ecx, edx
jb 0x464a80
jmp 0x464c1a
lea eax, [edx - 1]
cmp ecx, eax
jae 0x464c15
nop dword [eax + eax]
mov eax, dword [esp + ecx*4 + 0x20]
mov dword [esp + ecx*4 + 0x1c], eax
inc ecx
mov edx, dword [esp + 0x18]
lea eax, [edx - 1]
cmp ecx, eax
jae 0x464c15
jmp 0x464aa0
test edi, edi
jne 0x464b0a
mov edx, dword [esp + 0x18]
xor ecx, ecx
test edx, edx
je 0x464c37
mov eax, dword [esi + 0x120]
cmp dword [esp + ecx*4 + 0x1c], eax
je 0x464ae2
inc ecx
cmp ecx, edx
jb 0x464ad2
jmp 0x464c37
lea eax, [edx - 1]
cmp ecx, eax
jae 0x464c32
nop dword [eax]
mov eax, dword [esp + ecx*4 + 0x20]
mov dword [esp + ecx*4 + 0x1c], eax
inc ecx
mov edx, dword [esp + 0x18]
lea eax, [edx - 1]
cmp ecx, eax
jae 0x464c32
jmp 0x464af0
lea eax, [esp + 0x18]
push eax
push dword [esi + 0x120]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x464b8a
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 0x464b8a
mov edx, dword [esp + 0x18]
xor ecx, ecx
test edx, edx
je 0x464c57
mov eax, dword [esi + 0x120]
cmp dword [esp + ecx*4 + 0x1c], eax
je 0x464b63
inc ecx
cmp ecx, edx
jb 0x464b53
jmp 0x464c57
lea eax, [edx - 1]
cmp ecx, eax
jae 0x464c52
nop
mov eax, dword [esp + ecx*4 + 0x20]
mov dword [esp + ecx*4 + 0x1c], eax
inc ecx
mov edx, dword [esp + 0x18]
lea eax, [edx - 1]
cmp ecx, eax
jae 0x464c52
jmp 0x464b70
mov edx, dword [esp + 0x18]
xor ecx, ecx
test edx, edx
je 0x464bcd
mov eax, dword [esi + 0x120]
nop word [eax + eax]
cmp dword [esp + ecx*4 + 0x1c], eax
je 0x464bad
inc ecx
cmp ecx, edx
jb 0x464ba0
jmp 0x464bcd
lea eax, [edx - 1]
cmp ecx, eax
jae 0x464bc8
mov eax, dword [esp + ecx*4 + 0x20]
mov dword [esp + ecx*4 + 0x1c], eax
inc ecx
mov edx, dword [esp + 0x18]
lea eax, [edx - 1]
cmp ecx, eax
jb 0x464bb4
dec edx
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0x11c]
mov byte [edi + eax], 0
test edi, edi
jne 0x464a02
push 0x190
lea ecx, [esp + 0x10]
call fcn.004602d0
push 0x4b4ec8
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0x19a
lea ecx, [esp + 0x10]
call fcn.004602d0
push 0x4b4ec8
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
dec edx
mov dword [esp + 0x18], edx
push 0x6d
lea ecx, [esp + 0x10]
call fcn.004602d0
push 0x4b4ec8
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
dec edx
mov dword [esp + 0x18], edx
push 0x192
lea ecx, [esp + 0x10]
call fcn.004602d0
push 0x4b4ec8
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
dec edx
mov dword [esp + 0x18], edx
push 0x67
lea ecx, [esp + 0x10]
call fcn.004602d0
push 0x4b4ec8
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3