Function at 0x14000ede0
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
xor ebp, ebp
cmp rcx, 0xffffffffffffffff
je 0x14000f06e
mov rsi, r9
mov r14, rdx
mov r13, rcx
test r8b, r8b
je 0x14000ee75
mov al, byte [r14]
test al, 8
je 0x14000ee75
mov dword [rsp + 0x30], 0
or al, 8
mov byte [r14], al
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov rcx, r13
mov edx, 0xffff
mov r8d, 0x80
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14000ee75
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [0x140109180]
shr rcx, 1
movabs rdx, 0x595588bd12bf6fe8
cmp rcx, rdx
je 0x14000ee75
mov rbp, qword [0x140109178]
lea rcx, [0x140109178]
mov edx, eax
call qword [rbp + 0x30]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x14000eeac
mov ebp, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov rax, qword [0x140109180]
shr rax, 1
movabs r15, 0x595588bd12bf6fe8
cmp rax, r15
jne 0x14000eec1
test ebx, ebx
setne al
jmp 0x14000eed4
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
xor ebp, ebp
jmp 0x14000f06e
mov rax, qword [0x140109178]
lea rcx, [0x140109178]
mov edx, ebx
call qword [rax + 0x30]
movzx eax, al
or rax, 2
mov dword [rsi], ebx
mov dword [rsi + 4], 0
lea r12, [0x140109178]
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], rax
mov rcx, qword [0x140109180]
shr rcx, 1
cmp rcx, r15
je 0x14000ef27
mov rax, qword [0x140109178]
lea rcx, [0x140109178]
mov edx, 0x2733
call qword [rax + 0x30]
mov rax, qword [rsi + 0x10]
mov ecx, 1
cmp rax, 1
je 0x14000ef6e
cmp dword [rsi], 0x2733
jne 0x14000ef6b
lea r8, [0x140109178]
mov rcx, r8
test rax, rax
je 0x14000ef42
mov rcx, qword [rsi + 8]
mov rbx, qword [0x140109180]
xor edx, edx
cmp rcx, r8
sete dl
xor edi, edi
cmp qword [rcx + 8], rbx
sete dil
test rbx, rbx
cmove edi, edx
mov rcx, rax
test dil, dil
je 0x14000ef6e
jmp 0x14000efe0
mov rcx, rax
mov rax, qword [0x140109180]
shr rax, 1
cmp rax, r15
je 0x14000ef97
mov rax, qword [0x140109178]
lea rcx, [0x140109178]
mov edx, 0x4d5
call qword [rax + 0x30]
mov rcx, qword [rsi + 0x10]
cmp rcx, 1
je 0x14000f06e
cmp dword [rsi], 0x4d5
jne 0x14000f06e
mov rax, r12
test rcx, rcx
je 0x14000efb9
mov rax, qword [rsi + 8]
mov rcx, qword [0x140109180]
xor edx, edx
cmp rax, r12
sete dl
xor ebx, ebx
cmp qword [rax + 8], rcx
sete bl
test rcx, rcx
cmove ebx, edx
cmp bl, 1
jne 0x14000f06e
mov dword [rsp + 0x34], 0
lea r8, [rsp + 0x34]
mov rcx, r13
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [r14], 0xfc
mov rcx, r13
call qword [sym.imp.WS2_32.dll_closesocket]
mov ebp, eax
test eax, eax
je 0x14000f02c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov rax, qword [0x140109180]
shr rax, 1
cmp rax, r15
jne 0x14000f03c
test edi, edi
setne al
jmp 0x14000f04f
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x14000f06e
mov rax, qword [0x140109178]
lea rcx, [0x140109178]
mov edx, edi
call qword [rax + 0x30]
movzx eax, al
or rax, 2
mov dword [rsi], edi
mov dword [rsi + 4], 0
lea rcx, [0x140109178]
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
mov eax, ebp
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret