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

Disassembly:
mov eax, 0x1134
call fcn.0043ae00
mov eax, dword [0x51a834]
push ebx
push ebp
push esi
xor esi, esi
push edi
test eax, eax
jle 0x423a2b
mov ebx, dword [sym.imp.WS2_32.dll_listen]
mov edi, 0x517184
mov eax, dword [edi]
push 0x40
push eax
call ebx
mov eax, dword [0x51a834]
inc esi
add edi, 0x118
cmp esi, eax
jl 0x423a14
mov ecx, dword [0x46ed38]
test ecx, ecx
je 0x423c26
mov ebp, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x34], 1
cmp eax, edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x3c], edx
jle 0x423a9b
mov edi, 0x517184
mov ebx, eax
xor eax, eax
test edx, edx
jbe 0x423a7a
mov esi, dword [edi]
lea ecx, [esp + 0x40]
cmp dword [ecx], esi
je 0x423a7a
inc eax
add ecx, 4
cmp eax, edx
jb 0x423a6e
cmp eax, edx
jne 0x423a92
cmp edx, 0x40
jae 0x423a92
mov ecx, dword [edi]
mov dword [esp + eax*4 + 0x40], ecx
mov edx, dword [esp + 0x3c]
inc edx
mov dword [esp + 0x3c], edx
add edi, 0x118
dec ebx
jne 0x423a62
lea edx, [esp + 0x34]
lea eax, [esp + 0x3c]
push edx
push 0
push 0
push eax
push 0x40
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x423c13
jl 0x423c26
mov eax, dword [0x51a834]
xor ebx, ebx
test eax, eax
jle 0x423c18
mov esi, 0x517184
mov edx, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x423bfd
mov eax, dword [esi + 4]
test eax, eax
jne 0x423b08
mov edx, dword [esi]
push 0
lea eax, [esp + 0x20]
push 0
lea ecx, [esp + 0x2c]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSAAccept]
mov ebp, eax
cmp dword [esi + 4], 1
jne 0x423bbe
mov al, byte [0x473aa0]
mov ecx, 0x400
mov byte [esp + 0x140], al
xor eax, eax
lea edi, [esp + 0x141]
push 0
rep stosd dword es:[edi], eax
mov eax, 0x1000
lea ecx, [esp + 0x144]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
lea edx, [esp + 0x20]
mov dword [esp + 0x18], ecx
push 0
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x30]
push ecx
mov ecx, dword [esi]
push edx
lea eax, [esp + 0x28]
push 1
push eax
push ecx
mov dword [esp + 0x3c], 0
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
neg eax
sbb eax, eax
push ebx
not eax
and eax, edx
lea edx, [esp + 0x14]
push 0xffffffffffffffff
push edx
mov edx, dword [esp + 0x34]
sub esp, 0x10
mov dword [esp + 0x2c], eax
mov eax, esp
push 8
lea ebp, [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.0041db90
add esp, 0x20
jmp 0x423bfd
cmp ebp, 0xffffffff
je 0x423c26
mov ecx, dword [esp + 0x24]
push ebx
push 0xffffffffffffffff
push ebp
mov edx, dword [esp + 0x34]
sub esp, 0x10
mov eax, esp
push 8
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.0041db90
add esp, 0x20
cmp eax, 0xffffffff
jne 0x423bfd
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [0x51a834]
inc ebx
add esi, 0x118
cmp ebx, eax
jl 0x423ad3
jmp 0x423c18
mov eax, dword [0x51a834]
mov ecx, dword [0x46ed38]
test ecx, ecx
jne 0x423a3d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1134
ret