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

Disassembly:
sub esp, 0x114
mov eax, dword [0x4af040]
xor eax, esp
mov dword [esp + 0x110], eax
push esi
mov esi, ecx
mov ecx, dword [esp + 0x11c]
mov eax, dword [esi + 0x170]
test eax, eax
je 0x462959
push ecx
push eax
mov ecx, esi
call fcn.00463352
jmp 0x462b39
mov eax, dword [ecx + 8]
push ebx
xor ebx, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
cmp dword [esi + 0x11c], ebx
je 0x462b51
mov eax, dword [esi + 0x120]
lea ecx, [esp + 0xc]
push edi
push ecx
push ebx
push ebx
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 0x4629eb
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x462b71
mov eax, dword [esi + 0x120]
cmp dword [esp + ebx*4 + 0x1c], eax
je 0x4629c3
inc ebx
cmp ebx, ecx
jb 0x4629b3
jmp 0x462b71
lea eax, [ecx - 1]
cmp ebx, eax
jae 0x462b6c
lea edx, [esp + 0x20]
mov eax, dword [edx + ebx*4]
mov dword [esp + ebx*4 + 0x1c], eax
inc ebx
mov ecx, dword [esp + 0x18]
lea eax, [ecx - 1]
cmp ebx, eax
jae 0x462b6c
jmp 0x4629d2
test edi, edi
jne 0x462a47
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x462a2d
mov eax, dword [esi + 0x120]
cmp dword [esp + ebx*4 + 0x1c], eax
je 0x462a0a
inc ebx
cmp ebx, ecx
jb 0x4629fd
jmp 0x462a2d
lea eax, [ecx - 1]
cmp ebx, eax
jae 0x462a28
lea edx, [esp + 0x20]
mov eax, dword [edx + ebx*4]
mov dword [esp + ebx*4 + 0x1c], eax
inc ebx
mov ecx, dword [esp + 0x18]
lea eax, [ecx - 1]
cmp ebx, eax
jb 0x462a15
dec ecx
mov dword [esp + 0x18], ecx
push 0x192
lea ecx, [esp + 0x10]
call fcn.0045f7e8
push 0x4ac194
mov eax, ecx
jmp 0x462b83
lea eax, [esp + 0x18]
push eax
push dword [esi + 0x120]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x462ad0
push ebx
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 0x462ad0
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x462ab9
mov eax, dword [esi + 0x120]
cmp dword [esp + ebx*4 + 0x1c], eax
je 0x462a96
inc ebx
cmp ebx, ecx
jb 0x462a89
jmp 0x462ab9
lea eax, [ecx - 1]
cmp ebx, eax
jae 0x462ab4
lea edx, [esp + 0x20]
mov eax, dword [edx + ebx*4]
mov dword [esp + ebx*4 + 0x1c], eax
inc ebx
mov ecx, dword [esp + 0x18]
lea eax, [ecx - 1]
cmp ebx, eax
jb 0x462aa1
dec ecx
mov dword [esp + 0x18], ecx
push 0x67
lea ecx, [esp + 0x10]
call fcn.0045f7e8
push 0x4ac194
mov eax, ecx
jmp 0x462b83
mov edx, dword [esp + 0x18]
mov ecx, ebx
test edx, edx
je 0x462b13
mov eax, dword [esi + 0x120]
cmp dword [esp + ecx*4 + 0x1c], eax
je 0x462aed
inc ecx
cmp ecx, edx
jb 0x462ae0
jmp 0x462b13
lea eax, [edx - 1]
cmp ecx, eax
jae 0x462b0e
push ebp
lea ebp, [esp + 0x24]
mov eax, dword [ebp + ecx*4]
mov dword [esp + ecx*4 + 0x20], eax
inc ecx
mov edx, dword [esp + 0x1c]
lea eax, [edx - 1]
cmp ecx, eax
jb 0x462af9
pop ebp
dec edx
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0x11c]
mov byte [edi + eax], bl
test edi, edi
jne 0x462b37
push 0x190
lea ecx, [esp + 0x10]
call fcn.0045f7e8
push 0x4ac194
mov eax, ecx
jmp 0x462b83
pop edi
pop ebx
mov ecx, dword [esp + 0x114]
pop esi
xor ecx, esp
call fcn.0046f100
add esp, 0x114
ret 4
push 0x19a
lea ecx, [esp + 0xc]
call fcn.0045f7e8
push 0x4ac194
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
dec ecx
mov dword [esp + 0x18], ecx
push 0x6d
lea ecx, [esp + 0x10]
call fcn.0045f7e8
push 0x4ac194
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3