Function at 0x7ff6baffccf0
Capabilities:
Get socket status

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x7ff6bb0bb010]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, qword [rbp + 0x220]
mov rax, r8
mov qword [rsp + 0x68], rax
movzx r13d, dl
mov qword [rsp + 0x60], r9
mov r12, rcx
cmp rcx, 0xffffffffffffffff
jne 0x7ff6baffcdad
mov rcx, qword [0x7ff6bb0bb088]
lea r14, [0x7ff6bb0bb080]
xor edi, edi
movabs r15, 0x4d54ee85da812030
add rcx, r15
mov dword [rsp + 0x34], edi
cmp rcx, 1
jbe 0x7ff6baffcd78
mov rax, qword [0x7ff6bb0bb080]
mov edx, 0x2719
mov rcx, r14
call qword [rax + 0x30]
jmp 0x7ff6baffcd7a
mov al, 1
movzx eax, al
add rax, 2
mov dword [rsp + 0x30], 0x2719
mov qword [rsp + 0x40], rax
xor eax, eax
movsd xmm1, qword [rsp + 0x40]
mov qword [rsp + 0x38], r14
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
jmp 0x7ff6baffcf5b
cmp byte [rbp + 0x218], 0
je 0x7ff6baffcddb
test r13b, 0x10
je 0x7ff6baffcddb
xorps xmm0, xmm0
xor edi, edi
movups xmmword [rbx], xmm0
mov qword [rsp + 0x58], rdi
xor eax, eax
movsd xmm0, qword [rsp + 0x58]
movsd qword [rbx + 0x10], xmm0
jmp 0x7ff6baffcf5b
mov r8, r9
mov qword [rsp + 0x2f8], rsi
mov rdx, rax
mov qword [rsp + 0x20], rbx
call fcn.7ff6baffcae0
test eax, eax
jns 0x7ff6baffcf51
and r13b, 1
lea r14, [0x7ff6bb0bb080]
xor edi, edi
movabs r15, 0x4d54ee85da812030
test r13b, r13b
jne 0x7ff6baffcfdb
mov rsi, qword [0x7ff6bb0bb088]
mov dword [rsp + 0x34], edi
lea rax, [rsi + r15]
cmp rax, 1
jbe 0x7ff6baffce4b
mov rax, qword [0x7ff6bb0bb080]
mov edx, 0x2733
mov rcx, r14
call qword [rax + 0x30]
mov rsi, qword [0x7ff6bb0bb088]
jmp 0x7ff6baffce4d
mov al, 1
movzx eax, al
lea rdx, [rsp + 0x70]
add rax, 2
mov dword [rsp + 0x30], 0x2733
mov qword [rsp + 0x40], rax
mov rcx, rbx
movsd xmm1, qword [rsp + 0x40]
mov qword [rsp + 0x38], r14
movups xmm0, xmmword [rsp + 0x30]
movsd qword [rbp - 0x80], xmm1
movups xmmword [rsp + 0x70], xmm0
call fcn.7ff6baff9740
test al, al
jne 0x7ff6baffcef4
lea rax, [rsi + r15]
mov dword [rsp + 0x34], edi
cmp rax, 1
jbe 0x7ff6baffceae
mov rax, qword [0x7ff6bb0bb080]
mov edx, 0x4d5
mov rcx, r14
call qword [rax + 0x30]
jmp 0x7ff6baffceb0
mov al, 1
movzx eax, al
lea rdx, [rsp + 0x48]
add rax, 2
mov dword [rsp + 0x30], 0x4d5
mov qword [rsp + 0x40], rax
mov rcx, rbx
movsd xmm1, qword [rsp + 0x40]
mov qword [rsp + 0x38], r14
movups xmm0, xmmword [rsp + 0x30]
movsd qword [rsp + 0x58], xmm1
movups xmmword [rsp + 0x48], xmm0
call fcn.7ff6baff9740
test al, al
je 0x7ff6baffcfdb
lea ecx, [r12 + 1]
mov qword [rbp - 0x68], r12
xor r9d, r9d
mov dword [rbp - 0x70], 1
lea r8, [rbp - 0x70]
mov qword [rsp + 0x20], rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_select]
test eax, eax
js 0x7ff6baffcf7d
mov r8, qword [rsp + 0x60]
xorps xmm0, xmm0
mov rdx, qword [rsp + 0x68]
mov rcx, r12
movups xmmword [rbx], xmm0
mov qword [rsp + 0x58], rdi
movsd xmm0, qword [rsp + 0x58]
movsd qword [rbx + 0x10], xmm0
mov qword [rsp + 0x20], rbx
call fcn.7ff6baffcae0
test eax, eax
js 0x7ff6baffce12
mov eax, eax
mov rsi, qword [rsp + 0x2f8]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.7ff6bb030660
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov rdx, qword [0x7ff6bb0bb088]
mov esi, eax
add rdx, r15
mov dword [rsp + 0x34], edi
cmp rdx, 1
jbe 0x7ff6baffcfae
mov rcx, qword [0x7ff6bb0bb080]
mov edx, eax
mov r8, qword [rcx + 0x30]
mov rcx, r14
call r8
jmp 0x7ff6baffcfb3
test esi, esi
setne al
movzx eax, al
mov dword [rsp + 0x30], esi
add rax, 2
mov qword [rsp + 0x38], r14
movups xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movsd xmm1, qword [rsp + 0x40]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
xor eax, eax
jmp 0x7ff6baffcf53