Function at 0x7ff6baffc790
Capabilities:
Get socket status

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
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 + 0x50], rax
movzx esi, dl
mov qword [rsp + 0x58], r9
mov r12, rcx
mov byte [rsp + 0x30], dl
cmp rcx, 0xffffffffffffffff
jne 0x7ff6baffc84f
mov rcx, qword [0x7ff6bb0bb088]
lea r14, [0x7ff6bb0bb080]
xor edi, edi
movabs r15, 0x4d54ee85da812030
add rcx, r15
mov dword [rsp + 0x3c], edi
cmp rcx, 1
jbe 0x7ff6baffc81a
mov rax, qword [0x7ff6bb0bb080]
mov edx, 0x2719
mov rcx, r14
call qword [rax + 0x30]
jmp 0x7ff6baffc81c
mov al, 1
movzx eax, al
add rax, 2
mov dword [rsp + 0x38], 0x2719
mov qword [rsp + 0x48], rax
xor eax, eax
movsd xmm1, qword [rsp + 0x48]
mov qword [rsp + 0x40], r14
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
jmp 0x7ff6baffcab7
mov qword [rsp + 0x2f8], r13
movzx r13d, dl
and r13b, 0x10
cmp byte [rbp + 0x218], 0
je 0x7ff6baffc88c
test r13b, r13b
je 0x7ff6baffc88c
xorps xmm0, xmm0
xor edi, edi
movups xmmword [rbx], xmm0
mov qword [rsp + 0x70], rdi
xor eax, eax
movsd xmm0, qword [rsp + 0x70]
movsd qword [rbx + 0x10], xmm0
jmp 0x7ff6baffcaaf
xor edi, edi
lea r14, [0x7ff6bb0bb080]
movabs r15, 0x4d54ee85da812030
nop
mov r8, r9
mov qword [rsp + 0x20], rbx
mov rdx, rax
mov rcx, r12
call fcn.7ff6baffc500
test r13b, r13b
je 0x7ff6baffc8c0
test eax, eax
je 0x7ff6baffc9fe
test eax, eax
jns 0x7ff6baffcaad
test sil, 1
jne 0x7ff6baffcaa9
mov rsi, qword [0x7ff6bb0bb088]
mov dword [rsp + 0x3c], edi
lea rax, [rsi + r15]
cmp rax, 1
jbe 0x7ff6baffc902
mov rax, qword [0x7ff6bb0bb080]
mov edx, 0x2733
mov rcx, r14
call qword [rax + 0x30]
mov rsi, qword [0x7ff6bb0bb088]
jmp 0x7ff6baffc904
mov al, 1
movzx eax, al
lea rdx, [rsp + 0x78]
add rax, 2
mov dword [rsp + 0x38], 0x2733
mov qword [rsp + 0x48], rax
mov rcx, rbx
movsd xmm1, qword [rsp + 0x48]
mov qword [rsp + 0x40], r14
movups xmm0, xmmword [rsp + 0x38]
movsd qword [rbp - 0x78], xmm1
movups xmmword [rsp + 0x78], xmm0
call fcn.7ff6baff9740
test al, al
jne 0x7ff6baffc9ab
lea rax, [rsi + r15]
mov dword [rsp + 0x3c], edi
cmp rax, 1
jbe 0x7ff6baffc965
mov rax, qword [0x7ff6bb0bb080]
mov edx, 0x4d5
mov rcx, r14
call qword [rax + 0x30]
jmp 0x7ff6baffc967
mov al, 1
movzx eax, al
lea rdx, [rsp + 0x60]
add rax, 2
mov dword [rsp + 0x38], 0x4d5
mov qword [rsp + 0x48], rax
mov rcx, rbx
movsd xmm1, qword [rsp + 0x48]
mov qword [rsp + 0x40], r14
movups xmm0, xmmword [rsp + 0x38]
movsd qword [rsp + 0x70], xmm1
movups xmmword [rsp + 0x60], xmm0
call fcn.7ff6baff9740
test al, al
je 0x7ff6baffcaa9
lea ecx, [r12 + 1]
mov qword [rbp - 0x68], r12
xor r9d, r9d
mov dword [rbp - 0x70], 1
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp - 0x70]
call qword [sym.imp.ws2_32.dll_select]
test eax, eax
js 0x7ff6baffca4b
movzx esi, byte [rsp + 0x30]
xorps xmm0, xmm0
mov rax, qword [rsp + 0x50]
mov r9, qword [rsp + 0x58]
movups xmmword [rbx], xmm0
mov qword [rsp + 0x70], rdi
movsd xmm0, qword [rsp + 0x70]
movsd qword [rbx + 0x10], xmm0
jmp 0x7ff6baffc8a0
mov rcx, qword [0x7ff6bb13e350]
add rcx, r15
mov dword [rsp + 0x3c], edi
lea rdi, [0x7ff6bb13e348]
cmp rcx, 1
jbe 0x7ff6baffca3a
mov rax, qword [0x7ff6bb13e348]
mov edx, 2
mov rcx, rdi
call qword [rax + 0x30]
mov dword [rsp + 0x38], 2
mov qword [rsp + 0x40], rdi
jmp 0x7ff6baffca8a
mov al, 1
mov dword [rsp + 0x38], 2
mov qword [rsp + 0x40], rdi
jmp 0x7ff6baffca8a
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov rdx, qword [0x7ff6bb0bb088]
mov esi, eax
add rdx, r15
mov dword [rsp + 0x3c], edi
cmp rdx, 1
jbe 0x7ff6baffca7c
mov rcx, qword [0x7ff6bb0bb080]
mov edx, eax
mov r8, qword [rcx + 0x30]
mov rcx, r14
call r8
jmp 0x7ff6baffca81
test esi, esi
setne al
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x40], r14
movups xmm0, xmmword [rsp + 0x38]
movzx eax, al
add rax, 2
mov qword [rsp + 0x48], rax
movsd xmm1, qword [rsp + 0x48]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
xor eax, eax
jmp 0x7ff6baffcaaf
cdqe
mov r13, qword [rsp + 0x2f8]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.7ff6bb030660
add rsp, 0x2b0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret