Function at 0x7ff670d91fd0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov byte [rsp + 0x10], dl
push rbp
push rbx
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x198]
sub rsp, 0x298
mov rax, r9
mov r9, r8
movzx edi, dl
mov r13, rcx
cmp rcx, 0xffffffffffffffff
jne 0x7ff670d9208f
mov rcx, qword [0x7ff670e25138]
lea r14, [0x7ff670e25130]
xor ebx, ebx
movabs r15, 0x4d54ee85da812030
add rcx, r15
mov dword [rsp + 0x34], ebx
cmp rcx, 1
jbe 0x7ff670d92047
mov rax, qword [0x7ff670e25130]
mov edx, 0x2719
mov rcx, r14
call qword [rax + 0x30]
jmp 0x7ff670d92049
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 rdi
pop rbx
pop rbp
ret
mov qword [rsp + 0x290], r12
movzx r12d, dl
and r12b, 0x10
cmp byte [rbp + 0x1f8], 0
je 0x7ff670d920d3
test r12b, r12b
je 0x7ff670d920d3
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
jmp 0x7ff670d9231d
mov qword [rsp + 0x2d0], rsi
lea r14, [0x7ff670e25130]
mov rsi, qword [rbp + 0x200]
xor ebx, ebx
movabs r15, 0x4d54ee85da812030
nop word [rax + rax]
mov r8, rax
mov qword [rsp + 0x20], rsi
mov rdx, r9
mov rcx, r13
call fcn.7ff670d91d40
test r12b, r12b
je 0x7ff670d92120
test eax, eax
je 0x7ff670d92264
test eax, eax
jns 0x7ff670d92313
test dil, 1
jne 0x7ff670d9230f
mov rdi, qword [0x7ff670e25138]
mov dword [rsp + 0x34], ebx
lea rax, [rdi + r15]
cmp rax, 1
jbe 0x7ff670d92162
mov rax, qword [0x7ff670e25130]
mov edx, 0x2733
mov rcx, r14
call qword [rax + 0x30]
mov rdi, qword [0x7ff670e25138]
jmp 0x7ff670d92164
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.7ff670d8f180
test al, al
jne 0x7ff670d9220c
lea rax, [rdi + r15]
mov dword [rsp + 0x34], ebx
cmp rax, 1
jbe 0x7ff670d921c6
mov rax, qword [0x7ff670e25130]
mov edx, 0x4d5
mov rcx, r14
call qword [rax + 0x30]
jmp 0x7ff670d921c8
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.7ff670d8f180
test al, al
je 0x7ff670d9230f
lea ecx, [r13 + 1]
mov qword [rbp - 0x78], r13
xor r9d, r9d
mov dword [rbp - 0x80], 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, [rbp - 0x80]
call qword [sym.imp.ws2_32.dll_select]
test eax, eax
js 0x7ff670d922b1
movzx edi, byte [rbp + 0x1d8]
xorps xmm0, xmm0
mov rax, qword [rbp + 0x1e8]
mov r9, qword [rbp + 0x1e0]
movups xmmword [rsi], xmm0
mov qword [rsp + 0x58], rbx
movsd xmm0, qword [rsp + 0x58]
movsd qword [rsi + 0x10], xmm0
jmp 0x7ff670d92100
mov rcx, qword [0x7ff670e2aa70]
add rcx, r15
mov dword [rsp + 0x34], ebx
lea rbx, [0x7ff670e2aa68]
cmp rcx, 1
jbe 0x7ff670d922a0
mov rax, qword [0x7ff670e2aa68]
mov edx, 2
mov rcx, rbx
call qword [rax + 0x30]
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x38], rbx
jmp 0x7ff670d922f0
mov al, 1
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x38], rbx
jmp 0x7ff670d922f0
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov rdx, qword [0x7ff670e25138]
mov edi, eax
add rdx, r15
mov dword [rsp + 0x34], ebx
cmp rdx, 1
jbe 0x7ff670d922e2
mov rcx, qword [0x7ff670e25130]
mov edx, eax
mov r8, qword [rcx + 0x30]
mov rcx, r14
call r8
jmp 0x7ff670d922e7
test edi, edi
setne al
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x38], r14
movups xmm0, xmmword [rsp + 0x30]
movzx eax, al
add rax, 2
mov qword [rsp + 0x40], rax
movsd xmm1, qword [rsp + 0x40]
movups xmmword [rsi], xmm0
movsd qword [rsi + 0x10], xmm1
xor eax, eax
jmp 0x7ff670d92315
cdqe
mov rsi, qword [rsp + 0x2d0]
mov r12, qword [rsp + 0x290]
add rsp, 0x298
pop r15
pop r14
pop r13
pop rdi
pop rbx
pop rbp
ret