Function at 0x140095900
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], r9
push rbp
push rsi
push r13
push r15
sub rsp, 0x78
mov r13, qword [rcx + 0x270]
lea rax, [rcx + 0x10a]
mov rsi, rcx
mov rbp, r8
mov ecx, 2
nop dword [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rdx]
lea rdx, [rdx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rdx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rcx, 1
jne 0x140095930
movzx ecx, word [rdx]
lea r15, [rsi + 0x220]
mov word [rax], cx
lea r9, [rsp + 0xa0]
mov rcx, qword [r15]
mov edx, 0xffff
mov qword [rsp + 0xb0], rbx
mov r8d, 4
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0xa0], 1
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x140095a3d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
call fcn.1400a3910
mov rbx, rax
test rax, rax
je 0x140095a25
mov r9, qword [rax]
mov edx, 0x402
mov rcx, rax
call qword [r9 + htons]
cmp eax, 3
jl 0x140095a25
mov rax, qword [r15]
lea r9, str.id_p_handle_p:_setsockopt___call_for_enabling_SO_REUSEADDR_failed_with_WSAError__d
mov r10, qword [rbx]
mov edx, 3
mov dword [rsp + 0x30], edi
mov r8d, 0x402
mov qword [rsp + 0x28], rax
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call qword [r10]
mov ecx, edi
call fcn.140093d60
mov ecx, eax
call fcn.1400a32b0
mov eax, 0xffffffff
jmp 0x140095ccb
mov rcx, qword [rsi]
mov edx, 1
mov qword [rsp + 0x60], r14
lea r8d, [rdx + 0x4f]
call fcn.1400a2dd0
mov r14, rax
test rax, rax
jne 0x140095a6e
mov dword [rsi + 0x240], 0x200
lea eax, [r14 - 1]
jmp 0x140095cc6
lea rax, [0x140094350]
mov qword [r14 + 0x18], r14
mov qword [r14 + 0x10], rax
cmp qword [rsi + 0x230], 0
mov qword [rsp + 0x68], r12
je 0x140095a9b
mov ecx, 0x403
call fcn.1400a32b0
mov rcx, qword [rsi]
jmp 0x140095ab4
mov rdx, r15
mov qword [rsi + 0x230], rbp
mov rcx, rbp
call fcn.140080360
mov rcx, qword [rsi]
test eax, eax
je 0x140095ad0
mov rdx, r14
mov dword [rsi + 0x240], 0x200
call fcn.1400a30d0
mov eax, 0xffffffff
jmp 0x140095cc1
mov qword [r14], rcx
mov qword [r14 + 8], rsi
mov dword [rsi + 0x240], 2
call fcn.140090050
mov rcx, qword [r13 + 8]
lea rdx, [0x1400949f0]
mov r8, r14
mov rdi, rax
mov byte [rcx + 0x90], 1
mov rcx, qword [r13 + 8]
add rcx, 0x10
call fcn.14008fad0
mov r8d, dword [rsp + 0xc8]
mov rdx, qword [rsp + 0xb8]
mov dword [rsp + 0xa8], 0
mov qword [r13 + 0x138], r14
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_bind]
mov rax, qword [rsi]
mov rcx, qword [r13 + 8]
mov qword [rsp + 0x50], rax
add rcx, 0x10
mov eax, dword [rsi + 0x214]
mov dword [rsp + 0x40], eax
call fcn.140008090
mov r8d, dword [rsp + 0xc8]
lea r9, [rsp + 0xa8]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [r15]
mov qword [rsp + 0x30], rax
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
call rdi
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x48], 0
mov rcx, rbp
mov ebx, eax
call fcn.140080370
test ebx, ebx
jne 0x140095c43
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x3e5
je 0x140095c3d
call fcn.1400a3910
mov rbx, rax
test rax, rax
je 0x140095c02
mov r9, qword [rax]
mov edx, 0x404
mov rcx, rax
call qword [r9 + htons]
cmp eax, 5
jl 0x140095c02
mov rax, qword [r15]
lea r9, str.id_p_handle_p:_connection_error__d
mov r10, qword [rbx]
mov edx, 5
mov dword [rsp + 0x30], edi
mov r8d, 0x404
mov qword [rsp + 0x28], rax
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call qword [r10]
mov rax, qword [r13 + 8]
mov rdx, r14
mov rcx, qword [rsp + 0x50]
mov qword [r13 + 0x138], 0
mov byte [rax + 0x90], 0
call fcn.1400a30d0
mov ecx, edi
call fcn.140093d60
mov ecx, eax
call fcn.1400a32b0
mov eax, 0xffffffff
jmp 0x140095cc1
mov ecx, dword [rsp + 0x40]
jmp 0x140095c48
mov ecx, 0x1f4
xor r9d, r9d
mov r8d, 0x3b9aca00
mov edx, 0x3e8
call fcn.14004d4a0
add rax, qword [rsp + 0x48]
mov qword [rsp + 0x48], rax
call fcn.1400a3910
mov rbx, rax
test rax, rax
je 0x140095cae
mov r8, qword [rax]
mov edx, 0x402
mov rcx, rax
call qword [rhtons + 8]
cmp eax, 6
jl 0x140095cae
mov rcx, qword [r15]
lea r9, str.id_p_handle_p:_connection_pending__scheduling_timeout_task
mov r10, qword [rbx]
mov edx, 6
mov qword [rsp + 0x28], rcx
mov r8d, 0x402
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call qword [r10]
mov r8, qword [rsp + 0x48]
lea rdx, [r14 + 0x10]
mov rcx, rbp
call fcn.140080910
xor eax, eax
mov r12, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x78
pop r15
pop r13
pop rsi
pop rbp
ret