Function at 0x1400bda10
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140136348]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14, rdx
mov rdi, r8
mov rbx, rcx
lea r8, [rbp + 0x70]
mov rcx, r14
xor edx, edx
mov rsi, r9
call fcn.1400a8c60
xor edx, edx
test eax, eax
je 0x1400bdb98
lea r8, [rbp + 0x70]
mov rcx, r14
call fcn.1400a8cd0
test eax, eax
jne 0x1400bdc6b
lea r8, [rbp + 0xf0]
xor edx, edx
mov rcx, rsi
call fcn.1400a8cd0
test eax, eax
jne 0x1400bdc6b
mov eax, dword [rbx + 0x58]
and eax, 0x402000
cmp eax, 0x2000
je 0x1400bdc66
mov r9d, 4
lea rdx, [0x1403c19c0]
mov rcx, rbx
lea r8d, [r9 + 0x18]
call fcn.1400bcd20
test eax, eax
jne 0x1400bdc59
xorps xmm0, xmm0
xorps xmm1, xmm1
xor eax, eax
mov dword [rsp + 0x44], eax
mov dword [rbp - 0x3c], eax
mov dword [rbp + 0x44], eax
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x1c], xmm1
movups xmmword [rbp - 0xc], xmm1
movups xmmword [rbp + 4], xmm1
movups xmmword [rbp + 0x14], xmm1
movups xmmword [rbp + 0x24], xmm1
movups xmmword [rbp + 0x34], xmm1
test rdi, rdi
je 0x1400bdb1e
lea r8, [rbp + 0x50]
xor edx, edx
mov rcx, rdi
call fcn.1400a8cd0
test eax, eax
jne 0x1400bdc6b
mov eax, dword [rbp + 0x68]
movaps xmm0, xmmword [rbp + 0x70]
movsd xmm1, qword [rbp + 0x80]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x88]
mov dword [rsp + 0x60], eax
mov eax, dword [rbp + 0x108]
mov dword [rbp - 0x20], eax
mov eax, dword [rbp + 0x1d0]
movsd qword [rsp + 0x58], xmm1
movsd xmm1, qword [rbp + 0x100]
movsd qword [rbp - 0x28], xmm1
movups xmmword [rsp + 0x48], xmm0
movaps xmm0, xmmword [rbp + 0xf0]
movups xmmword [rbp - 0x38], xmm0
cmp eax, 1
jne 0x1400bdb75
lea r8d, [rax + 0x2c]
jmp 0x1400bdb81
test eax, eax
jne 0x1400bdc66
lea r8d, [rax + 0x2e]
mov dword [rsp + 0x20], 0x108
lea r9, [rsp + 0x40]
mov edx, 0x29
jmp 0x1400bdc44
lea r8, [rbp + 0xf0]
mov rcx, rsi
call fcn.1400a8c60
test eax, eax
jne 0x1400bdc6b
test dword [rbx + 0x58], 0x400000
jne 0x1400bdc66
mov esi, select
lea r9d, [rax + 4]
mov r8d, esi
lea rdx, [0x1403c19e0]
mov rcx, rbx
call fcn.1400bcd20
test eax, eax
jne 0x1400bdc59
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
test rdi, rdi
je 0x1400bdc01
lea r8, [rsp + 0x38]
mov rdx, rdi
lea ecx, [rsi - 0xe]
call fcn.1400c9150
test eax, eax
je 0x1400bdc0d
jmp 0x1400bdc6b
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x74]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0xf4]
mov dword [rsp + 0x34], eax
mov eax, dword [rbp + 0x1d0]
cmp eax, 1
jne 0x1400bdc2e
lea esi, [rax + 0xe]
jmp 0x1400bdc32
test eax, eax
jne 0x1400bdc66
mov dword [rsp + 0x20], select
lea r9, [rsp + 0x30]
mov r8d, esi
xor edx, edx
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x1400bdc62
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1400b5700
jmp 0x1400bdc6b
xor eax, eax
jmp 0x1400bdc6b
mov eax, 0xfffff019
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400cb6d0
add rsp, 0x280
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret