Function at 0x7ff71efe2800
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rbx
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x198]
sub rsp, 0x298
mov rax, r9
mov r9, r8
movzx r13d, dl
mov r12, rcx
cmp rcx, 0xffffffffffffffff
jne 0x7ff71efe28be
mov rcx, qword [0x7ff71f159418]
lea r14, [0x7ff71f159410]
xor ebx, ebx
movabs r15, 0x4d54ee85da812030
add rcx, r15
mov dword [rsp + 0x34], ebx
cmp rcx, 1
jbe 0x7ff71efe2875
mov rax, qword [0x7ff71f159410]
mov edx, 0x2719
mov rcx, r14
call qword [rax + 0x30]
jmp 0x7ff71efe2877
mov al, 1
movzx eax, al
add rax, 2
mov dword [rsp + 0x30], 0x2719
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x200]
movsd xmm1, qword [rsp + 0x40]
mov qword [rsp + 0x38], r14
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm1
xor eax, eax
add rsp, 0x298
pop r15
pop r14
pop r13
pop r12
pop rbx
pop rbp
ret
cmp byte [rbp + 0x1f8], 0
je 0x7ff71efe2900
test r13b, 0x10
je 0x7ff71efe2900
mov rax, qword [rbp + 0x200]
xorps xmm0, xmm0
xor ebx, ebx
mov qword [rsp + 0x58], rbx
movups xmmword [rax], xmm0
movsd xmm0, qword [rsp + 0x58]
movsd qword [rax + 0x10], xmm0
xor eax, eax
add rsp, 0x298
pop r15
pop r14
pop r13
pop r12
pop rbx
pop rbp
ret
mov qword [rsp + 0x2d0], rsi
mov r8, rax
mov rsi, qword [rbp + 0x200]
mov rdx, r9
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x290], rdi
call fcn.7ff71efe25e0
test eax, eax
jns 0x7ff71efe2a8a
and r13b, 1
lea r14, [0x7ff71f159410]
xor ebx, ebx
movabs r15, 0x4d54ee85da812030
test r13b, r13b
jne 0x7ff71efe2b0c
mov rdi, qword [0x7ff71f159418]
mov dword [rsp + 0x34], ebx
lea rax, [rdi + r15]
cmp rax, 1
jbe 0x7ff71efe297f
mov rax, qword [0x7ff71f159410]
mov edx, 0x2733
mov rcx, r14
call qword [rax + 0x30]
mov rdi, qword [0x7ff71f159418]
jmp 0x7ff71efe2981
mov al, 1
movzx eax, al
lea rdx, [rsp + 0x60]
add rax, 2
mov dword [rsp + 0x30], 0x2733
mov qword [rsp + 0x40], rax
mov rcx, rsi
movsd xmm1, qword [rsp + 0x40]
mov qword [rsp + 0x38], r14
movups xmm0, xmmword [rsp + 0x30]
movsd qword [rsp + 0x70], xmm1
movups xmmword [rsp + 0x60], xmm0
call fcn.7ff71efdf440
test al, al
jne 0x7ff71efe2a29
lea rax, [rdi + r15]
mov dword [rsp + 0x34], ebx
cmp rax, 1
jbe 0x7ff71efe29e3
mov rax, qword [0x7ff71f159410]
mov edx, 0x4d5
mov rcx, r14
call qword [rax + 0x30]
jmp 0x7ff71efe29e5
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, rsi
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.7ff71efdf440
test al, al
je 0x7ff71efe2b0c
lea ecx, [r12 + 1]
mov qword [rbp - 0x78], r12
xor r9d, r9d
mov dword [rbp - 0x80], 1
lea r8, [rbp - 0x80]
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.ws2_32.dll_select]
test eax, eax
js 0x7ff71efe2aae
mov r8, qword [rbp + 0x1e8]
xorps xmm0, xmm0
mov rdx, qword [rbp + 0x1e0]
mov rcx, r12
movups xmmword [rsi], xmm0
mov qword [rsp + 0x58], rbx
movsd xmm0, qword [rsp + 0x58]
movsd qword [rsi + 0x10], xmm0
mov qword [rsp + 0x20], rsi
call fcn.7ff71efe25e0
test eax, eax
js 0x7ff71efe2946
mov eax, eax
mov rsi, qword [rsp + 0x2d0]
mov rdi, qword [rsp + 0x290]
add rsp, 0x298
pop r15
pop r14
pop r13
pop r12
pop rbx
pop rbp
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov rdx, qword [0x7ff71f159418]
mov edi, eax
add rdx, r15
mov dword [rsp + 0x34], ebx
cmp rdx, 1
jbe 0x7ff71efe2adf
mov rcx, qword [0x7ff71f159410]
mov edx, eax
mov r8, qword [rcx + 0x30]
mov rcx, r14
call r8
jmp 0x7ff71efe2ae4
test edi, edi
setne al
movzx eax, al
mov dword [rsp + 0x30], edi
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 [rsi], xmm0
movsd qword [rsi + 0x10], xmm1
xor eax, eax
jmp 0x7ff71efe2a8c