Function at 0x462c39
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 0x462c5e
push dword [esp + 0x118]
push eax
call fcn.00463605
jmp 0x462e45
mov eax, dword [esp + 0x118]
push ebx
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov eax, dword [eax + 8]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x11c], ebx
je 0x462e4f
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 0x462cf7
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x462e6f
mov eax, dword [esi + 0x120]
cmp dword [esp + ebx*4 + 0x1c], eax
je 0x462ccf
inc ebx
cmp ebx, ecx
jb 0x462cbf
jmp 0x462e6f
lea eax, [ecx - 1]
cmp ebx, eax
jae 0x462e6a
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 0x462e6a
jmp 0x462cde
test edi, edi
jne 0x462d53
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x462d39
mov eax, dword [esi + 0x120]
cmp dword [esp + ebx*4 + 0x1c], eax
je 0x462d16
inc ebx
cmp ebx, ecx
jb 0x462d09
jmp 0x462d39
lea eax, [ecx - 1]
cmp ebx, eax
jae 0x462d34
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 0x462d21
dec ecx
mov dword [esp + 0x18], ecx
push 0x192
lea ecx, [esp + 0x10]
call fcn.00460048
push 0x4aedb8
mov eax, ecx
jmp 0x462e81
lea eax, [esp + 0x18]
push eax
push dword [esi + 0x120]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x462ddc
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 0x462ddc
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x462dc5
mov eax, dword [esi + 0x120]
cmp dword [esp + ebx*4 + 0x1c], eax
je 0x462da2
inc ebx
cmp ebx, ecx
jb 0x462d95
jmp 0x462dc5
lea eax, [ecx - 1]
cmp ebx, eax
jae 0x462dc0
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 0x462dad
dec ecx
mov dword [esp + 0x18], ecx
push 0x67
lea ecx, [esp + 0x10]
call fcn.00460048
push 0x4aedb8
mov eax, ecx
jmp 0x462e81
mov edx, dword [esp + 0x18]
mov ecx, ebx
test edx, edx
je 0x462e1f
mov eax, dword [esi + 0x120]
cmp dword [esp + ecx*4 + 0x1c], eax
je 0x462df9
inc ecx
cmp ecx, edx
jb 0x462dec
jmp 0x462e1f
lea eax, [edx - 1]
cmp ecx, eax
jae 0x462e1a
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 0x462e05
pop ebp
dec edx
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0x11c]
mov byte [edi + eax], bl
test edi, edi
jne 0x462e43
push 0x190
lea ecx, [esp + 0x10]
call fcn.00460048
push 0x4aedb8
mov eax, ecx
jmp 0x462e81
pop edi
pop ebx
pop esi
add esp, 0x110
ret 4
push 0x19a
lea ecx, [esp + 0xc]
call fcn.00460048
push 0x4aedb8
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.00460048
push 0x4aedb8
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3