Function at 0x14000f120
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov rax, qword [0x140032040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r13d, r9d
mov r15, r8
mov rsi, rdx
mov qword [rbp - 0x30], rcx
mov ebx, dword [rbp + 0x68]
mov r8d, dword [rbp + 0x70]
mov rdi, qword [rbp + 0x78]
cmp qword [r15], 0xffffffffffffffff
je 0x14000f1ca
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140033570], eax
jle 0x14000f1a9
lea rcx, [0x140033570]
call fcn.1400260b4
cmp dword [0x140033570], 0xffffffff
jne 0x14000f1a9
lea rcx, [0x140027e10]
call fcn.140026424
lea rcx, [0x140033570]
call fcn.140026048
mov dword [rbp - 0x28], 1
lea rax, [0x1400320e8]
mov qword [rbp - 0x20], rax
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdi], xmm0
movups xmmword [rsi], xmm0
jmp 0x14000f418
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov edx, ebx
mov ecx, r13d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov r12, rax
mov r14, 0xffffffffffffffff
cmp rax, r14
je 0x14000f228
xor eax, eax
mov dword [rdi], eax
cmp r13d, 0x17
jne 0x14000f220
mov dword [rbp - 0x18], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x18]
lea edx, [rax + 0x29]
lea r8d, [r14 + 0x1c]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_setsockopt]
mov r13d, 4
jmp 0x14000f291
mov r13d, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rcx + r13]
cmp dword [0x140033574], eax
jle 0x14000f273
lea rcx, [0x140033574]
call fcn.1400260b4
cmp dword [0x140033574], r14d
jne 0x14000f273
lea rcx, [0x140027e00]
call fcn.140026424
lea rcx, [0x140033574]
call fcn.140026048
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 0x28], eax
lea rax, [0x1400320c8]
mov qword [rbp - 0x20], rax
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdi], xmm0
mov r12, r14
cmp r12, 0xffffffffffffffff
jne 0x14000f29f
movups xmm0, xmmword [rdi]
jmp 0x14000f415
mov rdx, qword [rbp - 0x30]
mov rdx, qword [rdx + 8]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdx + 0x28]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
lea rcx, [0x1400320d8]
test rax, rax
jne 0x14000f331
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
mov rdx, qword gs:[0x58]
mov r8, qword [rdx]
mov edx, dword [r8 + r13]
cmp dword [0x140033574], edx
jle 0x14000f314
lea rcx, [0x140033574]
call fcn.1400260b4
cmp dword [0x140033574], 0xffffffff
jne 0x14000f314
lea rcx, [0x140027e00]
call fcn.140026424
lea rcx, [0x140033574]
call fcn.140026048
mov eax, dword [rbp - 0x30]
mov dword [rbp - 0x28], eax
lea rax, [0x1400320c8]
mov qword [rbp - 0x20], rax
xor r13d, r13d
lea rcx, [0x1400320d8]
jmp 0x14000f33c
xor r13d, r13d
mov dword [rbp - 0x28], r13d
mov qword [rbp - 0x20], rcx
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdi], xmm0
cmp dword [rdi], 0
je 0x14000f370
movups xmmword [rsi], xmm0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], rcx
mov byte [rbp - 0x38], 0
lea r9, [rbp - 0x28]
lea rdx, [rbp - 0x38]
mov rcx, r12
call fcn.14000db50
jmp 0x14000f418
mov qword [rbp - 0x30], r14
mov qword [r15], r12
sub ebx, 1
je 0x14000f38f
cmp ebx, 1
je 0x14000f388
mov byte [r15 + 8], 0
jmp 0x14000f394
mov byte [r15 + 8], 0x20
jmp 0x14000f394
mov byte [r15 + 8], select
mov ecx, 0x18
call fcn.140025fd0
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_resource_void____ptr64__struct_asio::detail::socket_ops::noop_deleter_.0
mov qword [rax], rcx
mov qword [rax + 0x10], r13
mov qword [r15 + 0x10], r13
mov rbx, qword [r15 + 0x18]
mov qword [r15 + 0x18], rax
test rbx, rbx
je 0x14000f3ff
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000f3ff
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x14000f3ff
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov dword [rbp - 0x28], r13d
lea rax, [0x1400320d8]
mov qword [rbp - 0x20], rax
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdi], xmm0
movups xmmword [rsi], xmm0
mov rax, rsi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140025fb0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret