Function at 0x14006a110
Capabilities:
Set socket configuration

Disassembly:
jmp 0x14006a110
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rbx, r9
mov r12, r8
mov r15, rdx
cmp qword [r9 + 8], 0xffffffffffffffff
je 0x14006a1ad
mov dword [rbp - 0x48], 1
movabs rax, 0x8fafd21e25c5e09b
lea rbx, [0x140235b20]
mov rcx, qword [0x140235b28]
cmp rcx, rax
je 0x14006a190
movabs rax, 0xb2ab117a257edf0d
cmp rcx, rax
je 0x14006a190
mov rax, qword [0x140235b20]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 0x30]
call qword [case.0x14006bf61.0]
jmp 0x14006a192
mov al, 1
mov byte [rbp - 0x44], al
mov qword [rbp - 0x40], rbx
mov rax, qword [rbp + 0x58]
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rax], xmm0
movups xmmword [r15], xmm0
jmp 0x14006a3b2
mov r14, qword [rbp + 0x50]
mov rax, r14
neg rax
sbb rcx, rcx
and ecx, 0x1c
mov qword [rbp - 0x50], rcx
lea r9, [rbp - 0x50]
xor r13d, r13d
test r14, r14
cmove r9, r13
mov rsi, qword [rbp + 0x58]
mov qword [rsp + 0x20], rsi
mov r8, r14
movzx edx, byte [r12 + 8]
mov rcx, qword [r12]
call fcn.140017800
mov rdi, rax
mov qword [rbp - 0x48], rax
cmp rax, 0xffffffffffffffff
je 0x14006a34d
test r14, r14
je 0x14006a20c
mov rdx, qword [rbp - 0x50]
mov rcx, r14
call fcn.140018c70
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp + 0x48], rax
movups xmmword [rbp - 0x1c], xmm0
mov qword [rbp - 0xc], rax
mov qword [rbp - 0x1c], 2
mov rdx, qword [rbx]
cmp qword [rbx + 8], 0xffffffffffffffff
je 0x14006a2a3
mov dword [rbp - 0x48], 1
movabs rax, 0x8fafd21e25c5e09b
lea rbx, [0x140235b20]
mov rcx, qword [0x140235b28]
cmp rcx, rax
je 0x14006a28e
movabs rax, 0xb2ab117a257edf0d
cmp rcx, rax
je 0x14006a28e
mov rax, qword [0x140235b20]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 0x30]
call qword [case.0x14006bf61.0]
mov byte [rbp - 0x44], al
mov qword [rbp - 0x40], rbx
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rsi], xmm0
jmp 0x14006a33f
mov al, 1
mov byte [rbp - 0x44], al
mov qword [rbp - 0x40], rbx
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rsi], xmm0
jmp 0x14006a33f
mov rdx, qword [rdx + 0x30]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdx + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
jne 0x14006a2d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x38], eax
test eax, eax
setne byte [rbp - 0x34]
jmp 0x14006a2d8
mov dword [rbp - 0x38], r13d
mov byte [rbp - 0x34], 0
lea r14, [0x1401e1a10]
mov qword [rbp - 0x30], r14
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rsi], xmm0
cmp dword [rsi], 0
jne 0x14006a33f
mov qword [rbx + 8], rdi
mov byte [rbx + select], 0x10
lea rcx, [rbx + 0x18]
movzx r8d, byte [rbp + 0x48]
xor edx, edx
call fcn.14001c8f0
mov dword [rbp - 0x38], r13d
mov byte [rbp - 0x34], 0
mov qword [rbp - 0x30], r14
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rsi], xmm0
mov eax, dword [r12 + 0x38]
mov dword [rbx + 0x40], eax
mov byte [rbx + 0x44], 0
movups xmm0, xmmword [rbp - 0x1c]
movups xmmword [rbx + 0x48], xmm0
movsd xmm1, qword [rbp - 0xc]
movsd qword [rbx + 0x58], xmm1
mov rax, qword [rbp + 0x48]
mov dword [rbx + 0x60], eax
mov rax, 0xffffffffffffffff
cmp dword [rsi], 0
cmove rdi, rax
movups xmm0, xmmword [rsi]
movups xmmword [r15], xmm0
cmp rdi, 0xffffffffffffffff
je 0x14006a3b2
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
je 0x14006a3b2
cmp eax, 0x2733
je 0x14006a385
cmp eax, 0x4d5
jne 0x14006a3b2
mov dword [rbp + 0x48], r13d
lea r8, [rbp + 0x48]
mov edx, 0x8004667e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rax, r15
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret