Function at 0x140019b20
Capabilities:
Get socket status

Disassembly:
push rbp
push rsi
push rdi
push r12
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 r13d, dl
mov qword [rsp + 0x48], r9
mov r12, rcx
cmp rcx, 0xffffffffffffffff
jne 0x140019bdf
mov rcx, qword [0x14024a330]
lea rdi, [0x14024a328]
xor r14d, r14d
movabs r15, 0x4d54ee85da812030
add rcx, r15
mov dword [rsp + 0x34], r14d
cmp rcx, 1
jbe 0x140019baa
mov rax, qword [0x14024a328]
mov edx, 0x2719
mov rcx, rdi
call qword [rax + 0x30]
jmp 0x140019bac
mov al, 1
mov dword [rsp + 0x30], 0x2719
movzx eax, al
add rax, 2
mov qword [rsp + 0x38], rdi
movups xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], rax
xor eax, eax
movsd xmm1, qword [rsp + 0x40]
movups xmmword [rsi], xmm0
movsd qword [rsi + 0x10], xmm1
jmp 0x140019dd4
cmp byte [rbp + 0x218], 0
je 0x140019c51
test r13b, 0x10
je 0x140019c51
mov rax, qword [rsi + 0x10]
test rax, rax
jne 0x140019c00
lea rdi, [0x14024a328]
jmp 0x140019c11
lea rdi, [0x14024a310]
cmp rax, 1
je 0x140019c11
mov rdi, qword [rsi + 8]
mov rax, qword [rdi + 8]
xor r14d, r14d
movabs r15, 0x4d54ee85da812030
mov dword [rsp + 0x34], r14d
add rax, r15
cmp rax, 1
jbe 0x140019c45
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x30]
mov dword [rsp + 0x30], r14d
jmp 0x140019bb4
xor al, al
mov dword [rsp + 0x30], r14d
jmp 0x140019bb4
mov r8, r9
mov qword [rsp + 0x2f8], rbx
mov rdx, rax
mov qword [rsp + 0x20], rsi
call fcn.1400198d0
test eax, eax
jns 0x140019dca
and r13b, 1
lea rdi, [0x14024a328]
xor r14d, r14d
movabs r15, 0x4d54ee85da812030
nop dword [rax]
test r13b, r13b
jne 0x140019df6
mov rbx, qword [0x14024a330]
mov dword [rsp + 0x34], r14d
lea rax, [rbx + r15]
cmp rax, 1
jbe 0x140019cca
mov rax, qword [0x14024a328]
mov edx, 0x2733
mov rcx, rdi
call qword [rax + 0x30]
mov rbx, qword [0x14024a330]
jmp 0x140019ccc
mov al, 1
movzx eax, al
lea rdx, [rsp + 0x58]
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], rdi
movups xmm0, xmmword [rsp + 0x30]
movsd qword [rsp + 0x68], xmm1
movups xmmword [rsp + 0x58], xmm0
call fcn.1400175a0
test al, al
jne 0x140019d74
lea rax, [rbx + r15]
mov dword [rsp + 0x34], r14d
cmp rax, 1
jbe 0x140019d2f
mov rax, qword [0x14024a328]
mov edx, 0x4d5
mov rcx, rdi
call qword [rax + 0x30]
jmp 0x140019d31
mov al, 1
movzx eax, al
lea rdx, [rsp + 0x70]
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], rdi
movups xmm0, xmmword [rsp + 0x30]
movsd qword [rbp - 0x80], xmm1
movups xmmword [rsp + 0x70], xmm0
call fcn.1400175a0
test al, al
je 0x140019df6
lea ecx, [r12 + 1]
mov qword [rbp - 0x68], r12
xor r9d, r9d
mov dword [rbp - 0x70], 1
lea r8, [rbp - 0x70]
mov qword [rsp + 0x20], r14
xor edx, edx
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 0x140019df6
mov r8, qword [rsp + 0x48]
mov rcx, r12
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rsi
call fcn.1400198d0
test eax, eax
js 0x140019c90
mov eax, eax
mov rbx, qword [rsp + 0x2f8]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14015ade0
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
jmp 0x140019dcc