Function at 0x14001a3c0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rsp + 0xb8], rbx
mov r13d, r9d
mov rsi, r8
mov rdi, rdx
cmp qword [r8], 0xffffffffffffffff
je 0x14001a457
call fcn.140017ff0
mov rbx, rax
mov dword [rbp - 0x30], 1
mov rax, qword [rax + 8]
movabs rcx, 0x8fafd21e25c5e09b
cmp rax, rcx
je 0x14001a43b
movabs rcx, 0xb2ab117a257edf0d
cmp rax, rcx
je 0x14001a43b
mov rcx, qword [rbx]
mov r8, qword [rcx + 0x30]
mov edx, 1
mov rcx, rbx
call r8
jmp 0x14001a43d
mov al, 1
mov byte [rbp - 0x2c], al
mov qword [rbp - 0x28], rbx
mov rax, qword [rbp + 0x70]
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rax], xmm0
movups xmmword [rdi], xmm0
jmp 0x14001a634
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rbp + 0x68]
mov r12d, dword [rbp + 0x60]
mov edx, r12d
mov ecx, r13d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 0x30], eax
test eax, eax
setne byte [rbp - 0x2c]
lea rax, [0x1401fd840]
mov qword [rbp - 0x28], rax
mov r15, qword [rbp + 0x70]
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [r15], xmm0
mov r14, 0xffffffffffffffff
cmp rbx, r14
jne 0x14001a4c3
mov rbx, r14
xor r13d, r13d
jmp 0x14001a50d
cmp r13d, 0x17
jne 0x14001a4f6
xor r13d, r13d
mov dword [rbp - 0x40], r13d
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x40]
lea edx, [r13 + 0x29]
lea r8d, [r13 + 0x1b]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
lea rax, [0x1401fd840]
jmp 0x14001a4f9
xor r13d, r13d
mov dword [rbp - 0x30], r13d
mov byte [rbp - 0x2c], 0
mov qword [rbp - 0x28], rax
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [r15], xmm0
cmp rbx, 0xffffffffffffffff
jne 0x14001a51c
movups xmm0, xmmword [r15]
jmp 0x14001a631
mov rdx, qword [rbp + 0x40]
mov rdx, qword [rdx + 8]
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 0x14001a54d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
test eax, eax
setne byte [rbp - 0x2c]
jmp 0x14001a555
mov dword [rbp - 0x30], r13d
mov byte [rbp - 0x2c], 0
lea rcx, [0x1401fd840]
mov qword [rbp - 0x28], rcx
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [r15], xmm0
cmp dword [r15], 0
je 0x14001a599
movups xmmword [rdi], xmm0
mov dword [rbp - 0x20], r13d
mov byte [rbp - 0x1c], 0
mov qword [rbp - 0x18], rcx
mov byte [rbp + 0x50], 0
lea r9, [rbp - 0x20]
mov r8b, 1
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400187b0
jmp 0x14001a634
mov qword [rbp - 0x30], r14
mov qword [rsi], rbx
sub r12d, 1
je 0x14001a5b8
cmp r12d, 1
je 0x14001a5b2
mov byte [rsi + 8], 0
jmp 0x14001a5bc
mov byte [rsi + 8], 0x20
jmp 0x14001a5bc
mov byte [rsi + 8], send
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
movzx r8d, byte [rbp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.140036500
mov rax, qword [rbp - 0x10]
mov qword [rsi + 0x10], rax
mov rbx, qword [rsi + 0x18]
mov rax, qword [rbp - 8]
mov qword [rsi + 0x18], rax
test rbx, rbx
je 0x14001a616
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14001a616
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x14001a616
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov dword [rbp - 0x10], r13d
mov byte [rbp - 0xc], 0
lea rax, [0x1401fd840]
mov qword [rbp - 8], rax
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [r15], xmm0
movups xmmword [rdi], xmm0
mov rax, rdi
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret