Function at 0x100ef130
Capabilities:
Get socket status

Disassembly:
mov eax, 0x348
call fcn.101ebae0
mov eax, dword [0x102ab2c0]
xor eax, esp
mov dword [esp + 0x344], eax
mov eax, dword [esp + 0x364]
xor edx, edx
mov ecx, dword [esp + 0x354]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x358]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24c], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x44], edx
push edi
cmp esi, 0xffffffff
je 0x100ef1a1
cmp dword [esp + 0x360], edx
je 0x100ef1a1
mov dword [esp + 0x254], esi
mov dword [esp + 0x250], 1
cmp ecx, 0xffffffff
je 0x100ef1c1
cmp dword [esp + 0x368], edx
je 0x100ef1c1
mov dword [esp + 0x150], ecx
mov dword [esp + 0x14c], 1
cmp esi, 0xffffffff
je 0x100ef1d3
mov edx, 1
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edx
cmp ecx, 0xffffffff
je 0x100ef200
xor eax, eax
test edx, edx
je 0x100ef1eb
nop
cmp dword [esp + eax*4 + 0x4c], ecx
je 0x100ef1eb
inc eax
cmp eax, edx
jb 0x100ef1e0
cmp eax, edx
jne 0x100ef1fc
cmp edx, 0x40
jae 0x100ef1fc
mov dword [esp + eax*4 + 0x4c], ecx
inc dword [esp + 0x48]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x370]
cmp ecx, esi
mov ebx, dword [esp + 0x36c]
mov edi, ecx
cmovle edi, esi
cmp esi, 0xffffffff
jne 0x100ef230
cmp ecx, 0xffffffff
jne 0x100ef230
cmp ebp, ecx
jb 0x100ef230
ja 0x100ef229
cmp ebx, ecx
jb 0x100ef230
xor eax, eax
jmp 0x100ef41f
test eax, eax
je 0x100ef23d
push eax
call fcn.100ef890
add esp, 4
push ebp
push ebx
call fcn.100ef100
lea ecx, [edi + 1]
mov dword [esp + 0x3c], eax
add esp, 8
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x100ef25d
xor eax, eax
jmp 0x100ef3ca
call fcn.100caf60
cmp edx, ebp
jb 0x100ef275
ja 0x100ef26c
cmp eax, ebx
jbe 0x100ef275
mov ebx, 0x3e7
xor ecx, ecx
jmp 0x100ef2a2
sub ebx, eax
mov ecx, ebp
sbb ecx, edx
mov edx, ebx
mov eax, ecx
not edx
not eax
test eax, eax
ja 0x100ef299
jb 0x100ef291
cmp edx, 0x3e7
jae 0x100ef299
or ebx, 0xffffffff
or ecx, 0xffffffff
jmp 0x100ef2a2
add ebx, 0x3e7
adc ecx, 0
mov eax, ebx
mov dword [esp + 0x10], ebx
mov esi, 0x6d694b2f
mov ebp, 0x12e0be82
mul esi
mov dword [esp + 0x2c], eax
mov edi, edx
mov eax, ebx
mul ebp
mov ebx, eax
mov dword [esp + 0x14], edx
mov eax, ecx
mul esi
mov esi, eax
mov ebp, edx
mov eax, ecx
mov edx, 0x12e0be82
mul edx
add esi, edi
mov edi, 0x3b9aca00
mov dword [esp + 0x18], eax
adc ebp, 0
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
add ebx, esi
mov dword [esp + 0x2c], ebx
adc edx, 0
mov ebx, dword [esp + 0x24]
xor eax, eax
add ebp, edx
mov edx, dword [esp + 0x18]
adc eax, eax
add edx, ebp
mov ebp, dword [esp + 0x10]
adc ebx, eax
sub ebp, edx
mov eax, ecx
sbb eax, ebx
shrd ebp, eax, 1
shr eax, 1
add ebp, edx
adc eax, ebx
mov ebx, dword [esp + 0x10]
shrd ebp, eax, 0x1d
shr eax, 0x1d
mul edi
mov dword [esp + 0x2c], ebp
mov esi, eax
mov eax, ebp
mul edi
mov ebp, 0x624dd2f
add esi, edx
sub ebx, eax
mov eax, ebx
mov dword [esp + 0x10], ebx
sbb ecx, esi
mov esi, 0x1a9fbe77
mul esi
mov dword [esp + 0x24], eax
mov edi, edx
mov eax, ebx
mul ebp
mov ebx, eax
mov dword [esp + 0x24], edx
mov eax, ecx
mul esi
mov esi, eax
mov ebp, edx
mov eax, ecx
mov edx, 0x624dd2f
mul edx
add esi, edi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x24]
adc ebp, 0
add ebx, esi
mov dword [esp + 0x18], eax
adc edx, 0
xor eax, eax
add ebp, edx
adc eax, eax
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
add edx, ebp
mov ebp, dword [esp + 0x10]
adc ebx, eax
mov eax, dword [esp + 0x2c]
sub ebp, edx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
sbb ecx, ebx
shrd ebp, ecx, 1
shr ecx, 1
add ebp, edx
adc ecx, ebx
mov ebx, dword [esp + 0x36c]
shrd ebp, ecx, 9
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x370]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x154]
push eax
lea eax, [esp + 0x25c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100ef407
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x1c]
cmp eax, 0x2714
mov eax, dword [esp + 0x34]
je 0x100ef252
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100ef418
push eax
call fcn.100ef850
add esp, 4
not esi
shr esi, 0x1f
mov eax, esi
mov ecx, dword [esp + 0x354]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101ebfaa
add esp, 0x348
ret