Function at 0x140326f30
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0x88
mov rax, qword [0x14057c500]
xor rax, rsp
mov qword [rbp + 7], rax
mov rdi, qword [rbp + 0x7f]
mov r14, rcx
mov rcx, r9
mov dword [rbp - 0x41], edx
mov rbx, r9
mov esi, r8d
call fcn.140303e20
mov rcx, rbx
cmp eax, 1
jne 0x140326fb1
lea r15d, [rax + 0x28]
xor eax, eax
lea rdx, [rbp - 9]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
lea r12, [rbp - 0x21]
mov dword [rbp - 0x11], eax
lea r13d, [r15 - 0x15]
call fcn.1403043d0
movups xmm0, xmmword [rbp - 9]
mov rcx, rdi
movups xmmword [rbp - 0x21], xmm0
call fcn.140306ad0
mov dword [rbp - 0x11], eax
jmp 0x14032713e
call fcn.140303e20
test eax, eax
jne 0x140327169
xor eax, eax
mov dword [rbp - 0x41], esi
xor r15d, r15d
mov qword [rbp - 0x29], rax
mov rcx, rbx
lea r12, [rbp - 0x29]
lea r13d, [r15 + 8]
call fcn.140310450
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov rcx, rdi
mov dword [rbp - 0x29], eax
call fcn.140307160
test al, al
je 0x14032713a
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.140305fe0
mov rax, qword [rbp - 0x39]
movsxd rbx, dword [rax + 8]
movsxd rdi, dword [rax + 0xc]
add rbx, 2
add rdi, 2
lea rbx, [rax + rbx*8]
lea rdi, [rax + rdi*8]
cmp rbx, rdi
je 0x140327050
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.140307140
lea rcx, [rbp - 0x31]
call fcn.140303e20
lea rcx, [rbp - 0x31]
test eax, eax
je 0x1403270c2
call fcn.140302c20
add rbx, r13
cmp rbx, rdi
jne 0x140327022
mov edx, 7
mov rcx, r14
lea r8d, [rdx + 3]
call fcn.1403147c0
mov rdi, qword [rbp - 0x39]
mov eax, dword [rdi]
test eax, eax
je 0x140327088
cmp eax, 0xffffffff
je 0x14032717c
or eax, 0xffffffff
lock xadd dword [rdi], eax
sub eax, 1
jne 0x14032717c
mov rdi, qword [rbp - 0x39]
movsxd rax, dword [rdi + 0xc]
add rax, 2
lea rbx, [rdi + rax*8]
movsxd rax, dword [rdi + 8]
lea rsi, [rax + 2]
lea rsi, [rdi + rsi*8]
cmp rsi, rbx
je 0x1403270b5
sub rbx, r13
mov rcx, rbx
call fcn.140305e80
cmp rbx, rsi
jne 0x1403270a5
mov rcx, rdi
call fcn.1404e1e20
jmp 0x14032717c
call fcn.140310450
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
lea rcx, [rbp - 0x31]
mov dword [rbp - 0x25], eax
call fcn.140302c20
mov rdi, qword [rbp - 0x39]
mov eax, dword [rdi]
test eax, eax
je 0x1403270fa
cmp eax, 0xffffffff
je 0x14032713e
or eax, 0xffffffff
lock xadd dword [rdi], eax
cmp eax, 1
jne 0x14032713e
mov rdi, qword [rbp - 0x39]
movsxd rbx, dword [rdi + 0xc]
movsxd rsi, dword [rdi + 8]
add rbx, 2
add rsi, 2
lea rbx, [rdi + rbx*8]
lea rsi, [rdi + rsi*8]
cmp rsi, rbx
je 0x140327130
nop word [rax + rax]
sub rbx, r13
mov rcx, rbx
call fcn.140305e80
cmp rbx, rsi
jne 0x140327120
mov rcx, rdi
call fcn.1404e1e20
jmp 0x14032713e
mov dword [rbp - 0x25], r15d
mov r8d, dword [rbp - 0x41]
mov r9, r12
mov rcx, qword [r14 + 0xa8]
mov edx, r15d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x140327165
lea r8d, [rax + 7]
jmp 0x14032716f
mov al, 1
jmp 0x14032717e
mov r8d, 7
mov edx, 0xa
mov rcx, r14
call fcn.1403147c0
xor al, al
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1404e17d0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret