Function at 0x14000d880
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r13d, r9d
mov r14, r8
mov rsi, rdx
xor ebx, ebx
cmp qword [r8], 0xffffffffffffffff
je 0x14000d91f
mov dword [rbp - 0x14], ebx
movabs rdx, 0x4d54ee85da812030
mov rcx, qword [0x14029a718]
add rcx, rdx
lea rbx, [0x14029a710]
cmp rcx, 1
jbe 0x14000d8e5
mov rax, qword [0x14029a710]
mov edx, 1
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x14000d8e7
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 8], rax
mov dword [rbp - 0x18], 1
mov qword [rbp - 0x10], rbx
mov rax, qword [rbp + 0x70]
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rax], xmm1
movsd xmm0, qword [rbp - 8]
movsd qword [rax + 0x10], xmm0
movups xmmword [rsi], xmm1
movsd qword [rsi + 0x10], xmm0
jmp 0x14000daf8
mov dword ss:[rsp + 0x28], 1
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, dword [rbp + 0x68]
mov r15d, dword [rbp + 0x60]
mov edx, r15d
mov ecx, r13d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov r12, rax
cmp rax, 0xffffffffffffffff
sete dl
mov rdi, qword [rbp + 0x70]
mov rcx, rdi
call fcn.14000cda0
nop dword [rax]
cmp r12, 0xffffffffffffffff
jne 0x14000d96b
or r12, r12
jmp 0x14000d992
cmp r13d, 0x17
jne 0x14000d992
mov dword [rbp + 0x50], ebx
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x50]
lea edx, [r13 + 0x12]
lea r8d, [r13 + 4]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_setsockopt]
nop
cmp r12, 0xffffffffffffffff
jne 0x14000d9ad
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [rsi + 0x10], xmm1
jmp 0x14000daf8
mov rdx, qword [rbp + 0x40]
mov rdx, qword [rdx + 8]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdx + 0x28]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
jne 0x14000da42
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
mov dword [rbp - 0x14], ebx
movabs rdx, 0x4d54ee85da812030
add rdx, qword [0x14029a8e8]
lea rax, [0x14029a8e0]
cmp rdx, 1
jbe 0x14000da0d
mov rcx, qword [0x14029a8e0]
mov r8, qword [rcx + 0x30]
mov edx, r13d
mov rcx, rax
call r8
jmp 0x14000da13
test r13d, r13d
setne al
movzx eax, al
add rax, 2
mov qword [rbp - 8], rax
mov dword [rbp - 0x18], r13d
lea rax, [0x14029a8e0]
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rdi], xmm0
movsd xmm1, qword [rbp - 8]
movsd qword [rdi + 0x10], xmm1
jmp 0x14000da56
xorps xmm0, xmm0
mov qword [rbp - 8], rbx
movups xmmword [rdi], xmm0
movsd xmm0, qword [rbp - 8]
movsd qword [rdi + 0x10], xmm0
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x18], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [rbp - 8], xmm1
test byte [rbp - 8], 1
je 0x14000daa9
cmp qword [rbp - 8], 1
jne 0x14000da7e
cmp dword [rbp - 0x18], ebx
setne al
test al, al
je 0x14000daa9
movups xmmword [rsi], xmm0
movsd qword [rsi + 0x10], xmm1
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rbx
mov byte [rbp + 0x50], bl
lea r9, [rbp - 0x18]
mov r8b, 1
lea rdx, [rbp + 0x50]
mov rcx, r12
call fcn.14000ce80
jmp 0x14000daf8
or qword [rbp - 0x20], 0xffffffffffffffff
mov qword [r14], r12
sub r15d, 1
je 0x14000daca
cmp r15d, 1
je 0x14000dac3
mov byte [r14 + 8], bl
jmp 0x14000dacf
mov byte [r14 + 8], 0x20
jmp 0x14000dacf
mov byte [r14 + 8], 0x10
lea rcx, [r14 + 0x10]
mov r8b, byte [rbp + 0x50]
call fcn.14002d100
xorps xmm1, xmm1
mov qword [rbp - 8], rbx
movups xmmword [rdi], xmm1
movsd xmm0, qword [rbp - 8]
movsd qword [rdi + 0x10], xmm0
movups xmmword [rsi], xmm1
movsd qword [rsi + 0x10], xmm0
mov rax, rsi
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret