Function at 0x48d150
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push edi
push 0x668d40
movq qword [ebp - 0x1c], xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
call fcn.0047e9d0
mov eax, dword [0x668d6c]
mov esi, dword [ebp + 8]
push 0x668d40
mov esi, dword [eax + esi*4]
call fcn.0047e9e0
mov eax, dword [ebp + 0x10]
mov esi, dword [esi + 0x60]
cdq
push edx
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
call fcn.0047f390
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.00490570
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00490570
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.00490570
mov ebx, dword [ebp + 0xc]
add esp, 0x2c
mov eax, dword [ebx]
test al, 1
je 0x48d1fa
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.00490570
mov edi, dword [ebp - 0x1c]
add esp, 8
mov eax, dword [edi]
mov dword [edi + eax*4 + 4], esi
inc dword [edi]
mov eax, dword [ebx]
jmp 0x48d1fd
mov edi, dword [ebp - 0x1c]
test al, 2
je 0x48d220
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00490570
mov ebx, dword [ebp - 0x28]
add esp, 8
mov eax, dword [ebx]
mov dword [ebx + eax*4 + 4], esi
mov eax, dword [ebp + 0xc]
inc dword [ebx]
mov eax, dword [eax]
jmp 0x48d223
mov ebx, dword [ebp - 0x28]
test al, 4
je 0x48d244
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.00490570
mov esi, dword [ebp - 0x34]
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [esi]
mov dword [esi + eax*4 + 4], ecx
inc dword [esi]
jmp 0x48d247
mov esi, dword [ebp - 0x34]
mov eax, dword [0x654c98]
test eax, eax
je 0x48d25f
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x48d25f
push dword [ebp + 8]
call eax
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x10]
cmp dword [ebp + 0x10], eax
cmovl ecx, eax
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 8], eax
je 0x48d30d
test edi, edi
je 0x48d282
cmp dword [edi], 0
jne 0x48d294
test ebx, ebx
je 0x48d28b
cmp dword [ebx], 0
jne 0x48d294
test esi, esi
je 0x48d30d
cmp dword [esi], 0
je 0x48d30d
push ecx
push esi
push ebx
push edi
push eax
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.00590b90
mov ecx, eax
add esp, 4
mov dword [ebp + 8], ecx
test ecx, ecx
jns 0x48d324
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov dword [ebp + 0x10], eax
mov ecx, dword [eax + 0x28f0]
test ecx, ecx
je 0x48d2ca
mov eax, ecx
jmp 0x48d2da
call fcn.00596e90
mov ecx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x28f0]
cmp dword [ecx], 0x2726
jne 0x48d2f6
test eax, eax
jne 0x48d2eb
call fcn.00596e90
mov dword [eax], 0x2714
mov ecx, dword [ebp + 8]
jmp 0x48d324
test eax, eax
jne 0x48d2ff
call fcn.00596e90
cmp dword [eax], 0x2736
je 0x48d39b
jmp 0x48d2f1
push 1
push ecx
call fcn.0047f5c0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SleepEx]
xor ecx, ecx
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
test ecx, ecx
jle 0x48d36a
push edi
push dword [ebp - 4]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x48d344
mov eax, dword [ebp + 0xc]
or dword [eax], 1
push ebx
push dword [ebp - 4]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x48d357
mov eax, dword [ebp + 0xc]
or dword [eax], 2
push esi
push dword [ebp - 4]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x48d36a
mov eax, dword [ebp + 0xc]
or dword [eax], 4
test edi, edi
je 0x48d377
push edi
call fcn.00596eae
add esp, 4
test ebx, ebx
je 0x48d384
push ebx
call fcn.00596eae
add esp, 4
test esi, esi
je 0x48d391
push esi
call fcn.00596eae
add esp, 4
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
push edi
push dword [ebp - 8]
call fcn.0048bc20
int3