Function at 0x14001a7a0
Capabilities:
Get socket status

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3b8]
sub rsp, 0x4b8
movaps xmmword [rsp + 0x4a0], xmm6
mov rax, qword [0x14008e1c0]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, r9
mov r15, r8
mov r14, rdx
mov rsi, rcx
lea r12, [0x14004dd00]
xor r13d, r13d
cmp qword [rcx + 8], 0xffffffffffffffff
jne 0x14001a8b2
mov r13, qword [rcx]
mov eax, 0x17
mov r12d, 2
cmp word [r8], r12w
cmovne r12d, eax
lea edx, [rax - 0x16]
lea r8d, [rax - 0x11]
mov ecx, r12d
call fcn.14001d5b0
mov rbx, rax
mov qword [rsp + 0x68], rax
cmp rax, 0xffffffffffffffff
jne 0x14001a82d
mov eax, dword [rdi]
jmp 0x14001a897
mov rdx, qword [r13 + 0x30]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdx + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
jne 0x14001a85c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
test eax, eax
setne byte [rsp + 0x44]
jmp 0x14001a869
mov dword [rsp + 0x40], 0
mov byte [rsp + 0x44], 0
lea r13, [0x14004dd00]
mov qword [rsp + 0x48], r13
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi], xmm0
cmp dword [rdi], 0
je 0x14001a920
movups xmm6, xmm0
lea rcx, [rsp + 0x68]
call fcn.140019970
movd eax, xmm6
test eax, eax
je 0x14001a95c
xor r13d, r13d
cmp dword [rdi], 0
jne 0x14001aa59
lea r12, [0x14004dd00]
mov rbx, qword [rsi + 8]
mov eax, 0x1c
mov r8d, select
cmp word [r15], 2
cmovne r8d, eax
mov r9, rdi
mov rdx, r15
mov rcx, rbx
call fcn.14001aa90
mov eax, dword [rdi]
cmp eax, 0x2734
je 0x14001a8ec
cmp eax, 0x2733
jne 0x14001aa59
mov rax, qword [rdi + 8]
movabs rcx, 0x8fafd21e25c5e09b
cmp qword [rax + 8], rcx
jne 0x14001aa59
cmp rbx, 0xffffffffffffffff
jne 0x14001a994
mov dword [rsp + 0x40], 0x2719
mov byte [rsp + 0x44], 1
jmp 0x14001aa4c
mov qword [rsp + 0x68], 0xffffffffffffffff
mov qword [rsi + 8], rbx
mov byte [rsi + select], 0x10
lea rcx, [rsi + 0x18]
movzx r8d, byte [rsp + 0x60]
xor edx, edx
call fcn.140017de0
mov dword [rsp + 0x40], 0
mov byte [rsp + 0x44], 0
mov qword [rsp + 0x48], r13
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi], xmm0
mov dword [rsi + 0x40], r12d
mov byte [rsi + 0x44], 0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x40], 2
xor r13d, r13d
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x48], xmm0
unpckhpd xmm1, xmm1
movsd qword [rsi + 0x58], xmm1
mov dword [rsi + 0x60], r13d
jmp 0x14001a8a2
mov qword [rbp + 0x188], rbx
mov dword [rbp + 0x180], 1
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x70], 1
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [rbx + 1]
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x180]
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
mov ecx, eax
mov rdx, rdi
call fcn.140017c00
test eax, eax
js 0x14001aa59
mov dword [rsp + 0x40], r13d
mov byte [rsp + 0x44], 0
mov qword [rsp + 0x48], r12
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi], xmm0
mov dword [rsp + 0x68], r13d
mov qword [rsp + 0x40], 4
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor edx, edx
mov r9d, 0x1007
mov r8d, 0xffff
mov rcx, rbx
call fcn.14001bb70
cmp eax, 0xffffffff
je 0x14001aa59
mov ecx, dword [rsp + 0x68]
mov dword [rsp + 0x40], ecx
test ecx, ecx
setne byte [rsp + 0x44]
mov qword [rsp + 0x48], r12
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi], xmm0
movups xmm0, xmmword [rdi]
movups xmmword [r14], xmm0
mov rax, r14
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400496c0
movaps xmm6, xmmword [rsp + 0x4a0]
add rsp, 0x4b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret