Function at 0x14017c5f0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rbx, r9
mov rdi, r8
mov r13, rdx
mov rbp, rcx
mov ecx, 0x208
call fcn.14002e7c0
mov rsi, rax
movzx r10d, byte [r13 + 8]
shr r10b, 2
and r10b, 1
mov r8, qword [r13]
xor edx, edx
mov qword [rax + 0x20], rdx
lea rax, [0x14017c9b0]
mov qword [rsi + 0x28], rax
mov qword [rsi], rdx
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], rdx
mov dword [rsi + 0x30], edx
lea rax, [rbp + 0x28]
mov qword [rsi + 0x38], rax
mov qword [rsi + 0x40], r8
mov r14, 0xffffffffffffffff
mov qword [rsi + 0x48], r14
mov qword [rsi + 0x50], rdi
mov eax, dword [r13 + 0x38]
mov dword [rsi + 0x58], eax
mov qword [rsi + 0x60], rbx
mov byte [rsi + 0x188], r10b
mov qword [rsi + 0x190], rdx
mov qword [rsi + 0x198], rdx
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
mov qword [rsi + 0x1a0], rax
movzx eax, byte [rcx + 8]
mov byte [rsi + 0x1a8], al
mov qword [rsi + 0x1b0], rdx
mov qword [rsi + 0x1b8], rdx
mov rax, qword [rcx + 0x10]
mov qword [rsi + 0x1b0], rax
mov rax, qword [rcx + 0x18]
mov qword [rsi + 0x1b8], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rdx
mov qword [rsi + 0x1c0], rdx
mov qword [rsi + 0x1c8], rdx
mov rax, qword [rcx + 0x20]
mov qword [rsi + 0x1c0], rax
mov rax, qword [rcx + 0x28]
mov qword [rsi + 0x1c8], rax
mov qword [rcx + 0x20], rdx
mov qword [rcx + 0x28], rdx
lea rcx, [rsi + 0x1d0]
mov r9, qword [rsp + 0xb8]
call fcn.14002a910
mov qword [rsp + 0x50], rsi
mov r15d, dword [r13 + 0x38]
mov rcx, qword [rdi + 8]
mov rax, qword [rbp + 0x30]
lock inc dword [rax + 0x30]
cmp qword [r13], r14
jne 0x14017c751
xor r9d, r9d
mov r8d, 0x2719
mov rdx, rsi
mov rcx, qword [rbp + 0x30]
call fcn.14002d860
jmp 0x14017c887
cmp rcx, r14
je 0x14017c770
xor r9d, r9d
mov r8d, 1
mov rdx, rsi
mov rcx, qword [rbp + 0x30]
call fcn.14002d860
jmp 0x14017c887
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x40], xmm0
xor edi, edi
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov edx, 1
mov r8d, 6
mov ecx, r15d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rbx, rax
cmp rax, r14
sete dl
lea rcx, [rsp + 0x40]
call fcn.1400300f0
cmp rbx, r14
je 0x14017c7f0
cmp r15d, 0x17
jne 0x14017c7ed
mov dword [rsp + 0xb0], edi
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0xb0]
mov edx, 0x29
mov r8d, 0x1b
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov r14, rbx
mov rdx, r14
lea rcx, [rsi + 0x48]
call fcn.14017dc80
mov rdx, qword [rsi + 0x48]
cmp rdx, 0xffffffffffffffff
jne 0x14017c819
lea r8, [rsp + 0x40]
mov rdx, rsi
mov rcx, qword [rbp + 0x30]
call fcn.14017dce0
jmp 0x14017c887
mov dword [rsp + 0xb0], edi
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x90
mov dword [rsp + 0x20], 0x90
xor r9d, r9d
lea r8, [rsi + 0x68]
mov rcx, qword [r13]
call qword [sym.imp.MSWSOCK.dll_AcceptEx]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
jne 0x14017c87a
cmp eax, 0x3e5
je 0x14017c87a
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
mov rcx, qword [rbp + 0x30]
call fcn.14002d860
jmp 0x14017c887
mov rdx, rsi
mov rcx, qword [rbp + 0x30]
call fcn.14002d910
nop
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret