Function at 0x14005e480
Capabilities:
Get socket status

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1400d08c0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, qword [rbp + 0x220]
mov rax, r8
mov qword [rsp + 0x50], rax
mov r10, r9
mov qword [rsp + 0x58], r9
movzx ebx, dl
mov byte [rsp + 0x30], dl
mov r13, rcx
cmp rcx, 0xffffffffffffffff
jne 0x14005e542
mov rcx, qword [0x1400d1558]
lea r14, [0x1400d1550]
xor esi, esi
movabs r15, 0x4d54ee85da812030
add rcx, r15
mov dword [rsp + 0x3c], esi
cmp rcx, 1
jbe 0x14005e50d
mov rax, qword [0x1400d1550]
mov edx, 0x2719
mov rcx, r14
call qword [rax + 0x30]
jmp 0x14005e50f
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 [rdi], xmm0
movsd qword [rdi + 0x10], xmm1
jmp 0x14005e76f
mov qword [rsp + 0x2f8], r12
movzx r12d, dl
and r12b, 0x10
cmp byte [rbp + 0x218], 0
je 0x14005e57f
test r12b, r12b
je 0x14005e57f
xorps xmm0, xmm0
xor esi, esi
movups xmmword [rdi], xmm0
mov qword [rsp + 0x70], rsi
xor eax, eax
movsd xmm0, qword [rsp + 0x70]
movsd qword [rdi + 0x10], xmm0
jmp 0x14005e767
xor esi, esi
lea r14, [0x1400d1550]
movabs r15, 0x4d54ee85da812030
mov r9d, dword [rbp + 0x210]
mov r8, r10
mov rdx, rax
mov qword [rsp + 0x20], rdi
mov rcx, r13
call fcn.14005c250
test r12b, r12b
je 0x14005e5b9
test eax, eax
je 0x14005e704
test eax, eax
jns 0x14005e765
test bl, 1
jne 0x14005e761
mov rbx, qword [0x1400d1558]
mov dword [rsp + 0x3c], esi
lea rax, [rbx + r15]
cmp rax, 1
jbe 0x14005e5fa
mov rax, qword [0x1400d1550]
mov edx, 0x2733
mov rcx, r14
call qword [rax + 0x30]
mov rbx, qword [0x1400d1558]
jmp 0x14005e5fc
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, rdi
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.140057860
test al, al
jne 0x14005e6a3
lea rax, [rbx + r15]
mov dword [rsp + 0x3c], esi
cmp rax, 1
jbe 0x14005e65d
mov rax, qword [0x1400d1550]
mov edx, 0x4d5
mov rcx, r14
call qword [rax + 0x30]
jmp 0x14005e65f
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, rdi
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.140057860
test al, al
je 0x14005e761
lea ecx, [r13 + 1]
mov qword [rbp - 0x68], r13
xor r9d, r9d
mov dword [rbp - 0x70], 1
xor r8d, r8d
mov qword [rsp + 0x20], rsi
lea rdx, [rbp - 0x70]
call qword [sym.imp.WS2_32.dll_select]
mov edx, eax
mov rcx, rdi
shr edx, 0x1f
mov ebx, eax
call fcn.14005a000
test ebx, ebx
jne 0x14005e6ee
movzx ebx, byte [rsp + 0x30]
mov rax, qword [rsp + 0x50]
mov r10, qword [rsp + 0x58]
jmp 0x14005e592
js 0x14005e761
movzx ebx, byte [rsp + 0x30]
mov rax, qword [rsp + 0x50]
mov r10, qword [rsp + 0x58]
jmp 0x14005e592
mov rcx, qword [0x1400d14e8]
lea rbx, [0x1400d14e0]
add rcx, r15
mov dword [rsp + 0x3c], esi
cmp rcx, 1
jbe 0x14005e733
mov rax, qword [0x1400d14e0]
mov edx, 2
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x14005e735
mov al, 1
movzx eax, al
mov dword [rsp + 0x38], 2
add rax, 2
mov qword [rsp + 0x40], rbx
movups xmm0, xmmword [rsp + 0x38]
mov qword [rsp + 0x48], rax
movsd xmm1, qword [rsp + 0x48]
movups xmmword [rdi], xmm0
movsd qword [rdi + 0x10], xmm1
xor eax, eax
jmp 0x14005e767
cdqe
mov r12, qword [rsp + 0x2f8]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400633b0
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret