Function at 0x1800179fc
Capabilities:
Connect socket
Get socket status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rdi, r9
mov rsi, rcx
mov r14d, 0x2719
cmp rcx, 0xffffffffffffffff
jne 0x180017a50
call fcn.180015750
mov r8, rax
lea rcx, [rsp + 0x50]
mov edx, r14d
call fcn.180016218
movups xmm0, xmmword [rsp + 0x50]
movsd xmm1, qword [rsp + 0x60]
movups xmmword [rdi], xmm0
jmp 0x180017a91
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x180017a69
mov rcx, rdi
call fcn.180016284
mov r8, rax
xor edx, edx
jmp 0x180017a7c
call fcn.180015750
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov r8, rbx
lea rcx, [rsp + 0x30]
call fcn.180016218
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rdi + 0x10], xmm1
call fcn.180015750
mov r8, rax
lea rcx, [rsp + 0x50]
mov edx, 0x2734
call fcn.180016218
movups xmm0, xmmword [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rdi
movsd xmm1, qword [rsp + 0x60]
movups xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
call fcn.180016478
test al, al
jne 0x180017b16
call fcn.180015750
mov r8, rax
lea rcx, [rsp + 0x30]
mov edx, 0x2733
call fcn.180016218
movups xmm0, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rdi
movsd xmm1, qword [rsp + 0x40]
movups xmmword [rsp + 0x50], xmm0
movsd qword [rsp + 0x60], xmm1
call fcn.180016478
test al, al
je 0x180017c8a
cmp rsi, 0xffffffffffffffff
jne 0x180017b44
call fcn.180015750
mov r8, rax
lea rcx, [rsp + 0x30]
mov edx, r14d
call fcn.180016218
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
movups xmmword [rdi], xmm0
jmp 0x180017c85
and qword [rsp + 0x20], 0
lea ecx, [rsi + 1]
mov eax, 1
mov qword [rbp + 0x188], rsi
lea r9, [rsp + 0x70]
mov dword [rbp + 0x180], eax
lea r8, [rbp + 0x180]
mov dword [rsp + 0x70], eax
xor edx, edx
mov qword [rsp + 0x78], rsi
call qword [sym.imp.WS2_32.dll_select]
mov r14d, eax
test eax, eax
js 0x180017b97
mov rcx, rdi
call fcn.180016284
mov r8, rax
lea rcx, [rsp + 0x30]
xor edx, edx
jmp 0x180017baf
call fcn.180015750
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rbx
lea rcx, [rsp + 0x50]
mov edx, eax
call fcn.180016218
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rdi + 0x10], xmm1
test r14d, r14d
js 0x180017c8a
and dword [rbp + 0x3b0], 0
lea rax, [rsp + 0x48]
lea r9, [rbp + 0x3b0]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov dword [rsp + 0x48], 4
mov r8d, 0x1007
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_getsockopt]
mov esi, eax
test eax, eax
jne 0x180017c30
mov rcx, rdi
call fcn.180016284
mov r8, rax
lea rcx, [rsp + 0x30]
xor edx, edx
call fcn.180016218
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rdi + 0x10], xmm1
jmp 0x180017c62
call fcn.180015750
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rbx
lea rcx, [rsp + 0x50]
mov edx, eax
call fcn.180016218
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rdi + 0x10], xmm1
cmp esi, 0xffffffff
je 0x180017c8a
call fcn.180015750
mov edx, dword [rbp + 0x3b0]
lea rcx, [rsp + 0x30]
mov r8, rax
call fcn.180016218
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rdi + 0x10], xmm1
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret