Function at 0x10011f80
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x101aa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], ecx
mov al, dl
mov edx, dword [ebp + 8]
mov byte [ebp - 0x111], al
mov dword [ebp - 0x11c], edx
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
cmp ecx, 0xffffffff
jne 0x1001200a
mov ecx, dword [0x101ace90]
mov eax, dword [0x101ace94]
cmp ecx, 0x257edfd1
jne 0x10011fcf
cmp eax, 0xb2ab117a
je 0x10011fde
cmp ecx, 0x257edfd0
jne 0x10011feb
cmp eax, 0xb2ab117a
jne 0x10011feb
mov al, 1
mov dword [ebx], 0x2719
jmp 0x100121fc
mov eax, dword [0x101ace88]
mov ecx, 0x101ace88
push 0x2719
mov eax, dword [eax + 0x18]
call eax
mov dword [ebx], 0x2719
jmp 0x100121fc
cmp byte [ebp + 0x14], 0
je 0x10012035
test al, 0x10
je 0x10012035
xorps xmm0, xmm0
xor eax, eax
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100459e9
mov esp, ebp
pop ebp
ret
push ebx
push ecx
push dword [ebp + 0xc]
call fcn.10011dd0
add esp, 0xc
test eax, eax
jns 0x1001220e
test byte [ebp - 0x111], 1
jne 0x1001220c
mov edi, dword [0x101ace90]
mov esi, dword [0x101ace94]
cmp edi, 0x257edfd1
jne 0x10012073
cmp esi, 0xb2ab117a
je 0x10012083
cmp edi, 0x257edfd0
jne 0x10012087
cmp esi, 0xb2ab117a
jne 0x10012087
mov al, 1
jmp 0x100120a7
mov eax, dword [0x101ace88]
mov ecx, 0x101ace88
push 0x2733
mov eax, dword [eax + 0x18]
call eax
mov esi, dword [0x101ace94]
mov edi, dword [0x101ace90]
movzx eax, al
lea edx, [ebp - 0x128]
add eax, 2
mov dword [ebp - 0x128], 0x2733
mov ecx, ebx
mov dword [ebp - 0x124], 0x101ace88
mov dword [ebp - 0x120], eax
call fcn.1000ee30
test al, al
jne 0x10012145
cmp edi, 0x257edfd1
jne 0x100120e8
cmp esi, 0xb2ab117a
je 0x100120f8
cmp edi, 0x257edfd0
jne 0x100120fc
cmp esi, 0xb2ab117a
jne 0x100120fc
mov al, 1
jmp 0x10012110
mov eax, dword [0x101ace88]
mov ecx, 0x101ace88
push 0x4d5
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
lea edx, [ebp - 0x134]
add eax, 2
mov dword [ebp - 0x134], 0x4d5
mov ecx, ebx
mov dword [ebp - 0x130], 0x101ace88
mov dword [ebp - 0x12c], eax
call fcn.1000ee30
test al, al
je 0x1001220c
mov esi, dword [ebp - 0x118]
lea eax, [ebp - 0x110]
push 0
push 0
push eax
push 0
lea eax, [esi + 1]
mov dword [ebp - 0x10c], esi
push eax
mov dword [ebp - 0x110], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x100121b2
mov edx, dword [ebp - 0x11c]
xorps xmm0, xmm0
push ebx
push ecx
push dword [ebp + 0xc]
movq qword [ebx], xmm0
mov ecx, esi
mov dword [ebx + 8], 0
call fcn.10011dd0
add esp, 0xc
test eax, eax
js 0x10012057
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100459e9
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [0x101ace90]
mov esi, eax
mov eax, dword [0x101ace94]
cmp ecx, 0x257edfd1
jne 0x100121d4
cmp eax, 0xb2ab117a
je 0x100121e3
cmp ecx, 0x257edfd0
jne 0x100121ea
cmp eax, 0xb2ab117a
jne 0x100121ea
test esi, esi
setne al
jmp 0x100121fa
mov eax, dword [0x101ace88]
mov ecx, 0x101ace88
push esi
mov eax, dword [eax + 0x18]
call eax
mov dword [ebx], esi
movzx eax, al
add eax, 2
mov dword [ebx + 4], 0x101ace88
mov dword [ebx + 8], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100459e9
mov esp, ebp
pop ebp
ret