Function at 0x4b80b0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x108], 0
test edi, edi
je 0x4b81ed
test byte [ebx + esi*8 + 4], 1
je 0x4b8164
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 4
push eax
lea eax, [ebp - 0x110]
push eax
push 0xb
push 0
push dword [ebx + esi*8]
call fcn.004b71d0
add esp, 0x14
test eax, eax
js 0x4b8264
cmp dword [ebp - 0x10c], 4
jne 0x4b83e4
mov ecx, dword [ebp - 0x108]
xor eax, eax
mov edx, dword [ebp - 0x110]
test ecx, ecx
je 0x4b814e
jmp 0x4b8140
cmp dword [ebp + eax*4 - 0x104], edx
je 0x4b814e
inc eax
cmp eax, ecx
jb 0x4b8140
cmp eax, ecx
jne 0x4b8164
cmp ecx, 0x40
jae 0x4b8164
mov dword [ebp + eax*4 - 0x104], edx
inc dword [ebp - 0x108]
test byte [ebx + esi*8 + 4], 2
je 0x4b81e4
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 4
push eax
lea eax, [ebp - 0x110]
push eax
push 0xa
push 0
push dword [ebx + esi*8]
call fcn.004b71d0
add esp, 0x14
test eax, eax
js 0x4b8264
cmp dword [ebp - 0x10c], 4
jne 0x4b841e
mov ecx, dword [ebp - 0x108]
xor eax, eax
mov edx, dword [ebp - 0x110]
test ecx, ecx
je 0x4b81ce
lea esp, [esp]
cmp dword [ebp + eax*4 - 0x104], edx
je 0x4b81ce
inc eax
cmp eax, ecx
jb 0x4b81c0
cmp eax, ecx
jne 0x4b81e4
cmp ecx, 0x40
jae 0x4b81e4
mov dword [ebp + eax*4 - 0x104], edx
inc dword [ebp - 0x108]
inc esi
cmp esi, edi
jne 0x4b80e6
mov esi, dword [ebp + 0x10]
mov eax, 0x10624dd3
imul esi
mov ecx, esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x120], eax
imul eax, eax, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [ebp - 0x11c], eax
test edi, edi
je 0x4b83c4
lea eax, [ebp - 0x120]
push eax
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push 0xffffffffffffffff
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x4b83d1
cmp eax, 0xffffffff
jne 0x4b8278
call fcn.00724f21
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.004bea10
add esp, 4
mov dword [esi], eax
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x118]
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x114], ebx
add esi, 6
jmp 0x4b8290
xor eax, eax
test byte [esi - 2], 1
mov word [esi], ax
je 0x4b82f7
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 4
push eax
lea eax, [ebp - 0x110]
push eax
push 0xb
push 0
push dword [esi - 6]
call fcn.004b71d0
add esp, 0x14
mov dword [ebp - 0x118], eax
test eax, eax
js 0x4b8384
cmp dword [ebp - 0x10c], 4
jne 0x4b8458
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x110]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4b82f7
or word [esi], 1
test byte [esi - 2], 2
je 0x4b8357
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 4
push eax
lea eax, [ebp - 0x110]
push eax
push 0xa
push 0
push dword [esi - 6]
call fcn.004b71d0
mov ebx, eax
add esp, 0x14
test ebx, ebx
js 0x4b83a7
cmp dword [ebp - 0x10c], 4
jne 0x4b8492
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x110]
call sub.WS2_32.dll___WSAFDIsSet
mov ebx, dword [ebp - 0x114]
test eax, eax
je 0x4b8357
or word [esi], 2
cmp word [esi], 0
je 0x4b8364
inc ebx
mov dword [ebp - 0x114], ebx
inc edi
add esi, 8
cmp edi, dword [ebp + 0xc]
jne 0x4b8290
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
call fcn.00724f21
mov ecx, dword [ebp - 0x118]
pop edi
neg ecx
pop esi
mov dword [eax], ecx
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
call fcn.00724f21
neg ebx
pop edi
pop esi
mov dword [eax], ebx
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
test esi, esi
jle 0x4b83d1
push esi
call fcn.004beda0
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00722035
mov esp, ebp
pop ebp
ret
call fcn.005f0da0
push 0x33
push str.C:.conan76myf3u_1_source_subfolder_srccorepoll.c
push str.sz__sizeof__fd_
push str.Assertion_failed:__s___s:_d__n
call fcn.00724777
add eax, 0x40
push eax
call fcn.0072663b
call fcn.00724777
add eax, 0x40
push eax
call fcn.00723db0
add esp, 0x18
call fcn.004be7e0
call fcn.005f0da0
push 0x3c
push str.C:.conan76myf3u_1_source_subfolder_srccorepoll.c
push str.sz__sizeof__fd_
push str.Assertion_failed:__s___s:_d__n
call fcn.00724777
add eax, 0x40
push eax
call fcn.0072663b
call fcn.00724777
add eax, 0x40
push eax
call fcn.00723db0
add esp, 0x18
call fcn.004be7e0
call fcn.005f0da0
push 0x61
push str.C:.conan76myf3u_1_source_subfolder_srccorepoll.c
push str.sz__sizeof__fd_
push str.Assertion_failed:__s___s:_d__n
call fcn.00724777
add eax, 0x40
push eax
call fcn.0072663b
call fcn.00724777
add eax, 0x40
push eax
call fcn.00723db0
add esp, 0x18
call fcn.004be7e0
call fcn.005f0da0
push 0x6c
push str.C:.conan76myf3u_1_source_subfolder_srccorepoll.c
push str.sz__sizeof__fd_
push str.Assertion_failed:__s___s:_d__n
call fcn.00724777
add eax, 0x40
push eax
call fcn.0072663b
call fcn.00724777
add eax, 0x40
push eax
call fcn.00723db0
add esp, 0x18
call fcn.004be7e0
int3