Function at 0x14000ed20
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
xor ebp, ebp
cmp rcx, 0xffffffffffffffff
je 0x14000efae
mov rsi, r9
mov rbx, rdx
mov rdi, rcx
test r8b, r8b
je 0x14000edb3
movzx eax, byte [rbx]
test al, 8
je 0x14000edb3
mov dword [rsp + 0x2c], 0
or al, 8
mov byte [rbx], al
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rdi
mov edx, 0xffff
mov r8d, 0x80
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14000edb3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [0x14015f250]
shr rcx, 1
movabs rdx, 0x595588bd12bf6fe8
cmp rcx, rdx
je 0x14000edb3
mov r8, qword [0x14015f248]
lea rcx, [0x14015f248]
mov edx, eax
call qword [r8 + 0x30]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x14000edec
mov ebp, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r14d, eax
mov rax, qword [0x14015f250]
shr rax, 1
movabs r15, 0x595588bd12bf6fe8
cmp rax, r15
jne 0x14000ee01
test r14d, r14d
setne al
jmp 0x14000ee15
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
xor ebp, ebp
jmp 0x14000efae
mov rax, qword [0x14015f248]
lea rcx, [0x14015f248]
mov edx, r14d
call qword [rax + 0x30]
movzx eax, al
or rax, 2
mov dword [rsi], r14d
mov dword [rsi + 4], 0
lea r12, [0x14015f248]
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], rax
mov rcx, qword [0x14015f250]
mov rdx, rcx
shr rdx, 1
cmp rdx, r15
je 0x14000ee6b
mov rax, qword [0x14015f248]
lea rcx, [0x14015f248]
mov edx, 0x2733
call qword [rax + 0x30]
mov rax, qword [rsi + 0x10]
mov r14d, dword [rsi]
mov rcx, qword [0x14015f250]
cmp rax, 1
je 0x14000eeae
cmp r14d, 0x2733
jne 0x14000eeae
lea r8, [0x14015f248]
mov rdx, r8
test rax, rax
je 0x14000ee8d
mov rdx, qword [rsi + 8]
xor r9d, r9d
cmp rdx, r8
sete r9b
xor r8d, r8d
cmp qword [rdx + 8], rcx
sete r8b
test rcx, rcx
cmove r8d, r9d
test r8b, r8b
jne 0x14000ef21
shr rcx, 1
cmp rcx, r15
je 0x14000eed3
mov rax, qword [0x14015f248]
lea rcx, [0x14015f248]
mov edx, 0x4d5
call qword [rax + 0x30]
mov rax, qword [rsi + 0x10]
mov r14d, dword [rsi]
cmp rax, 1
je 0x14000efae
cmp r14d, 0x4d5
jne 0x14000efae
mov rcx, r12
test rax, rax
je 0x14000eef6
mov rcx, qword [rsi + 8]
mov rax, qword [0x14015f250]
xor edx, edx
cmp rcx, r12
sete dl
xor r8d, r8d
cmp qword [rcx + 8], rax
sete r8b
test rax, rax
cmove r8d, edx
cmp r8b, 1
jne 0x14000efae
mov dword [rsp + 0x28], 0
lea r8, [rsp + 0x28]
mov rcx, rdi
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [rbx], 0xfc
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov ebp, eax
test eax, eax
je 0x14000ef6c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov rax, qword [0x14015f250]
shr rax, 1
cmp rax, r15
jne 0x14000ef7c
test edi, edi
setne al
jmp 0x14000ef8f
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x14000efae
mov rax, qword [0x14015f248]
lea rcx, [0x14015f248]
mov edx, edi
call qword [rax + 0x30]
movzx eax, al
or rax, 2
mov dword [rsi], edi
mov dword [rsi + 4], 0
lea rcx, [0x14015f248]
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
mov eax, ebp
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret