Function at 0x140019580
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 [0x140249670]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, qword [rbp + 0x220]
mov rax, r8
mov qword [rsp + 0x50], rax
movzx ebx, dl
mov qword [rsp + 0x58], r9
mov r13, rcx
mov byte [rsp + 0x30], dl
cmp rcx, 0xffffffffffffffff
jne 0x140019641
mov rcx, qword [0x14024a330]
lea rdi, [0x14024a328]
xor r14d, r14d
movabs r15, 0x4d54ee85da812030
add rcx, r15
mov dword [rsp + 0x3c], r14d
cmp rcx, 1
jbe 0x14001960c
mov rax, qword [0x14024a328]
mov edx, 0x2719
mov rcx, rdi
call qword [rax + 0x30]
jmp 0x14001960e
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], rdi
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
movsd qword [rsi + 0x10], xmm1
jmp 0x1400198a3
mov qword [rsp + 0x2f8], r12
movzx r12d, dl
and r12b, 0x10
cmp byte [rbp + 0x218], 0
je 0x1400196cc
test r12b, r12b
je 0x1400196cc
mov rax, qword [rsi + 0x10]
test rax, rax
jne 0x140019671
lea rdi, [0x14024a328]
jmp 0x140019682
lea rdi, [0x14024a310]
cmp rax, 1
je 0x140019682
mov rdi, qword [rsi + 8]
mov rax, qword [rdi + 8]
xor r14d, r14d
movabs r15, 0x4d54ee85da812030
mov dword [rsp + 0x3c], r14d
add rax, r15
cmp rax, 1
jbe 0x1400196bb
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x30]
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x40], rdi
jmp 0x140019876
xor al, al
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x40], rdi
jmp 0x140019876
xor r14d, r14d
lea rdi, [0x14024a328]
movabs r15, 0x4d54ee85da812030
mov r8, r9
mov qword [rsp + 0x20], rsi
mov rdx, rax
mov rcx, r13
call fcn.1400192b0
test r12b, r12b
je 0x140019700
test eax, eax
je 0x140019837
test eax, eax
jns 0x140019899
test bl, 1
jne 0x140019895
mov rbx, qword [0x14024a330]
mov dword [rsp + 0x3c], r14d
lea rax, [rbx + r15]
cmp rax, 1
jbe 0x140019742
mov rax, qword [0x14024a328]
mov edx, 0x2733
mov rcx, rdi
call qword [rax + 0x30]
mov rbx, qword [0x14024a330]
jmp 0x140019744
mov al, 1
movzx eax, al
lea rdx, [rsp + 0x60]
add rax, 2
mov dword [rsp + 0x38], 0x2733
mov qword [rsp + 0x48], rax
mov rcx, rsi
movsd xmm1, qword [rsp + 0x48]
mov qword [rsp + 0x40], rdi
movups xmm0, xmmword [rsp + 0x38]
movsd qword [rsp + 0x70], xmm1
movups xmmword [rsp + 0x60], xmm0
call fcn.1400175a0
test al, al
jne 0x1400197ec
lea rax, [rbx + r15]
mov dword [rsp + 0x3c], r14d
cmp rax, 1
jbe 0x1400197a7
mov rax, qword [0x14024a328]
mov edx, 0x4d5
mov rcx, rdi
call qword [rax + 0x30]
jmp 0x1400197a9
mov al, 1
movzx eax, al
lea rdx, [rsp + 0x78]
add rax, 2
mov dword [rsp + 0x38], 0x4d5
mov qword [rsp + 0x48], rax
mov rcx, rsi
movsd xmm1, qword [rsp + 0x48]
mov qword [rsp + 0x40], rdi
movups xmm0, xmmword [rsp + 0x38]
movsd qword [rbp - 0x78], xmm1
movups xmmword [rsp + 0x78], xmm0
call fcn.1400175a0
test al, al
je 0x140019895
lea ecx, [r13 + 1]
mov qword [rbp - 0x68], r13
xor r9d, r9d
mov dword [rbp - 0x70], 1
xor r8d, r8d
mov qword [rsp + 0x20], r14
lea rdx, [rbp - 0x70]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
mov rcx, rsi
mov ebx, eax
sets dl
call fcn.140018cd0
test ebx, ebx
js 0x140019895
movzx ebx, byte [rsp + 0x30]
mov rax, qword [rsp + 0x50]
mov r9, qword [rsp + 0x58]
jmp 0x1400196e0
mov rcx, qword [0x14024a300]
lea rbx, [0x14024a2f8]
add rcx, r15
mov dword [rsp + 0x3c], r14d
cmp rcx, 1
jbe 0x140019867
mov rax, qword [0x14024a2f8]
mov edx, 2
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x140019869
mov al, 1
mov dword [rsp + 0x38], 2
mov qword [rsp + 0x40], rbx
movups xmm0, xmmword [rsp + 0x38]
movzx eax, al
add rax, 2
mov qword [rsp + 0x48], rax
movsd xmm1, qword [rsp + 0x48]
movups xmmword [rsi], xmm0
movsd qword [rsi + 0x10], xmm1
xor eax, eax
jmp 0x14001989b
cdqe
mov r12, qword [rsp + 0x2f8]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14015ade0
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret